/* style.css */
/* /css/style.css */

/* ============== THEMA & BASIS ============== */
/* NL: themakleuren en basisvariabelen voor consistente styling */
:root{
  --accent: #00c853;         /* NL: primaire accentkleur (groen) */
  --ink:    #e0e0e0;         /* NL: standaard tekstkleur op donker */
  --bg:     #111111;         /* NL: paginabackground (donker) */
  --panel:  #1c1c1c;         /* NL: panel/kaart achtergrond */
  --muted:  #9e9e9e;         /* NL: gedempte tekstkleur */
  --shadow: rgba(0,0,0,.35); /* NL: algemene schaduwkleur */
}

/* NL: basis-reset (beperkt en veilig) */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.5;
}

/* NL: linkstijl (onderstreep bij hover voor duidelijkheid) */
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* NL: simpele container-utility voor centreren van content */
.wrap, .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

/* NL: utilities (optioneel te gebruiken) */
.text-center { text-align: center; }
.hidden { display: none !important; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ============== HOME-KNOP (LINKSBOVEN) ============== */
/* NL: vaste Home-knop linksboven, zichtbaar boven alle content/iframes */
.home-button {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 9999;                  /* NL: boven alles (ook iframes) */
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: var(--ink);
  background: linear-gradient(180deg, #2a2a2a, #1b1b1b);
  border: 1px solid #333;
  border-radius: 999px;
  box-shadow: 0 8px 20px var(--shadow);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.home-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px var(--shadow);
  border-color: #444;
}
.home-button:active { transform: translateY(0); }

/* NL: klein label “Home” naast icoon (mag weg als je alleen icoon wil) */
.home-button .label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2px;
  color: var(--ink);
}

/* NL: rond icoon aannemen (bijv. een SVG of emoji) */
.home-button .icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #262626;
  border: 1px solid #333;
}

/* ============== TYPO / HEADINGS ============== */
/* NL: subtiele typografische schaal voor headings */
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(28px, 4vw, 40px); }
h2 { font-size: clamp(22px, 3vw, 28px); color: var(--ink); }
h3 { font-size: clamp(18px, 2.5vw, 22px); color: var(--ink); }

/* ============== LIJSTEN & CONTENT BLOKKEN ============== */
/* NL: generieke lijst-styling (kan per sectie overschreven worden) */
ul { padding-left: 1.2em; }
li { margin: 0.4em 0; }

/* NL: generieke panel/kaart-stijl (optioneel) */
.panel {
  background: var(--panel);
  border: 1px solid #2a2a2a;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 10px 24px var(--shadow);
}

/* ============== INTRO CONTAINER ============== */
/* NL: specifieke context container waarin je de intro plaatst */
.intro-container {
  background: transparent;   /* NL: laat achtergrond door (of vervang met var(--panel)) */
  padding: 12px 0;
}

.intro-container ul { margin: 0.6em 0 1em; }
.intro-container li { margin: 0.5em 0; }

/* NL: optionele accentlijn links voor de intro */
.intro-container {
  border-left: 3px solid rgba(255,255,255,0.08);
  padding-left: 14px;
}

/* NL: linkjes in intro mogen iets meer nadruk hebben */
.intro-container a {
  font-weight: 600;
}

/* ============== MEDIA & RESPONSIVE HULP ============== */
img, svg, video { max-width: 100%; height: auto; }

/* NL: eenvoudige grid helper */
.grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 640px) { .grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

/* ============== IFRAMES VEILIG (Z-INDEX) ============== */
/* NL: zorg dat absolute/fixed elementen boven iframes blijven */
iframe { position: relative; z-index: 0; }

/* ============== MISC ============== */
/* NL: kleine helper voor zachte focus */
.focus-ring:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,200,83,.35);
}

