/* ============================================================
   ON3VZ — Design System  |  "Dark Signal"
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&family=Share+Tech+Mono&display=swap');

/* ── CSS VARIABELEN ── */
:root {
  --c-bg:           #080d18;
  --c-surface:      #0d1428;
  --c-surface-2:    #111d35;
  --c-border:       rgba(0,255,136,0.10);
  --c-border-hard:  rgba(0,255,136,0.28);

  --c-primary:      #00ff88;
  --c-primary-dim:  #00cc6a;
  --c-cyan:         #00d4ff;
  --c-amber:        #f0a500;
  --c-red:          #ff4466;

  --c-text:         #e2eaf5;
  --c-text-2:       #b0c4d8;
  --c-text-3:       #7a96b0;

  --f-display: 'Orbitron', monospace;
  --f-body:    'DM Sans', sans-serif;
  --f-mono:    'Share Tech Mono', monospace;

  --glow-sm:  0 0 10px rgba(0,255,136,0.4);
  --glow-md:  0 0 22px rgba(0,255,136,0.35), 0 0 50px rgba(0,255,136,0.1);
  --glow-lg:  0 0 32px rgba(0,255,136,0.55), 0 0 90px rgba(0,255,136,0.18);
  --glow-cyan: 0 0 18px rgba(0,212,255,0.5);

  --t:      0.22s ease;
  --t-slow: 0.45s ease;
  --nav-h:  66px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.75;
  min-height: 100vh;
}

/* Globale rasterachtergrond */
.grid-bg::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,255,136,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,136,0.028) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* ── NAVIGATIE ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(8,13,24,0.88);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--c-border);
}

.nav-inner {
  max-width: 1300px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  gap: 3rem;
}

/* Brand */
.nav-brand {
 margin-right: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-brand svg { flex-shrink: 0; }
.nav-brand-call {
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: 0.18rem;
  text-shadow: var(--glow-sm);
}

/* Desktop nav links — met morse tooltip */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  flex: 1;
  justify-content: center;
}

.nav-links li {
  position: relative;
}

/* Morse animatie boven nav item */
.nav-links li::before {
  content: attr(data-morse);
  position: absolute;
  top: -18px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-mono);
  font-size: 0.58rem;
  color: var(--c-primary);
  letter-spacing: 0.12rem;
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  text-shadow: var(--glow-sm);
  transition: opacity var(--t), top var(--t);
}
.nav-links li:hover::before { opacity: 0.8; top: -14px; }

.nav-links a {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  color: var(--c-text-2);
  text-decoration: none;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  transition: color var(--t), background var(--t);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0.75rem; right: 0.75rem;
  height: 1.5px;
  background: var(--c-primary);
  box-shadow: var(--glow-sm);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--c-primary); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

/* Rechts: klok */
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.nav-clock {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  color: var(--c-text-3);
  letter-spacing: 0.06rem;
  min-width: 68px;
  text-align: right;
}

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px; height: 16px;
  background: none; border: none;
  cursor: pointer; padding: 0;
}
.nav-burger span {
  display: block; width: 100%; height: 1.5px;
  background: var(--c-text-2); border-radius: 2px;
  transition: all 0.3s ease; transform-origin: center;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7.25px) rotate(45deg); background: var(--c-primary); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-7.25px) rotate(-45deg); background: var(--c-primary); }

/* Mobiel drawer */
.nav-drawer {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(8,13,24,0.97);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--c-border);
  padding: 1.5rem 2rem 2rem;
  z-index: 999;
  transform: translateY(-105%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease;
  pointer-events: none;
}
.nav-drawer.open { transform: translateY(0); opacity: 1; pointer-events: all; }
.nav-drawer ul { list-style: none; display: flex; flex-direction: column; }
.nav-drawer a {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.95rem;
  letter-spacing: 0.15rem;
  text-transform: uppercase;
  color: var(--c-text-2);
  text-decoration: none;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--c-border);
  transition: color var(--t), padding-left var(--t);
}
.nav-drawer a:hover { color: var(--c-primary); padding-left: 0.75rem; }

/* ── LAYOUT ── */
.page-wrap { position: relative; z-index: 1; padding-top: var(--nav-h); }
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.container--narrow { max-width: 760px; margin: 0 auto; padding: 0 2rem; }

/* Sectie spacing */
.section {
  padding: 6rem 0;
}

.section + .section {
  border-top: 1px solid var(--c-border);
}

