/* ═══════════════════════════════════════════════
   JustInspiration — Gedeeld designsysteem
   Donker, cinematisch, premium. Huisstijl:
   navy #1E2D52 · beige #E8E2D6 · Cormorant + DM Sans
   ═══════════════════════════════════════════════ */

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

:root {
  --bg:            #07080C;
  --bg-card:       rgba(16, 24, 44, 0.72);
  --bg-featured:   rgba(24, 36, 66, 0.85);
  --border:        rgba(61, 80, 128, 0.28);
  --border-feat:   rgba(232, 226, 214, 0.22);
  --txt:           #F3EFE8;
  --txt-sub:       rgba(243, 239, 232, 0.58);
  --txt-muted:     rgba(243, 239, 232, 0.35);
  --beige:         #E8E2D6;
  --beige-lt:      #F3EFE8;
  --blue-dk:       #1E2D52;
  --blue-mid:      #2C3E6B;
  --blue-lt:       #3D5080;
  --ink:           #1A1C24;
  --r-xl:          22px;
  --r-lg:          14px;
  --r-sm:          8px;
  --ease:          cubic-bezier(.22,.61,.36,1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--txt);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

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

::selection { background: rgba(232,226,214,.25); }

/* ── Ambient glows ── */
.glow-tl, .glow-br {
  position: fixed; border-radius: 50%;
  pointer-events: none; z-index: 0;
}
.glow-tl {
  width: 800px; height: 700px; top: -220px; left: -200px;
  background: radial-gradient(ellipse, rgba(30,45,82,.35) 0%, transparent 70%);
}
.glow-br {
  width: 600px; height: 600px; bottom: -150px; right: -120px;
  background: radial-gradient(ellipse, rgba(44,62,107,.22) 0%, transparent 70%);
}

/* ═══ NAVIGATIE ═══ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 44px;
  background: rgba(7,8,12,.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(61,80,128,.14);
  transition: border-color .3s;
}
nav.scrolled { border-bottom-color: rgba(61,80,128,.3); }

.nav-brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--txt);
}
.nav-brand img { height: 40px; width: auto; }
.nav-brand-txt {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 300; letter-spacing: .09em;
}
.nav-brand-txt em { font-style: italic; color: var(--beige); }

.nav-links {
  display: flex; align-items: center; gap: 6px;
  list-style: none;
}
.nav-links a:not(.nav-cta) {
  padding: 8px 16px; border-radius: 50px;
  color: var(--txt-sub); text-decoration: none;
  font-size: 14px; font-weight: 500; letter-spacing: .03em;
  transition: color .2s, background .2s;
}
.nav-links a:not(.nav-cta):hover { color: var(--txt); background: rgba(232,226,214,.05); }
.nav-links a.active { color: var(--beige); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 22px; margin-left: 10px;
  border: 1px solid var(--border-feat); border-radius: 50px;
  color: var(--beige); text-decoration: none;
  font-size: 13px; font-weight: 500; letter-spacing: .04em;
  transition: background .25s, transform .25s;
}
.nav-cta:hover { background: rgba(232,226,214,.07); transform: translateY(-1px); }

/* Hamburger */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 10px; color: var(--txt);
}

/* Tussenmaat: 7 nav-items compacter houden */
@media (max-width: 1220px) and (min-width: 781px) {
  .nav-links a:not(.nav-cta) { padding: 8px 10px; font-size: 13px; }
  .nav-cta { padding: 8px 16px; font-size: 12.5px; margin-left: 4px; }
  .nav-brand-txt { display: none; }
}

/* ═══ TYPOGRAFIE ═══ */
h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300; line-height: 1.05; letter-spacing: -.01em;
}
h1 em, h2 em, h3 em { font-style: italic; color: var(--beige); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 18px;
  border: 1px solid rgba(232,226,214,.18); border-radius: 50px;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--beige); opacity: .75; margin-bottom: 26px;
}
.eyebrow::before { content: '✦'; font-size: 7px; }

.section-head { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(38px, 5vw, 58px); margin-bottom: 16px; }
.section-head p { font-size: 16px; color: var(--txt-sub); line-height: 1.7; }

/* ═══ SECTIES & LAYOUT ═══ */
.section { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 96px 24px; }
.section-tight { padding: 64px 24px; }

/* ═══ KNOPPEN ═══ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 32px; border-radius: 50px; border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; font-weight: 500; letter-spacing: .03em;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
}
.btn-prim { background: var(--beige); color: var(--ink); }
.btn-prim:hover {
  background: var(--beige-lt); transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(232,226,214,.2);
}
.btn-sec {
  background: transparent;
  border: 1px solid rgba(232,226,214,.22); color: var(--txt);
}
.btn-sec:hover {
  border-color: rgba(232,226,214,.45);
  background: rgba(232,226,214,.06); transform: translateY(-3px);
}
.btn-sm { padding: 11px 24px; font-size: 13.5px; }

/* ═══ KAARTEN ═══ */
/* Bewust géén backdrop-filter op kaarten: tientallen blur-lagen
   maken scrollen traag. Nav en lightbox houden de blur wel. */
