/* =========================
   RESET & BASIS
   ========================= */
html, body {
  min-height: 100vh;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #ffffff;
  color: #0f172a;
  line-height: 1.6;

  display: flex;
  flex-direction: column;
}

/* =========================
   HEADER & NAV
   ========================= */

.site-header {
  background: #020617;
}

.main-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo a {
  color: #e5e7eb;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: text-shadow 0.3s ease;
}

.logo a:hover {
  text-shadow:
    0 0 4px  rgba(229, 231, 235, 0.9),
    0 0 10px rgba(229, 231, 235, 0.7),
    0 0 18px rgba(229, 231, 235, 0.4);
}



/* =========================
   MENU
   ========================= */

.menu {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.menu > li {
  position: relative;
}

.menu a {
  display: block;
  padding: 1.2rem 0;
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.25s ease;
}

/* underline hover */
.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.6rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #38bdf8, #22d3ee);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.menu a:hover {
  color: #ffffff;
}

.menu a:hover::after {
  transform: scaleX(1);
}

/* =========================
   SUBMENU
   ========================= */

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #020617;
  list-style: none;
  padding: 0.5rem 0;

  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;

  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  border-radius: 6px;
}

.submenu li a {
  padding: 0.7rem 1.2rem;
  color: #cbd5f5;
}

.submenu li a:hover {
  background: rgba(56, 189, 248, 0.12);
  color: #ffffff;
}

.has-submenu:hover .submenu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* =========================
   MAIN CONTENT
   ========================= */

.site-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem;

}

.main-bg {
  flex: 1;

  background: linear-gradient(
    to bottom,
    #f8fafc 0%,
    #eef2f7 100%
  );
}
 

.intro {
  max-width: 720px;
  margin-bottom: 3rem;
}

.intro h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 1rem;
}

.intro p {
  color: #334155;
  margin-bottom: 1rem;
}

/* =========================
   HIGHLIGHTS (CARDS)
   ========================= */

.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.highlights article {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.highlights article:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.15);
}

.highlights h2 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.highlights p {
  color: #475569;
  font-size: 0.95rem;
}

/* =========================
   FOOTER
   ========================= */

.site-footer {
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;

  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
}


/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 768px) {
  .menu {
    gap: 1.2rem;
  }

  .nav-inner {
    flex-wrap: wrap;
  }
}

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;        /* geen paars/blauw */
}

.card-link:visited {
  color: inherit;        /* ook geen paars na klikken */
}

.card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-link:hover .card {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.card {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.card-link:hover .card {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.back-link {
  color: #6b7280;          /* zelfde tint als meta-tekst */
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.back-link:visited {
  color: #6b7280;          /* geen paars na klikken */
}

.back-link:hover {
  color: #111827;          /* iets donkerder bij hover */
  text-decoration: underline;
}
.icon,
.icon:hover,
.icon:focus,
.icon:active {
  text-decoration: none;
}
/* icon-links (💾 📝 etc) */
a.icon,
a.icon:visited,
a.icon:hover,
a.icon:focus,
a.icon:active {
  text-decoration: none;
  color: #e5e7eb;
}
.card a.icon,
.card a.icon:visited {
  text-decoration: none;
}
.hash {
  font-family: monospace;
  font-size: 0.85rem;
  word-break: break-all;
}
