/* ==========================================================================
   Themafeest Ideeën — stylesheet
   Mobile-first, geen frameworks, geen build-stap.
   Breakpoints: 375 / 768 / 1024 / 1440
   ========================================================================== */

:root {
  /* Kleurenschema — feestelijk maar leesbaar, WCAG AA-contrast */
  --color-primary: #6c2b85;        /* diep paars — koppen, nav, merk */
  --color-primary-dark: #4d1f61;   /* hover/actieve staten */
  --color-secondary: #ff6b4a;      /* koraal — call-to-action, links */
  --color-secondary-dark: #e2532f;
  --color-accent: #ffc93c;         /* warm geel — badges, accenten */
  --color-bg: #fffbf5;             /* romig achtergrond */
  --color-bg-alt: #f6ecf9;         /* lichte paars-tint voor secties */
  --color-surface: #ffffff;
  --color-text: #2b1f33;           /* bijna-zwart met paarse ondertoon */
  --color-text-muted: #5d4f66;
  --color-border: #e8dced;

  --font-heading: "Baloo 2", "Segoe UI", system-ui, sans-serif;
  --font-body: "Mulish", "Segoe UI", system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --shadow-card: 0 8px 24px rgba(108, 43, 133, 0.12);
  --shadow-card-hover: 0 14px 32px rgba(108, 43, 133, 0.18);

  --max-width: 1180px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--color-secondary-dark);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--color-primary);
}

ul,
ol {
  padding-left: 1.3rem;
}

table {
  border-collapse: collapse;
  width: 100%;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.25;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(1.9rem, 5vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.05rem); margin-top: 2.2em; }
h3 { font-size: clamp(1.15rem, 2.6vw, 1.4rem); margin-top: 1.6em; }

p {
  margin: 0 0 1.1em;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--color-secondary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-secondary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 107, 74, 0.35);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- Header & navigatie ---------- */
.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-primary);
  text-decoration: none;
}

.logo:hover {
  color: var(--color-secondary-dark);
}

.logo-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  margin-inline: auto;
  background: var(--color-primary);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.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);
}

.main-nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(320px, 85vw);
  background: var(--color-surface);
  box-shadow: -10px 0 30px rgba(43, 31, 51, 0.2);
  padding: 5.5rem 1.75rem 2rem;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  z-index: 150;
  overflow-y: auto;
}

.main-nav.is-open {
  transform: translateX(0);
}

.main-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.main-nav a {
  display: block;
  padding: 0.75rem 0.25rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--color-secondary-dark);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(43, 31, 51, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 140;
}

.nav-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.nav-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

body.nav-open {
  overflow: hidden;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--color-primary) 0%, #8a3ba8 55%, var(--color-secondary) 130%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.25;
}

.hero::before {
  width: 260px;
  height: 260px;
  background: var(--color-accent);
  top: -90px;
  right: -70px;
}

.hero::after {
  width: 180px;
  height: 180px;
  background: #fff;
  bottom: -90px;
  left: -60px;
  opacity: 0.12;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-block: 3.2rem 3rem;
  max-width: 760px;
}

.hero h1 {
  color: #fff;
}

.hero .eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.16);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero p.lede {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.94);
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.hero-actions .btn-outline {
  border-color: #fff;
  color: #fff;
}

.hero-actions .btn-outline:hover {
  background: #fff;
  color: var(--color-primary);
}

/* Kleinere pagina-hero voor binnenpagina's */
.page-hero {
  padding-block: 2.2rem 2rem;
}

.page-hero .lede {
  max-width: 68ch;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.94);
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.9rem;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumbs a:hover {
  color: #fff;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0;
  margin: 0;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.35rem;
  opacity: 0.7;
}

/* ---------- Layout helpers ---------- */
main {
  display: block;
}

