/* De Sterrendragers - Standalone Site */
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Form elements erven standaard geen font van body — dit corrigeert dat */
button, input, textarea, select { font-family: inherit; font-size: inherit; }

:root {
  --red: #db1a1c;
  --dark-red: #7f0305;
  --near-black: #171512;
  --dark: #323335;
  --grey: #555;
  --light: #f5f5f5;
  --white: #fff;
  --font: 'Josefin Sans', 'Helvetica Neue', Arial, sans-serif;
  --max: 1280px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
}

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* ===================== HEADER ===================== */

.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 100;
  background: var(--red);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
  padding: 0 20px;
}

.site-logo { display: flex; align-items: center; text-decoration: none; }
.site-logo img { width: 44px; height: 44px; object-fit: contain; }

nav { display: flex; align-items: center; }
nav ul { list-style: none; display: flex; }
nav ul li a {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 24px;
  position: relative;
}
nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 6px; left: 20px; right: 20px;
  height: 2px;
  background: var(--white);
  transform: translateY(4px);
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}
nav ul li a:hover::after,
nav ul li a.active::after { opacity: 1; transform: translateY(0); }
nav ul li a:hover { text-decoration: none; }

/* header spacer */
.header-spacer { height: 72px; }

/* Social icons in header */
.nav-social {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}
.nav-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 72px;
  color: var(--white);
  opacity: 0.85;
  transition: opacity 0.2s;
}
.nav-social a:hover { opacity: 1; text-decoration: none; }
.nav-social svg { display: block; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); }

/* ===================== COVER / HERO (50/50 split) ===================== */

/* Hero-covers starten bovenaan, achter de vaste header */
.cover-hero {
  display: flex;
  min-height: 100vh;
  /* geen margin-top: header is fixed en overlapt */
}

/* Gewone cover-blokken (CTA mid-page) */
.cover {
  display: flex;
  min-height: 520px;
}

.cover-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  flex: 1;
  width: 50%;
}
.cover-text-inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 840px;
  padding: 60px;
}
/* Extra top-padding in hero zodat tekst niet achter header valt */
.cover-hero .cover-text-inner {
  padding-top: 132px; /* 72px header + 60px ruimte */
}

.cover-image {
  flex: 1;
  width: 50%;
  position: relative;
  overflow: hidden;
  min-height: 400px;
}
.cover-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Cover with full-width image background (no split) */
.cover-full {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}
/* Variant: tekst onderaan, twee kolommen (heading links, tekst rechts) */
.cover-full--bottom { align-items: flex-end; }
.cover-full-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cover-full-overlay {
  position: absolute;
  inset: 0;
  background: rgba(219,26,28,0.55);
}
.cover-full-content {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 60px;
}
/* Split-bottom: heading links, tekst rechts */
.cover-full-content--split {
  display: flex;
  align-items: flex-end;
  gap: 60px;
}
.cover-full-content--split h1,
.cover-full-content--split h2 {
  flex: 1;
  text-align: left;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0;
}
.cover-full-content--split p {
  flex: 1;
  text-align: left;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0;
}
@media (max-width: 800px) {
  .cover-full-content--split { flex-direction: column; gap: 20px; }
}

/* Text colour variants */
.text-white { color: var(--white); }
.text-white a { color: var(--white); }
.text-dark { color: var(--dark); }

/* Background colour variants */
.bg-white { background: var(--white); }
.bg-light { background: var(--light); }
.bg-red { background: var(--red); }       /* #db1a1c */
.bg-dark-red { background: var(--dark-red); }  /* #7f0305 hero-paneel */
.bg-dark { background: var(--dark); }
.bg-near-black { background: var(--near-black); }

/* ===================== TYPOGRAPHY IN SECTIONS ===================== */

.cover-text-inner h1,
.cover-text-inner h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}
.cover-text-inner p { font-size: 1rem; line-height: 1.75; margin-bottom: 12px; }
.cover-text-inner em { font-style: italic; }

.cover-full-content h1,
.cover-full-content h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  text-align: center;
}
.cover-full-content p { text-align: center; font-size: 1.05rem; line-height: 1.7; }

/* Split-bottom override: heading links groot, tekst rechts klein */
.cover-full-content--split h1,
.cover-full-content--split h2 {
  text-align: left;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 0;
}
.cover-full-content--split p {
  text-align: left;
  margin-bottom: 0;
}

/* ===================== REGULAR CONTENT SECTION ===================== */

.content-section { padding: 60px 20px; }
.content-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}

