/* ===========================================
   ikgauithuis.nl — gedeelde stylesheet
   Fris, jeugdig, overzichtelijk, mobile-first
   =========================================== */

:root {
  --primary: #5B6CF6;
  --primary-dark: #4554D6;
  --primary-light: #EEF0FE;
  --accent: #FFB454;
  --accent-dark: #F59E0B;
  --success: #10B981;
  --success-light: #D1FAE5;
  --danger: #EF4444;
  --bg: #FBFBFD;
  --card: #FFFFFF;
  --text: #0F172A;
  --text-soft: #475569;
  --text-muted: #94A3B8;
  --border: #E2E8F0;
  --border-soft: #F1F5F9;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.10);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { color: var(--text); line-height: 1.25; margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--text-soft); }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ============= NAVBAR ============= */
.navbar {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo:hover { text-decoration: none; }
.logo-icon {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--primary), #7B8AFB);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
}
.logo-icon svg { width: 18px; height: 18px; color: white; }
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: var(--text-soft);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); text-decoration: none; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 40px; height: 40px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0;
  width: 18px; height: 2px; background: var(--text);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--card);
    flex-direction: column;
    gap: 0;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; border-bottom: 1px solid var(--border-soft); width: 100%; }
}

/* ============= BUTTONS ============= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  font-family: inherit;
}
.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); text-decoration: none; }
.btn-secondary {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.btn-accent {
  background: var(--accent);
  color: var(--text);
}
.btn-accent:hover { background: var(--accent-dark); color: white; text-decoration: none; }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }

/* ============= HERO ============= */
.hero {
  padding: 60px 0 80px;
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
.hero h1 { margin-bottom: 18px; }
.hero h1 span.highlight {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent) 100%);
  background-repeat: no-repeat;
  background-size: 100% 30%;
  background-position: 0 90%;
  padding: 0 4px;
}
.hero-sub { font-size: 1.15rem; color: var(--text-soft); margin-bottom: 28px; max-width: 540px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.hero-stat strong { display: block; font-size: 1.6rem; color: var(--primary); font-weight: 800; }
.hero-stat span { font-size: 0.9rem; color: var(--text-soft); }

.hero-visual {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  position: relative;
}
.hero-visual h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 14px; }
.hero-checklist { list-style: none; padding: 0; margin: 0; }
.hero-checklist li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.96rem;
}
.hero-checklist li:last-child { border-bottom: none; }
.hero-checklist .check {
  width: 22px; height: 22px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
  font-weight: 700;
}
.hero-checklist li.done .check { background: var(--success); color: white; }
.hero-checklist li.done span:not(.check) { color: var(--text-muted); text-decoration: line-through; }
.hero-checklist li:not(.done) .check { background: var(--border-soft); color: var(--text-muted); border: 1.5px solid var(--border); }

/* ============= SECTIONS ============= */
.section {
  padding: 70px 0;
}
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}
.section-head h2 { margin-bottom: 14px; }
.section-head p { font-size: 1.1rem; }
.eyebrow {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

/* ============= CARDS / GRID ============= */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 880px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card-link { text-decoration: none; color: inherit; display: block; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary); text-decoration: none; }
.card h3 { margin: 16px 0 8px; }
.card p { font-size: 0.95rem; margin-bottom: 0; }
.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 6px;
}
.card-icon.bg-primary { background: var(--primary-light); }
.card-icon.bg-accent { background: #FFF4E0; }
.card-icon.bg-success { background: var(--success-light); }
.card-icon.bg-pink { background: #FFE4EC; }
.card-icon.bg-blue { background: #DBEAFE; }
.card-icon.bg-purple { background: #EDE9FE; }

/* ============= FEATURED TOOLS ============= */
.feature-block {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
@media (max-width: 880px) { .feature-block { grid-template-columns: 1fr; padding: 28px; } }
.feature-block.reverse > div:first-child { order: 2; }
@media (max-width: 880px) { .feature-block.reverse > div:first-child { order: 0; } }
.feature-tag {
  display: inline-block; background: var(--accent); color: var(--text);
  padding: 4px 12px; border-radius: 20px; font-size: 0.78rem; font-weight: 700; margin-bottom: 14px;
}
.feature-preview {
  background: linear-gradient(135deg, var(--primary-light), #F8FAFF);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border-soft);
}

/* ============= CHECKLIST UI ============= */
.checklist-wrap {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 20px;
  overflow: hidden;
}
.checklist-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 28px;
  cursor: pointer;
  user-select: none;
  background: var(--card);
}
.checklist-head:hover { background: var(--border-soft); }
.checklist-head h3 { margin: 0; font-size: 1.15rem; }
.checklist-head .toggle { font-size: 1.4rem; color: var(--text-muted); transition: transform 0.2s ease; }
.checklist-wrap.open .checklist-head .toggle { transform: rotate(45deg); }
.checklist-meta { display: flex; align-items: center; gap: 14px; }
.progress-mini {
  font-size: 0.85rem;
  color: var(--text-soft);
  display: flex; align-items: center; gap: 8px;
}
.progress-bar {
  width: 80px; height: 6px;
  background: var(--border-soft);
  border-radius: 99px; overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #7B8AFB);
  transition: width 0.3s ease;
  border-radius: 99px;
}
.checklist-body {
  display: none;
  padding: 0 28px 24px;
  border-top: 1px solid var(--border-soft);
}
.checklist-wrap.open .checklist-body { display: block; }
.checklist-body p { font-size: 0.95rem; margin-top: 18px; }
.checklist-items { list-style: none; padding: 0; margin: 0; }
.checklist-items li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-soft);
  cursor: pointer;
}
.checklist-items li:last-child { border-bottom: none; }
.checklist-items input[type="checkbox"] {
  appearance: none;
  width: 22px; height: 22px;
  border: 2px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
  margin: 1px 0 0;
  position: relative;
  background: var(--card);
}
.checklist-items input[type="checkbox"]:checked {
  background: var(--success);
  border-color: var(--success);
}
.checklist-items input[type="checkbox"]:checked::after {
  content: '✓';
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.checklist-items label { cursor: pointer; flex: 1; font-size: 0.97rem; color: var(--text); }
.checklist-items li.done label { color: var(--text-muted); text-decoration: line-through; }
.checklist-items .hint { display: block; color: var(--text-muted); font-size: 0.85rem; margin-top: 3px; font-weight: 400; }

.summary-strip {
  background: linear-gradient(135deg, var(--primary), #7B8AFB);
  color: white;
  padding: 24px 28px;
  border-radius: var(--radius);
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 28px;
  flex-wrap: wrap; gap: 16px;
}
.summary-strip h3 { color: white; margin: 0; font-size: 1.1rem; }
.summary-strip p { color: rgba(255,255,255,0.85); margin: 4px 0 0; font-size: 0.9rem; }
.summary-strip .reset-btn {
  background: rgba(255,255,255,0.18);
  color: white;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.88rem;
  font-family: inherit;
}
.summary-strip .reset-btn:hover { background: rgba(255,255,255,0.28); }

/* ============= CALCULATOR ============= */
.calc-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 920px) { .calc-layout { grid-template-columns: 1fr; } }

.room-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.room-tab {
  padding: 10px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 99px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--text-soft);
  display: flex; align-items: center; gap: 6px;
}
.room-tab.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.items-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 600px) { .items-grid { grid-template-columns: 1fr; } }

.item-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 2px solid var(--border);
  padding: 16px 18px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex; align-items: center; gap: 14px;
}
.item-card:hover { border-color: var(--primary); }
.item-card.selected { border-color: var(--success); background: var(--success-light); }
.item-card .emoji { font-size: 1.6rem; flex-shrink: 0; }
.item-card .item-info { flex: 1; }
.item-card .item-name { font-weight: 600; font-size: 0.95rem; margin: 0; color: var(--text); }
.item-card .item-price { font-size: 0.85rem; color: var(--text-soft); margin: 2px 0 0; }
.item-card .item-toggle {
  width: 24px; height: 24px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--border);
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
}
.item-card.selected .item-toggle { background: var(--success); border-color: var(--success); color: white; }

