/* ============================================
   MAX SEVERINS PORTFOLIO — styles.css
   Mobile-first, dark/light theme via CSS vars
   ============================================ */

/* --- RESET & BASE --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* --- CSS VARIABLES --- */
:root {
  /* Dark theme (default) */
  --bg:           #1e1d1b;
  --bg2:          #252420;
  --bg3:          #2c2b26;
  --text:         #e8e3d8;
  --text-muted:   #8a8478;
  --accent:       #d4a853;
  --accent2:      #c49040;
  --border:       rgba(232, 227, 216, 0.07);
  --border-hover: rgba(232, 227, 216, 0.13);
  --shadow:       0 24px 60px rgba(0, 0, 0, 0.35);

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'DM Mono', 'Fira Code', 'Courier New', monospace;

  /* Layout */
  --nav-height:   64px;
  --page-pad:     2.5rem;
  --card-radius:  20px;
  --radius:       14px;
}

/* --- LIGHT THEME --- */
body.light {
  --bg:           #f4f0e8;
  --bg2:          #ebe6da;
  --bg3:          #e0dace;
  --text:         #2a2720;
  --text-muted:   #8a8070;
  --accent:       #b8863a;
  --accent2:      #9a6e28;
  --border:       rgba(42, 39, 32, 0.08);
  --border-hover: rgba(42, 39, 32, 0.15);
  --shadow:       0 24px 60px rgba(0, 0, 0, 0.10);
}

/* --- GLOBAL --- */
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  transition: background 0.5s ease, color 0.4s ease;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { 
  flex: 1;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ============================================
   NAV
   ============================================ */
/* ============================================
   NAV — vervang de bestaande NAV sectie
   ============================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  height: var(--nav-height);
  display: flex;
  align-items: center;          /* verticaal centreren van ALLES */
  justify-content: space-between;
  padding: 0 var(--page-pad);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  backdrop-filter: blur(10px);
  transition: background 0.5s ease, border-color 0.4s ease;
  gap: 2rem;                    /* ruimte tussen logo, links en right-groep */
}

/* Logo — nu een <a> zodat klikbaar naar home */
.nav-logo {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  flex-shrink: 0;
  line-height: 1;               /* voorkomt hoogte-drift */
  text-decoration: none;
}

/* Desktop links — centraal, niet tegen het logo aangedrukt */
.nav-links {
  display: none;
  list-style: none;
  align-items: center;
  gap: 2rem;
  margin: 0;                    /* reset eventuele ul-margins */
  padding: 0;
  flex: 1;                      /* neemt beschikbare ruimte in */
  justify-content: center;      /* links staan mooi in het midden */
}

.nav-links a {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;               /* geen hoogte-verschil */
  transition: color 0.25s;
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a.nav-active { color: var(--text); }

/* Actieve link indicator */
.nav-links a.nav-active {
  position: relative;
}
.nav-links a.nav-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
}

/* Right-side groep: CV + pill + hamburger */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  margin-left: auto;            /* duwt alles naar rechts */
}

/* CV-knop — zelfde hoogte als theme pill (34px) */
.nav-cv {
  display: inline-flex;
  align-items: center;
  height: 34px;                 /* exact gelijk aan .theme-pill */
  padding: 0 14px;
  color: var(--accent) !important;
  border: 1px solid rgba(212, 168, 83, 0.3);
  border-radius: 100px;
  font-size: 12px;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.25s;
}
.nav-cv:hover {
  background: rgba(212, 168, 83, 0.1);
}

.nav-sub {
  display: none;
  font-size: 11px;
  color: var(--accent) !important;
  opacity: 0.8;
}

.nav-sub.visible {
  display: inline;
}

li:has(.nav-sub) {
  display: none;
}

li:has(.nav-sub.visible) {
  display: list-item;
}

/* Theme pill — ongewijzigd, maar hoogte expliciet */
.theme-pill {
  display: flex;
  align-items: center;
  background: var(--bg2);
  border: 1px solid var(--border-hover);
  border-radius: 100px;
  padding: 4px;
  cursor: pointer;
  position: relative;
  width: 80px;
  height: 34px;
  flex-shrink: 0;
  transition: background 0.4s, border-color 0.4s;
}

.pill-thumb {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  left: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.4s;
  color: #1e1d1b;
}

