/* ─────────────────────────────────────────────────────────────
   VinceVastgoed — gedeelde basis
   Kleuren, typografie, nav, footer, knoppen en kaarten die op
   meerdere pagina's terugkomen. Pagina-eigen stijlen staan
   inline in de pagina zelf.
   ───────────────────────────────────────────────────────────── */

:root {
  --navy:      #0A1628;
  --navy-mid:  #1B3A5C;
  --gold:      #C8A96E;
  --gold-deep: #8B6811;
  --cream:     #F5F4F0;
  --cream-alt: #EFF0EB;
  --nav-h:     70px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 24px); }

img { max-width: 100%; }

body {
  background-color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  color: var(--navy);
  overflow-x: hidden;
}

/* Fijne ruis over de hele pagina, geeft de vlakken diepte */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ── Glas ──────────────────────────────────────────────────── */
.glass {
  background: rgba(255,255,255,0.70);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.88);
  box-shadow: 0 4px 24px rgba(10,22,40,0.07), 0 1px 4px rgba(10,22,40,0.04), inset 0 1px 0 rgba(255,255,255,0.95);
}
.glass-warm {
  background: rgba(255,252,248,0.78);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.90);
  box-shadow: 0 4px 24px rgba(10,22,40,0.07), 0 1px 4px rgba(10,22,40,0.04), inset 0 1px 0 rgba(255,255,255,0.95);
}
.glass-pill {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  border: 1px solid rgba(255,255,255,0.96);
  box-shadow: 0 8px 32px rgba(10,22,40,0.11), 0 2px 8px rgba(10,22,40,0.06), inset 0 1px 0 rgba(255,255,255,1);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
  user-select: none;
}
.glass-pill:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 18px 48px rgba(10,22,40,0.15), 0 4px 12px rgba(10,22,40,0.08), inset 0 1px 0 rgba(255,255,255,1);
}
.glass-pill:active { transform: translateY(-1px) scale(1.01); }
.glass-pill:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ── Achtergrondgloed ──────────────────────────────────────── */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

/* ── Animaties ─────────────────────────────────────────────── */
@keyframes bob  { 0%,100% { transform: translateY(0) rotate(0deg); } 33% { transform: translateY(-9px) rotate(0.5deg); } 66% { transform: translateY(-5px) rotate(-0.3deg); } }
@keyframes bob2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.bob1 { animation: bob  6s ease-in-out infinite; }
.bob2 { animation: bob2 8s ease-in-out infinite 1.2s; }
.bob3 { animation: bob  7s ease-in-out infinite 2.4s; }

@keyframes riseUp    { from { opacity: 0; transform: translateY(28px); }  to { opacity: 1; transform: translateY(0); } }
@keyframes fadeRight { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeLeft  { from { opacity: 0; transform: translateX(24px); }  to { opacity: 1; transform: translateX(0); } }
@keyframes popIn     { from { opacity: 0; transform: scale(0.90); }       to { opacity: 1; transform: scale(1); } }

.rise  { animation: riseUp    0.75s cubic-bezier(0.22,1,0.36,1) both; }
.right { animation: fadeRight 0.75s cubic-bezier(0.22,1,0.36,1) both; }
.left  { animation: fadeLeft  0.75s cubic-bezier(0.22,1,0.36,1) both; }
.pop   { animation: popIn     0.75s cubic-bezier(0.22,1,0.36,1) both; }

.d0 { animation-delay: 0ms; }   .d1 { animation-delay: 100ms; } .d2 { animation-delay: 200ms; }
.d3 { animation-delay: 300ms; } .d4 { animation-delay: 400ms; } .d5 { animation-delay: 500ms; }
.d6 { animation-delay: 600ms; } .d7 { animation-delay: 700ms; } .d8 { animation-delay: 800ms; }

@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.scroll-line { animation: scrollLine 2.2s ease-in-out infinite; }

/* ── Navigatie ─────────────────────────────────────────────── */
.nav-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(245,244,240,0.82);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(10,22,40,0.07);
  transition: box-shadow 0.3s ease;
}
.nav-wrap.scrolled { box-shadow: 0 2px 28px rgba(10,22,40,0.09); }
.nav-inner {
  position: relative;
  max-width: 1240px; margin: 0 auto;
  padding: 0 44px; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 600;
  color: var(--navy); letter-spacing: -0.01em;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 2px; }
/* Midden van de balk, niet het midden van de resterende ruimte */
.nav-links { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 38px; align-items: center; }
.nav-link {
  position: relative;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 400;
  color: var(--navy); text-decoration: none;
  opacity: 0.62; white-space: nowrap;
  transition: opacity 0.2s ease; cursor: pointer;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.25s ease;
}
.nav-link:hover { opacity: 1; }
.nav-link:hover::after { width: 100%; }
.nav-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 2px; }
.nav-link.is-current { opacity: 1; border-bottom: 1.5px solid var(--gold); padding-bottom: 2px; }

