/* ==========================================================================
   AANBEELD.COM — stijl.css
   Eén stylesheet voor alle pagina's.
   Kleuren en lettertypes staan hieronder als variabelen: pas ze dáár aan,
   dan verandert de hele site mee.
   ========================================================================== */

:root {
  /* Kleuren — het palet is gebaseerd op kleurtemperatuur:
     tungsten (3200K, warm) en daglicht (5600K, koel) op een donkere set. */
  --bg: #141110;          /* onverlichte studio */
  --surface: #1d1916;     /* iets lichter vlak */
  --ink: #eae4da;         /* warm gebroken wit */
  --muted: #948b7f;       /* gedempt grijsbruin */
  --tungsten: #e0a458;    /* warm accent (3200K) */
  --daylight: #9db6c6;    /* koel accent (5600K) */
  --rule: #2a2521;        /* subtiele lijnen */

  /* Afgeleide kleuren — verwijs in de rest van de CSS naar deze,
     zodat het lichte thema alles in één keer kan omzetten. */
  --accent: var(--tungsten);
  --glow: rgba(224, 164, 88, 0.16);       /* warme lichtbron in de hero */
  --header-bg: rgba(20, 17, 16, 0.92);

  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-slate: "IBM Plex Mono", monospace;

  --maxw: 1100px;
}

/* Licht thema — 5600K: koel daglicht, blauwgetint papier */
[data-theme="light"] {
  --bg: #e6edf2;
  --surface: #d8e3ea;
  --ink: #1c2a34;
  --muted: #587185;
  --rule: #bfd0dc;
  --accent: #1f6f9e;                       /* verzadigd daglichtblauw */
  --glow: rgba(88, 156, 203, 0.32);        /* koele lichtbron in de hero */
  --header-bg: rgba(230, 237, 242, 0.92);
}

/* --- Basis ------------------------------------------------------------- */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  /* Eén zachte lichtbron bovenaan — warm (3200K) of koel (5600K),
     op elke pagina, zodat beide thema's overal kleur hebben. */
  background:
    radial-gradient(60% 45% at 50% 0%, var(--glow), transparent 70%) no-repeat,
    var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* De 'kelvinlijn': hairline van tungsten naar daglicht.
   Terugkerend scheidingselement door de hele site. */
.kelvin {
  border: 0;
  height: 1px;
  margin: 0;
  background: linear-gradient(90deg, var(--tungsten), var(--daylight));
  opacity: 0.55;
}

/* --- Navigatie --------------------------------------------------------- */

.site-header { position: sticky; top: 0; z-index: 10; background: var(--header-bg); backdrop-filter: blur(8px); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  max-width: var(--maxw);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--font-slate);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
}
.brand img { width: 26px; height: auto; }

.nav-links { display: flex; gap: 1.4rem; margin: 0; padding: 0; list-style: none; }
.nav-links a {
  text-decoration: none;
  font-family: var(--font-slate);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent); }

/* --- Hero (home) -------------------------------------------------------- */

.hero {
  min-height: 82vh;
  display: flex;
  align-items: center;
  /* De lichtbron zelf komt van de body-achtergrond */
}

.hero-inner { width: 100%; text-align: center; padding: 4rem 1.25rem; }

.eyebrow {
  font-family: var(--font-slate);
  font-size: 0.8rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.2rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.4rem, 12vw, 8.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
}

.hero p.lead {
  max-width: 34rem;
  margin: 1.6rem auto 2.4rem;
  color: var(--muted);
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  font-family: var(--font-slate);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--rule);
  border-radius: 3px;
  transition: border-color 0.2s, color 0.2s;
}
.btn:hover { border-color: var(--accent); }
.btn-primary { border-color: var(--accent); color: var(--accent); }
.btn-primary:hover { background: var(--glow); }

/* --- Pagina-koppen ------------------------------------------------------ */

.page-head { padding: 4.5rem 0 2rem; }

.page-head h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  margin: 0.4rem 0 1rem;
}

.page-head .intro { max-width: 40rem; color: var(--muted); }

/* --- Over mij: rollen --------------------------------------------------- */

.role-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.8rem;
  align-items: center;
  padding: 3rem 0;
}

.role-block + .role-block { border-top: 1px solid var(--rule); }

/* Om en om: tekst links / rechts */
.role-block:nth-of-type(even) .role-media { order: -1; }

.role-block h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 0.35rem;
}

.role-block p { color: var(--muted); margin: 0; }
.role-block p + p { margin-top: 0.8rem; }

.role-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 3px;
  filter: brightness(0.94);
}

.cta-strip { text-align: center; padding: 3.5rem 0 1.5rem; }
.cta-strip p { color: var(--muted); margin: 0 0 1.4rem; }

@media (max-width: 720px) {
  .role-block { grid-template-columns: 1fr; gap: 1.4rem; }
  .role-block:nth-of-type(even) .role-media { order: 0; }
}

/* --- Portfolio ---------------------------------------------------------- */

.project { padding: 3.2rem 0; }

.project + .project { border-top: 1px solid var(--rule); }

.project h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 0.35rem;
}

/* 'Slate': productie-info in klapbord-stijl */
.slate {
  font-family: var(--font-slate);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.6rem;
}
.slate .role { color: var(--accent); }

.stills {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 10px;
}

.stills a {
  display: block;
  border-radius: 3px;
  overflow: hidden;
  background: var(--surface);
}

.stills img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: brightness(0.92);
  transition: filter 0.25s, transform 0.25s;
}
.stills a:hover img { filter: brightness(1.05); transform: scale(1.015); }

.note { color: var(--muted); font-size: 0.95rem; }

/* --- Lightbox ----------------------------------------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10, 8, 7, 0.94);
  padding: 2rem;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; width: auto; border-radius: 3px; }

/* --- Contact ------------------------------------------------------------ */

.contact-list { list-style: none; padding: 0; margin: 2.2rem 0; display: grid; gap: 1.1rem; }

.contact-list li {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1.1rem;
}

.contact-list .label {
  font-family: var(--font-slate);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 7.5rem;
}

.contact-list a { font-size: 1.15rem; text-decoration: none; }
.contact-list a:hover { color: var(--accent); }

/* 'Toon…'-knoppen: gegevens staan niet in de pagina tot er geklikt wordt */
.reveal {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--ink);
  border-bottom: 1px dashed var(--accent);
  transition: color 0.2s;
}
.reveal:hover { color: var(--accent); }

/* --- Footer ------------------------------------------------------------- */

.site-footer { margin-top: 4rem; }

.site-footer .inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.6rem 1.25rem 2.2rem;
  max-width: var(--maxw);
  margin: 0 auto;
  font-family: var(--font-slate);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* De kelvin-schakelaar: 3200K = donker thema, 5600K = licht thema */
.kelvin-toggle { display: flex; align-items: center; gap: 0.6rem; }

.kelvin-toggle button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-slate);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  transition: color 0.2s;
}
.kelvin-toggle button:hover { color: var(--accent); }
.kelvin-toggle button[aria-pressed="true"] {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
}

/* --- Toegankelijkheid & mobiel ------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stills img { transition: none; }
}

@media (max-width: 560px) {
  .nav { flex-direction: column; gap: 0.5rem; }
  .contact-list li { flex-direction: column; gap: 0.2rem; }
  .hero { min-height: 70vh; }
}