.pill-icon-moon,
.pill-icon-sun {
  font-size: 12px;
  position: absolute;
  transition: opacity 0.3s;
  line-height: 1;
}
.pill-icon-moon { opacity: 1; }
.pill-icon-sun  { opacity: 0; }

body.light .pill-icon-moon { opacity: 0; }
body.light .pill-icon-sun  { opacity: 1; }

body.light .pill-thumb        { transform: translateX(46px); }
body.light .pill-icon-moon    { opacity: 0; }
body.light .pill-icon-sun     { opacity: 1; }

.pill-label {
  position: absolute;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  right: 10px;
  font-family: var(--font-mono);
  transition: right 0.4s, left 0.4s, opacity 0.3s;
  pointer-events: none;
}
body.light .pill-label { right: auto; left: 10px; }

/* Hamburger — mobile only */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 34px;
  height: 34px;               /* zelfde hoogte als pill + cv */
  align-items: center;
  z-index: 101;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem var(--page-pad);
  flex-direction: column;
  gap: 1.25rem;
  z-index: 99;
}

.nav-mobile-menu.open {
  display: flex;
}

.nav-mobile-menu a {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.25s;
  text-decoration: none;
}
.nav-mobile-menu a:hover,
.nav-mobile-menu a.nav-active { color: var(--text); }

/* Desktop: hamburger verbergen, links tonen */
@media (min-width: 1024px) {
  .nav-hamburger { display: none; }
  .nav-links     { display: flex; }
}

/* Mobile: hamburger links naast logo, rechts uitlijnen */
@media (max-width: 1023px) {
  .nav {
    justify-content: space-between;
  }

  /* Op mobile: logo links, [pill + hamburger] rechts */
  .nav-right {
    margin-left: auto;
  }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: calc(100vh - var(--nav-height));
  display: grid;
  grid-template-columns: 1fr;
  padding: 3rem var(--page-pad);
  position: relative;
  overflow: visible;
  gap: 3rem;
  align-items: center;
}

/* Ambient glow */
.hero::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.07) 0%, transparent 68%);
  top: -80px;
  right: -80px;
  pointer-events: none;
  border-radius: 50%;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  animation: fadeUp 0.8s ease both;
}

.terminal-outer {
  min-width: 0;
  width: 100%;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.75rem;
  animation: fadeUp 0.8s 0.1s ease both;
}

.eyebrow-pill {
  padding: 5px 14px;
  background: rgba(212, 168, 83, 0.1);
  border: 1px solid rgba(212, 168, 83, 0.22);
  border-radius: 100px;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  font-family: var(--font-mono);
  white-space: nowrap;
  width: fit-content;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 4.2rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  animation: fadeUp 0.8s 0.15s ease both;
}

.hero-name-light {
  display: block;
  font-size: 0.55em;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  margin-bottom: 0.15em;
}
.hero-name-bold { display: block; }

.hero-sub {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 420px;
  margin: 1.5rem 0 2.5rem;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.25s ease both;
}

.btn-primary {
  padding: 0.75rem 1.6rem;
  background: var(--accent);
  color: #1e1d1b;
  border: none;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-body);
  transition: background 0.25s, transform 0.2s;
  display: inline-block;
  white-space: nowrap;
  width: fit-content;
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-2px); }

.btn-ghost {
  padding: 0.75rem 1.6rem;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-hover);
  border-radius: 100px;
  font-size: 12px;
  cursor: pointer;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-body);
  transition: color 0.25s, border-color 0.25s, transform 0.2s;
  display: inline-block;
}
.btn-ghost:hover { color: var(--text); border-color: var(--text-muted); transform: translateY(-2px); }

/* TERMINAL */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  animation: fadeUp 0.8s 0.3s ease both;
}

.terminal-outer { width: 100%; max-width: 380px; }

