/* ================================================================
   BASISSTIJLEN & KLEUREN
   ================================================================= */

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

/* ---- PALET A — Rust & Professionaliteit (standaard) ---- */
:root {
  --color-bg: #f8f6f2;
  --color-bg-alt: #ffffff;
  --color-primary: #1f3a60;          /* donkerblauw */
  --color-primary-soft: #e3ebf7;     /* zachtblauw */
  --color-accent: #c8a04f;           /* zacht oker */
  --color-text: #222222;
  --color-muted: #555555;
  --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.06);
  --radius-card: 16px;
}

/* ---- PALET B — Vriendelijk & Modern ---- */
.theme-b {
  --color-bg: #faf8f4;
  --color-bg-alt: #ffffff;
  --color-primary: #2f6f6f; 
  --color-primary-soft: #e5f4f2;
  --color-accent: #d47b8c;
  --color-text: #222222;
  --color-muted: #555555;
  --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.06);
  --radius-card: 16px;
}

/* ---- PALET C — Minimalistisch & Calm ---- */
.theme-c {
  --color-bg: #f5f5f5;
  --color-bg-alt: #ffffff;
  --color-primary: #2e2e2e;
  --color-primary-soft: #e5e5e5;
  --color-accent: #c6a567;
  --color-text: #222222;
  --color-muted: #555555;
  --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.06);
  --radius-card: 16px;
}

/* ---- PALET D — Original (alternatief palet) ---- */
.theme-d {
  --color-bg: #f7f7fb;
  --color-bg-alt: #ffffff;
  --color-primary: #3b6ea8;
  --color-primary-soft: #e0ecf8;
  --color-accent: #f5c86b;
  --color-text: #222222;
  --color-muted: #666666;
  --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.06);
  --radius-card: 16px;
}

/* ================================================================
   PALETTE SWITCHER (rechtsonder in beeld)
   ================================================================= */

.palette-switcher {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  background: var(--color-bg-alt);
  box-shadow: var(--shadow-soft);
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.palette-switcher-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.6;
  margin-right: 0.4rem;
}

.palette-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  opacity: 0.8;
  transition: background 0.15s ease, opacity 0.15s ease, transform 0.1s ease;
}

.palette-btn:hover {
  background: rgba(0, 0, 0, 0.04);
  opacity: 1;
  transform: translateY(-1px);
}

.palette-btn.is-active {
  background: rgba(0, 0, 0, 0.07);
  opacity: 1;
  font-weight: 600;
}

.palette-swatch-row {
  display: flex;
  gap: 2px;
}

.palette-swatch {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

/* ================================================================
   BASIS LAYOUT & TYPOGRAFIE
   ================================================================= */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* ================================================================
   HEADER & NAVIGATIE
   ================================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-bg-alt);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  color: var(--color-primary);
}
.logo img {
  max-height: 60px;
  width: auto;
}


/* Hamburger menu */

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--color-muted);
  border-radius: 999px;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-label span::before {
  top: -6px;
}

.nav-toggle-label span::after {
  top: 6px;
}

.nav-toggle:checked + .nav-toggle-label span {
  transform: rotate(45deg);
}

.nav-toggle:checked + .nav-toggle-label span::before {
  transform: rotate(-90deg);
  top: 0;
}

.nav-toggle:checked + .nav-toggle-label span::after {
  opacity: 0;
}

.main-nav a {
  margin-left: 1rem;
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--color-muted);
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  transition: background-color 0.2s, color 0.2s;
}

.main-nav a:hover {
  background-color: var(--color-primary-soft);
  color: var(--color-primary);
}

/* ================================================================
   HERO SECTION
   ================================================================= */

.hero {
  padding: 4rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1rem;
  color: var(--color-muted);
  max-width: 32rem;
  margin-bottom: 1.5rem;
}

.hero-box {
  background-color: var(--color-bg-alt);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-soft);
}

.hero-box h2 {
  margin: 0;
  font-size: 1.2rem;
}

.hero-box li {
  margin-bottom: 0.35rem;
}

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

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-primary), #294f7b);
  color: #ffffff;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(59, 110, 168, 0.25);
  transition: transform 0.1s ease-out, box-shadow 0.1s ease-out;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(59, 110, 168, 0.3);
}

.btn-secondary-cta {
  display: inline-block;
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--color-primary);
  background-color: transparent;
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.btn-secondary-cta:hover {
  background-color: var(--color-primary-soft);
  color: var(--color-primary);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

/* ================================================================
   SECTIES & CONTENT
   ================================================================= */

section {
  scroll-margin-top: 80px;
}

.section {
  padding: 4rem 0;
}

/* Aanbod iets dichter onder hero */
#aanbod.section {
  padding-top: 3rem;
}

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

.section h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.section-intro {
  max-width: 40rem;
  color: var(--color-muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background-color: #ffffff;
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.card p {
  margin: 0;
  color: var(--color-muted);
}

/* Kolommen */
.columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-top: 1.75rem;
}

.highlight-box {
  background-color: var(--color-primary-soft);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.5rem;
}

/* ================================================================
   CONTACTFORMULIER
   ================================================================= */

.contact-form {
  background-color: #ffffff;
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 0.9rem;
}

.contact-form label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.55rem 0.6rem;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
  border-color: transparent;
}

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

.site-footer {
  background-color: #111827;
  color: #e5e7eb;
  padding: 1.2rem 0;
  font-size: 0.85rem;
}

.footer-inner {
  text-align: center;
}

.footer-cta {
  margin-top: 0.4rem;
  max-width: 40rem;
  margin: 0.4rem auto 0;
  line-height: 1.5;
}

.footer-cta a {
  color: var(--color-primary-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-cta a:hover {
  color: var(--color-accent);
}

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

@media (max-width: 768px) {

  .header-inner {
    padding: 0.6rem 0;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background-color: var(--color-bg-alt);
    padding: 0.5rem 1rem 0.75rem;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
  }

  .main-nav a {
    margin: 0.2rem 0;
    padding: 0.4rem 0.7rem;
  }

  .nav-toggle-label {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-toggle:checked ~ .main-nav {
    display: flex;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero .btn-primary {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
  }

  .card {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }
}
