.desktop-only { display: flex; }
.mobile-only { display: none; }

@media (max-width: 768px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: block !important; }
}
/* ====================== BASIS & DARK THEME ====================== */
.page-header { display: none !important; }

html, body {
  background: #0f1419 !important;
  color: #e0e0e0 !important;
}

.main-content, .overlay-text > * {
  background: transparent !important;
}

img, .banner, .overlay-text { background: transparent !important; }

body {
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, sans-serif !important;
}

/* ====================== BANNER ====================== */
.banner {
  position: relative;
  width: 100%;
  height: 45vh;                  /* basis: goed balans desktop/mobiel */
  min-height: 280px;             /* nooit te klein */
  max-height: 500px;             /* cap op grote schermen */
  overflow: hidden;
}

.banner img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Mobiel: compact, snel bij content */
@media (max-width: 768px) {
  .banner {
    height: 38vh;                /* perfect op telefoon – niet te groot */
    min-height: 260px;
    max-height: 360px;
  }
}

/* Grote schermen: iets groter maar niet overdreven */
@media (min-width: 1200px) {
  .banner {
    height: 50vh;
    min-height: 400px;
    max-height: 600px;
  }
}

/* ====================== OVERLAY TEXT ====================== */
.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 85%;
  max-width: 900px;
  background: rgba(10, 15, 20, 0.45) !important;
  padding: 2em 2.5em;
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(102, 179, 255, 0.3);
}

.overlay-text h1 {
  color: #66b3ff !important;
  font-size: 3.6em;
  margin: 0;
  font-weight: 900;
  letter-spacing: -1px;
}

.overlay-text p {
  color: #f0f8ff !important;
  font-size: 1.8em;
  margin: 0.8em 0 0;
  font-weight: 600;
}

/* Mobiel: overlay box klein en netjes */
@media (max-width: 768px) {
  .overlay-text {
    width: 88%;
    padding: 1.2em 1.6em !important;
    background: rgba(10, 15, 20, 0.7) !important;
    border-radius: 18px;
  }

  .overlay-text h1 {
    font-size: 2.3em !important;      /* perfect formaat zoals in je screenshot */
  }

  .overlay-text p {
    font-size: 1.35em !important;
    margin-top: 0.5em;
  }
}
/* ====================== CONTENT & HEADINGS ====================== */
.main-content {
  font-size: 1.15em !important;
  line-height: 1.8;
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.5em 2em 3em !important;
}

.main-content h1, .main-content h2, .main-content h3 {
  color: #66b3ff !important;
  font-size: 1.9em !important;
  margin-top: 1.5em !important;
}