/* NL: knoppen (optioneel te gebruiken) */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  background: #1f1f1f;
  border: 1px solid #2d2d2d;
  border-radius: 12px;
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.button:hover { transform: translateY(-1px); border-color: #3a3a3a; }
.button:active { transform: translateY(0); }

/* NL: tabel (optioneel) */
table {
  width: 100%; border-collapse: collapse; font-size: 14px;
  background: var(--panel); border: 1px solid #2a2a2a;
}
th, td { padding: 10px 12px; border-bottom: 1px solid #2a2a2a; }
th { text-align: left; color: var(--muted); font-weight: 600; }

/* ============== INTRO-PIJL BASIS (voor andere varianten) ============== */
/* 🇳🇱 Algemene nudge; kan elders hergebruikt worden */
.intro-container .nudge-arrow {
  display: inline-block;               
  margin-right: 6px;                   
  animation: intro-nudge-right 1.2s ease-in-out infinite;
}
@keyframes intro-nudge-right {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(8px); }
}
@media (prefers-reduced-motion: reduce) {
  .intro-container .nudge-arrow { animation: none; }
}

/* ============== CTA-MAIL: PIJL ACHTER DE LINK (DIKKER + STERKER) ============== */
/* 🇳🇱 Mobiel: wél afbreken (zodat mailadres zichtbaar blijft) */
.intro-container .cta-mail { 
  white-space: normal;                 /* ✅ mobiel: regels mogen afbreken */
}

/* 🇳🇱 Desktop/Tablet: link + pijl op één regel zoals bedoeld */
@media (min-width: 640px) {
  .intro-container .cta-mail { 
    white-space: nowrap;               /* 💻 groter scherm: één regel */
  }
}

/* 🇳🇱 Mailadres mag overal afbreken waar nodig (modern & veilig) */
.intro-container .cta-mail a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* 🇳🇱 Pijl staat ACHTER de link; start ~1.5 cm rechts en duwt naar links */
.intro-container .cta-mail .nudge-arrow {
  display: inline-block;
  margin-left: 1.5cm;                  /* 🇳🇱 standaard (desktop) startpositie */
  vertical-align: middle;
  animation: intro-nudge-left-strong 1s ease-in-out infinite !important;
  pointer-events: none;                /* 🇳🇱 decoratief, niet klikbaar */
}

/* 🇳🇱 Op smalle schermen: pijl dichter bij link (geen overflow) */
@media (max-width: 640px) {
  .intro-container .cta-mail .nudge-arrow {
    margin-left: 8px;                  /* ✅ klein en veilig op mobiel */
  }
}

/* 🇳🇱 SVG: ~2× dikker, accentkleur en zachte gloed */
.intro-container .cta-mail .nudge-arrow svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent, #00c853);
  stroke-width: 4;                     /* 🇳🇱 dikte van de pijl */
  fill: none;
  filter: drop-shadow(0 0 6px rgba(0,255,136,.35));
  overflow: visible;
}

/* 🇳🇱 Sterkere ‘duw’ naar links met kleine terugveer */
@keyframes intro-nudge-left-strong {
  0%, 100% { transform: translateX(0); }
  40%      { transform: translateX(-1.4cm); }
  60%      { transform: translateX(-1.1cm); }
}

/* 🇳🇱 Respecteer ‘verminder beweging’ */
@media (prefers-reduced-motion: reduce) {
  .intro-container .cta-mail .nudge-arrow { animation: none !important; }
}

/* ============== NAV-KNOPPEN UNIFORM (GOUD) ============== */
/* 🇳🇱 Zorg dat .button in de nav geen eigen hover-achtergrond krijgt */
nav ul li a.button:hover {
  background-color: transparent;
}

/* 🇳🇱 Gouden rand en subtiele gloed voor nav-knoppen */
nav ul li a.button {
  border-color: #d4af37;                   /* goud */
  box-shadow: 0 0 10px rgba(212,175,55,.25);
}
nav ul li a.button:active {
  box-shadow: 0 0 6px rgba(212,175,55,.35);
}

/* /css/style.css */
