/* -----------------------------------------------------
   ROOT VARIABLES — Zen basis + Nord accenten
----------------------------------------------------- */
:root {
  /* Zen */
  --bg: #f5f5f2;
  --bg-card: #ffffff;
  --text-main: #222222;
  --text-muted: #666666;
  --accent: #4a7a5a;
  --accent-soft: #e0efe4;
  --border-soft: #dddddd;

  /* Nord */
  --n-snow: #ECEFF4;
  --n-frost-1: #8FBCBB;
  --n-frost-2: #88C0D0;
  --n-frost-3: #5E81AC;
  --n-polar-1: #2E3440;
  --n-polar-2: #3B4252;
}

/* -----------------------------------------------------
   BASE
----------------------------------------------------- */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  letter-spacing: 0.3px;
  background: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  --bg: #e8e8e4;
}

/* -----------------------------------------------------
   HEADER
----------------------------------------------------- */
header {
  position: relative;
  background-image: url("../images/header.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 100px 20px 80px;
  text-align: center;
  border-bottom: none;
}

header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

header h1,
header p {
  position: relative;
  z-index: 1;
}

header h1 {
  margin: 0 0 10px;
  font-size: 2.4rem;
  letter-spacing: 0.03em;
  color: #ffffff;
}

header p {
  margin: 0 auto;
  max-width: 640px;
  font-size: 1.05rem;
  color: #eeeeee;
}

/* -----------------------------------------------------
   HEADER MENU (Nord stijl)
----------------------------------------------------- */
.header-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  font-family: "Inter", sans-serif;
}

/* Wrapper rond de knop + menu */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Toon het dropdown-menu als je over de wrapper hovert */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Nordic-stijl button zoals je andere knoppen */

.dropdown-btn {
  background: #FAFBFC;
  opacity: 0.6;
  border: 1px solid rgba(46, 52, 64, 0.12);
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 15px;
  cursor: pointer;
  color: #2E3440;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: all 0.25s ease;
}

.dropdown-btn:hover {
  background: #FFFFFF;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}

/* Nordic dropdown */
.dropdown-content {
  display: none;
  opacity: 0.6;
  position: absolute;
  right: 0;
  top: 100%;              /* direct onder de knop */
  background: #FAFBFC;
  border-radius: 10px;
  border: 1px solid rgba(46, 52, 64, 0.12);
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  min-width: 160px;
  overflow: hidden;
  z-index: 3;
}

.dropdown-content a {
  color: #2E3440;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 14px;
  transition: background 0.2s ease;
}

.dropdown-content a:hover {
  background: #ECEFF4;
}

/* -----------------------------------------------------
   LAYOUT
----------------------------------------------------- */
main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px 16px 60px;
}

section {
  background: var(--bg-card);
  border-radius: 10px;
  padding: 24px 20px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  border: 1px solid var(--border-soft);
}

section h2 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.6rem;
}

section p.lead {
  margin: 0 0 16px;
  color: var(--text-muted);
}

/* -----------------------------------------------------
   ZAZEN CARD
----------------------------------------------------- */
.zazen-columns {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
  gap: 20px;
}



.zazen-card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.zazen-card {
    border-radius: 8px;
  padding: 14px 16px;
  font-size: 0.95rem;
  position: relative;
  background-image: url("../images/zen-card-bg.png"); /* pas aan */
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  padding: 20px;
  color: #dcdfe3ff; /* witte tekst */
  overflow: hidden;
}

/* Zwarte doorschijnende overlay */
.zazen-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* 50% zwart, mooi zacht */
  z-index: 0;
}

/* Zorg dat de tekst boven de overlay staat */
.zazen-card > * {
  position: relative;
  z-index: 1;
}

.timer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 1.5em;
}

.timer-center p {
  margin-bottom: 1em;
}

/* -----------------------------------------------------
   ZEN ABC (met fade-in animatie)
----------------------------------------------------- */
@keyframes zenFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.zen-abc-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px 20px;
  padding-left: 0;
  list-style: none;
}

.zen-abc-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 8px;
  animation: zenFadeIn 0.8s ease forwards;
}

.zen-abc-icon-top {
  width: 28px;
  height: 28px;
  margin-bottom: 6px;
  opacity: 0.9;
  animation: zenFadeIn 1s ease forwards;
}

.zen-abc-term {
  font-weight: 600;
  margin-bottom: 2px;
  animation: zenFadeIn 1.2s ease forwards;
}

.zen-abc-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  animation: zenFadeIn 1.4s ease forwards;
}