.terminal-box {
  background: #111110;
  border: 1px solid rgba(232, 227, 216, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
body.light .terminal-box {
  background: #1a1916;
  border-color: rgba(232, 227, 216, 0.15);
}

.terminal-bar {
  background: #1a1916;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid rgba(232, 227, 216, 0.07);
}

.t-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.t-dot.red    { background: #ff5f57; }
.t-dot.yellow { background: #febc2e; }
.t-dot.green  { background: #28c840; }

.t-title {
  font-size: 11px;
  color: #8a8478;
  letter-spacing: 0.05em;
  margin: 0 auto;
  font-family: var(--font-mono);
}

.terminal-body {
  padding: 1.25rem 1.5rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 2;
  min-height: 200px;
  transition: opacity 0.7s ease;
}
.terminal-body.fade-out { opacity: 0; }

.t-line {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.t-prompt {
  color: #d4a853;
  user-select: none;
  flex-shrink: 0;
}
.t-cursor {
  display: inline-block;
  width: 7px;
  height: 14px;
  background: #d4a853;
  margin-left: 1px;
  vertical-align: middle;
  animation: blink 1.1s step-end infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.t-keyword { color: #c678dd; }
.t-string  { color: #98c379; }
.t-output  { color: #8a8478; }
.t-success { color: #28c840; }
.t-name    { color: #e8e3d8; }
.t-branch  { color: #c678dd; }

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 var(--page-pad);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.stat-item {
  padding: 1.5rem 1rem 1.5rem 1.5rem;
  border-right: 1px solid var(--border);
  transition: background 0.25s;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;

}
.stat-item:hover   { background: var(--bg2); }
.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-num span { color: var(--accent); }

.stat-label {
  font-size: 10px;
  color: var(--text-muted);
  
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* ============================================
   SKILLS + FEATURED PROJECT
   ============================================ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 0.5rem;
}

.skill-block {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
}
.skill-block:hover {
  background: var(--bg3);
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.skill-icon {
  font-size: 24px;
  line-height: 1;
}

.skill-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  font-family: var(--font-mono);
}

.skill-level {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.skill-bar {
  width: 100%;
  height: 3px;
  background: var(--border-hover);
  border-radius: 2px;
  margin-top: 6px;
}

.skill-bar-fill {
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.featured-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 2.5rem;
  margin-top: 1rem;
  transition: border-color 0.25s;
}
.featured-card:hover {
  border-color: var(--border-hover);
}

.featured-meta {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.featured-tag {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--font-mono);
  background: rgba(212, 168, 83, 0.08);
  border: 1px solid rgba(212, 168, 83, 0.2);
  padding: 3px 10px;
  border-radius: 100px;
}

.featured-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.featured-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 2rem;
}

.featured-btn {
  display: inline-block;
}

/* ============================================
   SECTION & CARDS
   ============================================ */
.section { padding: 3rem var(--page-pad); }

.section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.section-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.section-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
  font-family: var(--font-mono);
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem var(--page-pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}

.footer-text {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
}

/* .footer-dot {
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.3; transform: scale(0.6); }
} */

.footer-socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-social-link {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  transition: color 0.25s;
}

.footer-social-link:hover {
  color: var(--text);
}

/* ============================================
   RESPONSIVE — MOBILE (< 1024px)
   ============================================ */
@media (max-width: 1023px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 2rem var(--page-pad);
    min-height: auto;
    align-items: center;
  }

  .hero-left {
    align-items: flex-start;
  }

  .terminal-outer {
    max-width: 100%;
  }

  .terminal-body {
    min-height: 120px;
    font-size: 10px;
    line-height: 1.6;
  }

  .terminal-bar {
    padding: 7px 10px;
  }
}

@media (max-width: 480px) {
  .hero {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1rem;
  }

  .terminal-body {
    min-height: 80px;
    font-size: 8px;
  }
}

/* ============================================
   RESPONSIVE — TABLET (≥ 600px)
   ============================================ */

@media (min-width: 600px) {
  .stat-item {
    flex-direction: row;  /* alle drie tegelijk naast elkaar */
    align-items: center;
    gap: 0.75rem;
  }
}

/* ============================================
   RESPONSIVE — DESKTOP (≥ 1024px)
   ============================================ */
   

@media (min-width: 1024px) {
  .nav-hamburger { display: none; }

  .nav-links {
    display: flex;
  }

  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    min-height: calc(100vh - var(--nav-height));
    gap: 0;
    padding: 0 var(--page-pad);
    max-width: 1280px;
    margin: 0 auto;
    width: 100%; 
  }

  .hero-left {
    padding: 4rem 3rem 4rem 0;
  }

  .hero-sub { max-width: 380px; }

  .stat-item {
    padding: 1.5rem 0 1.5rem 2rem;
  }
}


/* ============================================
   PAGE LAYOUT — gedeeld voor alle subpagina's
   ============================================ */
.page-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem var(--page-pad);
  animation: fadeUp 0.7s ease both;
}

.page-hero {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.page-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--font-mono);
  margin-bottom: 1rem;
}
.page-tag::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--accent);
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.1;
}

/* ============================================
   PROSE
   ============================================ */
.prose { display: flex; flex-direction: column; gap: 2.5rem; }

.prose-block h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.prose-block p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.85;
}

.prose-block p strong { color: var(--text); font-weight: 500; }
.prose-block p em     { color: var(--accent); font-style: normal; }

.prose-block p a {
  color: var(--accent);
  border-bottom: 1px solid rgba(212,168,83,0.3);
  transition: border-color 0.2s;
}
.prose-block p a:hover { border-color: var(--accent); }

/* ============================================
   PROJECTS GRID
   ============================================ */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 1rem;
}

.project-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
  display: block;
  color: var(--text);
}
.project-card:hover { transform: translateY(-3px); border-color: var(--border-hover); }

.project-card img {
  width: 100%; height: 180px;
  object-fit: cover;
  filter: brightness(0.85);
  transition: filter 0.3s;
}
.project-card:hover img { filter: brightness(1); }

.project-body { padding: 1.5rem; display: flex;
  flex-direction: column;
  height: calc(100% - 180px); }
.project-body h3 { font-size: 1rem; font-weight: 500; color: var(--text); margin-bottom: 0.5rem; }
.project-body p  { font-size: 13px; color: var(--text-muted); line-height: 1.65; margin-bottom: 1.25rem; flex-grow: 1; }

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  transition: gap 0.2s;
  margin-right: 3rem;
}
.project-link:hover { gap: 10px; }
.row {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; max-width: 560px; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-group label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.form-group input,
.form-group textarea {
  background: var(--bg2);
  border: 1px solid var(--border-hover);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-size: 14px;
  color: var(--text);
  font-family: var(--font-body);
  transition: border-color 0.25s, background 0.25s;
  width: 100%;
  outline: none;
  resize: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); background: var(--bg3); }
.form-group textarea { min-height: 140px; }
.form-submit { align-self: flex-start; }

.contact-socials {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.6rem 1.2rem;
  background: var(--bg2);
  border: 1px solid var(--border-hover);
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-body);
  transition: color 0.25s, border-color 0.25s, background 0.25s;
  text-decoration: none;
}

.contact-social-link:hover {
  color: var(--text);
  border-color: var(--accent);
  background: var(--bg3);
}
/* ============================================
   WERKPLEKLEREN placeholder
   ============================================ */
.wpl-placeholder {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 3rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.wpl-icon   { font-size: 2.5rem; opacity: 0.3; }
.wpl-placeholder h3 { font-size: 1rem; font-weight: 500; color: var(--text); }
.wpl-placeholder p  { font-size: 13px; color: var(--text-muted); max-width: 320px; line-height: 1.7; }

@media (min-width: 640px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .nav-cv {
    display: none;   /* CV staat ook in het hamburger-menu */
  }



  :root {
    --page-pad: 1rem; /* minder zijpadding op heel kleine schermen */
  }
}

/* ============================================
   SCROLL INDICATOR — desktop only
   ============================================ */
.scroll-indicator {
  display: none; /* verborgen op mobile */
}

@media (min-width: 1024px) {
  .scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.6;
    cursor: pointer;
    transition: opacity 0.3s;
    z-index: 2;
  }

  .scroll-indicator:hover { opacity: 1; }

  .scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, transparent, var(--accent));
    transform-origin: top;
    animation: growLine 1.8s ease-in-out infinite;
  }

  @keyframes growLine {
    0%   { transform: scaleY(0); opacity: 0; }
    40%  { transform: scaleY(1); opacity: 1; }
    100% { transform: scaleY(1); opacity: 0; }
  }

  .scroll-chevrons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .chevron {
    width: 10px;
    height: 10px;
    border-right: 1.5px solid var(--accent);
    border-bottom: 1.5px solid var(--accent);
    transform: rotate(45deg);
    animation: fadeChevron 1.8s ease-in-out infinite;
  }

  .chevron:nth-child(1) { animation-delay: 0s; }
  .chevron:nth-child(2) { animation-delay: 0.15s; }
  .chevron:nth-child(3) { animation-delay: 0.3s; }

  @keyframes fadeChevron {
    0%, 100% { opacity: 0; }
    50%       { opacity: 1; }
  }
}