/*
 * Hero
 * Botti Realty Inc
 */

/* ── Hero Base ───────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(26, 43, 74, 0.78),
    rgba(26, 43, 74, 0.45)
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--space-6);
  max-width: 900px;
  width: 100%;
}

.hero-eyebrow {
  display: block;
  color: var(--color-gold);
  font-family: 'Inter', sans-serif;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: var(--text-6xl);
  color: var(--color-white);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-6);
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.75;
  max-width: 680px;
  margin: 0 auto var(--space-10);
}

.hero-cta {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Scroll Indicator ────────────────────── */
.hero-scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}

.scroll-chevron {
  width: 24px;
  height: 24px;
  animation: scrollBounce 1.5s ease-in-out infinite;
}

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

@media (prefers-reduced-motion: reduce) {
  .scroll-chevron {
    animation: none;
  }
}

/* ── Short Hero (inner pages) ────────────── */
.hero-short {
  height: 50vh;
  min-height: 400px;
  padding-top: 80px; /* account for fixed nav */
}

.hero-short .hero-overlay {
  background: linear-gradient(
    to bottom right,
    rgba(26, 43, 74, 0.82),
    rgba(26, 43, 74, 0.60)
  );
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: var(--text-5xl);
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 560px;
  }

  .hero h1 {
    font-size: var(--text-4xl);
  }

  .hero-subtitle {
    font-size: var(--text-base);
  }

  .hero-short {
    min-height: 340px;
  }

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

  .hero-cta .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: var(--text-3xl);
  }

  .hero-eyebrow {
    font-size: var(--text-xs);
  }
}
