﻿/* The Little Dreams â€” colors taken from the logo. Change them here. */
:root {
  --blue: #1670b0;
  --blue-dark: #0d4f80;
  --green: #2e9446;
  --yellow: #f5c518;
  --red: #c9302a;
  --ink: #1f2a37;
  --muted: #5b6776;
  --bg: #ffffff;
  --bg-alt: #f5f9fc;
  --cream: #fffbea;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(16, 42, 67, 0.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Nunito", system-ui, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.7; font-size: 17px; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; }
h1, h2 { font-family: "Playfair Display", Georgia, serif; font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--blue-dark); }
h3 { font-size: 1.25rem; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); }
.small { font-size: .9rem; }
.hidden { display: none; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-weight: 800; font-size: .8rem; color: var(--green); }

/* Buttons */
.btn { display: inline-block; background: var(--blue); color: #fff; text-decoration: none; font-weight: 800; padding: .7em 1.4em; border-radius: 999px; border: 2px solid var(--blue); transition: transform .15s, background .15s; cursor: pointer; font: inherit; font-weight: 800; }
.btn:hover { transform: translateY(-2px); background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-donate { background: var(--red); border-color: var(--red); }
.btn-donate:hover { background: #a3241f; border-color: #a3241f; }
.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover { background: #fff; color: var(--blue-dark); border-color: #fff; }
.btn-lg { padding: .85em 1.8em; font-size: 1.05rem; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 1.4rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--blue-dark); font-family: "Playfair Display", serif; font-size: 1.35rem; font-weight: 600; }
.brand img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 700; padding: .5em .8em; border-radius: 8px; }
.main-nav a:not(.btn):hover, .main-nav a.active { color: var(--blue); background: var(--bg-alt); }
.main-nav .btn { margin-left: 8px; padding: .55em 1.3em; }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.8rem; cursor: pointer; color: var(--blue-dark); }
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; padding: 12px 16px 20px; box-shadow: 0 10px 20px rgba(0,0,0,.08); }
  .main-nav.open { display: flex; }
  .main-nav .btn { margin: 8px 0 0; text-align: center; }
  .brand span { font-size: 1.1rem; }
}

/* Hero */
.hero { position: relative; min-height: min(78vh, 760px); display: grid; place-items: center; text-align: center; color: #fff; background: var(--blue-dark) center/cover no-repeat; }
.hero-small { min-height: min(46vh, 440px); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,30,55,.35), rgba(8,30,55,.7)); }
.hero-content { position: relative; padding: 80px 0; }
.hero h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); text-shadow: 0 2px 18px rgba(0,0,0,.35); max-width: 900px; margin-inline: auto; }
.hero .lead { color: #f1f5f9; max-width: 720px; margin-inline: auto; font-size: clamp(1.05rem, 2vw, 1.3rem); }

/* Sections */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.top { align-items: start; grid-template-columns: 1.4fr 1fr; }
.split.reverse > img { order: -1; }
.rounded { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.side-img { position: sticky; top: 100px; }
@media (max-width: 860px) {
  .split, .split.top { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse > img { order: 0; }
  .side-img { position: static; }
  .section { padding: 56px 0; }
}
.prose h2 { margin-top: 1.6em; font-size: 1.8rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; margin: 36px 0; }
.card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .2s; }
.card:hover { transform: translateY(-4px); }
.card-img { position: relative; aspect-ratio: 16/10; background: #ddd center/cover; }
.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { color: var(--blue-dark); }
.card-body p { margin: 0 0 1em; color: var(--muted); }
.meta { font-weight: 700; font-size: .92rem; }
.more { margin-top: auto; font-weight: 800; color: var(--blue); }
.badge { position: absolute; top: 14px; left: 14px; background: var(--yellow); color: #3b2f00; font-weight: 800; font-size: .8rem; padding: .3em .9em; border-radius: 999px; }
.badge.static { position: static; display: inline-block; margin-bottom: 1rem; }

/* Boxes */
.event-box, .goal { background: var(--cream); border: 2px solid #f6e39a; border-radius: var(--radius); padding: 24px 26px; margin: 28px 0; }
.event-box h3 { color: var(--blue-dark); }
.aside .event-box:first-child, .aside .goal { margin-top: 0; }
.goal-row { display: flex; justify-content: space-between; gap: 12px; }
.goal-row strong { font-size: 1.3rem; color: var(--green); }
.bar { height: 12px; background: #e8eef3; border-radius: 99px; overflow: hidden; margin: 10px 0; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--yellow)); }

/* Donate band */
.band-donate { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); color: #fff; padding: 72px 0; }
.band-donate h2 { color: #fff; }
.band-donate .lead { color: #e2ecf5; max-width: 720px; margin: 0 auto 1.6rem; }

/* Gallery + lightbox */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-top: 28px; }
.gallery a { display: block; border-radius: 10px; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.05); }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5,15,25,.92); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; font-size: 2.4rem; width: 56px; height: 56px; border-radius: 50%; cursor: pointer; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }

/* Contact */
.contact-list { list-style: none; padding: 0; }
.contact-list li { margin: .5em 0; font-weight: 600; }
.contact-form { background: #fff; padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 6px; font-weight: 700; }
.contact-form input, .contact-form textarea { font: inherit; padding: .7em .9em; border: 1.5px solid #d4dce4; border-radius: 10px; }
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid rgba(22,112,176,.25); border-color: var(--blue); }

/* Footer */
.site-footer { background: #0b2a44; color: #c9d6e2; padding: 60px 0 24px; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h4 { color: var(--yellow); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.brand-footer { color: #fff; margin-bottom: 12px; }
.brand-footer img { width: 64px; height: 64px; }
.copyright { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; font-size: .85rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }
