/* ==========================================================================
   AUTOVANTA CINEMATIC HERO VIDEO & COMMERCIAL AD SUITE
   ========================================================================== */

.hero-section {
  position: relative;
  width: 100%;
  min-height: 620px;
  height: 84vh;
  max-height: 840px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  background-color: var(--bg-primary);
  padding: 60px 0;
}

.hero-section.hero-compact {
  height: 65vh;
  min-height: 480px;
}

/* Video Background Layer */
.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: none;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: brightness(1.02) contrast(1.08) saturate(1.1);
}

/* Ensure compact and finance hero videos are perfectly fitted without 205% zoom */
.hero-compact .hero-video,
.finance-hero .hero-video {
  transform: none !important;
  object-fit: cover !important;
  object-position: center center !important;
}

/* Crystal-Clear Luxury Gradient & Watermark Shield */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(90deg, rgba(12, 14, 22, 0.92) 0%, rgba(12, 14, 22, 0.78) 36%, rgba(12, 14, 22, 0.35) 60%, rgba(12, 14, 22, 0.0) 80%, transparent 100%);
  pointer-events: none;
}

.finance-hero .hero-overlay,
.hero-compact .hero-overlay {
  background: linear-gradient(90deg, rgba(7, 11, 20, 0.95) 0%, rgba(7, 11, 20, 0.82) 42%, rgba(7, 11, 20, 0.42) 75%, rgba(7, 11, 20, 0.22) 100%) !important;
}

/* Hero Content - Elevated, Strictly Left Aligned, Clean & Crisp */
.hero-section .hero-content,
.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 680px;
  margin: 0 !important;
  margin-left: clamp(24px, 5.5vw, 85px) !important;
  margin-right: auto !important;
  padding: 30px 0 !important;
  margin-top: 0 !important;
  text-align: left !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
}

/* 1. Sleek Luxury Eyebrow */
.luxury-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 14px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.luxury-eyebrow .live-dot {
  width: 7px;
  height: 7px;
  border-radius: var(--radius-full);
  background: var(--accent-red);
  box-shadow: 0 0 8px var(--accent-red);
}

/* 2. Refined Luxury Hero Title */
.hero-title {
  font-size: clamp(2.3rem, 4.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 14px;
  margin-left: 0 !important;
  text-align: left !important;
  align-self: flex-start !important;
  max-width: 700px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.95);
}

