:root {
  --bg: #020617;          /* heel donker antraciet */
  --bg-elevated: #020617;
  --bg-card: #020617;
  --bg-header: rgba(15, 23, 42, 0.9);
  --border-subtle: rgba(148, 163, 184, 0.35);

  --fg: #e5e7eb;          /* lichtgrijs */
  --muted: #9ca3af;

  --green: #065f46;       /* donkergroen */
  --green-soft: rgba(6, 95, 70, 0.35);
  --gold: #facc15;        /* goud */
  --gold-soft: rgba(250, 204, 21, 0.15);

  --radius: 10px;
  --max-width: 960px;

  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Reset & basics */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);

  /* achtergrond: gouden vlecht + groen boven */
  background-color: #020617;
  background-image:
    /* gouden vlechtlijnen */
    linear-gradient(135deg,
      rgba(250, 204, 21, 0.4) 25%,
      transparent 25%,
      transparent 50%,
      rgba(250, 204, 21, 0.4) 50%,
      rgba(250, 204, 21, 0.4) 75%,
      transparent 75%,
      transparent 100%
    ),
    linear-gradient(225deg,
      rgba(250, 204, 21, 0.4) 25%,
      transparent 25%,
      transparent 50%,
      rgba(250, 204, 21, 0.4) 50%,
      rgba(250, 204, 21, 0.4) 75%,
      transparent 75%,
      transparent 100%
    ),
    /* groen meer bovenin, minder ver naar beneden */
    linear-gradient(to bottom,
      #022c22 0%,
      #022c22 15%,
      #020617 75%,
      #02010f 100%
    );
  background-size:
    26px 26px,
    26px 26px,
    100% 100%;
  background-blend-mode: soft-light, soft-light, normal;

  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;

  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.4rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(to right, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.88));
  border-bottom: 1px solid var(--border-subtle);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-wrap img {
  height: 32px;
  width: auto;
}

.site-title {
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav a {
  margin-left: 0.75rem;
  padding: 0.38rem 0.95rem;
  border-radius: 999px;
  font-size: 0.9rem;
  color: #e5e7eb;
  border: 1px solid transparent;
  background: transparent;
  transition:
    border-color 150ms ease-out,
    background 150ms ease-out,
    color 150ms ease-out,
    box-shadow 150ms ease-out,
    transform 120ms ease-out;
}

.nav a:hover {
  border-color: rgba(148, 163, 184, 0.35);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.98));
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.65);
  transform: translateY(-1px);
}

.nav a.active {
  border-color: rgba(250, 204, 21, 0.6);
  background: radial-gradient(circle at top, rgba(250, 204, 21, 0.9), rgba(190, 140, 10, 0.98));
  color: #111827;
  box-shadow: 0 12px 26px rgba(250, 204, 21, 0.35);
}

/* Main layout */

main {
  flex: 1;
  padding-top: 1.8rem;
  padding-bottom: 2rem;
}

h2 {
  margin-top: 0;
}

/* Hero */

.hero {
  background:
    radial-gradient(circle at top left, rgba(6, 95, 70, 0.35), transparent 55%),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.99));
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  padding: 1.9rem 1.7rem;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.78);
  transition:
    border-color 160ms ease-out,
    box-shadow 160ms ease-out,
    transform 160ms ease-out;
}

.hero:hover {
  border-color: rgba(250, 204, 21, 0.4);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.9);
  transform: translateY(-1px);
}

.hero h2 {
  margin-bottom: 0.6rem;
  font-size: 1.9rem;
}

.hero p {
  max-width: 52rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--green-soft);
  background: rgba(15, 23, 42, 0.85);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.hero-highlight {
  color: var(--gold);
}

/* Cards */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
  margin-top: 1.8rem;
}

.card {
  position: relative;
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.98));
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  padding: 1.5rem 1.4rem;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.75);
  overflow: hidden;
}

/* gouden glow op kaarten (index, about, etc.) */
.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(135deg, transparent 0%, rgba(250, 204, 21, 0.18) 40%, transparent 80%);
  opacity: 0;
  transition: opacity 160ms ease-out;
}

.card:hover {
  border-color: rgba(250, 204, 21, 0.55);
  box-shadow: 0 26px 70px rgba(250, 204, 21, 0.16);
  transform: translateY(-2px);
  background: radial-gradient(circle at top left, rgba(6, 95, 70, 0.45), rgba(15, 23, 42, 0.98));
}

