/*
Theme Name: Sam de Joode
Description: Eigen thema voor Sam de Joode — fotografie & film. Navy/goud huisstijl, EB Garamond, één-pagina opzet.
Author: Gebouwd voor SDJ Media
Version: 1.0
Requires PHP: 8.0
License: Vrij voor eigen gebruik
Text Domain: samdejoode
*/

:root {
  --navy: #041327;
  --navy-soft: #0c2138;
  --gold: #cda762;
  --gold-soft: #e7d3a6;
  --cream: #f8f5ee;
  --paper: #fffdf9;
  --ink: #041327;
  --muted: #5b6474;
  --hairline: #dfd8c8;
  --serif: "EB Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --max: 1180px;
}
/* Brand is fixed en bewust gekozen; blijft gelijk onder het systeem-donkerthema
   in plaats van een ontworpen identiteit om te draaien. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --navy: #041327; --navy-soft: #0c2138; --gold: #cda762; --gold-soft: #e7d3a6;
    --cream: #f8f5ee; --paper: #fffdf9; --ink: #041327; --muted: #5b6474; --hairline: #dfd8c8;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--serif); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 22px; } }

/* ---------- Horizon-lijn motief: de gebogen streep uit het logo ---------- */
.horizon { display: block; overflow: visible; }
.horizon path { fill: none; stroke: currentColor; stroke-width: 2.4; }

/* ---------- Header ---------- */
header.site {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 32px; transition: background .4s ease, padding .4s ease, box-shadow .4s ease;
}
header.site.scrolled {
  background: rgba(248, 245, 238, 0.92); backdrop-filter: blur(8px);
  padding: 14px 32px; box-shadow: 0 1px 0 var(--hairline);
}
header.site .brand-mark { height: 34px; transition: opacity .3s ease; }
header.site .brand-mark.on-dark { display: none; }
header.site.scrolled .brand-mark.on-dark { display: none; }
header.site:not(.scrolled) .brand-mark.on-light { display: none; }
header.site:not(.scrolled) .brand-mark.on-dark { display: block; }
nav.primary { display: flex; align-items: center; gap: 40px; }
nav.primary a {
  text-decoration: none; font-size: 15.5px; letter-spacing: .01em;
  color: var(--paper); transition: color .35s ease, opacity .2s ease;
  padding-bottom: 3px; border-bottom: 1px solid transparent;
}
header.site.scrolled nav.primary a { color: var(--navy); }
nav.primary a:hover { border-bottom-color: var(--gold); }
nav.primary .cta {
  border: 1px solid var(--gold); border-radius: 999px; padding: 9px 22px;
  color: var(--paper);
}
header.site.scrolled nav.primary .cta { color: var(--navy); }
nav.primary .cta:hover { background: var(--gold); color: var(--navy); border-bottom-color: var(--gold); }
.nav-toggle { display: none; }

