@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700;9..144,800&family=Plus+Jakarta+Sans:wght@400;500;600&display=swap');

/* Premium Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-color: #FCFAF8; /* Zacht crèmewit */
  --text-color: #2D2825; /* Espresso, zachter dan zwart */
  --accent-color: #D96C4A; /* Terracotta / Zomerse glow */
  --accent-hover: #C25B3A;
  --sage-green: #84937B; /* Voor positieve vinkjes en badges */
  --border-color: #EAE3D9;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  color: var(--text-color);
  letter-spacing: -0.3px; /* Keeps the headings looking sharp and intentional */
}

.logo {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--accent-color);
  text-decoration: none;
  font-style: italic; /* Gives the logo a distinct, curated touch */
}

.nav-links a {
  margin-left: 32px;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent-color);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 60vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  margin: 24px;
  border-radius: 16px;
  overflow: hidden;
}

/* Niet-standaard stock imagery */
.hero-home { background-image: url('https://images.unsplash.com/photo-1741896136113-c33a4fded0b5?auto=format&fit=crop&w=2000&q=80'); }
.hero-zomer { background-image: url('https://images.unsplash.com/photo-1617897903246-719242758050?auto=format&fit=crop&w=2000&q=80'); }
.hero-routine { background-image: url('https://images.unsplash.com/photo-1709551264845-e9dddd775388?auto=format&fit=crop&w=2000&q=80'); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(45, 40, 37, 0.2), rgba(45, 40, 37, 0.6));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

/* Alleen wit binnen de hero-banner (donkere overlay); elders (bv. de
   intro-alinea bovenaan een artikel) blijft de tekst gewoon leesbaar donker. */
.hero-section .hero-content {
  color: #FFF;
}

.hero-badge {
  display: inline-block;
  background: var(--accent-color);
  color: white;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  font-family: 'Epilogue', sans-serif;
}

.hero-content h1,
.hero-content .hero-title {
  /* .hero-title: dezelfde stijl als h1, maar als <p> zodat elke pagina
     precies één echte H1 heeft (die in de artikeltekst, SEO-relevant). */
  font-family: 'Fraunces', serif;
  font-weight: 700;
  letter-spacing: -0.3px;
  /* Scaled down the max size from 4rem to 3.2rem, keeping it responsive */
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.1rem; /* Scaled down from 1.2rem to fit the sleek aesthetic */
  margin-bottom: 32px;
  font-weight: 400;
}

/* Knoppen (Affiliate best practice) */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s ease;
  text-align: center;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--accent-color);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 14px rgba(217, 108, 74, 0.3);
}

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

.btn-large {
  padding: 18px 36px;
  font-size: 1.125rem;
}

.btn-block {
  display: block;
  width: 100%;
  padding: 16px 20px;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Page Content */
.page-content {
  padding: 80px 24px;
}

.section-heading {
  text-align: center;
  margin-bottom: 56px;
}

.section-heading h2 {
  font-size: 2rem; /* Scaled down from 2.5rem */
  margin-bottom: 12px;
}

/* NIEUW: High-Converting Affiliate Box */
.affiliate-box {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  transition: transform 0.3s ease;
}

.affiliate-box:hover {
  transform: translateY(-4px);
}

.affiliate-box-header {
  background: var(--sage-green);
  color: white;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.affiliate-box-header.premium { background: var(--text-color); }
.affiliate-box-header.budget { background: var(--accent-color); }

.affiliate-box-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  padding: 32px;
}

@media (max-width: 768px) {
  .affiliate-box-content {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

.aff-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1/1;
  border: 1px solid var(--border-color);
}

.aff-details h3 {
  font-size: 1.4rem; /* Scaled down from a massive 1.8rem */
  margin-bottom: 8px;
  line-height: 1.2;
}

.stars {
  color: #F59E0B;
  font-size: 1.1rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.stars span { color: var(--text-color); font-size: 0.9rem; margin-left: 8px;}

.pitch {
  font-size: 1.05rem;
  margin-bottom: 24px;
  font-style: italic;
  border-left: 3px solid var(--accent-color);
  padding-left: 16px;
  color: #555;
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
  background: var(--bg-color);
  padding: 16px;
  border-radius: 8px;
}

@media (max-width: 600px) {
  .pros-cons { grid-template-columns: 1fr; }
}

.pros-cons ul {
  list-style: none;
}

.pros-cons li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.pros li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--sage-green);
  font-weight: 800;
}

.cons li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: #EF4444;
  font-weight: 800;
}

