/* =============================================================
   HERO.CSS — Full-screen hero section
============================================================= */

#hero {
  position: relative;
  margin-top: 0;
  height: calc(100vh - 116px); /* fallback only — JS sets this precisely */
  min-height: 500px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/iStock-2177202776.jpg');
  background-size: cover;
  background-position: right 20%;
  transform: scaleX(-1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.05) 50%
  );
}

.hero-text {
  position: absolute;
  bottom: clamp(40px, 6vh, 80px);
  left: clamp(32px, 4vw, 80px);
  color: var(--white);
  z-index: 2;
}

.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.8vw, 52px);
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  line-height: 1.25;
  animation: heroFadeUp 0.9s ease both;
}

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

@media (max-width: 600px) {
  .hero-text {
    left: 24px;
    bottom: 32px;
  }
}