/* =====================================================================
   PACK WITH LOVE — Shared Stylesheet
   One file controls the look of every page. Change a value here and it
   updates everywhere. Colors and fonts come straight from the Brand Guide.
   ===================================================================== */

/* ---- 1. Brand tokens (the "single source of truth" for the look) ---- */
:root {
  --navy:   #0F3A5D;   /* primary brand color: headings, header, footer */
  --coral:  #FF6868;   /* action color: the "Support / Donate" buttons  */
  --gold:   #DBB978;   /* warm accent: highlights, underlines            */
  --cream:  #FFF8F1;   /* soft page background                           */
  --white:  #FFFFFF;

  --text:      #3a4a5a; /* body text (soft dark navy, easier to read)    */
  --heading:   #0F3A5D;
  --muted:     #6b7a89;
  --coral-dark:#e94f4f;  /* darker coral for button hover                */
  --line:      #ece2d6;  /* hairline dividers on cream                    */

  --radius:    18px;     /* rounded, friendly corners everywhere          */
  --radius-sm: 12px;
  --shadow:    0 10px 30px rgba(15,58,93,.08);
  --shadow-lg: 0 20px 50px rgba(15,58,93,.14);
  --maxw:      1140px;   /* max content width so lines never get too long */
  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Nunito Sans', system-ui, sans-serif;
  --font-script:'Caveat', cursive;
}

/* ---- 2. Base reset & typography ---- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  font-size: 1.06rem;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4 { font-family: var(--font-head); color: var(--heading); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing:-.5px; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin-bottom: 1rem; }
a { color: var(--coral-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* ---- 3. Layout helpers ---- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--navy  { background: var(--navy); color: #dce7f0; }
.section--navy h2, .section--navy h3 { color: #fff; }
.narrow { max-width: 760px; margin: 0 auto; }
.center { text-align: center; }

.eyebrow {
  font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  letter-spacing: 2px; text-transform: uppercase; color: var(--coral-dark);
  margin-bottom: 12px; display: inline-block;
}
.section-title { margin-bottom: 14px; }
.section-intro { color: var(--muted); font-size: 1.12rem; margin-bottom: 40px; }
.section--navy .section-intro { color: #b9cbdb; }

/* A little hand-drawn gold underline accent under headings */
.accent-underline { position: relative; display: inline-block; }
.accent-underline::after {
  content:""; position:absolute; left:0; right:0; bottom:-10px; height:6px;
  border-radius: 6px; background: var(--gold); opacity:.75;
}

/* ---- 4. Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 14px 28px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none !important;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 8px 20px rgba(255,104,104,.35); }
.btn-primary:hover { background: var(--coral-dark); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: #fff; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #cfa961; }
.btn-white { background:#fff; color: var(--navy); }
.btn-ghost-white { background: transparent; color:#fff; border-color: rgba(255,255,255,.6); }
.btn-ghost-white:hover { background:#fff; color: var(--navy); }
.btn-lg { padding: 16px 34px; font-size: 1.08rem; }

/* ---- 5. Header / Navigation ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,248,241,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; max-width: var(--maxw); margin: 0 auto; }
.nav__logo img { height: 46px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav__links a {
  font-family: var(--font-head); font-weight: 500; color: var(--navy);
  padding: 8px 14px; border-radius: 999px; font-size: .98rem; text-decoration: none;
  transition: background .2s, color .2s;
}
.nav__links a:hover { background: rgba(15,58,93,.07); }
.nav__links a.active { color: var(--coral-dark); }
.nav__links .btn { color:#fff; }
.nav__links .btn:hover { color:#fff; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 26px; height: 3px; background: var(--navy); border-radius: 3px; margin: 5px 0; transition: .3s; }

/* ---- 6. Hero ---- */
.hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(219,185,120,.20), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(255,104,104,.12), transparent 55%),
    var(--cream);
  padding: 70px 0 84px;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__tagline { font-family: var(--font-script); color: var(--coral-dark); font-size: 1.9rem; line-height:1; margin-bottom: 6px; }
