/* ==========================================================================
   components/hero.css  —  Full-screen Hero Section
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-gray-800);
}

/* ── Background image ─────────────────────────────────────────────────── */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: var(--z-base);
}

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

/* ── Gradient overlay ─────────────────────────────────────────────────── */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.3) 50%,
    rgba(0,0,0,0.4) 100%
  );
  z-index: var(--z-raised);
}

/* ── Content ──────────────────────────────────────────────────────────── */
.hero-content {
  position: relative;
  z-index: var(--z-raised);
  padding-block: var(--header-height);
  color: var(--color-white);
  max-width: 720px;
}

.hero-eyebrow {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  color: var(--color-brand-accent);
  margin-bottom: var(--space-4);
}

.hero-title {
  font-size: var(--text-hero);
  color: var(--color-white);
  margin-bottom: var(--space-5);
  line-height: var(--line-height-tight);
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: clamp(var(--text-base), 2vw, var(--text-md));
  color: rgba(255,255,255,0.88);
  margin-bottom: var(--space-10);
  max-width: 50ch;
  line-height: var(--line-height-relaxed);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* ── Scroll indicator ─────────────────────────────────────────────────── */
.hero-scroll-hint {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-raised);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255,255,255,0.6);
  font-size: var(--text-xs);
  letter-spacing: var(--letter-spacing-wide);
}

.hero-scroll-hint::after {
  content: '';
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(0.6); }
}

/* ── Mobile ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-content {
    padding-top: calc(var(--header-height-mobile) + var(--space-12));
  }

  .hero-title {
    line-height: 1.15;
  }

  .hero-actions {
    flex-direction: column;
  }

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