.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; padding: 6px; cursor: pointer;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-hamburger:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: rgba(245,244,240,0.97);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  z-index: 198;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 28px;
}
.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px; font-weight: 500;
  color: var(--navy); text-decoration: none;
  opacity: 0.82; letter-spacing: -0.01em;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.mobile-menu a:hover { opacity: 1; color: var(--gold); }
.mobile-menu a.is-current { color: var(--gold); opacity: 1; }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  padding: 28px 44px; background: var(--navy);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.site-footer .foot-logo { font-family: 'Cormorant Garamond', serif; font-size: 19px; font-weight: 600; color: rgba(255,255,255,0.9); }
.site-footer .foot-meta { font-family: 'DM Sans', sans-serif; font-size: 12px; color: rgba(255,255,255,0.32); }

/* ── Knoppen ───────────────────────────────────────────────── */
.btn-navy {
  background: var(--navy); color: #fff; border: none;
  padding: 12px 28px; border-radius: 100px;
  font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 14px;
  letter-spacing: 0.025em; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center;
  box-shadow: 0 4px 20px rgba(10,22,40,0.28);
  transition: background 0.2s ease, transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.2s ease;
}
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(10,22,40,0.38); }
.btn-navy:active { transform: translateY(0); }
.btn-navy:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.btn-ghost {
  background: transparent; color: var(--navy);
  border: 1px solid rgba(10,22,40,0.20);
  padding: 11px 24px; border-radius: 100px;
  font-family: 'DM Sans', sans-serif; font-weight: 400; font-size: 14px;
  cursor: pointer; text-decoration: none; display: inline-flex; align-items: center;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
.btn-ghost:hover { border-color: var(--gold); background: rgba(200,169,110,0.07); transform: translateY(-2px); }
.btn-ghost:active { transform: translateY(0); }
.btn-ghost:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.btn-gold-ghost {
  background: transparent; color: var(--gold);
  border: 1px solid rgba(200,169,110,0.45);
  padding: 11px 28px; border-radius: 100px;
  font-family: 'DM Sans', sans-serif; font-weight: 400; font-size: 14px;
  cursor: pointer; text-decoration: none; display: inline-flex; align-items: center;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
.btn-gold-ghost:hover { border-color: var(--gold); background: rgba(200,169,110,0.10); transform: translateY(-2px); }
.btn-gold-ghost:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ── Kaarten met hover ─────────────────────────────────────── */
.exp-card { transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.35s ease; }
.exp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(10,22,40,0.13), 0 6px 20px rgba(10,22,40,0.07), inset 0 1px 0 rgba(255,255,255,0.95);
}
.contact-card { transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.35s ease; }
.contact-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 60px rgba(10,22,40,0.14), 0 6px 20px rgba(10,22,40,0.07), inset 0 1px 0 rgba(255,255,255,0.95);
}

/* ── Kleine bouwstenen ─────────────────────────────────────── */
.hbadge {
  display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, rgba(200,169,110,0.16), rgba(200,169,110,0.07));
  border: 1px solid rgba(200,169,110,0.38);
  border-radius: 100px; padding: 6px 15px;
  font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 500;
  color: var(--gold-deep); letter-spacing: 0.07em; text-transform: uppercase;
}
.section-label { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.section-label-bar { width: 3px; height: 28px; background: linear-gradient(to bottom, var(--gold), rgba(200,169,110,0.15)); border-radius: 2px; flex-shrink: 0; }
.section-label-text { font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.gold-line { width: 48px; height: 2px; background: linear-gradient(90deg, var(--gold), rgba(200,169,110,0.2)); border-radius: 1px; }

/* ── Scrollbalk ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: #C4D4E3; border-radius: 10px; }

/* ── Mobiel ────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-inner { padding: 0 20px; }
  .nav-links, .nav-cta-btn { display: none; }
  .nav-hamburger { display: flex; }
  .site-footer { padding: 24px 20px; justify-content: center; text-align: center; }
}

@media (max-width: 768px) {
  /* Secties: minder lucht, geen vaste kolombreedtes */
  section { padding-left: 20px !important; padding-right: 20px !important; }
  .stack-mobile { flex-direction: column !important; align-items: stretch !important; gap: 32px !important; }
  .grid-mobile  { grid-template-columns: 1fr !important; gap: 28px !important; }
  .fixed-col    { flex: 1 1 auto !important; width: 100% !important; }
  .hide-mobile  { display: none !important; }
}

/* ── Rust voor wie dat instelt ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