.calc-summary {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky; top: 90px;
}
.calc-summary h3 { margin: 0 0 16px; }
.calc-total {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 18px;
  text-align: center;
}
.calc-total .total-label { display: block; font-size: 0.85rem; color: var(--text-soft); margin-bottom: 4px; }
.calc-total .total-amount { font-size: 2rem; font-weight: 800; color: var(--primary-dark); }
.calc-summary .summary-list {
  list-style: none; padding: 0; margin: 0 0 18px; max-height: 280px; overflow-y: auto;
}
.calc-summary .summary-list li {
  display: flex; justify-content: space-between; padding: 8px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.92rem;
}
.calc-summary .summary-list li:last-child { border-bottom: none; }
.calc-summary .summary-list .item-label { color: var(--text); }
.calc-summary .summary-list .item-price { color: var(--text-soft); }
.calc-summary .empty { color: var(--text-muted); font-size: 0.92rem; text-align: center; padding: 16px 0; }
.affiliate-btns { display: flex; flex-direction: column; gap: 8px; }
.affiliate-btn {
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--card);
}
.affiliate-btn:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.affiliate-btn.bol { background: #0000A4; color: white; border-color: #0000A4; }
.affiliate-btn.bol:hover { background: #0000C9; color: white; }
.affiliate-btn.ikea { background: #FFDB00; color: #0058A3; border-color: #FFDB00; }
.affiliate-btn.ikea:hover { background: #FFE53D; color: #0058A3; }

/* ============= INFO PAGE ============= */
.page-header {
  padding: 50px 0 30px;
  background: var(--primary-light);
  border-bottom: 1px solid var(--border);
}
.breadcrumb { font-size: 0.85rem; color: var(--text-soft); margin-bottom: 14px; }
.breadcrumb a { color: var(--text-soft); }
.prose {
  max-width: 760px;
  margin: 0 auto;
}
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.4em; color: var(--text-soft); }
.prose ul li, .prose ol li { margin-bottom: 0.4em; }
.prose blockquote {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5em 0;
  color: var(--text);
}
.prose code {
  background: var(--border-soft);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.92em;
}

.tip-box {
  background: #FFFBEB;
  border: 1px solid #FCD34D;
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 1.5em 0;
  display: flex; gap: 14px;
}
.tip-box .tip-icon { font-size: 1.4rem; flex-shrink: 0; }
.tip-box h4 { margin: 0 0 4px; font-size: 1rem; }
.tip-box p { margin: 0; font-size: 0.95rem; }

.affiliate-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin: 1.5em 0;
}
.affiliate-card .label {
  display: inline-block; background: var(--accent); color: var(--text);
  padding: 3px 10px; border-radius: 20px; font-size: 0.72rem; font-weight: 700;
  margin-bottom: 10px;
}
.affiliate-card h4 { margin: 0 0 6px; }
.affiliate-card p { margin: 0 0 12px; font-size: 0.94rem; }

/* ============= FOOTER ============= */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 30px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h4 { color: white; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { padding: 5px 0; }
.footer ul a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.95rem; }
.footer ul a:hover { color: white; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  font-size: 0.85rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer .logo { color: white; margin-bottom: 12px; }
.footer p { color: rgba(255,255,255,0.65); font-size: 0.9rem; }

/* ============= UTILS ============= */
.bg-soft { background: var(--primary-light); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 1.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