.section {
  padding-block: 2.6rem;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-header {
  max-width: 68ch;
  margin-bottom: 1.6rem;
}

.section-header .kicker {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-secondary-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.82rem;
  margin-bottom: 0.4rem;
}

/* ---------- Card grids ---------- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--color-text);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  border: 1px solid transparent;
}

a.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-border);
}

.card .icon {
  width: 46px;
  height: 46px;
  margin-bottom: 0.3rem;
}

.card h3 {
  margin: 0;
  color: var(--color-primary);
  font-size: 1.2rem;
}

.card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.96rem;
}

.card .tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--color-bg-alt);
  color: var(--color-primary);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

/* ---------- Info boxes ---------- */
.callout {
  background: var(--color-bg-alt);
  border-left: 5px solid var(--color-secondary);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.3rem;
  margin: 1.6rem 0;
}

.callout h3 {
  margin-top: 0;
  font-size: 1.05rem;
}

.stat-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.6rem 0;
}

.stat {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
}

.stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-secondary-dark);
}

/* ---------- Tabellen ---------- */
.table-wrap {
  overflow-x: auto;
  margin: 1.6rem 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

table.data-table {
  min-width: 480px;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}

.data-table thead th {
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-heading);
}

.data-table tbody tr:nth-child(even) {
  background: var(--color-bg-alt);
}

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
}

.faq-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

/* ---------- Artikel content ---------- */
.article-body {
  max-width: 74ch;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.6rem;
}

.related-links {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.6rem;
}

.related-links a {
  display: block;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  text-decoration: none;
  font-weight: 600;
  color: var(--color-primary);
}

.related-links a:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary-dark);
}

/* ---------- CTA-band ---------- */
.cta-band {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  text-align: center;
  margin-block: 2.5rem;
}

.cta-band h2,
.cta-band p {
  color: #fff;
}

.cta-band h2 {
  margin-top: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #2b1f33;
  color: #ece4f0;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-block: 2.6rem 1.5rem;
}

.footer-col h2,
.footer-col h3 {
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col a {
  color: #d8c7de;
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.2rem;
  font-size: 0.85rem;
  color: #b7a4bf;
  text-align: center;
}

/* ---------- Tablet: 768px ---------- */
@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    width: auto;
    transform: none;
    box-shadow: none;
    padding: 0;
    background: transparent;
    overflow: visible;
  }

  .main-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 1.6rem;
  }

  .main-nav a {
    padding: 0.4rem 0.1rem;
    border-bottom: 2px solid transparent;
  }

  .main-nav a:hover,
  .main-nav a[aria-current="page"] {
    border-bottom-color: var(--color-secondary);
  }

  .nav-close,
  .nav-backdrop {
    display: none;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Desktop: 1024px ---------- */
@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-inner {
    padding-block: 4.5rem 4rem;
  }

  .two-col {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
    align-items: start;
  }
}

/* ---------- Large desktop: 1440px ---------- */
@media (min-width: 1440px) {
  .hero-inner {
    padding-block: 5.5rem 5rem;
  }

  .section {
    padding-block: 3.4rem;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}


/* ---------- Fotoblokken ---------- */
.photo-showcase {
  padding-top: 1.2rem;
  padding-bottom: 0;
}

.feature-photo {
  margin: 0;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(108, 43, 133, 0.08);
}

.feature-photo img {
  width: 100%;
  height: clamp(260px, 48vw, 520px);
  object-fit: cover;
}

.page-hero + .photo-showcase .feature-photo {
  margin-top: -0.8rem;
}

@media (min-width: 768px) {
  .page-hero + .photo-showcase .feature-photo {
    margin-top: -1rem;
  }
}


/* ---------- Foto's in themakaarten ---------- */
.card-image {
  width: calc(100% + 2.4rem);
  max-width: none;
  height: 205px;
  object-fit: cover;
  margin: -1.2rem -1.2rem 1.1rem;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

@media (min-width: 768px) {
  .card-image { height: 220px; }
}

@media (min-width: 1024px) {
  .card-image { height: 190px; }
}


/* ---------- Externe thema-aanraders ---------- */
.section-highlight {
  background: linear-gradient(180deg, rgba(246, 236, 249, 0.65) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.external-theme-section .section-header p {
  max-width: 72ch;
}

.promo-grid-single {
  grid-template-columns: 1fr;
}

.external-card {
  border: 1px solid var(--color-border);
}

.card-linkline {
  margin-top: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-secondary-dark);
}

.external-card:hover .card-linkline {
  color: var(--color-primary);
}

@media (min-width: 1024px) {
  .promo-grid-single {
    grid-template-columns: minmax(0, 760px);
  }
}