/* Grid for guides */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.guide-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 250px;
  display: block;
}

.guide-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.guide-card:hover img {
  transform: scale(1.05);
}

.guide-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45, 40, 37, 0.9), rgba(45, 40, 37, 0.1));
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.guide-card-overlay h3 {
  color: #FFFFFF;
  font-size: 1.25rem; /* Scaled down from 1.5rem for better balance */
  line-height: 1.3;
}

/* Article Body */
.article-body {
  max-width: 720px;
  margin: 0 auto 64px auto;
}

.article-body h2 {
  font-size: 1.8rem; /* Scaled down from 2.2rem */
  margin: 40px 0 20px 0;
}

.article-body p {
  font-size: 1.05rem; /* Scaled down from 1.15rem for comfortable long-form reading */
  margin-bottom: 24px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-color);
  padding: 64px 24px;
  text-align: center;
}

.affiliate-disclosure {
  font-size: 0.9rem;
  max-width: 600px;
  margin: 0 auto 24px auto;
  padding: 24px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.footer-nav {
  margin-bottom: 24px;
}

.footer-nav a {
  margin: 0 14px;
  color: var(--text-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

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

/* Huidwijzer (interactieve productaanbeveler) */
.wijzer-panel {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px;
  max-width: 820px;
  margin: 0 auto 64px auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.wijzer-vraag {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.wijzer-opties {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 36px;
}

.wijzer-optie {
  border: 2px solid var(--border-color);
  background: var(--bg-color);
  border-radius: 12px;
  padding: 16px 18px;
  text-align: left;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  transition: all 0.15s ease;
}

.wijzer-optie:hover { border-color: var(--accent-color); }

.wijzer-optie.selected {
  border-color: var(--accent-color);
  background: #FBEEE8;
}

.wijzer-optie span {
  display: block;
  font-weight: 400;
  font-size: 0.88rem;
  color: #6B6259;
  margin-top: 4px;
}

.wijzer-resultaat { display: none; }

.wijzer-stap-label {
  display: inline-block;
  background: var(--sage-green);
  color: #FFF;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 10px;
}

.wijzer-product {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  background: var(--bg-color);
}

.wijzer-product h3 { font-size: 1.2rem; margin-bottom: 8px; }

.wijzer-product p { margin-bottom: 14px; font-size: 0.98rem; }

.wijzer-product .gids-link {
  display: inline-block;
  margin-left: 16px;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.95rem;
}

.wijzer-reset {
  background: none;
  border: none;
  color: #6B6259;
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.95rem;
  margin-top: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Vergelijkingstabellen */
.compare-wrap {
  overflow-x: auto;
  margin: 40px 0;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: #FFFFFF;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.95rem;
}

.compare-table th,
.compare-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  vertical-align: top;
}

.compare-table thead th {
  background: var(--bg-color);
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
}

.compare-table tbody tr:last-child td { border-bottom: none; }

.compare-table td:first-child {
  font-weight: 600;
  white-space: nowrap;
}

.compare-winner {
  color: var(--sage-green);
  font-weight: 700;
}

.verdict-box {
  background: #F3F1EC;
  border-left: 4px solid var(--sage-green);
  border-radius: 0 12px 12px 0;
  padding: 24px 28px;
  margin: 32px 0;
}

.verdict-box h3 { margin-bottom: 10px; font-size: 1.2rem; }

/* Ingrediëntenbibliotheek */
.ingredient-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 64px;
}

.ingredient-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.ingredient-card:hover { transform: translateY(-3px); }

.ingredient-card h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.ingredient-card .inci {
  font-size: 0.85rem;
  color: #8A8178;
  font-style: italic;
  margin-bottom: 14px;
}

.ingredient-card p { font-size: 0.98rem; margin-bottom: 16px; }

.ingredient-tags {
  margin-bottom: 16px;
}

.ingredient-tags span {
  display: inline-block;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  margin: 0 6px 6px 0;
}

.ingredient-card a.lees-meer {
  margin-top: auto;
  color: var(--accent-color);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}

.ingredient-card a.lees-meer:hover { text-decoration: underline; }

/* Huidwijzer CTA banner op de homepage */
.tool-banner {
  background: linear-gradient(135deg, #F7EFE7, #FBEEE8);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 56px 40px;
  text-align: center;
  margin: 0 0 80px 0;
}

.tool-banner h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.tool-banner p {
  max-width: 560px;
  margin: 0 auto 28px auto;
}