/*
 * Just Show Up — terminal skin on top of Quark 2
 * ------------------------------------------------------------
 * Dit bestand wordt als laatste geladen (theme://css/custom.css),
 * dus alles hier overschrijft theme.css zonder !important.
 * Kleuren: pas de variabelen in de eerste twee blokken aan.
 */

/* ---------- Eén palet: altijd donker ----------
 * De site heeft geen lichte modus. `light` krijgt bewust dezelfde waarden,
 * zodat een oude localStorage-voorkeur of een licht systeem niets verandert.
 */
:root,
:root[data-theme="dark"],
:root[data-theme="light"] {
  --q2-bg: #070907;
  --q2-bg-elev: #0d110d;
  --q2-bg-muted: #141a14;
  --q2-bg-inverse: #d8ffe4;

  --q2-text: #cfe9d6;
  --q2-text-strong: #ffffff;
  --q2-text-muted: #7d9a86;
  --q2-text-inverse: #05130a;

  --q2-border-ring: rgba(0, 255, 65, 0.16);
  --q2-border-strong: rgba(0, 255, 65, 0.34);
  --q2-divider: rgba(0, 255, 65, 0.14);

  --q2-nav-bg: rgba(6, 8, 6, 0.86);
  --q2-nav-border: rgba(0, 255, 65, 0.16);

  --q2-shadow-card: 0 0 0 1px rgba(0, 255, 65, 0.16), 0 10px 30px -18px rgba(0, 255, 65, 0.5);
  --q2-shadow-raised: 0 0 0 1px rgba(0, 255, 65, 0.28), 0 16px 40px -20px rgba(0, 255, 65, 0.55);
  --q2-shadow-dropdown: 0 0 0 1px rgba(0, 255, 65, 0.22), 0 18px 36px -14px rgba(0, 0, 0, 0.85);

  --q2-accent: #00ff41;
  --q2-accent-contrast: #04120a;
  --q2-link: #00ff41;
  --q2-focus-ring: rgba(0, 255, 65, 0.42);

  --q2-radius-xs: 2px;
  --q2-radius-sm: 2px;
  --q2-radius: 2px;
  --q2-radius-md: 3px;
  --q2-radius-lg: 4px;

  --pico-background-color: var(--q2-bg);
  --pico-color: var(--q2-text);
  --pico-muted-color: var(--q2-text-muted);
  --pico-muted-border-color: var(--q2-divider);
  --pico-primary: var(--q2-accent);
  --pico-primary-hover: #b6ffc9;
  --pico-primary-inverse: var(--q2-accent-contrast);
  --pico-primary-background: var(--q2-accent);
  --pico-primary-border: var(--q2-accent);
  --pico-contrast: var(--q2-text-strong);
  --pico-card-background-color: var(--q2-bg-elev);
  --pico-form-element-background-color: #0a0d0a;
  --pico-form-element-border-color: rgba(0, 255, 65, 0.22);
  --pico-form-element-color: var(--q2-text);

  color-scheme: dark;
}

/* ---------- Type ---------- */
:root {
  --pico-font-family-sans-serif: ui-monospace, SFMono-Regular, "SF Mono", Menlo,
    Consolas, "Liberation Mono", monospace;
  --pico-font-family-display: inherit;
  --pico-font-size: 16px;
  --pico-line-height: 1.75;
}

body {
  font-family: var(--pico-font-family-sans-serif);
  background: var(--q2-bg);
}

/* CRT-scanlines, zeer subtiel */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 255, 65, 0.045) 0 1px,
    transparent 1px 3px
  );
  opacity: 0.5;
}

h1, h2, h3, h4, h5, h6 {
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  line-height: 1.25;
  color: var(--q2-text-strong);
}

h1 { color: var(--q2-accent); font-size: clamp(1.6rem, 4vw, 2.6rem); }
h2 { color: var(--q2-accent); font-size: clamp(1.25rem, 2.6vw, 1.7rem); margin-top: 2.2rem; }
h3 { letter-spacing: 0.09em; font-size: 1.05rem; margin-top: 1.8rem; }

p, li { letter-spacing: 0.005em; }

a { color: var(--q2-link); text-underline-offset: 3px; }
a:hover { text-shadow: 0 0 12px rgba(0, 255, 65, 0.55); }

strong, b { color: var(--q2-text-strong); }
em { color: var(--q2-accent); font-style: italic; }

hr {
  border: 0;
  border-top: 1px dashed var(--q2-divider);
  margin: 2rem 0;
}

blockquote {
  border-left: 2px solid var(--q2-accent);
  background: var(--q2-bg-elev);
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  font-style: normal;
}

code, pre, kbd {
  font-family: inherit;
  background: var(--q2-bg-elev);
  border: 1px solid var(--q2-border-ring);
  color: var(--q2-accent);
}

/* ---------- Terminal cursor na paginatitels ---------- */
.content-item > h1:first-of-type::after,
.content-title h1::after,
.blog-page-header h1::after {
  content: "";
  display: inline-block;
  width: 0.5ch;
  height: 0.95em;
  margin-left: 0.18em;
  background: var(--q2-accent);
  vertical-align: -0.06em;
  animation: jsu-blink 1.1s steps(1, end) infinite;
}

@keyframes jsu-blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* ---------- Header / navigatie ---------- */
#header {
  border-bottom: 1px solid var(--q2-nav-border);
}

/* Deze site is bewust altijd donker: thema-toggle verbergen */
.theme-toggle,
#header .actions .theme-toggle,
.mobile-container .theme-toggle {
  display: none;
}