.content-section h1 { font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 700; margin-bottom: 16px; }
.content-section h2 { font-size: clamp(1.3rem, 2.5vw, 2rem); font-weight: 700; margin-bottom: 20px; }
.content-section p { line-height: 1.75; margin-bottom: 14px; }
.content-section a { color: var(--red); }

/* ===================== CARD GRID ===================== */

.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 0;
}

.card-col {
  flex: 1;
  min-width: 200px;
}

/* Kaart met afbeelding boven + tekst onder */
.card-img-text { background: var(--white); }
.card-img-text .card-img-wrap {
  position: relative;
  padding-bottom: 100%; /* 1:1 */
  overflow: hidden;
}
.card-img-text .card-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-img-text .card-body { padding: 24px; }
.card-img-text .card-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.card-img-text .card-body p { font-size: 0.9rem; line-height: 1.7; color: var(--grey); }

/* Donkere document-kaart (tekst + knop) */
.card-dark {
  background: var(--near-black);
  color: var(--white);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 160px;
  justify-content: space-between;
}
.card-dark h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 20px; }

/* Team kaart (donkerrood) */
.card-team { background: var(--dark-red); color: var(--white); }
.card-team .card-img-wrap {
  padding: 24px 24px 0;
}
.card-team .card-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}
.card-team .card-body { padding: 24px; }
.card-team .card-body h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.card-team .card-body em { font-style: italic; font-size: 0.85rem; opacity: 0.8; display: block; margin-bottom: 12px; }
.card-team .card-body p { font-size: 0.85rem; line-height: 1.7; color: rgba(255,255,255,0.85); }

/* ===================== BUTTONS ===================== */

.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn:hover { opacity: 0.85; text-decoration: none; }
.btn--white { background: var(--white); color: var(--near-black); }
.btn--dark { background: var(--near-black); color: var(--white); }

/* ===================== FORM ===================== */

.form-section { padding: 60px 20px; }
.form-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}
.form-inner h2 { font-size: clamp(1.3rem, 2.5vw, 2rem); font-weight: 700; margin-bottom: 32px; }

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}
.required { color: var(--red); }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  font-family: var(--font);
  font-size: 0.95rem;
  background: var(--white);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--red); }
.form-group textarea { height: 130px; resize: vertical; }

.form-consent { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 20px; }
.form-consent input[type=checkbox] { margin-top: 3px; flex-shrink: 0; }
.form-consent label { font-size: 0.8rem; line-height: 1.5; color: var(--grey); }
.form-consent a { color: var(--red); }

.btn-submit {
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 14px 32px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}
.btn-submit:hover { opacity: 0.85; }

/* ===================== FOOTER ===================== */

.site-footer {
  background: var(--white);
  padding: 40px 20px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-bottom: 32px;
  flex-wrap: wrap;
}
.footer-logo { width: 100px; flex-shrink: 0; }
.footer-logo img { width: 100%; }

.footer-contact {
  text-align: center;
  flex: 1;
}
.footer-contact p, .footer-contact a { font-size: 0.95rem; line-height: 1.9; color: var(--dark); }
.footer-contact a:hover { color: var(--red); }

.footer-links {
  border-top: 1px solid #e0e0e0;
  padding-top: 20px;
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--dark);
  font-size: 0.9rem;
  padding: 4px 20px;
  border-right: 1px solid #ccc;
}
.footer-links a:last-child { border-right: none; }
.footer-links a:hover { color: var(--red); text-decoration: none; }

/* ===================== ANBI BOX ===================== */
.anbi-box {
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--grey);
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 800px) {
  .cover, .cover-hero { flex-direction: column !important; }
  .cover-text, .cover-image { width: 100%; flex: none; }
  .cover-image { min-height: 260px; }
  .cover-hero { min-height: auto; }
  .cover-hero .cover-text-inner { padding-top: 92px; }
  .cover-text-inner { padding: 40px 24px; max-width: 100%; }

  .card-col { flex: 0 0 50%; }

  .nav-toggle { display: flex; }
  nav {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--red);
    z-index: 200;
  }
  nav.open { display: block; }
  nav ul { flex-direction: column; }
  nav ul li a { padding: 14px 24px; }
  nav ul li a::after { display: none; }

  .content-inner, .form-inner, .footer-inner { padding: 0 16px; }
  .cover-full-content { padding: 40px 24px; }
}

@media (max-width: 500px) {
  .card-col { flex: 0 0 100%; }
}
