/* ============================================================
   barbaradevilee.nl — minimalistisch & warm
   Wit · steunkleur petrol · accent turquoise
   ============================================================ */

:root {
  --white:        #ffffff;
  --warm-bg:      #fbfaf7;   /* warme, bijna-witte achtergrond */
  --warm-panel:   #f4f1ea;   /* zachte warme vlakken           */
  --petrol:       #0f4c5c;   /* steunkleur (donker)            */
  --petrol-deep:  #0a3844;   /* petrol nog iets dieper         */
  --turquoise:    #2ec4b6;   /* accentkleur                    */
  --turquoise-dk: #1fa89b;   /* accent voor hover              */
  --ink:          #22312f;   /* warme donkere tekst            */
  --muted:        #5d6b6a;   /* rustige grijs-groene tekst     */
  --line:         #e6e1d8;   /* subtiele lijnen                */

  --maxw: 1080px;
  --maxw-narrow: 720px;
  --radius: 14px;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Basis ---------- */
* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--warm-bg);
  line-height: 1.7;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  color: var(--petrol);
  line-height: 1.2;
  font-weight: 600;
}

h1 { font-size: 2.6rem; margin: 0 0 .4em; letter-spacing: -0.01em; }
h2 { font-size: 1.8rem; margin: 1.6em 0 .5em; }
h3 { font-size: 1.25rem; margin: 1.4em 0 .4em; }

p { margin: 0 0 1.1em; }

a { color: var(--turquoise-dk); text-decoration: none; }
a:hover { color: var(--petrol); text-decoration: underline; }

/* ---------- Layout ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-narrow { max-width: var(--maxw-narrow); }

main { min-height: 60vh; }

/* ---------- Header / navigatie ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand:hover { text-decoration: none; }
.brand:hover .brand-name { color: var(--petrol-deep); }
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--petrol);
}
.brand-sub {
  font-size: .78rem;
  color: var(--muted);
  letter-spacing: .01em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.3rem;
}
.site-nav a {
  color: var(--muted);
  font-size: .95rem;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--petrol); text-decoration: none; }
.site-nav a.active {
  color: var(--petrol);
  border-bottom-color: var(--turquoise);
}

/* ---------- Hero ---------- */
.hero {
  padding: 5rem 0 3rem;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(46,196,182,0.10), transparent 60%),
    var(--warm-bg);
}
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  font-weight: 600;
  color: var(--turquoise-dk);
  margin-bottom: 1rem;
}
.hero h1 {
  max-width: 16ch;
  font-size: 3.1rem;
}
.hero .lead {
  max-width: 46ch;
  font-size: 1.25rem;
  color: var(--muted);
}

.lead { font-size: 1.2rem; color: var(--muted); }

/* ---------- Thema-kaarten ---------- */
.themes { padding: 1rem 0 3rem; }
.theme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.theme-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.theme-card:hover {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(15,76,92,0.10);
  border-color: var(--turquoise);
}
.theme-card h2 {
  margin: 0 0 .4em;
  font-size: 1.35rem;
}
.theme-card p {
  color: var(--muted);
  font-size: 1rem;
  flex-grow: 1;
}
.theme-card .more {
  color: var(--turquoise-dk);
  font-weight: 600;
  font-size: .95rem;
  margin-top: .6rem;
}

/* ---------- Overlap-sectie ---------- */
.overlap {
  padding: 3.5rem 0 4rem;
  background: var(--warm-panel);
  border-top: 1px solid var(--line);
}
.overlap .container { max-width: var(--maxw-narrow); }
.overlap h2 { margin-top: 0; }

/* ---------- Inhoudspagina's ---------- */
.page { padding: 3rem 0 4rem; }
.page-header { margin-bottom: 2rem; }
.page-header h1 { margin-bottom: .3em; }

.content ul, .content ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.content li { margin-bottom: .4em; }
.content blockquote {
  margin: 1.5em 0;
  padding: .6em 1.2em;
  border-left: 4px solid var(--turquoise);
  background: var(--warm-panel);
  color: var(--muted);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.content h2 { color: var(--petrol); }
.content hr { border: none; border-top: 1px solid var(--line); margin: 2.5em 0; }

/* ---------- Artikellijst (themapagina's) ---------- */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.5rem;
}
.article-item {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.article-item:hover {
  text-decoration: none;
  border-color: var(--turquoise);
  box-shadow: 0 10px 26px rgba(15,76,92,0.08);
  transform: translateY(-2px);
}
.article-item h3 { margin: .2rem 0 .3rem; color: var(--petrol); }
.article-item p { margin: 0; color: var(--muted); font-size: 1rem; }
.article-date {
  display: block;
  font-size: .8rem;
  letter-spacing: .04em;
  color: var(--turquoise-dk);
  font-weight: 600;
}
.empty-note { color: var(--muted); font-style: italic; }

/* Terug-link en datum op een artikelpagina */
.back-link {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: .9rem;
  color: var(--turquoise-dk);
}
.page-header .meta {
  color: var(--muted);
  font-size: .9rem;
  margin: .2rem 0 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--petrol);
  color: #cfe6e6;
  padding: 2.5rem 0;
  margin-top: 2rem;
}
.footer-inner { display: flex; flex-direction: column; gap: .2rem; }
.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--white);
  margin: 0;
}
.footer-tagline { color: var(--turquoise); margin: 0; font-size: .95rem; }
.footer-meta { color: #9dc3c3; margin: .6rem 0 0; font-size: .85rem; }

/* ---------- Responsief ---------- */
@media (max-width: 820px) {
  .theme-grid { grid-template-columns: 1fr; }
  .hero { padding: 3.5rem 0 2rem; }
  .hero h1 { font-size: 2.4rem; }
  h1 { font-size: 2.1rem; }
}