.hero-title span.glow {
  background: linear-gradient(135deg, #ffffff 0%, #ff7b84 50%, #e50914 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 3. Subtitle Description */
.hero-subtitle {
  font-size: clamp(0.95rem, 1.25vw, 1.08rem);
  color: #e2e8f0;
  max-width: 540px;
  line-height: 1.6;
  margin-bottom: 22px;
  margin-left: 0 !important;
  text-align: left !important;
  align-self: flex-start !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

/* 4. Luxury CTA Button Row */
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: flex-start !important;
  gap: 14px;
  flex-wrap: wrap;
  margin-left: 0 !important;
  align-self: flex-start !important;
}

.btn-glass-luxury {
  background: rgba(22, 25, 38, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.btn-glass-luxury:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  color: #ffffff;
}

/* Commercial Sound & Atmosphere HUD Controls */
.hero-controls-hud {
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-sound-commercial {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: rgba(8, 8, 10, 0.85);
  border: 1px solid rgba(229, 9, 20, 0.5);
  border-radius: var(--radius-full);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(16px);
  transition: all var(--transition-fast);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.btn-sound-commercial:hover {
  background: rgba(229, 9, 20, 0.2);
  border-color: var(--accent-red);
  transform: translateY(-2px);
  box-shadow: 0 0 20px var(--accent-red-glow);
}

.btn-sound-commercial.active {
  background: var(--grad-primary);
  border-color: var(--accent-red);
  box-shadow: 0 0 24px var(--accent-red-glow);
}

/* Sound Wave Equalizer Bars */
.sound-wave-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
}

.sound-wave-bars span {
  width: 3px;
  height: 4px;
  background: var(--accent-red);
  border-radius: 2px;
  transition: height 0.2s ease;
}

.btn-sound-commercial.active .sound-wave-bars span {
  background: #ffffff;
  animation: soundBarDance 1s infinite ease-in-out;
}

.btn-sound-commercial.active .sound-wave-bars span:nth-child(1) { animation-delay: 0.1s; }
.btn-sound-commercial.active .sound-wave-bars span:nth-child(2) { animation-delay: 0.3s; }
.btn-sound-commercial.active .sound-wave-bars span:nth-child(3) { animation-delay: 0.2s; }
.btn-sound-commercial.active .sound-wave-bars span:nth-child(4) { animation-delay: 0.4s; }

@keyframes soundBarDance {
  0%, 100% { height: 4px; }
  50% { height: 16px; }
}

/* Video Angle / Track Switcher */
.hero-video-switcher {
  display: flex;
  background: rgba(8, 8, 10, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 4px;
  gap: 4px;
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.video-switch-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.video-switch-btn.active,
.video-switch-btn:hover {
  background: rgba(229, 9, 20, 0.25);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(229, 9, 20, 0.3);
}

/* Showroom Studio Lighting Switcher */
.showroom-lighting-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(8, 8, 10, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 4px 10px;
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.lighting-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-right: 2px;
}

.light-dot-btn {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.light-dot-btn:hover {
  transform: scale(1.25);
}

.light-dot-btn.active {
  transform: scale(1.3);
  border-color: #ffffff;
}

.light-dot-btn.dot-red {
  background: #e50914;
  box-shadow: 0 0 8px rgba(229, 9, 20, 0.8);
}
.light-dot-btn.dot-cyan {
  background: #00f0ff;
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.8);
}
.light-dot-btn.dot-gold {
  background: #d4af37;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.8);
}
.light-dot-btn.dot-stealth {
  background: #8892b0;
  box-shadow: 0 0 8px rgba(136, 146, 176, 0.8);
}

/* Showroom Lighting Filter Modes on Hero Video - High Clarity */
.hero-video-wrapper.light-mode-red .hero-video {
  filter: brightness(1.08) contrast(1.1) saturate(1.15);
}
.hero-video-wrapper.light-mode-cyan .hero-video {
  filter: brightness(1.08) hue-rotate(140deg) contrast(1.1);
}
.hero-video-wrapper.light-mode-gold .hero-video {
  filter: brightness(1.1) sepia(0.2) contrast(1.1);
}
.hero-video-wrapper.light-mode-stealth .hero-video {
  filter: brightness(1.02) contrast(1.15) saturate(0.85);
}

/* Compact Floating Telemetry Ticker */
.commercial-specs-ticker {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: rgba(14, 15, 20, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(10px);
  margin-bottom: 20px;
  margin-left: 0 !important;
  align-self: flex-start !important;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  color: #fff;
  font-weight: 600;
}

.ticker-item i {
  color: var(--accent-red);
}

/* ==========================================================================
   LUXURY TRUST & SHOWROOM HIGHLIGHTS STRIP
   ========================================================================== */

.hero-trust-strip {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 18px 0;
  position: relative;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(16, 19, 30, 0.03);
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 16px;
  border-right: 1px solid var(--border-subtle);
}

.trust-item:last-child {
  border-right: none;
}

.trust-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(229, 9, 20, 0.08);
  border: 1px solid rgba(229, 9, 20, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-red);
  font-size: 1.05rem;
  flex-shrink: 0;
}

.trust-num {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
}

.trust-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

@media (max-width: 992px) {
  .trust-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-item:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 576px) {
  .trust-strip-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .trust-item {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 10px;
  }
  .trust-item:last-child {
    border-bottom: none;
  }
}

/* Scroll Down Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.hero-scroll-indicator:hover {
  opacity: 1;
  color: var(--accent-red);
}

.mouse-icon {
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  position: relative;
}

.wheel-dot {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 6px;
  border-radius: 2px;
  background: var(--accent-red);
  box-shadow: 0 0 6px var(--accent-red);
  animation: mouseWheel 2s infinite ease-in-out;
}

@keyframes mouseWheel {
  0% { transform: translate(-50%, 0); opacity: 1; }
  80% { transform: translate(-50%, 14px); opacity: 0; }
  100% { transform: translate(-50%, 0); opacity: 0; }
}

@media (max-width: 992px) {
  .hero-controls-hud {
    top: 16px;
    right: 16px;
  }

  .hero-section .hero-content,
  .hero-content {
    margin-left: 20px !important;
    padding: 30px 0 !important;
  }
}

@media (max-width: 576px) {
  .hero-section {
    min-height: 580px;
    height: 80vh;
  }

  .hero-section .hero-content,
  .hero-content {
    margin-left: 16px !important;
    padding-right: 16px !important;
    padding: 24px 0 !important;
  }

  .hero-title {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }
}



/* ==========================================================================
   SMART CAR FINDER & FLOATING TOP HUD (RIGHT BELOW NAVBAR)
   ========================================================================== */

.hero-finder-container {
  position: relative;
  z-index: 50;
  margin-top: 0;
  padding: 0 20px;
}

.hero-finder-container.top-finder-bar {
  padding-top: calc(var(--header-height) + 6px);
  padding-bottom: 10px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 18px rgba(16, 19, 30, 0.04);
}

@media (max-width: 768px) {
  .hero-finder-container {
    margin-top: 0;
  }
  .hero-finder-container.top-finder-bar {
    padding-top: calc(var(--header-height) + 6px);
    padding-bottom: 10px;
    padding-left: 12px;
    padding-right: 12px;
  }
}

.hero-finder-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  box-shadow: 0 4px 16px rgba(16, 19, 30, 0.04);
}

.hero-finder-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.hero-finder-title {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-finder-title i {
  color: var(--accent-red);
  font-size: 0.82rem;
}

.hero-finder-count-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.hero-finder-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 1.2fr 1.2fr auto;
  gap: 10px;
  align-items: center;
}

@media (max-width: 1200px) {
  .hero-finder-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-finder-grid .finder-action-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .hero-finder-grid {
    grid-template-columns: 1fr;
  }
}

.finder-field-group {
  position: relative;
}

.finder-field-group i.field-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-red);
  font-size: 0.82rem;
  pointer-events: none;
}

.finder-input,
.finder-select {
  width: 100%;
  height: 38px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 6px 10px 6px 32px;
  color: var(--text-primary);
  font-size: 0.82rem;
  font-family: var(--font-body);
  outline: none;
  transition: all var(--transition-fast);
}

.finder-input:focus,
.finder-select:focus {
  border-color: var(--accent-red);
  box-shadow: 0 0 10px var(--accent-red-glow);
  background: #ffffff;
}

.finder-input::placeholder {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.finder-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23e50914' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 14px;
  padding-right: 28px;
  cursor: pointer;
}

.finder-select option {
  background: #ffffff;
  color: #10131e;
}

.btn-finder-submit {
  height: 38px;
  padding: 0 18px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}
