/* === hero.css — Homepage Hero Slider === */

.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  background-color: var(--color-green-dark);
}

/* === Slide Container === */
.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  will-change: opacity;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* === Overlay === */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 26, 0.25) 0%,
    var(--overlay-dark) 40%,
    rgba(26, 26, 26, 0.7) 100%
  );
}

/* === Content === */
.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--container-pad);
  padding-top: var(--header-height);
}

.hero__eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.25em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: var(--space-5);
  opacity: 0;
  animation: heroFadeUp 0.8s ease 0.3s both;
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(5rem, 16vw, 9rem);
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: var(--space-6);
  max-width: 800px;
  opacity: 0;
  animation: heroFadeUp 0.8s ease 0.5s both;
}

.hero__tagline span {
  display: block;
  color: var(--color-gold-light);
  font-style: italic;
}

.hero__sub {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(var(--text-base), 2vw, var(--text-lg));
  max-width: 480px;
  line-height: 1.65;
  margin-bottom: var(--space-10);
  opacity: 0;
  animation: heroFadeUp 0.8s ease 0.7s both;
}

.hero__cta {
  opacity: 0;
  animation: heroFadeUp 0.8s ease 0.9s both;
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: center;
}

/* === Slider Dots === */
.hero__dots {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: var(--space-3);
  align-items: center;
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-base);
}

.hero__dot.is-active {
  background-color: var(--color-gold);
  width: 28px;
}

/* === Slide Counter === */
.hero__counter {
  position: absolute;
  bottom: var(--space-8);
  right: var(--container-pad);
  z-index: 3;
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  display: none;
}

/* === Scroll Indicator === */
.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  left: var(--container-pad);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: none;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.7); }
}

/* === Animations === */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Responsive === */
@media (min-width: 768px) {
  .hero__counter {
    display: block;
  }

  .hero__scroll {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .hero__tagline {
    font-size: 9rem;
  }
}