/* ====================== NAVIGATIE ====================== */
.main-nav {
  background: rgba(15, 20, 25, 0.95);
  border-bottom: 1px solid #333;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-container {
  
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8em 1.5em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.nav-logo {
  font-weight: 900;
  font-size: 1.3em;
  color: #66b3ff !important;
  text-decoration: none;
}

/* Back knop – altijd links */
.nav-back {
  color: #66b3ff !important;
  text-decoration: none;
  font-size: 1em;
  font-weight: 600;
  padding: 0.4em 0.8em;
}

.nav-back:hover {
  color: #99ccff !important;
}

/* Desktop links */
.nav-links {
  display: flex;
  gap: 2em;
}

.nav-links a {
  color: #e0e0e0 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
}

.nav-links a:hover {
  color: #66b3ff !important;
}

/* Hamburger */
.nav-toggle {
    left: auto; /* toevoegen */
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5em;
}

.nav-toggle span {
  display: block;
  width: 11px;
  height: 2px;
  background: #e0e0e0;
  margin: 4px 0;
}

/* Mobiel menu */
.mobile-menu {
  position: absolute;
  top: 100%;              /* direct onder de nav */
  right: 0;               /* volledig rechts uitgelijnd */
  left: 0;                /* EN links tot het begin → volle breedte */
  display: none;
  background: rgba(15, 20, 25, 0.98);
  border-top: 1px solid #333;
  padding: 0.5em 0;
  z-index: 1000;
  width: 100%;            /* VOLLE BREEDTE */
  box-sizing: border-box;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 1em 1.5em;     /* meer ruimte, beter tikbaar */
  color: #e0e0e0 !important;
  text-decoration: none;
  font-weight: 600;
  text-align: left;
  border-bottom: 1px solid rgba(102, 179, 255, 0.1);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover {
  background: rgba(102, 179, 255, 0.2);
  color: #66b3ff !important;
}

/* MOBIELE NAVIGATIE – BACK LINKS, LOGO CENTRAAL, HAMBURGER RECHTS (DEFINITIEF) */
/* MOBIEL – HAMBURGER VOLLEDIG RECHTS */
@media (max-width: 768px) {
  .nav-container {
    position: relative;
    padding: 0.6em 1em !important;
    display: flex !important;
    justify-content: center !important; /* logo centraal */
    align-items: center;
  }

  .nav-back {
    position: absolute;
    left: 1em;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1em !important;
    color: #66b3ff !important;
    padding: 0.4em 0.8em;
    z-index: 20; /* boven alles */
  }

  .nav-logo {
    font-size: 1.3em !important;
    z-index: 10;
  }
  .nav-toggle-wrapper {
  position: absolute;
  right: 1em;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

  .mobile-menu {
  position: absolute;
  right: 1em;
  display: none;
  background: rgba(15, 20, 25, 0.98);
  border-top: 1px solid #333;
  padding: 0.5em 0;
}

  .nav-links {
    display: none !important;
  }
   .nav-toggle {
    display: block !important;
  }
}

/* INTEGRITY / DONATION / PRAAT MEE – CONSISTENT & MET GLOW */
.integrity-check, .donation-section, .community-box {
  margin: 3em auto !important;
  max-width: 800px !important;
  padding: 2em !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid #333 !important;
  border-radius: 12px !important;
  text-align: center !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  cursor: default;
}

/* Glow op hover – voor alle drie */
.integrity-check:hover, .donation-section:hover, .community-box:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 8px 25px rgba(102, 179, 255, 0.2);
  transform: translateY(-4px);
}

/* SHA256 nummering tegen tekst aan (niet links uitgelijnd) */
.integrity-content ol {
  text-align: center !important;
  display: block !important;
  padding-left: 2em !important; /* netjes tegen tekst */
  margin: 1.5em 0 !important;
}

.integrity-content li {
  margin-bottom: 1em !important;
  line-height: 1.6 !important;
}

.integrity-content ol li::marker {
  color: #66b3ff !important;
  font-weight: bold;
}

/* Plakbox SHA256 – mooie styling */
.hash-input {
  background: #1a1f24 !important;
  color: #e0e0e0 !important;
  border: 2px solid #333 !important;
  padding: 1em;
  border-radius: 12px;
  font-size: 1.1em;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 1em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hash-input:focus {
  border-color: #66b3ff !important;
  box-shadow: 0 0 12px rgba(102, 179, 255, 0.3);
}

/* Verifier button – mooi */
#verify-btn {
  background: #1a2a3a !important;
  color: #66b3ff !important;
  border: 2px solid #66b3ff !important;
}

#verify-btn:hover {
  background: #66b3ff !important;
  color: #0f1419 !important;
}

/* ====================== THESIS NAVIGATIE PIJLEN ====================== */
.thesis-navigation-arrows {
  position: fixed;
  top: calc(50% + 200px);
  left: 0;
  right: 0;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  padding: 0 3em;
}

.nav-arrow {
  pointer-events: all;
  font-size: 3.5em !important;
  color: rgba(102, 179, 255, 0.6) !important;
  background: transparent !important;
  width: 80px !important;
  height: 80px !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.nav-arrow:hover {
  color: #66b3ff !important;
  background: rgba(102, 179, 255, 0.15) !important;
  transform: scale(1.1);
}

.nav-arrow-left {
  margin-right: auto;
}

.nav-arrow-right {
  margin-left: auto;
}

@media (max-width: 768px) {
  .nav-arrow {
    font-size: 3em !important;
    width: 70px !important;
    height: 70px !important;
  }

  .thesis-navigation-arrows {
    top: calc(50% + 160px) !important;
    padding: 0 2em !important;
  }
}

/* ====================== LINKS – CONSISTENT & MOOI ====================== */
.main-content a {
  color: #66b3ff !important;
  text-decoration: underline;
  text-decoration-color: rgba(102, 179, 255, 0.6) !important;
  transition: color 0.3s ease;
}

.main-content a:hover {
  color: #99ccff !important;
  text-decoration-color: #99ccff !important;
}

.main-content a:visited {
  color: #a0c4ff !important;
}

/* Footer & skip link */
.site-footer-credits a {
  color: #888 !important;
  text-decoration: none;
}

.site-footer-credits a:hover {
  color: #66b3ff !important;
  text-decoration: underline;
}

a#skip-to-content {
  color: #66b3ff !important;
  font-size: 0.9em;
}

/* ====================== TAALKEUZE BUTTONS ====================== */
.language-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
  align-items: center;
  margin: 4em auto;
  max-width: 1200px;
  padding: 0 1em;
}

