/* ============================================================
   Colijn at Sea — huisstijl
   Kleuren: navy + warm goud + zand
   Deze file bepaalt hoe de hele site eruit ziet.
   Je hoeft dit normaal gesproken niet aan te passen.
   ============================================================ */

:root {
  --navy: #0f2a43;
  --navy-deep: #0a1e30;
  --navy-soft: #1b3a58;
  --gold: #e0a94b;
  --gold-dark: #c8923a;
  --sand: #f4e9d6;
  --sand-soft: #faf4e9;
  --ink: #1b2a38;
  --muted: #5a6b7a;
  --white: #ffffff;
  --line: rgba(15, 42, 67, 0.12);
  --shadow: 0 10px 30px rgba(15, 42, 67, 0.12);
  --shadow-lg: 0 20px 50px rgba(15, 42, 67, 0.18);
  --radius: 16px;
  --maxw: 1120px;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--navy); }

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.12;
  color: var(--navy);
  font-weight: 600;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin: 0 0 1rem; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }
.section--sand { background: var(--sand-soft); }
.section--navy { background: var(--navy); color: var(--sand); }
.section--navy h2, .section--navy h3 { color: var(--white); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold-dark);
  margin-bottom: 0.6rem;
}
.section--navy .eyebrow { color: var(--gold); }

.lead { font-size: 1.18rem; color: var(--muted); max-width: 60ch; }
.section--navy .lead { color: rgba(244, 233, 214, 0.85); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn--gold { background: var(--gold); color: var(--navy-deep); }
.btn--gold:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.6); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-deep); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header / navigatie ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 42, 67, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.25rem;
}
.brand__mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--gold);
  color: var(--navy-deep);
  border-radius: 50%;
  font-weight: 700;
  font-family: var(--font-body);
}
.brand span { color: var(--gold); }

.nav-links {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0; padding: 0;
  align-items: center;
}
.nav-links a {
  color: rgba(244, 233, 214, 0.88);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--white); background: rgba(255, 255, 255, 0.08); }
.nav-links a[aria-current="page"] { color: var(--gold); }
.nav-links .btn { color: var(--navy-deep); padding: 9px 18px; }
.nav-links .btn:hover { color: var(--navy-deep); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 8px; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-links .btn { text-align: center; margin-top: 12px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  min-height: 78vh;
  display: flex;
  align-items: center;
  background: var(--navy);
}
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,30,48,0.88) 0%, rgba(10,30,48,0.55) 55%, rgba(10,30,48,0.25) 100%);
}
.hero__inner { position: relative; padding: 90px 0; max-width: 640px; }
.hero h1 { color: var(--white); }
.hero p { font-size: 1.2rem; color: rgba(244, 233, 214, 0.92); }

/* compacte hero voor subpagina's */
.pagehero {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.pagehero h1 { color: var(--white); }
.pagehero p { color: rgba(244, 233, 214, 0.85); max-width: 60ch; margin: 0; }

/* ---------- Thermometer ---------- */
.thermo {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  max-width: 620px;
}
.thermo__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.thermo__raised { font-family: var(--font-head); font-size: 2rem; color: var(--navy); font-weight: 600; }
.thermo__goal { color: var(--muted); font-weight: 600; }
.thermo__bar {
  height: 20px;
  background: var(--sand);
  border-radius: 999px;
  overflow: hidden;
}
.thermo__fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  border-radius: 999px;
  transition: width 1s ease;
}
.thermo__pct { margin-top: 10px; font-weight: 700; color: var(--gold-dark); }

/* ---------- Grid / cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 820px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card__body { padding: 22px 24px 26px; }
.card__body h3 { margin-bottom: 0.4rem; }
.card__body p { color: var(--muted); margin-bottom: 1rem; }
.card a.arrow { font-weight: 700; text-decoration: none; color: var(--gold-dark); }
.card a.arrow:hover { color: var(--navy); }

/* media + tekst naast elkaar */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split--reverse .split__media { order: 2; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split--reverse .split__media { order: 0; }
}

/* ---------- Route ---------- */
.routemap {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  border: 6px solid var(--white);
}
.stops { list-style: none; margin: 0; padding: 0; counter-reset: stop; }
.stop {
  position: relative;
  padding: 20px 20px 20px 66px;
  border-left: 2px dashed var(--gold);
  margin-left: 20px;
}
.stop::before {
  counter-increment: stop;
  content: counter(stop);
  position: absolute;
  left: -19px; top: 18px;
  width: 36px; height: 36px;
  background: var(--gold);
  color: var(--navy-deep);
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700;
  font-family: var(--font-body);
}
.stop h3 { margin-bottom: 0.2rem; }
.stop p { color: var(--muted); margin: 0; }
.stop:last-child { border-left-color: transparent; }

/* ---------- Sponsor tiers ---------- */
.tier {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  text-align: center;
}
.tier--highlight { border: 2px solid var(--gold); }
.tier__name { font-family: var(--font-head); font-size: 1.3rem; color: var(--navy); }
.tier__price { font-size: 1.9rem; font-weight: 700; color: var(--gold-dark); margin: 6px 0 16px; }
.tier ul { list-style: none; padding: 0; margin: 0 0 20px; text-align: left; }
.tier li { padding: 8px 0 8px 26px; position: relative; color: var(--muted); }
.tier li::before { content: "⚓"; position: absolute; left: 0; color: var(--gold); }

/* ---------- Sponsor logos ---------- */
.sponsor-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
}
.sponsor-logo {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 28px;
  min-width: 180px;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  color: var(--navy);
  box-shadow: var(--shadow);
}
.sponsor-logo img { max-height: 56px; width: auto; }
.sponsor-logo span { font-size: 0.95rem; }
.sponsor-logo--empty { color: var(--muted); border-style: dashed; font-weight: 600; }

/* ---------- Acties ---------- */
.actie {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.actie__icon { font-size: 2rem; margin-bottom: 8px; }

/* ---------- Logboek ---------- */
.post {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 28px;
}
.post__img { width: 100%; max-height: 360px; object-fit: cover; }
.post__body { padding: 26px 28px 30px; }
.post__date { color: var(--gold-dark); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.04em; }
.post__body h3 { margin: 6px 0 10px; }

/* ---------- Facts / badges ---------- */
.facts { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.facts li {
  background: var(--sand);
  color: var(--navy);
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.92rem;
}
.section--navy .facts li { background: rgba(255,255,255,0.1); color: var(--sand); }

.callout {
  border-left: 4px solid var(--gold);
  background: var(--sand-soft);
  padding: 18px 24px;
  border-radius: 0 12px 12px 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--navy);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(244, 233, 214, 0.8);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } }
.site-footer h4 { color: var(--white); font-family: var(--font-body); font-size: 1rem; letter-spacing: 0.04em; margin: 0 0 12px; }
.site-footer a { color: var(--gold); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  color: rgba(244, 233, 214, 0.55);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