.card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 36px 34px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 64px rgba(0,0,0,.45);
}
.card.featured {
  background: var(--bg-featured);
  border-color: var(--border-feat);
  box-shadow: 0 0 0 1px rgba(232,226,214,.05), 0 8px 40px rgba(28,42,78,.5);
}
.card.featured:hover {
  box-shadow: 0 28px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(232,226,214,.18);
}

.ci {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(61,80,128,.18);
  border: 1px solid rgba(61,80,128,.28); border-radius: var(--r-lg);
  margin-bottom: 22px; color: var(--beige);
}

.badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--beige); color: var(--ink);
  font-size: 10.5px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase;
  padding: 5px 16px; border-radius: 50px; white-space: nowrap;
}

/* ═══ SCROLL REVEAL ═══ */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.in { opacity: 1; transform: translateY(0); }
.rv-d1 { transition-delay: .08s; }
.rv-d2 { transition-delay: .16s; }
.rv-d3 { transition-delay: .24s; }

/* ═══ CTA-BAND ═══ */
.cta-band {
  background: var(--bg-featured);
  border: 1px solid var(--border-feat); border-radius: var(--r-xl);
  padding: 72px 48px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
  width: 70%; height: 100%;
  background: radial-gradient(ellipse, rgba(28,42,78,.55) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(38px, 5.5vw, 60px); margin-bottom: 18px; }
.cta-band p { font-size: 16px; color: var(--txt-sub); max-width: 460px; margin: 0 auto 36px; line-height: 1.7; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cta-note { margin-top: 24px; font-size: 12.5px; color: var(--txt-muted); }

/* ═══ REVIEWS ═══ */
.review-agg {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 14.5px; color: var(--txt-sub);
  margin-top: 4px;
}
.review-agg strong { color: var(--txt); font-weight: 600; }
.review-stars {
  display: inline-flex; gap: 2px;
  color: #E7C878;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 30px 28px;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.review-card:hover { transform: translateY(-4px); box-shadow: 0 20px 56px rgba(0,0,0,.4); }
.review-card .review-stars { margin-bottom: 16px; }
.review-card p {
  font-size: 14.5px; color: var(--txt-sub); line-height: 1.75;
  flex: 1; margin-bottom: 20px;
}
.review-card footer {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  border-top: 1px solid rgba(61,80,128,.18);
  padding: 14px 0 0; max-width: none; margin: 0;
}
.review-card cite {
  font-style: normal; font-weight: 600;
  font-size: 14px; color: var(--txt);
}
.review-project {
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--txt-muted);
}
.review-cta {
  text-align: center; margin-top: 32px;
  font-size: 14px; color: var(--txt-sub);
}
.review-cta a { color: var(--beige); }
@media (max-width: 900px) {
  .reviews-grid { grid-template-columns: 1fr; }
}

/* ═══ FOOTER ═══ */
footer {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(61,80,128,.14);
  padding: 56px 44px 32px;
  max-width: 1240px; margin: 0 auto;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; margin-bottom: 28px;
  border-bottom: 1px solid rgba(61,80,128,.14);
}
.footer-brand img { height: 52px; margin-bottom: 16px; }
.footer-brand p { font-size: 13.5px; color: var(--txt-sub); max-width: 300px; line-height: 1.7; }
.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  color: var(--txt-muted); margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--txt-sub); text-decoration: none; font-size: 14px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--beige); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
  font-size: 12px; color: var(--txt-muted);
}

/* ═══ FORMULIEREN ═══ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 12px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--txt-sub);
}
.form-field label span { color: var(--beige); }
.form-field input, .form-field select, .form-field textarea {
  background: rgba(18,28,52,.45);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 15px 18px;
  color: var(--txt);
  font-family: 'DM Sans', sans-serif; font-size: 15px;
  transition: border-color .25s, box-shadow .25s;
  width: 100%;
  -webkit-appearance: none; appearance: none;
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: rgba(232,226,214,.45);
  box-shadow: 0 0 0 3px rgba(232,226,214,.08);
}
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23E8E2D6' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
  cursor: pointer;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  nav { padding: 12px 20px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 64px; left: 12px; right: 12px;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(10,13,22,.97);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--border); border-radius: var(--r-xl);
    padding: 14px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-links a:not(.nav-cta) { padding: 13px 18px; font-size: 15px; }
  .nav-cta { margin: 8px 4px 2px; justify-content: center; }
  .section { padding: 72px 20px; }
  .cta-band { padding: 52px 24px; }
  footer { padding: 44px 20px 26px; }
}

/* ═══ REDUCED MOTION ═══ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .rv { opacity: 1; transform: none; }
}
