/**
 * homepage-sections.css — Meadow Lane Park
 * Styles for the About, Amenities, and Location homepage content blocks.
 */

/* ── Shared section rhythm ───────────────────────────── */
.hp-about,
.hp-amenities,
.hp-location {
  padding: var(--space-20) 0;
}

.hp-amenities {
  background: var(--clr-stone-light);
}

.hp-location {
  background: var(--clr-slate);
}

/* ══════════════════════════════════════════════════════
   ABOUT SECTION
══════════════════════════════════════════════════════ */
.hp-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.hp-about__text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 500;
  color: var(--clr-slate);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-5);
}

.hp-about__text p {
  color: var(--clr-text-mid);
  margin-bottom: var(--space-4);
}

.hp-about__image-col {
  position: relative;
}

.hp-about__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--clr-stone);
  max-height: 520px;
}

.hp-about__image img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Floating stat callout */
.hp-about__stat-card {
  position: absolute;
  bottom: calc(-1 * var(--space-6));
  right: calc(-1 * var(--space-6));
  background: var(--clr-teal);
  color: white;
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  min-width: 160px;
  box-shadow: var(--shadow-lg);
}

.hp-about__stat-number {
  font-family: var(--font-serif);
  font-size: var(--text-4xl);
  font-weight: 500;
  line-height: 1;
  color: white;
  margin-bottom: var(--space-1);
}

.hp-about__stat-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.75);
  line-height: 1.4;
  letter-spacing: 0.02em;
}

/* Add bottom padding to image column to accommodate the floating card */
.hp-about__image-col {
  padding-bottom: var(--space-10);
}

/* ══════════════════════════════════════════════════════
   AMENITIES SECTION
══════════════════════════════════════════════════════ */
.hp-amenities__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.hp-amenities__header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 500;
  color: var(--clr-slate);
  margin-bottom: var(--space-3);
}

.hp-amenities__header p {
  color: var(--clr-text-light);
  max-width: 480px;
  margin: 0 auto;
}

.hp-amenities__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.hp-amenity-card {
  background: white;
  border: 1px solid rgba(74,124,111,0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.hp-amenity-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.hp-amenity-card__icon {
  width: 44px;
  height: 44px;
  background: var(--clr-teal-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--clr-teal);
}

.hp-amenity-card__icon svg {
  width: 22px;
  height: 22px;
}

.hp-amenity-card__title {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--clr-slate);
  margin-bottom: var(--space-2);
}

.hp-amenity-card__desc {
  font-size: var(--text-sm);
  color: var(--clr-text-light);
  line-height: var(--leading-normal);
  margin: 0;
}

.hp-amenities__cta {
  text-align: center;
  margin-top: var(--space-10);
}

/* ══════════════════════════════════════════════════════
   LOCATION SECTION
══════════════════════════════════════════════════════ */
.hp-location__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.hp-location__text .section-label {
  color: var(--clr-teal-mid);
}

.hp-location__text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 500;
  color: white;
  line-height: var(--leading-tight);
  margin-bottom: var(--space-5);
}

.hp-location__text p {
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--space-4);
}

.hp-location__features {
  list-style: none;
  padding: 0;
  margin: var(--space-6) 0 0;
}

.hp-location__features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  color: rgba(255,255,255,0.75);
  font-size: var(--text-sm);
  padding: var(--space-2) 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  line-height: var(--leading-snug);
}

.hp-location__features li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--clr-teal-mid);
  margin-top: 5px;
  flex-shrink: 0;
}

.hp-location__map-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  border-radius: var(--radius-xl);
}

.hp-location__map-area {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 420 / 340;
  box-shadow: var(--shadow-lg);
}

/* ── Footer brand logo ───────────────────────────────── */
.footer__brand-logo {
  margin-bottom: var(--space-4);
}

.footer__brand-logo img {
  width: 56px;
  height: 56px;
  opacity: 0.85;
}

/* ── Header utility bar ──────────────────────────────── */
.header-utility {
  background: var(--clr-slate);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: var(--space-2) 0;
}

.header-utility__inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: var(--space-4);
}

.header-utility__inner a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color var(--transition-fast);
}

.header-utility__inner a:hover {
  color: rgba(255,255,255,0.9);
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1023px) {
  .hp-about__stat-card {
    right: 0;
    bottom: 0;
  }
  .hp-amenities__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .hp-about__grid,
  .hp-location__inner {
    grid-template-columns: 1fr;
  }

  .hp-about__image-col { padding-bottom: var(--space-12); }

  .hp-about__stat-card {
    right: var(--space-4);
    bottom: 0;
  }

  .hp-amenities__grid { grid-template-columns: 1fr; }

  .hp-location__map-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  border-radius: var(--radius-xl);
}

.hp-location__map-area {
    aspect-ratio: 4 / 3;
    order: -1;
  }
}

/* ══════════════════════════════════════════════════════
   FRONT PAGE CTA BAND
══════════════════════════════════════════════════════ */
.fp-cta {
  background: var(--clr-teal-pale);
  border-top: 1px solid rgba(74,124,111,0.15);
  padding: var(--space-16) 0;
}

.fp-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-10);
  flex-wrap: wrap;
}

.fp-cta__text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  color: var(--clr-slate);
  margin-bottom: var(--space-2);
}

.fp-cta__text p {
  color: var(--clr-text-mid);
  max-width: 480px;
  margin: 0;
}

.fp-cta__actions {
  display: flex;
  gap: var(--space-4);
  flex-shrink: 0;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .fp-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .fp-cta__actions { width: 100%; }
  .fp-cta__actions .btn { flex: 1; justify-content: center; }
}
