/* ===================================================================
   LUXURY HERO SECTION - High-End Corporate Design
   Elegant, Minimal, and Refined
   ================================================================= */

/* Luxury Color Palette */
:root {
  --luxury-navy: #0A0F1C;
  --luxury-charcoal: #121212;
  --luxury-platinum: #EAEAEA;
  --luxury-gold: #909090;
  --luxury-gold-light: #B0B0B0;
  --luxury-gold-dark: #707070;
  --luxury-white: #FFFFFF;
  --luxury-overlay: rgba(10, 15, 28, 0.75);
}

/* Hero Section Container */
.luxury-hero {
  position: relative;
  width: calc(100% - 4rem);
  max-width: 1400px;
  /* Slightly reduce overall hero height for a less "tall" feel */
  height: 92vh;
  min-height: 660px;
  overflow: hidden;
  background: #FFFFFF;
  border-radius: 2rem;
  /* Small reduction in outer margin to tighten whitespace around the hero card */
  margin: 1.5rem auto;
}

@media (max-width: 768px) {
  .luxury-hero {
    /* On smaller screens, rely a bit less on full viewport height */
    height: auto;
    min-height: 560px;
    margin: 1rem auto;
  }
}

/* Parallax Backgrounds Container */
.luxury-hero__backgrounds {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Parallax Background Layer - Smooth Pan Effect */
.luxury-hero__background {
  position: absolute;
  top: -5%;
  left: -5%;
  width: 110%;
  height: 110%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform, opacity;
  opacity: 0;
  transform: translateX(0) translateY(0);
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: blur(0px);
}

.luxury-hero__background.active {
  opacity: 1;
  transform: translateX(0) translateY(0);
  animation: smoothPan 12s ease-in-out infinite;
}

.luxury-hero__background.exiting {
  opacity: 0;
  transform: translateX(-3%) translateY(0);
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth Pan Animation - Subtle Movement */
@keyframes smoothPan {
  0% {
    transform: translateX(0) translateY(0);
  }
  25% {
    transform: translateX(-2%) translateY(-1%);
  }
  50% {
    transform: translateX(-3%) translateY(0);
  }
  75% {
    transform: translateX(-2%) translateY(1%);
  }
  100% {
    transform: translateX(0) translateY(0);
  }
}

/* Gradient Overlay for Depth - DISABLED */
.luxury-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 1;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

/* Reduced overlay for slide 1 - DISABLED */
.luxury-hero__overlay.slide-1 {
  background: transparent;
}

/* Subtle Vignette Effect - DISABLED */
.luxury-hero__overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
}

/* Content Container - Smooth Video-like Transitions */
.luxury-hero__content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.luxury-hero__content.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.luxury-hero__content.exiting {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Luxury Badge/Label */
.luxury-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(192, 192, 192, 0.1);
  border: 1px solid rgba(192, 192, 192, 0.3);
  border-radius: 50px;
  color: var(--luxury-gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  margin-bottom: 2rem;
  opacity: 0;
  animation: luxuryFadeSlideUp 1s cubic-bezier(0.25, 0.1, 0.25, 1) 0.5s forwards;
}

/* Main Headline with Mask Reveal */
.luxury-hero__headline {
  font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--luxury-white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  opacity: 0;
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  animation: luxuryMaskReveal 1.2s cubic-bezier(0.25, 0.1, 0.25, 1) 0.8s forwards;
}

/* Gold Accent in Headline */
.luxury-hero__headline-accent {
  color: var(--luxury-gold);
  display: block;
  font-style: italic;
  margin-top: 0.5rem;
}

/* Subheading */
.luxury-hero__subheading {
  font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--luxury-platinum);
  max-width: 700px;
  margin: 0 auto 3rem;
  opacity: 0;
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  animation: luxuryMaskReveal 1.2s cubic-bezier(0.25, 0.1, 0.25, 1) 1.2s forwards;
}

/* CTA Buttons Container */
.luxury-hero__cta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: luxuryFadeSlideUp 1s cubic-bezier(0.25, 0.1, 0.25, 1) 1.6s forwards;
}

/* Primary CTA Button - Luxury Gold */
.luxury-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.125rem 2.5rem;
  font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  overflow: hidden;
  cursor: pointer;
}

.luxury-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--luxury-gold-light), var(--luxury-gold-dark));
  transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  z-index: -1;
}

.luxury-btn--primary {
  color: var(--luxury-navy);
  background: linear-gradient(135deg, var(--luxury-gold), var(--luxury-gold-light));
  border: 2px solid var(--luxury-gold);
  box-shadow: 0 4px 20px rgba(192, 192, 192, 0.3);
}

.luxury-btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(192, 192, 192, 0.5);
  border-color: var(--luxury-gold-light);
}

.luxury-btn--primary:hover::before {
  transform: scale(1.1);
}

/* Secondary CTA Button - Outlined */
.luxury-btn--secondary {
  color: var(--luxury-platinum);
  background: transparent;
  border: 2px solid var(--luxury-platinum);
  box-shadow: 0 4px 20px rgba(234, 234, 234, 0.1);
}

.luxury-btn--secondary::before {
  background: var(--luxury-platinum);
  transform: scaleX(0);
  transform-origin: left;
}

.luxury-btn--secondary:hover {
  color: var(--luxury-navy);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(234, 234, 234, 0.3);
}

.luxury-btn--secondary:hover::before {
  transform: scaleX(1);
}