/* ── SECTIE LABELS ── */
.section-label {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.3rem;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: 0.75rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.section-label::before {
  content: '';
  display: block; width: 24px; height: 1px;
  background: var(--c-primary); box-shadow: var(--glow-sm);
}
.section-title {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700; line-height: 1.15;
  color: var(--c-text); margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.05rem; color: var(--c-text-2);
  font-weight: 300; max-width: 520px; line-height: 1.7;
}

/* ── KAARTEN ── */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 16px; padding: 2rem;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.card:hover {
  border-color: var(--c-border-hard);
  box-shadow: 0 8px 40px rgba(0,0,0,0.35), var(--glow-sm);
  transform: translateY(-3px);
}

/* Blog kaart */
.blog-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.blog-card:hover {
  border-color: var(--c-primary);
  box-shadow: 0 12px 48px rgba(0,0,0,0.4), var(--glow-sm);
  transform: translateY(-5px);
}
.blog-card__inner { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card__meta {
  font-family: var(--f-mono); font-size: 0.62rem;
  color: var(--c-text-3); letter-spacing: 0.1rem;
  text-transform: uppercase; margin-bottom: 0.75rem;
  display: flex; gap: 1rem; align-items: center; flex-wrap: wrap;
}
.blog-card__tag {
  color: var(--c-primary);
  border: 1px solid var(--c-border-hard);
  padding: 1px 7px; border-radius: 3px;
}
.blog-card__title {
  font-family: var(--f-display); font-size: 1rem;
  font-weight: 700; color: var(--c-text); line-height: 1.35;
  margin-bottom: 0.75rem;
}
.blog-card__excerpt {
  font-size: 0.88rem; color: var(--c-text-2);
  line-height: 1.65; flex: 1; margin-bottom: 1.5rem;
}
.blog-card__footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--c-border);
  display: flex; align-items: center; justify-content: space-between;
}
.read-more {
  font-family: var(--f-mono); font-size: 0.68rem;
  letter-spacing: 0.12rem; color: var(--c-primary);
  text-decoration: none; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 0.4rem;
  transition: gap var(--t);
}
.read-more:hover { gap: 0.75rem; }

/* ── QSO TABEL ── */
.qso-table { width: 100%; border-collapse: collapse; font-family: var(--f-mono); font-size: 0.78rem; }
.qso-table thead th {
  text-align: left; font-size: 0.58rem; letter-spacing: 0.2rem;
  text-transform: uppercase; color: var(--c-text-3);
  padding: 0.6rem 1rem; border-bottom: 1px solid var(--c-border);
}
.qso-table tbody tr { border-bottom: 1px solid rgba(0,255,136,0.04); transition: background var(--t); }
.qso-table tbody tr:hover { background: rgba(0,255,136,0.04); }
.qso-table td { padding: 0.6rem 1rem; color: var(--c-text-2); }
.qso-table td.cs { color: var(--c-primary); font-weight: bold; }
.qso-table td.band { color: var(--c-cyan); }
.qso-table td.rst { color: var(--c-amber); }
.qso-table td.dx { color: var(--c-text); font-size: 0.7rem; }

/* ── STATS ── */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1rem; }
.stat-box {
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: 10px; padding: 1.5rem 1rem; text-align: center;
  transition: border-color var(--t), box-shadow var(--t);
}
.stat-box:hover { border-color: var(--c-border-hard); box-shadow: var(--glow-sm); }
.stat-box__num {
  font-family: var(--f-display); font-size: 2rem; font-weight: 900;
  color: var(--c-primary); text-shadow: var(--glow-sm); line-height: 1; margin-bottom: 0.4rem;
}
.stat-box__lbl { font-family: var(--f-mono); font-size: 0.58rem; letter-spacing: 0.14rem; text-transform: uppercase; color: var(--c-text-3); }

/* ── KNOPPEN ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--f-mono); font-size: 0.75rem;
  letter-spacing: 0.14rem; text-transform: uppercase;
  text-decoration: none; padding: 0.7rem 1.6rem;
  border-radius: 8px; cursor: pointer; border: none; transition: all var(--t);
}
.btn-primary { background: var(--c-primary); color: #fff; font-weight: 700; }
.btn-primary:hover { background: #fff; color: var(--c-primary); box-shadow: var(--glow-md); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--c-text-2); border: 1px solid var(--c-border-hard); }
.btn-ghost:hover { color: var(--c-primary); border-color: var(--c-primary); box-shadow: var(--glow-sm); }

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid var(--c-border);
  padding: 3rem 0 2rem; margin-top: 6rem;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-call { font-family: var(--f-display); font-size: 0.85rem; color: var(--c-primary); letter-spacing: 0.2rem; }
.footer-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-links a { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.08rem; color: var(--c-text-3); text-decoration: none; text-transform: uppercase; transition: color var(--t); }
.footer-links a:hover { color: var(--c-primary); }
.footer-73 { font-family: var(--f-mono); font-size: 0.55rem; color: var(--c-text-3); letter-spacing: 0.15rem; }

/* ── ANIMATIES ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim-1 { animation: fadeUp 0.6s ease both; }
.anim-2 { animation: fadeUp 0.6s 0.15s ease both; }
.anim-3 { animation: fadeUp 0.6s 0.3s ease both; }
.anim-4 { animation: fadeUp 0.6s 0.45s ease both; }
.anim-5 { animation: fadeUp 0.6s 0.6s ease both; }


/* Animation helpers */
.a1 { animation: fadeUp 0.6s ease both; }
.a2 { animation: fadeUp 0.6s 0.15s ease both; }
.a3 { animation: fadeUp 0.6s 0.3s ease both; }
.a4 { animation: fadeUp 0.6s 0.45s ease both; }