.language-btn {
  position: relative;
  overflow: hidden;
  width: 85%;
  max-width: 340px;
  height: 160px;                      /* mobiel: goede verhouding */
  padding: 0 !important;
  border-radius: 20px;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  transition: all 0.4s ease;
}

/* Tablet & desktop: groter en perfecte vlag-verhouding */
@media (min-width: 769px) {
  .language-buttons {
    gap: 3em;
  }

  .language-btn {
    width: 320px;
    height: 180px;                     /* optimale hoogte voor vlaggen (geen vervorming) */
    border-radius: 30px;
  }

  .language-btn span {
    font-size: 1.5em;
  }
}

/* Donkere overlay */
.language-btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 20, 25, 0.5);
  border-radius: inherit;
  transition: background 0.4s ease;
}

.language-btn:hover::before {
  background: rgba(15, 20, 25, 0.3);
}

/* Tekst */
.language-btn span {
  position: relative;
  z-index: 1;
  font-weight: bold;
  color: white !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
  font-size: 1.4em;
}

/* Hover */
.language-btn:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

/* VLAGGEN – perfecte weergave */
.nl-btn {
  background-image: url('https://flagcdn.com/w640/nl.png');
}

.en-btn {
  background-image: url('https://flagcdn.com/w640/gb.png');
}
/* ====================== DONATION & INTEGRITY ====================== */
.integrity-check, .donation-section, .community-box {
  margin: 3em 0;
  border: 1px solid #333;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.integrity-check summary, .donation-section summary {
  padding: 1.2em 1.5em;
  cursor: pointer;
  font-weight: bold;
  text-align: center;
}

