/**
 * hero.css — Meadow Lane Park
 */

.hero {
  position: relative;
  min-height: 600px;
  /* Aerial photo: framed to show marina and community in lower-centre.
     object-position keeps the docks and waterfront visible. */
  background-image: url('../../images/hero-aerial.jpg');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  padding: 0 var(--container-pad) var(--space-16);
  overflow: hidden;
}

/* Dark overlay so text remains legible over the photo */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(28, 45, 38, 0.82) 0%,
    rgba(28, 45, 38, 0.55) 55%,
    rgba(28, 45, 38, 0.15) 100%
  );
  z-index: 1;
}

.hero__scenery {
  display: none; /* SVG scenery no longer needed with real photo */
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-6);
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  flex-shrink: 0;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 500;
  color: white;
  line-height: 1.1;
  margin-bottom: var(--space-5);
}

.hero h1 em {
  font-style: italic;
  color: rgba(255,255,255,0.78);
}

.hero__lead {
  font-size: var(--text-md);
  color: rgba(255,255,255,0.75);
  max-width: 440px;
  margin-bottom: var(--space-10);
  line-height: var(--leading-normal);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
}

/* ── Stats strip below hero ──────────────────────────── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--clr-slate);
}

.stats-strip__item {
  padding: var(--space-8) var(--space-8);
  border-right: 1px solid rgba(255,255,255,0.08);
}

.stats-strip__item:last-child { border-right: none; }

.stats-strip__number {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  font-weight: 500;
  color: white;
  line-height: 1;
  margin-bottom: var(--space-1);
}

.stats-strip__label {
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .hero {
    min-height: 480px;
    align-items: flex-start;
    padding-top: var(--space-16);
  }

  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-strip__item:nth-child(2) { border-right: none; }
  .stats-strip__item:nth-child(1),
  .stats-strip__item:nth-child(2) {
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
}
