/* ============================================================
   HERO.CSS — Full-screen hero section with image + overlay
   ============================================================ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* ── Background Image ── */
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.04);
  transition: transform 8s var(--ease-out);
}

.hero__bg.loaded {
  transform: scale(1);
}

/* ── Gradient Overlay ── */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--color-overlay-strong) 0%,
    var(--color-overlay) 50%,
    rgba(8, 27, 51, 0.40) 100%
  );
}

/* ── Content ── */
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding-top: var(--nav-height);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(212, 168, 67, 0.15);
  border: 1px solid rgba(212, 168, 67, 0.40);
  border-radius: var(--radius-pill);
  padding: 6px var(--space-4);
  margin-bottom: var(--space-6);
  backdrop-filter: blur(8px);
}

.hero__badge-stars {
  display: flex;
  gap: 2px;
  color: var(--color-accent);
  font-size: var(--text-xs);
}

.hero__badge-text {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.06em;
  color: var(--color-accent-light);
  text-transform: uppercase;
}

/* ── Heading ── */
.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-4xl), 6vw, var(--text-7xl));
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: var(--color-text-light);
  margin-bottom: var(--space-6);
}

.hero__title span {
  color: var(--color-accent);
  font-style: italic;
}

.hero__subtitle {
  font-size: clamp(var(--text-base), 2vw, var(--text-xl));
  color: rgba(255, 255, 255, 0.78);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-10);
  max-width: 52ch;
}

/* ── CTA Buttons ── */
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

/* ── Scroll Indicator ── */
.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
  z-index: 1;
  opacity: 0.7;
  transition: opacity var(--duration-base) var(--ease-out);
  animation: heroScrollBounce 2.2s var(--ease-inout) infinite;
}

.hero__scroll:hover { opacity: 1; }

.hero__scroll-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.60),
    rgba(212, 168, 67, 0.80)
  );
}

@keyframes heroScrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .hero__content {
    padding-top: calc(var(--nav-height) + var(--space-4));
  }

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

  .hero__cta .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__scroll {
    display: none;
  }
}