.integrity-check summary { color: #b0b0b0 !important; font-size: 1.1em; }
.donation-section summary { color: #b0b0b0 !important; font-size: 1.3em; }

.integrity-check[open] summary, .donation-section[open] summary {
  border-bottom: 1px solid #333;
}

.integrity-content, .donation-content {
  padding: 1.5em;
  text-align: center;
}

.integrity-content strong, .community-box strong { color: #66b3ff !important; }

.integrity-content code, .donation-table code {
  background: #1a1f24;
  padding: 0.2em 0.4em;
  border-radius: 4px;
  word-break: break-all;
}

/* QR-codes */
.donation-table img {
  width: 100% !important;
  max-width: 180px !important;
  height: auto !important;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .donation-table img {
    max-width: 150px !important;
  }

  .donation-table td {
    display: block;
    width: 100%;
    text-align: center;
    padding: 1em 0;
  }

  .donation-table tr {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* Buttons */
.integrity-content button, .verify-btn, button.copy-btn {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 1.5em auto;
  padding: 1em 1.5em;
  font-size: 1.1em;
  font-weight: bold;
  background: #1a2a3a !important;
  color: #66b3ff !important;
  border: 2px solid #66b3ff !important;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.integrity-content button:hover, .verify-btn:hover, button.copy-btn:hover {
  background: #66b3ff !important;
  color: #0f1419 !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(102, 179, 255, 0.4);
}

/* Hash verifier page */
.hash-verifier-container {
  max-width: 800px;
  margin: 3em auto;
  padding: 2em;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid #333;
  text-align: center;
}

#input-text {
  width: 100%;
  height: 200px;
  background: #1a1f24 !important;
  color: #e0e0e0 !important;
  border: 2px solid #333 !important;
  border-radius: 12px;
  padding: 1em;
  font-size: 1.1em;
  margin-bottom: 1.5em;
  box-sizing: border-box;
}

#verify-btn {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 0 auto 1.5em;
  padding: 1em 1.5em;
  font-size: 1.1em;
  font-weight: bold;
  background: #1a2a3a !important;
  color: #66b3ff !important;
  border: 2px solid #66b3ff !important;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#verify-btn:hover {
  background: #66b3ff !important;
  color: #0f1419 !important;
}

.result-box {
  padding: 1.5em;
  border-radius: 12px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 1em;
}

.result-box.success {
  background: rgba(102, 255, 102, 0.1);
  border: 2px solid #66ff66;
  color: #66ff66 !important;
}

.result-box.warning {
  background: rgba(255, 200, 0, 0.1);
  border: 2px solid #ffaa00;
  color: #ffdd66 !important;
}

.result-box.error {
  background: rgba(255, 102, 102, 0.1);
  border: 2px solid #ff6666;
  color: #ff6666 !important;
}

.result-box a {
  color: #66b3ff !important;
  text-decoration: underline;
}

/* ====================== MOBIEL OPTIMALISATIES ====================== */
@media (max-width: 768px) {
  .main-content {
    padding: 1em !important;
    font-size: 1.1em !important;
  }

  h1, .manifest-header, .overlay-text h1 {
    font-size: 2.4em !important;
  }

  .overlay-text p {
    font-size: 1.5em !important;
  }

  .theses-list li a {
    font-size: 1.3em !important;
  }

  .integrity-check, .donation-section, .community-box {
    padding: 1.2em !important;
    margin: 2em 0 !important;
  }

  button, .verify-btn, .big-copy-btn {
    padding: 1em !important;
    font-size: 1.1em !important;
    width: 100% !important;
  }

  .hash-input, #input-text {
    font-size: 1em !important;
    padding: 1em !important;
  }

  .language-buttons {
    gap: 1.8em;
  }

  .language-btn {
    width: 80% !important;
    max-width: 300px !important;
    padding: 1.1em 1.8em !important;
    font-size: 1.35em !important;
  }
}

/* Extra voor hele kleine schermen */
@media (max-width: 480px) {
  .language-btn {
    width: 85% !important;
    max-width: 280px !important;
    padding: 1em 1.5em !important;
    font-size: 1.3em !important;
  }
}

/* TAALNOTE – GECENTREERD & MOOIER */
.language-note {
  text-align: center;
  margin: 5em auto 3em;
  max-width: 800px;
  padding: 2em;
  font-size: 1.2em;
  color: #a0a0a0 !important;
}

.language-note p {
  margin: 1em 0;
}

.language-note a {
  color: #66b3ff !important;
  text-decoration: underline;
}

.language-note a:hover {
  color: #99ccff !important;
}

@media (max-width: 768px) {
  .language-note {
    padding: 1.5em;
    font-size: 1.1em;
    margin: 4em auto 2em;
  }
}

/* ELEMENT / MATRIX DISCUSSION BOX – MOOIE BOX TERUG + GECENTREERD */
.community-box {
  margin: 3em auto !important;
  max-width: 800px !important;
  padding: 2em !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid #333 !important;
  border-radius: 12px !important;
  text-align: center !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* Titel */
.community-box strong {
  display: block;
  margin-bottom: 1em !important;
  font-size: 1.3em !important;
  color: #66b3ff !important;
}

/* Embed */
.community-box iframe,
.community-box div[class*="element"],
.community-box [class*="discussion"] {
  width: 100% !important;
  max-width: 700px !important;
  height: 600px !important;
  border: none !important;
  margin: 1em auto !important;
  display: block !important;
  border-radius: 8px;
}

/* Tip */
.community-box small,
.community-box .tip {
  display: block;
  margin-top: 1em !important;
  font-size: 0.9em !important;
  color: #a0a0a0 !important;
}

/* Generated by GitHub Pages – onderin de box */
.community-box .site-footer-credits {
  margin-top: 2em !important;
  padding-top: 1em;
  border-top: 1px solid #333;
  font-size: 0.9em;
  color: #888 !important;
}

.community-box .site-footer-credits a {
  color: #66b3ff !important;
  text-decoration: underline;
}

.community-box .site-footer-credits a:hover {
  color: #99ccff !important;
}

/* Mobiel */
@media (max-width: 768px) {
  .community-box iframe,
  .community-box div[class*="element"] {
    height: 500px !important;
  }
}

/* DISCUSSIEBOX – KLIKBAR DUIVELIJK MAKEN */
.community-box {
  cursor: pointer !important;
  transition: all 0.3s ease;
}

.community-box:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 8px 25px rgba(102, 179, 255, 0.2);
  transform: translateY(-4px);
}

/* Tekst "Join the discussion" groter en opvallender */
.community-box strong {
  font-size: 1.5em !important;
  color: #66b3ff !important;
  margin-bottom: 0.8em !important;
}

/* Tip – maak hem opvallender */
.community-box small,
.community-box .tip {
  font-size: 1em !important;
  color: #99ccff !important;
  font-style: italic;
  margin-top: 1.2em !important;
}

/* BACK BUTTON – ALTIJD LICHTBLAUW (ook visited) */
.nav-back,
.nav-back:visited {
  color: #66b3ff !important;
  text-decoration: none !important;
}

.nav-back:hover {
  color: #99ccff !important;
}
details ul, details ol {
  margin: 1em 0;
  padding-left: 1.8em;
}

details li {
  margin-bottom: 0.6em;
}
/* Uniforme, dunne blauwe divider – symmetrisch en elegant */
.section-divider {
  height: 2px;
  background: linear-gradient(to right, transparent 25%, #66b3ff 50%, transparent 75%);
  margin: 2.8em auto 2.2em;   /* meer ruimte boven en onder voor symmetrie */
  width: 70%;                  /* korter – niet over hele breedte */
  max-width: 400px;            /* houdt het verfijnd */
  border: none;
}

/* Finale oproep – cursief + kleur voor de eerste zin, warmer en lichter */
.final-call {
  text-align: center;
  font-size: 1.4em;
  color: #e0e0e0;
  line-height: 1.6;
  margin: 0 0 2.5em;
  font-weight: 400;            /* niet vet – luchtig */
}

.final-call .highlight {
  font-style: italic;
  color: #66b3ff;
  font-weight: 600;
  font-size: 1.55em;           /* iets groter voor nadruk */
}

/* Discussie-ref – subtiel en gecentreerd */
.discussion-ref {
  text-align: center;
  font-size: 1em;
  color: #a0a0a0;
  font-style: italic;
  margin: 0 0 3em;
}

/* Mobiel: compacter */
@media (max-width: 768px) {
  .section-divider {
    margin: 2em auto 1.5em;
    width: 85%;
    max-width: 350px;
  }

  .final-call {
    font-size: 1.3em;
  }

  .final-call .highlight {
    font-size: 1.45em;
  }

  .discussion-ref {
    font-size: 0.95em;
  }
}
/* Kleine, bescheiden handtekening onder de finale oproep */
.signature {
  text-align: center;
  font-size: 0.95em;
  color: #a0a0a0;
  font-style: italic;
  margin-top: 1em;
  margin-bottom: 2em;
  line-height: 1.4;
}

.signature br {
  display: none; /* op desktop één regel */
}

@media (max-width: 768px) {
  .signature br {
    display: block; /* op mobiel twee regels voor leesbaarheid */
  }
}
/* Verberg de bezoekers-teller tijdelijk op de site */
.visitor-counter {
  display: none !important;
}