/* ─── Carousel Shell */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 500px;
  max-height: 820px;
  overflow: hidden;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Sliding track — holds all slides in a row */
.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform 0.7s cubic-bezier(0.77, 0, 0.18, 1);
}

/* ─── Slides ─── */
.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  pointer-events: none;
   contain:layout paint;
     transform: translateZ(0);
}

.carousel-slide.active {
  pointer-events: auto;
}

/* ─── Slide Background with slow Ken-Burns ─── */
.slide-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform:translateZ(0) scale(1.06);
  transition: transform 4s ease-out;
    will-change:transform;
    backface-visibility:hidden;

  z-index: 1;
}

/* mobile image hidden by default */
.mobile-banner {
  display: none;
}

.desktop-banner {
  display: block;
}


/* Dark gradient overlay — left-heavy for text legibility */
.slide-background::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.78) 0%,
      rgba(0, 0, 0, 0.42) 45%,
      rgba(0, 0, 0, 0.08) 100%);
      
}
@keyframes overlayFade {
  from {
    opacity: 0.6;
  }
  to {
    opacity: 1;
  }
}

.carousel-slide.active .slide-background::before {
  animation: overlayFade 2s ease forwards;
}
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.carousel-slide.active .hero-text h1 {
  animation: heroFadeUp 0.8s ease forwards;
}

.carousel-slide.active .hero-text p {
  animation: heroFadeUp 0.8s ease 0.2s forwards;
}

.carousel-slide.active .hero-text .btn {
  animation: heroFadeUp 0.8s ease 0.35s forwards;
}
.carousel-slide.active .slide-background {
  animation: cinematicZoom 7s ease-out forwards;
}

@keyframes cinematicZoom {
  from {
   transform: translateZ(0) scale(1.12);
  }
  to {
   transform: translateZ(0) scale(1);
  }
}




/* ─── Hero Content ─── */
.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 3;
}

.hero-text {
  color: #fff;
  max-width: 580px;
}




/* ─── Hero Text Typography ─── */
.hero-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #c9a86c;
}

.hero-text h1 {
  font-size: 3.6rem;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.15;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-text p {
  font-size: 1.05rem;
  margin-bottom: 32px;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.82);
}

/* ─── Navigation Arrows ─── */
.carousel-nav {
  position: absolute;
  bottom: 15px;
  top: auto;
  transform: none;
  background: none;
  backdrop-filter: none;
  border: none;
  border-radius: 0;
  width: auto;
  height: auto;
  padding: 6px 12px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.25s ease;
  z-index: 10;
}

.carousel-nav:hover {
  background: none;
  color: #c9a86c;
  transform: none;
}

.carousel-nav.prev {
  left: calc(8% - 75px);
}

.carousel-nav.next {
  right: calc(8% - 75px);
}



/* ─── Dot Indicators ─── */
.carousel-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.35s ease;
  flex-shrink: 0;
}

.carousel-dots .dot:hover {
  background: rgba(255, 255, 255, 0.65);
}

.carousel-dots .dot.active {
  width: 26px;
  border-radius: 4px;
  background: #c9a86c;
  border-color: #c9a86c;
}

/* ─── Responsive: Tablet ─── */
@media (max-width: 992px) {
  .hero-carousel {
    height: 500px;
  }

  .hero-text h1 {
    font-size: 2.4rem;
  }

  .hero-text p {
    font-size: 0.95rem;
  }

  .carousel-nav {
    font-size: 15px;
  }

  .carousel-nav.prev {
    left: calc(8% - 75px);
  }

  .carousel-nav.next {
    right: calc(8% - 75px);
  }

}

/* ─── Responsive: Mobile ─── */
@media (max-width: 768px) {

  .desktop-banner {
    display: none;
  }

  .mobile-banner {
    display: block;
  }

  .hero-carousel {
    height: 460px;
  }

  .hero-text h1 {
    font-size: 1.9rem;
    letter-spacing: 1px;
  }

  .hero-text p {
    font-size: 0.88rem;
    margin-bottom: 22px;
  }

  .hero-brand {
    font-size: 0.75rem;
    margin-bottom: 12px;
  }

  .carousel-nav {
    font-size: 13px;
  }

  .carousel-dots .dot {
    width: 7px;
    height: 7px;
  }

  .carousel-dots .dot.active {
    width: 22px;
  }

  .carousel-nav.prev {
    left: calc(12% - 75px);
  }

  .carousel-nav.next {
    right: calc(12% - 75px);
  }

}

/* ─── Responsive: Small phones ─── */
@media (max-width: 576px) {
  .hero-carousel {
    height: 62vh;
    min-height: 360px;
  }

  .hero-text {
    max-width: 100%;
    padding: 0 12px;
  }

  .hero-text h1 {
    font-size: 1.55rem;
  }

  .hero-text p {
    font-size: 0.8rem;
    margin-bottom: 18px;
  }

  .hero-brand {
    font-size: 0.7rem;
  }

  .carousel-nav {
    font-size: 12px;
  }

  .carousel-dots {
    bottom: 14px;
  }

  .carousel-dots .dot {
    width: 6px;
    height: 6px;
  }

  .carousel-dots .dot.active {
    width: 18px;
  }
}