/* 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;
}

/* ============== NAVIGATIE (STANDAARD SIDEBAR) ============== */
/* NL: vaste sidebar links, zichtbaar op alle pagina's */
nav {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 200px;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 20px 0;
  border-right: 2px solid #00ff88;
  z-index: 1000;
}

/* NL: logo-sectie bovenaan nav */
nav .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px 14px 10px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(0,255,136,0.25);
}

nav .logo img {
  width: 100%;
  max-width: 120px;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* NL: menu-items (verticaal) */
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: calc(100% - 100px);
}

nav ul li {
  margin: 15px 0;
  width: 100%;
}

nav ul li a {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 1.1em;
  padding: 12px 20px;
  border-radius: 5px;
  transition: background-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

nav ul li a:hover {
  background-color: rgba(0,255,136,0.12);
}

/* NL: contact-item onderaan (margin-top: auto duwt naar beneden) */
nav ul li.contact {
  margin-top: auto;
}

/* NL: avatar icoon bij menu-items (optioneel) */
nav ul li a .avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  margin-right: 8px;
  object-fit: cover;
  border: 1px solid #00ff88;
}

/* NL: main content krijgt ruimte links voor de nav */
main {
  margin-left: 220px;
  padding: 20px;
}

/* ============== RESPONSIVE NAVIGATIE (MOBIEL) ============== */
/* NL: op smalle schermen wordt nav horizontaal bovenaan */
@media (max-width: 640px) {
  nav {
    width: 100%;
    height: auto;
    padding: 10px 0;
    border-right: 0;
    border-bottom: 2px solid #00ff88;
    background-color: rgba(0, 0, 0, 0.85);
  }

  nav .logo {
    padding: 0 12px 8px 12px;
    margin-bottom: 6px;
    border-bottom: none;
  }

  nav .logo img {
    max-width: 96px;
  }

  nav ul {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: auto;
    gap: 10px;
  }

  nav ul li {
    margin: 0 6px;
    width: auto;
  }

  /* NL: verberg specs en contact op mobiel (ruimtebesparing) */
  nav ul li.specs,
  nav ul li.contact {
    display: none;
  }

  nav ul li a {
    padding: 10px 14px;
    font-size: 1em;
  }

  nav ul li a .avatar {
    width: 24px;
    height: 24px;
    margin-right: 6px;
  }

  /* NL: main content krijgt geen linker-marge, maar wel top-marge */
  main {
    margin-left: 0;
    margin-top: 70px;
    padding: 16px;
  }
}

/* ============== 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; }

/* ============== PANEL STYLING (STANDAARD) ============== */
/* NL: panel/kaart-stijl met glasmorphism effect */
.panel {
  background: rgba(0, 0, 0, 0.6);
  padding: 30px;
  border-radius: 15px;
  max-width: 800px;
  margin: 40px auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: #e0e0e0;
}

.panel h2,
.panel h1 {
  color: #00ff88;
  text-shadow: 0 0 15px rgba(0,255,136,0.5);
  margin-top: 0;
  text-align: center;
}

.panel ul {
  margin-top: 10px;
  padding-left: 20px;
  color: #e0e0e0;
}

/* ============== 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; }

/* ============== INLINE GOAT IMAGE ============== */
/* NL: goat icoon inline bij tekst (optioneel) */
.goat-inline {
  height: 64px;
  margin-left: 10px;
  vertical-align: middle;
  border-radius: 12px;
}

/* ============== SUNO LINK STYLING ============== */
/* NL: link-knoppen voor externe services (Suno AI) */
.suno-link {
  display: inline-block;
  background-color: rgba(0, 255, 136, 0.12);
  padding: 10px 18px;
  margin: 5px;
  border-radius: 6px;
  color: #00ff88;
  text-decoration: none;
  transition: background-color 0.3s;
}

.suno-link:hover {
  background-color: rgba(0, 255, 136, 0.25);
}

/* ============== 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 */