/* Keyframe Animations */
@keyframes luxuryMaskReveal {
  0% {
    opacity: 0;
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transform: translateY(0);
  }
}

@keyframes luxuryFadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Parallax Effect (Applied via JS) */
.luxury-hero__background.parallax-active {
  transition: transform 0.1s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
  .luxury-hero {
    min-height: 600px;
    width: calc(100% - 2rem);
    margin: 1rem auto;
    border-radius: 1.5rem;
  }

  .luxury-hero__content {
    padding: 1.5rem;
  }

  .luxury-hero__badge {
    font-size: 0.625rem;
    padding: 0.625rem 1.25rem;
  }

  .luxury-hero__headline {
    font-size: clamp(2rem, 8vw, 3rem);
    margin-bottom: 1rem;
  }

  .luxury-hero__subheading {
    font-size: clamp(1rem, 4vw, 1.25rem);
    margin-bottom: 2rem;
  }

  .luxury-hero__cta {
    flex-direction: column;
    gap: 1rem;
  }

  .luxury-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

}

@media (max-width: 480px) {
  .luxury-hero {
    min-height: 550px;
    width: calc(100% - 1rem);
    margin: 0.5rem auto;
    border-radius: 1rem;
  }

  .luxury-hero__headline {
    font-size: clamp(1.75rem, 10vw, 2.5rem);
  }

  .luxury-btn {
    padding: 1rem 2rem;
    font-size: 0.75rem;
  }

}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
  .luxury-hero__background,
  .luxury-hero__badge,
  .luxury-hero__headline,
  .luxury-hero__subheading,
  .luxury-hero__cta {
    animation: none;
    opacity: 1;
    clip-path: none;
    transform: none;
  }

  .luxury-btn {
    transition: none;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .luxury-hero__overlay {
    background: rgba(0, 0, 0, 0.9);
  }

  .luxury-btn--primary {
    border-width: 3px;
  }

  .luxury-btn--secondary {
    border-width: 3px;
  }
}

/* Slide Indicators - Perfectly Centered */
.hero-slide-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  /* Ensure perfect centering - no margin interference */
  margin: 0;
  padding: 0;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(192, 192, 192, 0.3);
  border: 2px solid rgba(192, 192, 192, 0.5);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
  padding: 0;
  backdrop-filter: blur(10px);
}

.hero-dot:hover {
  background: rgba(192, 192, 192, 0.5);
  border-color: var(--luxury-gold);
  transform: scale(1.2);
}

.hero-dot.active {
  width: 32px;
  border-radius: 6px;
  background: var(--luxury-gold);
  border-color: var(--luxury-gold);
}

/* Pause/Play Button */
.hero-playback-control {
  position: absolute;
  bottom: 3rem;
  left: 2rem;
  z-index: 10;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(192, 192, 192, 0.2);
  border: 2px solid #4E102F;
  color: #4E102F;
  backdrop-filter: blur(15px);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
}

.hero-playback-control:hover {
  background: rgba(192, 192, 192, 0.35);
  border-color: #4E102F;
  transform: scale(1.08);
  opacity: 1;
  box-shadow: 0 8px 25px rgba(192, 192, 192, 0.4);
}

.hero-playback-control:active {
  transform: scale(0.95);
}

.hero-playback-control svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
  transition: all 0.3s ease;
}

.hero-playback-control.paused svg {
  transform: scale(1.1);
}

/* Navigation Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(192, 192, 192, 0.15);
  border: 2px solid #4E102F;
  color: #4E102F;
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
}

.hero-arrow:hover {
  background: rgba(192, 192, 192, 0.3);
  border-color: #4E102F;
  transform: translateY(-50%) scale(1.1);
  opacity: 1;
  box-shadow: 0 8px 25px rgba(192, 192, 192, 0.4);
}

.hero-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.hero-arrow--prev {
  left: 2rem;
}

.hero-arrow--next {
  right: 2rem;
}

.hero-arrow svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.5;
}

/* Responsive Arrow Styles */
@media (max-width: 768px) {
  .hero-slide-indicators {
    bottom: 2rem;
    gap: 10px;
  }

  .hero-dot {
    width: 8px;
    height: 8px;
  }

  .hero-dot.active {
    width: 24px;
  }

  .hero-playback-control {
    width: 50px;
    height: 50px;
    bottom: 2rem;
    left: 1rem;
  }

  .hero-playback-control svg {
    width: 20px;
    height: 20px;
  }

  .hero-arrow {
    width: 50px;
    height: 50px;
  }

  .hero-arrow--prev {
    left: 1rem;
  }

  .hero-arrow--next {
    right: 1rem;
  }

  .hero-arrow svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .hero-slide-indicators {
    bottom: 1.5rem;
    gap: 8px;
  }

  .hero-dot {
    width: 7px;
    height: 7px;
  }

  .hero-dot.active {
    width: 20px;
  }

  .hero-playback-control {
    width: 44px;
    height: 44px;
    bottom: 1.5rem;
    left: 0.75rem;
    opacity: 0.75;
  }

  .hero-playback-control svg {
    width: 18px;
    height: 18px;
  }

  .hero-arrow {
    width: 44px;
    height: 44px;
    opacity: 0.6;
  }

  .hero-arrow--prev {
    left: 0.5rem;
  }

  .hero-arrow--next {
    right: 0.5rem;
  }

  .hero-arrow svg {
    width: 18px;
    height: 18px;
  }
}