.card:hover::before {
  opacity: 1;
}

/* 1) hoofd-kaart op prints NOOIT hover-stijl geven */
body[data-page="prints"] main > .card {
  /* basisstate geforceerd */
  border-color: rgba(148, 163, 184, 0.25);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.75);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.98));
}

/* hover op prints-maincard neutraliseren */
body[data-page="prints"] main > .card:hover {
  border-color: rgba(148, 163, 184, 0.25) !important;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.75) !important;
  transform: none !important;
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.98)) !important;
}

/* pseudo-glow ook uit */
body[data-page="prints"] main > .card::before,
body[data-page="prints"] main > .card:hover::before {
  opacity: 0 !important;
}


.card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}

/* Card figure (gp.png / server.png + overlay) */

.card-figure {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 0.9rem;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(250, 204, 21, 0.45);
  background-color: #111827;

  /* vaste hoogte voor alle kaart-afbeeldingen */
  height: 210px;
}

.card-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* overlay-icoon rechtsonder in de afbeelding */

.card-figure-overlay {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 2px solid #020617;
  background-color: #111827;
  background-size: 60%;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.9);
}

/* koppel hier je echte icon-bestanden */

.card-figure-overlay-user {
  background-image: url("img/icon-user.svg");
}

.card-figure-overlay-server {
  background-image: url("img/icon-server.svg");
}

/* Download list (prints.html) */

.download-list {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: 1.2rem;
}

.download-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  gap: 1rem;
  align-items: stretch;

  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  padding: 0.9rem 0.9rem;
  margin-bottom: 0.8rem;
  background: rgba(15, 23, 42, 0.93);
  position: relative;
  overflow: hidden;
  transition:
    border-color 140ms ease-out,
    box-shadow 140ms ease-out,
    background 140ms ease-out,
    transform 120ms ease-out;
}

/* gouden highlight alleen op het project-blok zelf */
.download-item:hover {
  border-color: rgba(250, 204, 21, 0.5);
  box-shadow: 0 18px 40px rgba(250, 204, 21, 0.16);
  background: radial-gradient(circle at top left, rgba(6, 95, 70, 0.35), rgba(15, 23, 42, 0.97));
  transform: translateY(-1px);
}

.download-content h3 {
  margin-top: 0;
  margin-bottom: 0.2rem;
}

.download-content p {
  margin: 0 0 0.5rem 0;
}

/* thumbnail rechts */

.download-thumb {
  border-radius: 12px;
  overflow: hidden;
  background-color: #020617;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.45);

  width: 160px;
  height: 110px;
}

.download-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Buttons */

.button-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(250, 204, 21, 0.55);
  background: radial-gradient(circle at top, rgba(24, 24, 27, 0.95), rgba(12, 12, 16, 0.98));
  font-size: 0.86rem;
  text-decoration: none;
  color: var(--fg);
  transition:
    background 140ms ease-out,
    transform 140ms.ease-out,
    box-shadow 140ms ease-out;
}

.button-link:hover {
  background: radial-gradient(circle at top, rgba(250, 204, 21, 0.92), rgba(190, 140, 10, 0.98));
  color: #111827;
  box-shadow: 0 14px 30px rgba(250, 204, 21, 0.28);
  transform: translateY(-1px);
}

/* Status card (projects.html) */

.status-card {
  margin-top: 0.8rem;
  padding: 1rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--green-soft);
  background: radial-gradient(circle at top left, rgba(6, 95, 70, 0.4), rgba(15, 23, 42, 0.96));
  font-size: 0.9rem;
}

.status-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.status-label {
  color: var(--muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.9);
  font-size: 0.72rem;
  padding: 0.15rem 0;
}

.site-footer .container {
  padding-top: 0.1rem;
  padding-bottom: 0.1rem;
}

.site-footer p {
  margin: 0.1rem 0;
  color: var(--muted);
  text-align: center;
}

.status-card {
  margin-top: 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: 0.6rem;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.status-label {
  color: var(--muted);
}

.status-value {
  font-variant-numeric: tabular-nums;
}

.progress-bar {
  width: 100%;
  height: 0.45rem;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.6rem;
}

.progress-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #22c55e, #facc15, #ef4444);
  transition: width 0.4s ease-out;
}

