/**
 * Hero Section – Dark Cinematic
 */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: 80px;
}

/* =========================================
   Slideshow
   ========================================= */

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 50%;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
  z-index: 0;
}

.hero-slide.active {
  opacity: 1;
}

/* Directional dark overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.52) 45%,
    rgba(0, 0, 0, 0.14) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Bottom vignette */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

/* =========================================
   Content
   ========================================= */

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 1;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-32) var(--container-padding) var(--space-24);
  animation: heroFadeUp 1s ease-out;
}

.hero-scroll-indicator {
  z-index: 2;
}

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

/* Eyebrow line */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: var(--space-5);
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-brand);
  flex-shrink: 0;
}

/* Title */
.hero-title {
  font-size: clamp(44px, 7vw, 96px);
  font-weight: var(--font-bold);
  color: var(--color-white);
  letter-spacing: -0.03em;
  line-height: var(--leading-tight);
  margin-bottom: var(--space-6);
  max-width: 820px;
}

.hero-title .text-brand {
  color: var(--color-brand);
}

/* Subtitle */
.hero-subtitle {
  font-size: clamp(var(--text-base), 1.4vw, var(--text-lg));
  font-weight: var(--font-regular);
  color: rgba(255, 255, 255, 0.68);
  max-width: 500px;
  margin-bottom: var(--space-10);
  line-height: var(--leading-relaxed);
}

/* CTA row */
.hero-cta {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  flex-wrap: wrap;
}

/* =========================================
   Dots
   ========================================= */

.hero-scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  animation: fadeIn 1.2s ease-out 0.6s both;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero-dots {
  display: flex;
  gap: var(--space-2);
  align-items: center;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.3);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot.active {
  background-color: var(--color-brand);
  width: 22px;
  border-radius: 3px;
}

.hero-dot:hover {
  background-color: rgba(255, 255, 255, 0.6);
}

/* Hide old scroll indicator text elements */
.scroll-text,
.scroll-line {
  display: none;
}

/* =========================================
   Responsive
   ========================================= */

@media (max-width: 1024px) {
  .hero-title {
    font-size: clamp(40px, 6.5vw, 72px);
  }
}

@media (max-width: 768px) {
  .hero-content {
    padding: var(--space-20) var(--container-padding) var(--space-16);
  }

  .hero-title {
    font-size: clamp(36px, 10vw, 56px);
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 90vh;
  }

  .hero-slide {
    background-position: center center;
  }

  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}
