/* ============================================================
   index.css — styles specific to the Home page
   ============================================================ */

/* ── HERO ── */
.hero-section { background: var(--pale); padding: 56px 24px 48px; text-align: center; }
.hero-section h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--dark-green);
  line-height: 1.7; margin-bottom: 12px;
}
.hero-section p { font-size: .97rem; color: var(--text-body); max-width: 520px; margin: 0 auto; }

/* ── PHOTO BAND ── */
.photo-band { position: relative; width: 100%; height: 220px; overflow: hidden; }
.photo-band img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; display: block; }
.photo-band::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(242,249,245,0.3) 0%, rgba(242,249,245,0.55) 100%);
}
.photo-band-heading {
  position: absolute; bottom: 20px; left: 0; right: 0; text-align: center;
  font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: bolder;
  color: var(--dark-green); text-shadow: 0 2px 12px rgba(255,255,255,0.8); z-index: 2;
}

/* ── CARDS ── */
.cards-section { background: #fff; padding: 0 24px 60px; }
.cards-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 1240px; margin: 0 auto; padding-top: 30px;
}
@media(max-width:960px) { .cards-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:600px) { .cards-grid { grid-template-columns: 1fr; } }

.card {
  background: #fff; border-radius: 10px; box-shadow: 0 4px 24px rgba(0,0,0,.13);
  overflow: hidden; transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(0,0,0,.2); }
.card-img-wrap { height: 200px; overflow: hidden; border-left: 6px solid var(--nav-green); }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .4s; }
.card:hover .card-img-wrap img { transform: scale(1.05); }
.card-body   { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.card-badge  { font-size: .68rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.card-title  { font-weight: 700; font-size: 1.1rem; color: var(--dark-green); margin-bottom: 10px; line-height: 1.3; }
.card-desc   { font-size: .875rem; color: var(--text-card); line-height: 1.6; flex: 1; margin-bottom: 16px; }
.card-meta   { display: flex; justify-content: space-between; font-size: .75rem; color: #9ca3af; border-top: 1px solid #f0f0f0; padding-top: 12px; }
.card-meta .author { color: var(--text-body); font-weight: 600; font-size: .8rem; }

/* ── PHOTO TAIL ── */
.photo-tail { width: 100%; height: 180px; overflow: hidden; }
.photo-tail img { width: 100%; height: 100%; object-fit: cover; object-position: center 80%; display: block; }

/* ── WOODERS ── */
.wooders    { background: var(--light); padding: 64px 24px; text-align: center; }
.wooders h2 { font-family: 'Playfair Display', serif; font-size: 1.9rem; font-weight: 700; color: var(--dark-green); margin-bottom: 12px; }
.wooders p  { font-size: .95rem; color: var(--text-body); max-width: 640px; margin: 0 auto 48px; line-height: 1.75; }
.stats      { display: flex; gap: 0; justify-content: center; flex-wrap: wrap; max-width: 640px; margin: 0 auto; }
.stat-item  { flex: 1; min-width: 160px; padding: 16px 24px; position: relative; }
.stat-item + .stat-item::before {
  content: ''; position: absolute; left: 0; top: 15%; bottom: 15%;
  width: 1px; background: #e5e7eb;
}
.stat-num   { font-family: 'Playfair Display', serif; font-size: 2.6rem; font-weight: 800; color: var(--primary); }
.stat-label { font-size: .82rem; color: var(--text-card); margin-top: 2px; font-weight: 500; }