/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links, .nav-right { display: none; }
  .nav-burger { display: flex; }
  :root { --nav-h: 56px; }
}
@media (max-width: 600px) {
  .container, .container--narrow { padding: 0 1rem; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Jekyll / content helpers ── */
main { display: block; }
.prose { color: var(--c-text-2); font-weight: 300; }
.prose h1, .prose h2, .prose h3 { color: var(--c-text); font-family: var(--f-display); }
.prose a { color: var(--c-primary); text-decoration: none; }
.prose a:hover { text-shadow: var(--glow-sm); }
.prose .btn-primary { color: #fff; }
.prose .btn-primary:hover { color: var(--c-primary); text-shadow: none; }

/* Landing body helper (index) */
body.landing { overflow: hidden; }


/* footer accent */
.bottom-label {
     position: fixed;
     left: 50%;
     bottom: 2.5rem;
     transform: translateX(-50%);
     z-index: 10;
   
     font-family: var(--f-display);
     font-size: 0.9rem;
     font-weight: 700;
     letter-spacing: 0.4rem;
   
     color: var(--c-primary);
     text-shadow: var(--glow-md);
   
     padding: 0.4rem 1.2rem;
     border: 1px solid var(--c-border-hard);
     border-radius: 8px;
     background: rgba(0, 255, 136, 0.04);
   
     pointer-events: none;
     animation: fadeUp 0.8s 0.6s ease both;
   }

/* ========== Rijke tijdlijn ========== */
/* Two column layout for rich timeline */
.two-col {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}
.rich-timeline {
  position: relative;
  padding-left: 2.5rem;
}

.rich-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--c-primary),
    rgba(0,255,136,.1)
  );
}

.rtl-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.rtl-item::before {
  content: '';
  position: absolute;
  left: -2.9rem;
  top: .4rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c-primary);
  box-shadow: var(--glow-sm);
  border: 2px solid var(--c-bg);
}

.rtl-item.dim::before {
  background: var(--c-surface-2);
  border-color: var(--c-border-h);
  box-shadow: none;
}

.rtl-year {
  font-family: var(--f-mono);
  font-size: .6rem;
  letter-spacing: .14rem;
  color: var(--c-primary);
  margin-bottom: .25rem;
}

.rtl-item.dim .rtl-year {
  color: var(--c-text-3);
}

.rtl-title {
  font-family: var(--f-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: .35rem;
}

.rtl-desc {
  font-size: .86rem;
  color: var(--c-text-2);
  line-height: 1.7;
  margin-bottom: .5rem;
}

.tl-badges {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
}

.tl-badge {
  font-family: var(--f-mono);
  font-size: .55rem;
  letter-spacing: .12rem;
  padding: .25rem .55rem;
  border-radius: 999px;
  background: rgba(240,165,0,0.14);
  border: 1px solid rgba(240,165,0,0.38);
  color: #e8d8a0;
}

/* ── EXPERIENCE CARDS (Kennis & Vaardigheden) ── */
.exp-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  padding: 1.25rem;
  border-radius: 12px;
  position: relative;
  transition: all var(--t);
  overflow: hidden;
}

.exp-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--c-primary);
  opacity: 0.3;
  transition: opacity var(--t);
}

.exp-card:hover {
  border-color: var(--c-border-hard);
  background: var(--c-surface-2);
  transform: translateX(4px);
}

.exp-card:hover::before {
  opacity: 1;
  box-shadow: var(--glow-sm);
}

.exp-label {
  font-family: var(--f-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.12rem;
  color: var(--c-primary);
  margin-bottom: 0.35rem;
  opacity: 0.8;
}

.exp-title {
  font-family: var(--f-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 0.4rem;
}

.exp-text {
  font-size: 0.82rem;
  color: var(--c-text-2);
  line-height: 1.6;
}

/* Forceer de v3 grid layout op de bestaande HTML structuur */
.a4 > div[style*="flex-direction:column"] {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  gap: 1.25rem !important;
  flex-direction: unset !important; /* Zet de inline column uit */
}

/* De kaartjes zelf */
.exp-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-primary); /* De v3 groene lijn */
  border-radius: 0 14px 14px 0;
  padding: 1.5rem;
  transition: all var(--t);
  display: flex;
  flex-direction: column;
}

.exp-card:hover {
  border-color: var(--c-border-h);
  box-shadow: var(--glow-sm);
  transform: translateX(5px);
}

/* Typografie binnen de kaarten */
.exp-label {
  font-family: var(--f-mono);
  font-size: .58rem;
  letter-spacing: .15rem;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: .4rem;
}

.exp-title {
  font-family: var(--f-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: .5rem;
}

.exp-text {
  font-size: .85rem;
  color: var(--c-text-2);
  line-height: 1.65;
}