@media (max-width: 780px) {
  nav.primary { position: fixed; inset: 0; z-index: 60; background: var(--navy);
    flex-direction: column; justify-content: center; gap: 30px;
    transform: translateY(-100%); transition: transform .45s cubic-bezier(.7,0,.2,1); }
  nav.primary.open { transform: translateY(0); }
  nav.primary a { color: var(--cream); font-size: 22px; }
  .nav-toggle {
    display: block; z-index: 70; background: none; border: none; cursor: pointer;
    width: 30px; height: 22px; position: relative;
  }
  .nav-toggle span {
    position: absolute; left: 0; right: 0; height: 2px; background: var(--paper);
    transition: transform .3s ease, opacity .3s ease;
  }
  header.site.scrolled .nav-toggle span { background: var(--navy); }
  .nav-toggle.open span { background: var(--cream); }
  .nav-toggle span:nth-child(1){ top: 0; } .nav-toggle span:nth-child(2){ top: 10px; } .nav-toggle span:nth-child(3){ top: 20px; }
  .nav-toggle.open span:nth-child(1){ transform: translateY(10px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2){ opacity: 0; }
  .nav-toggle.open span:nth-child(3){ transform: translateY(-10px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(120% 140% at 15% 0%, var(--navy-soft), var(--navy) 60%);
  color: var(--paper); padding: 190px 0 130px;
  display: flex; flex-direction: column; align-items: flex-start;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -8%; top: -20%; width: 60%; aspect-ratio: 1;
  border: 1px solid rgba(205,167,98,.16); border-radius: 50%;
}
.hero::before {
  content: ""; position: absolute; right: 4%; top: 6%; width: 36%; aspect-ratio: 1;
  border: 1px solid rgba(205,167,98,.16); border-radius: 50%;
}
.hero .wrap { position: relative; }
.hero .eyebrow {
  color: var(--gold-soft); font-style: italic; font-size: 18px; margin: 0 0 22px;
  opacity: 0; animation: rise .9s .15s ease forwards;
}
.hero .word-logo { width: min(560px, 78vw); height: auto; margin-bottom: 30px;
  opacity: 0; animation: rise .9s .3s ease forwards; }
.hero h1 {
  font-weight: 400; font-size: clamp(24px, 3.4vw, 34px); max-width: 640px; margin: 0 0 44px;
  color: var(--cream); opacity: 0; animation: rise .9s .45s ease forwards;
}
.hero .actions { display: flex; gap: 18px; flex-wrap: wrap;
  opacity: 0; animation: rise .9s .6s ease forwards; }
.btn {
  display: inline-block; text-decoration: none; font-family: var(--serif);
  font-size: 16px; padding: 14px 30px; border-radius: 999px; transition: all .25s ease;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-line { border: 1px solid rgba(248,245,238,.5); color: var(--paper); }
.btn-line:hover { border-color: var(--gold); color: var(--gold-soft); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Section scaffolding ---------- */
section { padding: 108px 0; }
@media (max-width: 780px) { section { padding: 76px 0; } }
.label { letter-spacing: .02em; color: var(--muted); font-style: italic; font-size: 16px; margin: 0 0 10px; }
h2 { font-weight: 500; font-size: clamp(28px, 3.2vw, 40px); margin: 0 0 8px; }

/* ---------- Over ---------- */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; align-items: start; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 30px; } }
.about-grid blockquote {
  margin: 0; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.42; font-weight: 400;
  color: var(--navy);
}
.about-grid .support { color: var(--muted); font-size: 16.5px; max-width: 46ch; }
.about-grid .support p { margin: 0 0 18px; }

/* ---------- Diensten ---------- */
.services { border-top: 1px solid var(--hairline); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.service { padding: 52px 44px; border-left: 1px solid var(--hairline); }
.service:first-child { border-left: none; padding-left: 0; }
.service:last-child { padding-right: 0; }
@media (max-width: 860px) {
  .services-grid { grid-template-columns: 1fr; }
  .service { border-left: none; border-top: 1px solid var(--hairline); padding: 40px 0; }
  .service:first-child { border-top: none; }
}
.service h3 { font-weight: 500; font-size: 24px; margin: 0 0 14px; }
.service .horizon { color: var(--gold); width: 64px; height: 14px; margin-bottom: 18px; }
.service p { color: var(--muted); margin: 0; font-size: 16px; }

/* ---------- Werk / placeholders ---------- */
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 860px) { .work-grid { grid-template-columns: 1fr; } }
.frame {
  aspect-ratio: 4/5; border-radius: 2px; position: relative; overflow: hidden;
  display: flex; align-items: flex-end; padding: 26px; color: var(--cream);
  background-size: cover; background-position: center;
}
.frame span.tag { font-style: italic; font-size: 17px; position: relative; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.frame.placeholder::after {
  content: "Eigen beeldmateriaal hier"; position: absolute; top: 20px; left: 26px;
  font-size: 12.5px; letter-spacing: .04em; color: rgba(248,245,238,.55);
}
.f1 { background-image: linear-gradient(155deg, #12253c 0%, #041327 55%, #2a2115 130%); }
.f2 { background-image: linear-gradient(155deg, #17314f 0%, #0a1c30 60%, #041327 130%); }
.f3 { background-image: linear-gradient(155deg, #1d2b1f 0%, #10202f 55%, #041327 130%); }

/* ---------- Werkwijze ---------- */
.steps { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; }
@media (max-width: 860px) { .steps-grid { grid-template-columns: 1fr; gap: 36px; } }
.step .num { font-style: italic; color: var(--gold); font-size: 17px; margin-bottom: 10px; display: block; }
.step h4 { font-weight: 500; font-size: 20px; margin: 0 0 8px; }
.step p { color: var(--muted); margin: 0; font-size: 15.5px; }

/* ---------- Contact ---------- */
.contact {
  background: var(--navy); color: var(--paper);
  position: relative; overflow: hidden;
}
.contact::after {
  content: ""; position: absolute; left: -10%; bottom: -30%; width: 55%; aspect-ratio: 1;
  border: 1px solid rgba(205,167,98,.14); border-radius: 50%;
}
.contact .wrap { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; }
@media (max-width: 860px) { .contact .wrap { grid-template-columns: 1fr; gap: 36px; } }
.contact h2 { color: var(--cream); }
.contact .label { color: var(--gold-soft); }
.contact p.lead { color: rgba(248,245,238,.8); font-size: 18px; max-width: 40ch; }
.contact .details { display: flex; flex-direction: column; gap: 22px; }
.contact .details a { text-decoration: none; font-size: 18px; color: var(--cream); border-bottom: 1px solid rgba(205,167,98,.35); padding-bottom: 3px; width: fit-content; }
.contact .details a:hover { border-color: var(--gold); color: var(--gold-soft); }
.contact .details .meta { color: rgba(248,245,238,.55); font-size: 14.5px; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy); color: rgba(248,245,238,.6);
  padding: 30px 0; border-top: 1px solid rgba(205,167,98,.18);
}
footer.site-footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer.site-footer .wm { height: 26px; opacity: .85; }
footer.site-footer .legal { font-size: 13px; }
footer.site-footer nav { display: flex; gap: 24px; }
footer.site-footer nav a { text-decoration: none; font-size: 13.5px; color: rgba(248,245,238,.6); }
footer.site-footer nav a:hover { color: var(--gold-soft); }
