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

:root {
  --ink: #1a1206;
  --cream: #fdf7ee;
  --warm: #f5efe2;
  --accent1: #e8613a;
  --accent2: #4a9b7f;
  --accent3: #e6b840;
  --muted: #7a6e5f;
  --radius: 16px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}

/* NAV */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2.5rem;
  background: var(--cream);
  border-bottom: 1.5px solid #e8e0d2;
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}
.logo span { color: var(--accent1); font-style: italic; }
nav ul { list-style: none; display: flex; gap: 2rem; }
nav ul a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
nav ul a:hover { color: var(--ink); }
.nav-btn {
  background: var(--ink);
  color: var(--cream);
  border: none;
  border-radius: 100px;
  padding: 0.55rem 1.3rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
  display: inline-block;
}
.nav-btn:hover { background: var(--accent1); transform: scale(1.03); }

/* ZOEKBALK */
.nav-search {
  display: flex;
  align-items: center;
  background: var(--warm);
  border: 1.5px solid #e0d8cc;
  border-radius: 100px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.nav-search:focus-within { border-color: var(--accent1); }
.nav-search input {
  border: none;
  background: transparent;
  padding: 0.45rem 0.9rem;
  font-size: 0.875rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  outline: none;
  width: 180px;
}
.nav-search input::placeholder { color: var(--muted); }
.nav-search button {
  background: none;
  border: none;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 5rem 2.5rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}
.hero-text h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.hero-text h1 em { font-style: italic; font-weight: 300; color: var(--accent1); }
.hero-text p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 400px;
  margin-bottom: 2.2rem;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  background: var(--accent1);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 0.8rem 1.8rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(232,97,58,0.25);
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,97,58,0.32); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid #cdc6b9;
  border-radius: 100px;
  padding: 0.8rem 1.8rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--ink); background: var(--warm); }

/* HERO VISUAL */
.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.color-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1.5px solid rgba(0,0,0,0.06);
}
.color-card:hover { transform: translateY(-4px) rotate(-0.5deg); box-shadow: 0 12px 32px rgba(0,0,0,0.12); }
.color-card:nth-child(1) { grid-column: 1 / 3; }
.color-card svg { display: block; width: 100%; }
.card-label {
  position: absolute;
  bottom: 10px;
  left: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(0,0,0,0.5);
  background: rgba(255,255,255,0.75);
  border-radius: 100px;
  padding: 3px 10px;
}