/* Logo: tekst in plaats van het Grav-beeldmerk */
#header .jsu-brand,
.mobile-logo .jsu-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--q2-accent);
  white-space: nowrap;
}

#header .jsu-brand-mark {
  color: var(--q2-text-muted);
  font-weight: 400;
}

#header .jsu-brand-text::after {
  content: "";
  display: inline-block;
  width: 0.5ch;
  height: 0.82em;
  margin-left: 0.22em;
  background: var(--q2-accent);
  vertical-align: -0.04em;
  animation: jsu-blink 1.1s steps(1, end) infinite;
}

#header .jsu-brand:hover .jsu-brand-text {
  text-shadow: 0 0 14px rgba(0, 255, 65, 0.6);
}

#header .navigation a {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--q2-text-muted);
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
}

#header .navigation a:hover,
#header .dropmenu a:hover {
  color: var(--q2-accent);
  background: transparent;
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

/* Actief menu-item: geen gevulde pil, maar een groene underline */
#header .navigation a.active,
#header .dropmenu a.active,
#header .dropmenu a.active:hover {
  color: var(--q2-accent);
  background: transparent;
  border-bottom: 1px solid var(--q2-accent);
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.45);
}

.overlay-menu .navigation a {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--q2-accent);
}

/* ---------- Content ---------- */
#body-wrapper > .container > .content-item,
.content-item {
  max-width: 60rem;
  margin: 0 auto;
}

.content-item img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--q2-border-ring);
  box-shadow: var(--q2-shadow-card);
  margin: 0 0 2rem;
}

.content-item > p:first-of-type img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.content-item ul li,
.content-item ol li { margin-bottom: 0.4rem; }

/* ---------- Blog ---------- */
.content-title,
.content-title.text-center { text-align: left; }

.content-title h1 a,
.card-title a,
.blog-page-header h1 a { text-decoration: none; }

.content-title h1 a:hover,
.card-title a:hover { text-decoration: underline; }

.e-content { text-align: left; }

.blog-page-header { margin-bottom: 2.5rem; }
.blog-page-header h1 { margin-bottom: 0.5rem; }

.blog-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr);
}

.card {
  background: var(--q2-bg-elev);
  border: 1px solid var(--q2-border-ring);
  border-radius: var(--q2-radius);
  box-shadow: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  border-color: var(--q2-border-strong);
  box-shadow: var(--q2-shadow-card);
  transform: translateY(-2px);
}

.card-header { border-bottom: 1px dashed var(--q2-divider); }
.card-title a { color: var(--q2-accent); text-decoration: none; }
.card-title a:hover { text-decoration: underline; }
.blog-date, .card-subtitle {
  color: var(--q2-text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.card-footer { border-top: 1px dashed var(--q2-divider); }

.card-more a {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  text-decoration: none;
  color: var(--q2-accent);
}

.card-more a:hover { text-decoration: underline; }

.prev-next { border-top: 1px dashed var(--q2-divider); padding-top: 1.5rem; margin-top: 2rem; }

/* ---------- Knoppen en formulieren ---------- */
.button, button, .btn, input[type="submit"] {
  border-radius: var(--q2-radius);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
}

.form-input, .form-select, textarea, input[type="text"], input[type="email"] {
  border-radius: var(--q2-radius);
}

/* ---------- Footer ---------- */
#footer {
  border-top: 1px dashed var(--q2-divider);
  margin-top: 3.5rem;
  padding-top: 1.75rem;
  padding-bottom: 2rem;
  color: var(--q2-text-muted);
  font-size: 0.85rem;
}

#footer .container { text-align: left; }

#footer .jsu-footer-nav a.active {
  color: var(--q2-accent);
  border-bottom: 1px solid var(--q2-accent);
}

#footer .jsu-footer-line {
  color: var(--q2-accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}

#footer .jsu-prompt { color: var(--q2-text-muted); }

#footer .jsu-footer-nav ul.navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

#footer .jsu-footer-nav ul.navigation > li {
  list-style: none;
  margin: 0;
  padding: 0;
}

#footer .jsu-footer-nav ul.navigation > li::before,
#footer .jsu-footer-nav ul.navigation > li::marker {
  content: none;
}

#footer .jsu-footer-nav a {
  color: var(--q2-text);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  text-decoration: none;
}

#footer .jsu-footer-nav a:hover { color: var(--q2-accent); }

#footer .jsu-footer-meta { margin: 0; }
#footer a { color: var(--q2-text-muted); }
#footer a:hover { color: var(--q2-accent); }


/* ---------- Typemachine-letter voor koppen ---------- */
@font-face {
  font-family: "JSU Typewriter";
  src: url("../fonts/typewriter/special-elite.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JSU Courier";
  src: url("../fonts/typewriter/courier-prime-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Wissel hier tussen "JSU Typewriter" (stempel) en "JSU Courier" (nette typemachine) */
  --jsu-font-display: "JSU Typewriter", "Courier New", monospace;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--jsu-font-display);
  font-weight: 400;
  letter-spacing: 0.06em;
}

h1 { letter-spacing: 0.04em; }

/* ---------- Taalkeuze EN / NL ---------- */
.jsu-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-right: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.jsu-lang a {
  color: var(--q2-text-muted);
  text-decoration: none;
  padding: 0.1rem 0.4rem;
  border: 1px solid transparent;
  line-height: 1.6;
}

.jsu-lang a:hover {
  color: var(--q2-accent);
  border-color: var(--q2-border-ring);
}

.jsu-lang a.active {
  color: var(--q2-accent);
  border-color: var(--q2-border-strong);
}

.mobile-container .jsu-lang {
  margin: 1.5rem 0 0;
  font-size: 0.85rem;
}
