/* ==========================================================================
   Ar en Bar — Gambia 2026
   Gedeelde stylesheet voor alle pagina's
   ========================================================================== */

/* -------- Design tokens -------- */
:root {
  /* Kleuren — warme aardetinten + navy + gedempt blauw op wit */
  --clay:        #c9603f;   /* terracotta accent */
  --clay-dark:   #a94b2d;
  --ochre:       #d99a3e;   /* oker */
  --sand:        #f4ede3;   /* zachte zandtint (secties) */
  --sand-2:      #efe6d8;
  --navy:        #1f2d3d;   /* koppen / donkere tekst */
  --ink:         #35424f;   /* body tekst */
  --muted:       #6b7683;   /* subtiele tekst */
  --sky:         #3d6e8c;   /* gedempt blauw secundair accent */
  --sky-dark:    #305873;
  --green:       #5a7a52;   /* natuur-accent */
  --white:       #ffffff;
  --line:        #e4ddd0;   /* randen */

  /* Typografie */
  --font-head: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Ruimte & vorm */
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(31, 45, 61, 0.10);
  --shadow-sm: 0 4px 14px rgba(31, 45, 61, 0.08);
  --maxw: 1140px;
  --gutter: clamp(1.1rem, 4vw, 2.2rem);
}

/* -------- Reset / basis -------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--clay-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 600;
}
h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.4rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.55rem, 1.15rem + 1.8vw, 2.3rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.45rem); }
p  { margin: 0 0 1.1rem; }

/* -------- Layout helpers -------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3rem, 2rem + 5vw, 6rem); }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy); color: #dfe6ee; }
.section--navy h2, .section--navy h3 { color: #fff; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.lead { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem); color: var(--ink); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--clay);
  margin-bottom: .6rem;
}
.section--navy .eyebrow { color: var(--ochre); }

/* -------- Buttons -------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600;
  padding: .8rem 1.5rem; border-radius: 50px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none; font-size: 1rem; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--clay); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--clay-dark); color: #fff; }
.btn--sky { background: var(--sky); color: #fff; }
.btn--sky:hover { background: var(--sky-dark); color: #fff; }
.btn--ghost { background: transparent; border-color: var(--clay); color: var(--clay-dark); }
.btn--ghost:hover { background: var(--clay); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--sand-2); color: var(--navy); }

/* -------- Header / navigatie -------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 68px;
}
.brand { display: flex; align-items: center; gap: .65rem; font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.15rem; }
.brand:hover { text-decoration: none; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--ochre), var(--clay) 70%);
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .95rem;
  flex: none; box-shadow: var(--shadow-sm);
}
.brand__sub { display: block; font-size: .72rem; font-weight: 500; color: var(--muted); letter-spacing: 1px; }
.brand__logo { height: 48px; width: auto; display: block; }
.brand__fb { display: flex; align-items: center; gap: .65rem; }
.brand__fb[hidden] { display: none; }
@media (max-width: 480px) { .brand__logo { height: 40px; } }
.footer__logo { display: inline-block; background: #fff; padding: .5rem .75rem; border-radius: 12px; }
.footer__logo img { height: 46px; width: auto; display: block; }

.nav__links { display: flex; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  color: var(--ink); font-family: var(--font-head); font-weight: 500;
  padding: .5rem .7rem; border-radius: 8px; font-size: .95rem; white-space: nowrap;
}
.nav__links a:hover { background: var(--sand); color: var(--navy); text-decoration: none; }
.nav__links a.active { color: var(--clay-dark); }
.nav__cta { margin-left: .4rem; }

.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: 8px; padding: 0;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; position: relative;
  width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px;
  margin-inline: auto; transition: transform .25s ease, opacity .2s ease;
}
.nav__toggle span::before { position: absolute; top: -7px; }
.nav__toggle span::after  { position: absolute; top: 7px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: .6rem var(--gutter) 1.2rem;
    box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; opacity: 0; visibility: hidden;
    transition: max-height .3s ease, opacity .25s ease, visibility .25s;
  }
  .nav__links.open { max-height: 80vh; opacity: 1; visibility: visible; overflow-y: auto; }
  .nav__links a { padding: .85rem .6rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav__links a:last-child { border-bottom: 0; }
  .nav__cta { margin: .8rem 0 0; }
  .nav__cta .btn { width: 100%; justify-content: center; }
}

/* -------- Hero -------- */
.hero { position: relative; background: var(--navy); color: #eef2f6; overflow: hidden; }
.hero__media {
  position: absolute; inset: 0;
  background:
    linear-gradient(120deg, rgba(31,45,61,.92), rgba(31,45,61,.55)),
    linear-gradient(135deg, #3d6e8c, #c9603f);
}
.hero__inner { position: relative; padding-block: clamp(3.5rem, 2rem + 8vw, 7rem); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.hero h1 { color: #fff; }
.hero p { color: #dbe4ec; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
@media (max-width: 820px) { .hero__grid { grid-template-columns: 1fr; } }

/* -------- Countdown -------- */
.countdown {
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius); padding: 1.4rem 1.2rem; text-align: center;
  backdrop-filter: blur(4px);
}
.countdown__title { font-family: var(--font-head); font-weight: 600; color: #fff; margin-bottom: .9rem; font-size: 1.05rem; }
.countdown__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.countdown__cell { background: rgba(255,255,255,.10); border-radius: var(--radius-sm); padding: .7rem .3rem; }
.countdown__num { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.4rem, 1rem + 2vw, 2.1rem); color: #fff; line-height: 1; }
.countdown__label { font-size: .72rem; text-transform: uppercase; letter-spacing: 1px; color: #c7d2dc; margin-top: .35rem; }
.countdown__done { color: var(--ochre); font-weight: 600; font-family: var(--font-head); }

/* -------- Cards / grids -------- */
.grid { display: grid; gap: clamp(1.1rem, 2vw, 1.8rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
  height: 100%;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--sand); color: var(--clay); margin-bottom: .9rem; font-size: 1.4rem;
}
.card h3 { margin-bottom: .35rem; }
.card p { margin-bottom: .2rem; color: var(--ink); }
.card__link { display: inline-block; margin-top: .8rem; font-family: var(--font-head); font-weight: 600; }
.card__link::after { content: " →"; }

/* -------- Algemene media + logo's -------- */
.media { position: relative; }
.media__img { width: 100%; border-radius: var(--radius); display: block; box-shadow: var(--shadow-sm); }
.logo-img { max-height: 84px; width: auto; margin: 0 auto .3rem; display: block; }
.logo-card { display: grid; place-items: center; gap: .5rem; }

/* -------- Personen (Arco, Bartjan, medereizigers) -------- */
.person { text-align: left; }
.person__media { position: relative; margin-bottom: 1rem; }
.person__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); display: block; box-shadow: var(--shadow-sm); }
.person__ph { aspect-ratio: 4 / 5; min-height: 0; }
.person__role { color: var(--sky-dark); font-family: var(--font-head); font-weight: 600; font-size: .92rem; margin: 0 0 .5rem; }
.person h3 { margin-bottom: .1rem; }

/* -------- Media + tekst blok -------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.split--reverse .split__media { order: 2; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

/* -------- Placeholder afbeeldingen -------- */
.ph {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 12px, rgba(255,255,255,0) 12px 24px),
    linear-gradient(135deg, var(--sky), var(--clay));
  min-height: 260px; display: grid; place-items: center;
  color: #fff; text-align: center;
}
.ph--tall { min-height: 340px; }
.ph--sand { background: linear-gradient(135deg, var(--ochre), var(--clay)); }
.ph--green { background: linear-gradient(135deg, var(--green), var(--sky)); }
.ph__label {
  font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  letter-spacing: 1px; text-transform: uppercase;
  background: rgba(0,0,0,.28); padding: .45rem .8rem; border-radius: 50px;
  backdrop-filter: blur(2px);
}

/* -------- Statistieken -------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat__num { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.8rem, 1.2rem + 2.5vw, 2.8rem); color: var(--clay); line-height: 1; }
.section--navy .stat__num { color: var(--ochre); }
.stat__label { color: var(--muted); font-size: .95rem; margin-top: .3rem; }
.section--navy .stat__label { color: #c7d2dc; }

/* -------- Tijdlijn (Realisatie) -------- */
.timeline { position: relative; max-width: 780px; margin-inline: auto; padding-left: 2rem; }
.timeline::before { content: ""; position: absolute; left: 7px; top: .4rem; bottom: .4rem; width: 2px; background: var(--line); }
.timeline__item { position: relative; padding: 0 0 1.8rem 1.4rem; }
.timeline__item::before {
  content: ""; position: absolute; left: -2rem; top: .3rem;
  width: 16px; height: 16px; border-radius: 50%; background: var(--clay);
  border: 3px solid #fff; box-shadow: 0 0 0 2px var(--clay);
}
.timeline__date { font-family: var(--font-head); font-weight: 600; color: var(--sky-dark); font-size: .9rem; }
.timeline__item h3 { margin: .15rem 0 .3rem; }

/* -------- Blog -------- */
.post { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.post:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post .ph { border-radius: 0; min-height: 190px; }
.post__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post__meta { font-size: .82rem; color: var(--muted); margin-bottom: .4rem; font-family: var(--font-head); }
.post__body h3 { margin-bottom: .4rem; }
.post__body .card__link { margin-top: auto; }

/* -------- Doneren blokken -------- */
.give { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
@media (max-width: 820px) { .give { grid-template-columns: 1fr; } }
.give__card { border: 2px solid var(--line); border-radius: var(--radius); padding: 1.6rem; text-align: center; background: #fff; }
.give__card--featured { border-color: var(--clay); box-shadow: var(--shadow); position: relative; }
.give__badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--clay); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .78rem; padding: .3rem .9rem; border-radius: 50px; }
.give__amount { font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: var(--navy); }

/* -------- Sponsors -------- */
.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
@media (max-width: 820px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } }
.logo-box {
  aspect-ratio: 3 / 2; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; display: grid; place-items: center; color: var(--muted);
  font-family: var(--font-head); font-weight: 600; font-size: .85rem; text-align: center; padding: .8rem;
}

/* -------- Contact -------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 1rem; }
.field label { display: block; font-family: var(--font-head); font-weight: 500; margin-bottom: .35rem; color: var(--navy); font-size: .95rem; }
.field input, .field textarea {
  width: 100%; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: #fff;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--sky); border-color: var(--sky); }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: 1rem; }
.contact-list .ic { flex: none; width: 42px; height: 42px; border-radius: 10px; background: var(--sand); color: var(--clay); display: grid; place-items: center; font-size: 1.2rem; }

/* -------- CTA band -------- */
.cta-band { background: linear-gradient(135deg, var(--clay), var(--ochre)); color: #fff; border-radius: var(--radius); padding: clamp(2rem, 1.5rem + 3vw, 3.2rem); text-align: center; box-shadow: var(--shadow); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #fff5ee; }

/* -------- Footer -------- */
.site-footer { background: var(--navy); color: #b9c4cf; padding-block: 3rem 1.5rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
@media (max-width: 720px) { .footer__grid { grid-template-columns: 1fr; gap: 1.6rem; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: .8rem; }
.site-footer a { color: #c3cdd7; }
.site-footer a:hover { color: #fff; }
.footer__links { list-style: none; padding: 0; margin: 0; }
.footer__links li { margin-bottom: .45rem; }
.footer__brand .brand { color: #fff; }
.footer__brand .brand__sub { color: #9fb0bd; }
.social { display: flex; gap: .6rem; margin-top: 1rem; }
.social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; }
.social a:hover { background: var(--clay); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1.2rem; font-size: .85rem; color: #8d9aa6; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }

/* -------- Page hero (binnenpagina's) -------- */
.page-hero { background: var(--navy); color: #eaf0f5; padding-block: clamp(2.5rem, 1.5rem + 5vw, 4.5rem); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(61,110,140,.35), rgba(201,96,63,.35)); mix-blend-mode: screen; }
.page-hero__inner { position: relative; }
.page-hero h1 { color: #fff; margin-bottom: .4rem; }
.page-hero p { color: #cdd8e1; max-width: 640px; margin: 0; }
.breadcrumb { font-size: .85rem; color: #9fb0bd; margin-bottom: .8rem; font-family: var(--font-head); }
.breadcrumb a { color: #cdd8e1; }

/* -------- Utility -------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 1rem; }
.pill { display: inline-block; background: var(--sand); color: var(--clay-dark); font-family: var(--font-head); font-weight: 600; font-size: .8rem; padding: .3rem .8rem; border-radius: 50px; }
.note { background: var(--sand); border-left: 4px solid var(--ochre); padding: 1rem 1.2rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

/* Toegankelijkheid: reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