/* STATS */
.stats {
  background: var(--ink);
  color: var(--cream);
  display: flex;
  justify-content: center;
  gap: 4rem;
  padding: 2rem;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.stat-label { font-size: 0.8rem; color: rgba(253,247,238,0.55); margin-top: 2px; }

/* SECTIONS */
.section { max-width: 1100px; margin: 0 auto; padding: 5rem 2.5rem; }
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 2.5rem;
}
.section-header h2 {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.see-all {
  font-size: 0.875rem;
  color: var(--accent1);
  cursor: pointer;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* CATEGORIES */
.categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.cat-card {
  background: var(--warm);
  border-radius: var(--radius);
  padding: 1.5rem 1rem 1.2rem;
  cursor: pointer;
  border: 1.5px solid #e8e0d2;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: block;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,0.09); background: #fff; }
.cat-icon { font-size: 2.2rem; display: block; margin-bottom: 0.7rem; line-height: 1; }
.cat-title { font-weight: 500; font-size: 0.9rem; color: var(--ink); }
.cat-count { font-size: 0.78rem; color: var(--muted); margin-top: 3px; }

/* PLATES */
.plates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.plate-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid #e8e0d2;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
}
.plate-card:hover { transform: translateY(-5px); box-shadow: 0 14px 36px rgba(0,0,0,0.1); }
.plate-thumb {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  overflow: hidden;
}
.plate-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.plate-info { padding: 1rem 1.2rem 1.2rem; }
.plate-title { font-weight: 500; font-size: 0.95rem; margin-bottom: 6px; }
.plate-meta { display: flex; align-items: center; justify-content: space-between; }
.plate-tag {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--warm);
  color: var(--muted);
}
.plate-actions { display: flex; gap: 8px; }
.icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #e0d8cc;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: background 0.15s, border-color 0.15s;
  color: var(--muted);
  text-decoration: none;
}
.icon-btn:hover { background: var(--accent1); border-color: var(--accent1); color: #fff; }

/* BANNER */
.banner-wrap { padding: 0 2.5rem; max-width: 1100px; margin: 0 auto; }
.banner {
  background: var(--ink);
  border-radius: 24px;
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}
.banner h2 {
  font-family: 'Fraunces', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.banner h2 em { color: var(--accent3); font-style: italic; }
.banner p { color: rgba(253,247,238,0.6); font-size: 0.95rem; line-height: 1.6; max-width: 420px; }
.btn-light {
  background: var(--cream);
  color: var(--ink);
  border: none;
  border-radius: 100px;
  padding: 0.9rem 2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  text-decoration: none;
  display: inline-block;
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

/* FOOTER */
footer {
  max-width: 1100px;
  margin: 5rem auto 0;
  padding: 2rem 2.5rem 3rem;
  border-top: 1.5px solid #e8e0d2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
footer p { font-size: 0.82rem; color: var(--muted); }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--ink); }

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-text { animation: fadeUp 0.6s ease both; }
.hero-visual { animation: fadeUp 0.6s 0.15s ease both; }

/* KLEURPLAAT DETAILPAGINA */
.page-detail-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}
.page-detail-sidebar {
  position: sticky;
  top: 6rem;
}

.desktop-only { display: block; }

/* ── Mobiele nav-icoontjes wrapper ── */
.nav-mobile-icons {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

/* ── Loep + hamburger gedeeld basisstijl ── */
.nav-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.15s;
  flex-shrink: 0;
}
.nav-icon-btn:hover   { background: var(--warm); }
.nav-icon-btn.active  { background: var(--warm); }

/* ── Mobiele zoekbalk (slide-down) ── */
.nav-mobile-searchbar {
  display: none;
  position: fixed;
  top: 80px; left: 0; right: 0;
  background: var(--cream);
  border-bottom: 1.5px solid #e8e0d2;
  padding: 0.65rem 1rem;
  z-index: 99;
  transform: translateY(-6px);
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.18s ease;
  pointer-events: none;
}
.nav-mobile-searchbar.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.nav-mobile-searchbar-form {
  display: flex;
  align-items: center;
  background: var(--warm);
  border: 1.5px solid #e0d8cc;
  border-radius: 100px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.nav-mobile-searchbar-form:focus-within { border-color: var(--accent1); }
.nav-mobile-searchbar-form input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  outline: none;
}
.nav-mobile-searchbar-form button {
  background: none;
  border: none;
  padding: 0.5rem 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
}

/* ── Hamburger knop ── */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 10px;
  transition: background 0.15s;
  flex-shrink: 0;
}
.nav-hamburger:hover { background: var(--warm); }
.nav-hamburger span {
  display: block;
  width: 100%; height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
  transform-origin: center;
}
/* ×-animatie als menu open is */
.nav-hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── Mobiel menu ── */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 80px; left: 0; right: 0;
  background: var(--cream);
  border-bottom: 1.5px solid #e8e0d2;
  padding: 0.5rem 0 1rem;
  z-index: 99;
  transform: translateY(-8px);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.2s ease;
  pointer-events: none;
}
.nav-mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.nav-mobile-link {
  display: block;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid #ede7da;
  transition: background 0.15s;
}
.nav-mobile-link:last-of-type { border-bottom: none; }
.nav-mobile-link:hover { background: var(--warm); }
.nav-mobile-search {
  display: flex;
  align-items: center;
  margin: 0.75rem 1.5rem 0;
  background: var(--warm);
  border: 1.5px solid #e0d8cc;
  border-radius: 100px;
  overflow: hidden;
}
.nav-mobile-search input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  outline: none;
}
.nav-mobile-search button {
  background: none;
  border: none;
  padding: 0.5rem 0.85rem;
  cursor: pointer;
  font-size: 0.95rem;
}
.nav-mobile-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  top: 57px;
  background: rgba(0,0,0,0.25);
  z-index: 98;
}
.nav-mobile-backdrop.open { display: block; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .desktop-only { display: none; }
  nav ul { display: none; }
  .nav-search { display: none; }
  .nav-mobile-icons { display: flex; }
  .nav-mobile-menu { display: block; }
  .nav-mobile-searchbar { display: block; }
  nav ul { display: none; }
  .hero { grid-template-columns: 1fr; padding: 3rem 1.5rem; }
  .hero-visual { display: none; }
  .categories { grid-template-columns: repeat(2, 1fr); }
  .plates-grid { grid-template-columns: 1fr; }
  .banner { grid-template-columns: 1fr; }
  .stats { gap: 2rem; }
  .section { padding: 3rem 1.5rem; }
  .banner-wrap { padding: 0 1.5rem; }

  .page-detail-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .page-detail-sidebar {
    position: static;
  }
}

/* ── Cookie banner ── */
#kt-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--ink);
  color: var(--cream);
  padding: 1.25rem 2rem;
  transform: translateY(100%);
  transition: transform 0.35s ease;
}
#kt-cookie-banner.kt-cb-visible { transform: translateY(0); }

.kt-cb-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.kt-cb-text { flex: 1; min-width: 220px; }
.kt-cb-text strong { font-size: 0.95rem; font-weight: 700; display: block; margin-bottom: 0.3rem; }
.kt-cb-text p { font-size: 0.85rem; color: #c9bfb0; line-height: 1.5; }
.kt-cb-text a { color: var(--accent3); text-underline-offset: 3px; }

.kt-cb-btns { display: flex; gap: 0.75rem; flex-shrink: 0; flex-wrap: wrap; }
.kt-cb-btns button {
  border: none;
  border-radius: 100px;
  padding: 0.6rem 1.3rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}
.kt-cb-btns button:hover { opacity: 0.85; transform: scale(1.03); }
#kt-cb-necessary {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(255,255,255,0.35);
}
#kt-cb-all {
  background: var(--accent1);
  color: #fff;
}

@media (max-width: 600px) {
  #kt-cookie-banner { padding: 1rem 1.25rem; }
  .kt-cb-inner { gap: 1rem; }
  .kt-cb-btns { width: 100%; }
  .kt-cb-btns button { flex: 1; text-align: center; }
}