.hero h1 { margin-bottom: 18px; }
.hero__lead { font-size: 1.2rem; color: var(--text); margin-bottom: 30px; max-width: 40ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__art { position: relative; }
.hero__art img { border-radius: var(--radius); box-shadow: var(--shadow-lg); background:#fff; }
.hero__badge {
  position:absolute; bottom:-18px; left:-18px; background:#fff; color: var(--navy);
  border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 14px 18px;
  font-family: var(--font-head); font-weight:700; line-height:1.1; font-size:.95rem; border:1px solid var(--line);
}
.hero__badge span { display:block; color: var(--coral-dark); font-size:1.5rem; }

/* ---- 7. Generic cards & grids ---- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.6rem; margin-bottom: 16px; background: rgba(255,104,104,.12);
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; }

/* Value chips (About page) */
.values { list-style: none; display:grid; gap:16px; grid-template-columns: repeat(2,1fr); }
.value { display:flex; gap:14px; align-items:flex-start; background:#fff; border:1px solid var(--line);
  border-radius: var(--radius-sm); padding: 18px 20px; box-shadow: var(--shadow); }
.value .dot { flex:0 0 auto; width:12px; height:12px; border-radius:50%; margin-top:8px; background: var(--coral); }
.value:nth-child(3n) .dot{ background: var(--gold);} .value:nth-child(3n+1) .dot{ background: var(--navy);}
.value h4 { margin-bottom: 2px; }
.value p { margin:0; color: var(--muted); font-size:.98rem; }

/* ---- 8. Impact / stat band ---- */
.stats { display:grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align:center; }
.stat__num { font-family: var(--font-head); font-weight:800; font-size: clamp(2rem,4vw,2.9rem); color: var(--gold); line-height:1; }
.section--navy .stat__num { color: var(--gold); }
.stat__label { color:#b9cbdb; font-size:.98rem; margin-top:6px; }

/* ---- 9. Split feature rows (image + text) ---- */
.split { display:grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items:center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); background:#fff; }
.split + .split { margin-top: 64px; }

/* ---- 10. Steps / timeline (Our Project) ---- */
.steps { display:grid; gap: 20px; grid-template-columns: repeat(5,1fr); counter-reset: step; }
.step { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow); position:relative; }
.step::before { counter-increment: step; content: counter(step); position:absolute; top:-16px; left:20px;
  width:34px; height:34px; border-radius:50%; background: var(--coral); color:#fff; font-family:var(--font-head);
  font-weight:700; display:grid; place-items:center; box-shadow: 0 6px 14px rgba(255,104,104,.4); }
.step h4 { margin: 8px 0 6px; }
.step p { margin:0; color: var(--muted); font-size:.96rem; }

/* Core-item list */
.core-list { list-style:none; display:grid; gap: 14px; grid-template-columns: repeat(2,1fr); }
.core-list li { display:flex; gap:14px; align-items:center; background: var(--cream); border:1px solid var(--line);
  border-radius: var(--radius-sm); padding: 16px 18px; }
.core-list .num { flex:0 0 auto; width:38px; height:38px; border-radius:10px; background: var(--navy); color:#fff;
  font-family:var(--font-head); font-weight:700; display:grid; place-items:center; }
.core-list strong { color: var(--navy); font-family: var(--font-head); }

/* ---- 11. Gallery ---- */
.gallery { display:grid; grid-template-columns: repeat(4,1fr); gap:18px; }
.gallery figure { background:#fff; border:1px solid var(--line); border-radius: var(--radius-sm); overflow:hidden; box-shadow: var(--shadow); }
.gallery img { aspect-ratio: 4/3; object-fit: cover; transition: transform .3s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { padding: 10px 14px; font-size:.9rem; color: var(--muted); text-align:center; }

/* ---- 12. Call-to-action band ---- */
.cta {
  background: linear-gradient(120deg, var(--coral), #ff8a6b);
  color:#fff; border-radius: 28px; padding: 56px 40px; text-align:center; box-shadow: var(--shadow-lg);
}
.cta h2 { color:#fff; margin-bottom: 12px; }
.cta p { color: rgba(255,255,255,.92); max-width: 52ch; margin: 0 auto 26px; font-size:1.12rem; }

/* ---- 13. Verse / quote block ---- */
.verse { text-align:center; }
.verse blockquote { font-family: var(--font-script); font-size: clamp(1.6rem,3.5vw,2.4rem); color: var(--navy); line-height:1.35; max-width: 22ch; margin: 0 auto 10px; }
.verse cite { color: var(--coral-dark); font-style: normal; font-family: var(--font-head); font-weight:600; letter-spacing:1px; }

/* ---- 14. Simple content pages / forms ---- */
.prose h2 { margin: 34px 0 12px; }
.prose h3 { margin: 24px 0 8px; }
.prose ul { margin: 0 0 16px 20px; }
.prose li { margin-bottom: 6px; }

.form-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display:block; font-family: var(--font-head); font-weight:600; color: var(--navy); margin-bottom:6px; font-size:.95rem; }
.field input, .field textarea, .field select {
  width:100%; padding: 12px 14px; border:1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size:1rem; background: var(--cream); color: var(--text);
}
.field input:focus, .field textarea:focus, .field select:focus { outline:none; border-color: var(--coral); background:#fff; }

.note { background: rgba(219,185,120,.16); border:1px solid rgba(219,185,120,.5); border-radius: var(--radius-sm);
  padding: 16px 18px; font-size:.96rem; color: var(--navy); }
.note strong { font-family: var(--font-head); }

/* ---- 15. Footer ---- */
.site-footer { background: var(--navy); color:#c6d5e3; padding: 60px 0 26px; }
.footer__grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer img { height: 52px; margin-bottom: 16px; }
.site-footer h4 { color:#fff; font-size:1rem; margin-bottom: 14px; letter-spacing:.5px; }
.site-footer a { color:#c6d5e3; }
.site-footer a:hover { color:#fff; }
.footer__links { list-style:none; display:grid; gap:10px; }
.footer__tag { font-family: var(--font-script); color: var(--gold); font-size:1.4rem; margin-top:6px; }
.footer__bottom { border-top:1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; text-align:center; font-size:.9rem; color:#8ea6bd; }

/* ---- 16. Page banner (interior pages) ---- */
.page-banner { background:
    radial-gradient(800px 300px at 90% -20%, rgba(219,185,120,.25), transparent 60%), var(--navy);
  color:#fff; padding: 66px 0; text-align:center; }
.page-banner h1 { color:#fff; margin-bottom: 10px; }
.page-banner p { color:#bcd0e2; max-width: 60ch; margin: 0 auto; font-size:1.12rem; }
.page-banner .crumb { color:#8ea6bd; font-size:.9rem; margin-bottom: 14px; }
.page-banner .crumb a { color:#8ea6bd; }

/* ---- 17. Responsive (mobile-first friendliness) ---- */
@media (max-width: 900px){
  .hero__grid, .split { grid-template-columns: 1fr; }
  .hero__art { order:-1; max-width: 460px; margin: 0 auto; }
  .grid-3, .grid-4, .stats, .steps { grid-template-columns: repeat(2,1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .split.reverse .split__text { order: 2; }
}
@media (max-width: 640px){
  .section { padding: 60px 0; }
  .nav__links {
    position: absolute; top: 74px; right: 16px; left:16px;
    flex-direction: column; align-items: stretch; gap: 4px;
    background:#fff; border:1px solid var(--line); border-radius: var(--radius);
    padding: 14px; box-shadow: var(--shadow-lg); display:none;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 12px 14px; }
  .nav__toggle { display: block; }
  .grid-2, .grid-3, .grid-4, .values, .core-list, .stats, .steps, .gallery, .footer__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .gallery { grid-template-columns: repeat(2,1fr); }
  .cta { padding: 40px 22px; }
}