/* -----------------------------------------------------
   TIMER PREVIEW (Nord stijl)
----------------------------------------------------- */
.timer-preview {
  display: inline-block;
  width: 260px;
  padding: 1rem;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(46,52,64,0.95), rgba(36,41,52,0.95));
  color: var(--n-snow);
  text-decoration: none;
  border: 1px solid rgba(236,239,244,0.06);
  box-shadow: 0 10px 30px rgba(14,17,23,0.45);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.timer-preview:hover,
.timer-preview:focus {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(14,17,23,0.55);
  background: linear-gradient(180deg, rgba(46,52,64,1), rgba(30,36,46,1));
  outline: none;
}

.preview-top {
  text-align: center;
  margin-bottom: 0.6rem;
}

.preview-time {
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--n-snow);
}

/* Controls */
.preview-controls {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
}

.preview-btn {
  padding: 0.36rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--n-snow);
  background: rgba(136, 192, 208, 0.10);
  border: 1px solid rgba(236,239,244,0.06);
  border-radius: 6px;
  backdrop-filter: blur(3px);
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(14,17,23,0.12);
  transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.preview-btn:hover {
  background: rgba(94,129,172,0.18);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(14,17,23,0.22);
}

.preview-btn.reset {
  background: transparent;
  border: 1px solid rgba(236,239,244,0.04);
}

.preview-btn.reset:hover {
  background: rgba(236,239,244,0.04);
}

/* -----------------------------------------------------
   ZEN BUTTON (Zen stijl)
----------------------------------------------------- */
.zen-button {
  display: inline-block;
  padding: 0.8em 1.6em;
  background-color: #3f4b41;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.zen-button:hover {
  background-color: #6A9D8E;
  box-shadow: 0 3px 6px rgba(0,0,0,0.12);
}

/* -----------------------------------------------------
   FOOTER
----------------------------------------------------- */
footer {
  text-align: center;
  padding: 30px 16px 40px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* -----------------------------------------------------
   MEDIA QUERIES
----------------------------------------------------- */
@media (max-width: 768px) {
  .zazen-columns {
    grid-template-columns: 1fr;
  }

  header {
    padding: 40px 16px 28px;
  }

  header h1 {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .timer-preview {
    width: 220px;
    padding: 0.8rem;
  }

  .preview-time {
    font-size: 1.5rem;
  }
}

a.inline-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(74, 122, 90, 0.35);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

a.inline-link:hover {
  color: var(--accent);
  border-color: rgba(74, 122, 90, 0.7);
}

.zen-nordic-btn {
  display: inline-block;
  padding: 14px 26px;
  background-color: #E7ECEF; /* soft nordic grey-blue */
  color: #2E3A40; /* deep slate */
  font-size: 1.1rem;
  font-weight: 500;
  border: 2px solid #D0D7DA;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  letter-spacing: 0.5px;
}

.zen-nordic-btn:hover {
  background-color: #F5F7F8;
  border-color: #B8C2C6;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
}

.zen-nordic-btn span.icon {
  font-size: 1.2rem;
  margin-right: 8px;
  opacity: 0.85;
}

#zazen-guide .zazen-guide-content {
  max-width: 720px;
  margin: 0; /* geen auto-centering */
}

/* -----------------------------------------------------
   SECTION — Zen–Nordic uplift (meer diepte & presence)
----------------------------------------------------- */

section {
  background: #FAFBFC; /* zacht nordic wit */
  border-radius: 14px; /* iets zachter en moderner */
  border: 1px solid rgba(46, 52, 64, 0.08); /* subtiele nordic rand */
  padding: 28px 24px; /* iets meer ademruimte */
  margin-bottom: 36px; /* meer ruimte tussen de kaarten */
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06); /* diepere, zachte schaduw */
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

section:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

/* -----------------------------------------------------
   ZAZEN GUIDE — één kolom, netjes uitgelijnd
----------------------------------------------------- */

#zazen-guide .zazen-guide-content {
  max-width: 860px; /* mooie leesbreedte */
  margin: 0;        /* geen centrering, gelijk aan andere sections */
}

.posture-gallery {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 30px 0;
  flex-wrap: wrap; /* zorgt dat het mooi breekt op mobiel */
}

.posture-item {
  flex: 1;
  min-width: 150px;
  text-align: center;
}

.posture-item img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.posture-item img:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.12);
}

.posture-item p {
  margin-top: 10px;
  font-size: 15px;
  color: #2E3440; /* Nordic donkergrijs */
  font-weight: 500;
}