/* ==========================================================================
   FotoVervuurt — stylesheet
   Palette: warm ivory / charcoal / soft bronze. Type: Cormorant Garamond + Jost
   ========================================================================== */

/* ---- Fonts (self-hosted) ---- */
@font-face { font-family: 'Cormorant Garamond'; src: url('../fonts/CormorantGaramond-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('../fonts/CormorantGaramond-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('../fonts/CormorantGaramond-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('../fonts/CormorantGaramond-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('../fonts/CormorantGaramond-500-italic.woff2') format('woff2'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('../fonts/Jost-300.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('../fonts/Jost-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('../fonts/Jost-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }

/* ---- Tokens ---- */
:root {
  --bg: #faf7f2;
  --bg-alt: #f2ede4;
  --ink: #23211c;
  --ink-soft: #4c483f;
  --muted: #8a8578;
  --accent: #a58e6f;
  --line: #e4ddd0;
  --white: #fffdf9;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1200px;
  --wrap-narrow: 720px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); line-height: 1.15; }
strong { font-weight: 500; color: var(--ink); }
::selection { background: var(--accent); color: var(--white); }

.container { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }
.container--narrow { max-width: var(--wrap-narrow); }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--alt { background: var(--bg-alt); }
.center { text-align: center; }

.eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.section-title { font-size: clamp(2rem, 4.5vw, 3.1rem); margin-bottom: 1.4rem; }
.section-title em { font-style: italic; font-weight: 400; }
.lead { font-size: 1.125rem; max-width: 46em; }
.center .lead { margin-inline: auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 0.95rem 2.2rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.btn:hover { background: var(--ink); color: var(--white); }
.btn--solid { background: var(--ink); color: var(--white); }
.btn--solid:hover { background: var(--accent); border-color: var(--accent); }
.btn--light { border-color: var(--white); color: var(--white); }
.btn--light:hover { background: var(--white); color: var(--ink); }

.text-link {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 0.3rem;
  transition: color 0.3s;
}
.text-link:hover { color: var(--accent); }

/* ---- Header ---- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.35s, box-shadow 0.35s;
}
.header__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 1.4rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--ink);
}
.brand__sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.nav { display: flex; gap: 2.4rem; }
.nav a {
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 0.35rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, color 0.3s;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--accent); }

/* transparent variant over hero */
.header--overlay:not(.is-scrolled):not(.is-open) { background: linear-gradient(rgba(20,18,14,0.35), transparent); }
.header--overlay:not(.is-scrolled):not(.is-open) .brand__name,
.header--overlay:not(.is-scrolled):not(.is-open) .nav a,
.header--overlay:not(.is-scrolled):not(.is-open) .nav-toggle { color: var(--white); }
.header--overlay:not(.is-scrolled):not(.is-open) .brand__sub { color: rgba(255,253,249,0.75); }
.header.is-scrolled, .header--solid { background: rgba(250,247,242,0.94); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line); }
/* backdrop-filter would make the header the containing block for the
   fixed fullscreen nav — disable it while the menu is open */
.header.is-open { backdrop-filter: none; box-shadow: none; }

/* mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  z-index: 110;
  padding: 0.4rem;
}
.nav-toggle svg { display: block; }
.nav-toggle .icon-close { display: none; }
.header.is-open .icon-burger { display: none; }
.header.is-open .icon-close { display: block; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background: var(--bg);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s;
  }
  .nav a { font-size: 1rem; color: var(--ink) !important; }
  .header.is-open .nav { opacity: 1; visibility: visible; }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  isolation: isolate;
  padding: 7rem var(--pad) 5rem;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero__bg.is-active { opacity: 1; }
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(rgba(24,21,16,0.38), rgba(24,21,16,0.18) 45%, rgba(24,21,16,0.45));
}
.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255,253,249,0.85);
  margin-bottom: 1.6rem;
}
.hero__title {
  font-size: clamp(2.6rem, 7.5vw, 5.4rem);
  font-weight: 500;
  color: var(--white);
  max-width: 14em;
  margin-inline: auto;
}
.hero__title em { font-style: italic; font-weight: 400; }
.hero__sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  color: rgba(255,253,249,0.9);
  margin-top: 1.2rem;
}
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2.6rem; }
.hero__scroll {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 1rem;
  opacity: 0.95;
}
.hero__scroll svg { animation: bob 2s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .hero__scroll svg { animation: none; } }

/* ---- Page head (subpages) ---- */
.page-head { padding: 10rem var(--pad) 4rem; text-align: center; }
.page-head h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
.page-head .lead { margin: 1.2rem auto 0; }

/* ---- Category grid ---- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
}
.cat-card { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1); }
.cat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 55%, rgba(24,21,16,0.55));
  transition: background 0.4s;
}
.cat-card:hover img { transform: scale(1.05); }
.cat-card__label {
  position: absolute;
  z-index: 1;
  bottom: 1.6rem;
  left: 1.8rem;
  right: 1.8rem;
  color: var(--cat-label, var(--white));
}
.cat-card__label h2,
.cat-card__label h3 { font-size: 1.7rem; color: var(--cat-label, var(--white)); font-weight: 500; }
.cat-card__label span {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cat-label, rgba(255,253,249,0.85));
  opacity: 0.9;
}

/* ---- Split (image + text) ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split--flip .split__media { order: 2; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
}
.split__body p + p { margin-top: 1.1rem; }
.split__body .btn, .split__body .text-link { margin-top: 2rem; display: inline-block; }

/* ---- Steps ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-top: 3.5rem;
  text-align: left;
}
.step__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.6rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1rem;
}
.step h3 { font-size: 1.45rem; margin-bottom: 0.7rem; }

/* ---- Pricing ---- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: clamp(1.2rem, 2vw, 1.6rem);
  margin-top: 3rem;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2.6rem 2.2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.price-card--featured { border-color: var(--accent); }
.price-card__tag {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
  min-height: 1em;
}
.price-card h3 { font-size: 1.55rem; }
.price-card__price {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 500;
  color: var(--ink);
  margin: 1rem 0 0.2rem;
}
.price-card__price small { font-size: 0.9rem; font-family: var(--sans); font-weight: 300; color: var(--muted); letter-spacing: 0.05em; }
.price-card ul { list-style: none; margin: 1.6rem 0 2rem; flex: 1; }
.price-card li { padding: 0.5rem 0; border-top: 1px solid var(--line); font-size: 0.98rem; }
.price-card li:last-child { border-bottom: 1px solid var(--line); }
.price-card .btn { align-self: center; }

.price-note { margin-top: 1.6rem; font-size: 0.92rem; color: var(--muted); }

.brochure-links { display: flex; flex-wrap: wrap; gap: 0.8rem 2.2rem; justify-content: center; margin-top: 3rem; }

/* ---- Snelnavigatie prijzen (feedbackronde 3) ---- */
.price-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; max-width: var(--wrap-narrow); margin: 0 auto; padding-inline: var(--pad); }
.price-jump a {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.price-jump a:hover, .price-jump a:focus-visible { background: var(--ink); border-color: var(--ink); color: var(--white); }
.section[id] { scroll-margin-top: 6rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---- Portfolio-preview onder prijssectie ---- */
.price-portfolio {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.2rem;
  margin-top: 2.2rem;
}
.price-portfolio a img {
  width: clamp(90px, 12vw, 140px);
  height: clamp(90px, 12vw, 140px);
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.price-portfolio a:hover img { transform: scale(1.04); }
.price-portfolio .text-link { flex-basis: 100%; text-align: center; margin-top: 0.4rem; }

.terms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: clamp(1.5rem, 2.5vw, 2rem);
  margin-top: 3rem;
}
.term h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.term p { font-size: 0.98rem; }

/* ---- Quote band ---- */
.quote-band { text-align: center; }
.quote-band blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  font-weight: 400;
  color: var(--ink);
  max-width: 26em;
  margin: 0 auto;
  line-height: 1.4;
}
.quote-band figcaption {
  margin-top: 1.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---- CTA band ---- */
.cta-band {
  position: relative;
  isolation: isolate;
  text-align: center;
  color: var(--white);
  padding-block: clamp(5rem, 10vw, 8rem);
}
.cta-band__bg { position: absolute; inset: 0; z-index: -1; object-fit: cover; width: 100%; height: 100%; }
.cta-band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(24,21,16,0.55); }
.cta-band h2 { color: var(--white); font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 1rem; }
.cta-band p { color: rgba(255,253,249,0.85); max-width: 36em; margin: 0 auto 2.4rem; }

/* ---- Gallery (masonry) ---- */
.gallery { columns: 3 300px; column-gap: 1.2rem; }
.gallery__item { break-inside: avoid; margin-bottom: 1.2rem; display: block; position: relative; overflow: hidden; cursor: zoom-in; }
.gallery__item img { width: 100%; transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1), opacity 0.3s; }
.gallery__item:hover img { transform: scale(1.03); }

/* ---- Lightbox ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20,18,14,0.95);
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 86vh; width: auto; height: auto; box-shadow: 0 20px 80px rgba(0,0,0,0.5); }
.lightbox__btn {
  position: absolute;
  background: none;
  border: 0;
  color: rgba(255,253,249,0.85);
  cursor: pointer;
  padding: 1rem;
  transition: color 0.3s;
}
.lightbox__btn:hover { color: var(--white); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 0.5rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 0.5rem; top: 50%; transform: translateY(-50%); }
.lightbox__count {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,253,249,0.7);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
}

/* ---- Gallery nav (prev/next category) ---- */
.gal-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3.5rem; }

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info h3 { font-size: 1.3rem; margin: 1.8rem 0 0.4rem; }
.contact-info h3:first-of-type { margin-top: 0; }
.contact-info a:not(.btn) { border-bottom: 1px solid var(--line); transition: border-color 0.3s; }
.contact-info a:not(.btn):hover { border-color: var(--accent); }

form .field { margin-bottom: 1.4rem; }
form label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
form input, form textarea, form select {
  width: 100%;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.85rem 1rem;
  transition: border-color 0.3s;
}
form input:focus, form textarea:focus, form select:focus { outline: none; border-color: var(--accent); }
form textarea { min-height: 9rem; resize: vertical; }
.form-error { color: #a33a2a; margin: 0.6rem 0 0.2rem; }
.cf-turnstile { margin: 0.4rem 0 1rem; }

/* ---- Footer ---- */
.footer { background: #201d18; color: #b5ae9f; padding-top: clamp(3.5rem, 7vw, 5.5rem); font-size: 0.95rem; }
.footer a { transition: color 0.3s; }
.footer a:hover { color: var(--white); }
.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer h3 {
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.footer .brand__name { color: var(--white); }
.footer .brand__sub { color: #857e6e; }
.footer ul { list-style: none; }
.footer li { padding: 0.25rem 0; }
.footer__bottom {
  border-top: 1px solid #37332b;
  padding: 1.6rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: #857e6e;
}

/* ---- Cookie banner ---- */
.cookie-banner {
  position: fixed;
  z-index: 150;
  bottom: 1.2rem;
  left: 1.2rem;
  right: 1.2rem;
  max-width: 26rem;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(24,21,16,0.14);
  padding: 1.6rem;
  font-size: 0.9rem;
  display: none;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin-bottom: 1.1rem; }
.cookie-banner__actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.cookie-banner .btn { padding: 0.6rem 1.3rem; font-size: 0.68rem; }

/* ---- Reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---- Utilities ---- */
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
