/* ═══════════════════════════════════════════════════════════
   SADA Luxemburg B.V. — Vastgoedholding
   Premium real estate holding aesthetic
   ═══════════════════════════════════════════════════════════ */

/* ── Fonts ── */
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/assets/fonts/jetbrains-mono-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ── Custom properties ── */
:root {
  --navy: #0a4588;
  --navy-deep: #061d3a;
  --navy-light: #0d5aaa;
  --gold: #c9a96e;
  --gold-light: #d4ba88;
  --gold-muted: rgba(201, 169, 110, 0.15);
  --bg: #f8f6f2;
  --bg-alt: #f0ece6;
  --card: #ffffff;
  --card-border: #e8e4de;
  --text: #1a1a2e;
  --text-muted: #5a5a6e;
  --divider: #e0dcd4;
  --header-bg: rgba(248, 246, 242, 0.92);
  --shadow-sm: 0 1px 3px rgba(10, 69, 136, 0.06);
  --shadow-md: 0 4px 20px rgba(10, 69, 136, 0.08);
  --shadow-lg: 0 8px 40px rgba(10, 69, 136, 0.10);
  --radius: 6px;
  --max-w: 1120px;
  --transition: 0.3s ease;
}

[data-theme="dark"] {
  --navy: #3a8fd4;
  --navy-deep: #0b1929;
  --navy-light: #4a9fe4;
  --gold: #d4ba88;
  --gold-light: #e0cca0;
  --gold-muted: rgba(212, 186, 136, 0.12);
  --bg: #0f1923;
  --bg-alt: #152233;
  --card: #1a2a3d;
  --card-border: #253a52;
  --text: #e8e6e2;
  --text-muted: #8a9ab0;
  --divider: #253a52;
  --header-bg: rgba(15, 25, 35, 0.92);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.3);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
ul { list-style: none; }
::selection { background: var(--gold-muted); color: var(--navy-deep); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 4px; }

/* ── Skip link ── */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy); color: #fff; padding: 0.5rem 1rem; border-radius: var(--radius);
}
.skip:focus { left: 1rem; top: 1rem; }

/* ── Layout ── */
.inner { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* ══════════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  border-bottom-color: var(--divider);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 1.1rem; font-weight: 700; color: var(--text);
  letter-spacing: 0.04em; text-decoration: none;
}
.brand:hover { color: var(--navy); }
.brand img { width: 32px; height: 32px; }
.brand-name { text-transform: uppercase; }

/* Nav */
.site-header nav ul {
  display: flex; align-items: center; gap: 2rem;
}
.site-header nav a {
  font-size: 0.9rem; font-weight: 500; color: var(--text-muted);
  letter-spacing: 0.02em; transition: color var(--transition);
  position: relative;
}
.site-header nav a:hover,
.site-header nav a.active { color: var(--text); }
.site-header nav a.active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--gold); border-radius: 1px;
}
.site-header nav a.nav-cta {
  background: var(--navy); color: #fff; padding: 0.45rem 1.2rem;
  border-radius: var(--radius); font-weight: 600;
}
.site-header nav a.nav-cta:hover { background: var(--navy-light); color: #fff; }
.site-header nav a.nav-cta::after { display: none; }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 0.75rem; }

/* Theme toggle */
.theme-toggle {
  background: none; border: 1px solid var(--divider); border-radius: var(--radius);
  width: 36px; height: 36px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: all var(--transition);
}
.theme-toggle:hover { color: var(--gold); border-color: var(--gold); }
.theme-toggle svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: block; }

/* Mobile menu toggle */
.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 36px; height: 36px; position: relative;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-toggle span {
  display: block; width: 20px; height: 2px;
  background: var(--text); border-radius: 1px;
  transition: all var(--transition);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════ */
.hero {
  background: var(--navy-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 7rem 1.5rem 6rem;
  position: relative;
  z-index: 2;
}
.hero-sm .hero-inner { padding: 5rem 1.5rem 4rem; }
.hero-content { max-width: 700px; }
.hero-label {
  font-size: 0.85rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--gold);
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}
.hero-sub {
  font-size: 1.1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  max-width: 540px;
  margin-bottom: 2rem;
}
.hero-sub a { color: var(--gold-light); }
.hero-sub a:hover { color: #fff; }

/* Geometric grid pattern in hero (CSS only) */
.hero-pattern {
  position: absolute; inset: 0; z-index: 1;
  opacity: 0.06;
  background-image:
    linear-gradient(rgba(255,255,255,0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.4) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-accent-line {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--gold); z-index: 3;
}

/* Hero CTA button */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: inherit; font-size: 0.95rem; font-weight: 600;
  padding: 0.75rem 1.8rem;
  border: none; border-radius: var(--radius); cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-gold {
  background: var(--gold); color: var(--navy-deep);
}
.btn-gold:hover { background: var(--gold-light); color: var(--navy-deep); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ══════════════════════════════════════════════════════════
   SECTIONS
   ══════════════════════════════════════════════════════════ */
section { padding: 5rem 0; }
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-label {
  font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 650;
  color: var(--text);
  line-height: 1.25;
}
.section-header p {
  color: var(--text-muted);
  max-width: 540px;
  margin: 0.75rem auto 0;
}

/* Elegant divider */
.section-divider {
  max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem;
}
.section-divider::after {
  content: ''; display: block; height: 1px;
  background: linear-gradient(90deg, transparent, var(--divider) 20%, var(--divider) 80%, transparent);
}

/* ══════════════════════════════════════════════════════════
   CARDS
   ══════════════════════════════════════════════════════════ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2rem;
  border-top: 3px solid var(--gold);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.card h3 {
  font-size: 1.15rem; font-weight: 650;
  margin-bottom: 0.75rem;
  color: var(--text);
}
.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ══════════════════════════════════════════════════════════
   PILLARS (text blocks)
   ══════════════════════════════════════════════════════════ */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.pillar h3 {
  font-size: 1.1rem; font-weight: 650;
  margin-bottom: 0.5rem;
  color: var(--text);
  position: relative;
  padding-bottom: 0.75rem;
}
.pillar h3::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 32px; height: 2px; background: var(--gold);
}
.pillar p {
  color: var(--text-muted); font-size: 0.95rem; line-height: 1.65;
}

/* ══════════════════════════════════════════════════════════
   STATS
   ══════════════════════════════════════════════════════════ */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
  padding: 3rem 0;
}
.stat-value {
  font-size: 1.5rem; font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ══════════════════════════════════════════════════════════
   CTA SECTION
   ══════════════════════════════════════════════════════════ */
.cta-section {
  background: var(--navy-deep);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section .hero-pattern { opacity: 0.04; }
.cta-section .inner { position: relative; z-index: 2; }
.cta-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 650;
  margin-bottom: 0.75rem;
}
.cta-section p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
  max-width: 480px; margin-left: auto; margin-right: auto;
}

/* ══════════════════════════════════════════════════════════
   ABOUT PAGE
   ══════════════════════════════════════════════════════════ */
.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}
.about-text h2 {
  font-size: 1.6rem; font-weight: 650;
  margin-bottom: 1rem;
  color: var(--text);
}
.about-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.75;
}
.about-text p:last-child { margin-bottom: 0; }

.company-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2rem;
  border-left: 3px solid var(--gold);
}
.company-card h3 {
  font-size: 1rem; font-weight: 650;
  margin-bottom: 1rem;
  color: var(--text);
}
.company-card dl {
  display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1rem;
}
.company-card dt {
  font-size: 0.85rem; color: var(--text-muted); font-weight: 500;
}
.company-card dd {
  font-size: 0.9rem; color: var(--text); font-weight: 500;
}
.company-card .kvk {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
}

/* ══════════════════════════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════════════════════════ */
.contact-block {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.contact-block p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.75;
}
.email-display {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
}
.copy-btn {
  background: var(--bg-alt);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 0.4rem 0.9rem;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}
.copy-btn:hover { background: var(--gold-muted); color: var(--gold); border-color: var(--gold); }
.copy-btn.copied { background: var(--gold-muted); color: var(--gold); border-color: var(--gold); }

/* ══════════════════════════════════════════════════════════
   PRIVACY PAGE
   ══════════════════════════════════════════════════════════ */
.prose {
  max-width: 680px;
  margin: 0 auto;
}
.prose h2 {
  font-size: 1.3rem; font-weight: 650;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}
.prose h2:first-child { margin-top: 0; }
.prose p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.75;
}
.prose a { color: var(--navy); font-weight: 500; }
.prose a:hover { color: var(--gold); }

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.footer-brand a { color: var(--gold); }
.footer-brand a:hover { color: var(--gold-light); }
.footer-heading {
  color: #fff; font-size: 0.85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.footer-nav li, .footer-gegevens li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}
.footer-nav a { color: rgba(255,255,255,0.6); }
.footer-nav a:hover { color: var(--gold); }
.footer-gegevens .kvk {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
}
.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 2.5rem 0 1.5rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ══════════════════════════════════════════════════════════
   REVEAL ANIMATION
   ══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .menu-toggle { display: flex; }

  .site-header nav {
    position: fixed; inset: 0; top: 64px;
    background: var(--bg);
    padding: 2rem 1.5rem;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 99;
  }
  .site-header nav.open { transform: translateX(0); }
  .site-header nav ul { flex-direction: column; gap: 1.5rem; }
  .site-header nav a { font-size: 1.1rem; }
  .site-header nav a.nav-cta { text-align: center; display: block; }

  .hero-inner { padding: 5rem 1.5rem 4rem; }
  .hero h1 { font-size: 2rem; }

  .pillars { grid-template-columns: 1fr; gap: 2rem; }
  .stats { grid-template-columns: 1fr; gap: 1.5rem; }
  .card-grid { grid-template-columns: 1fr; }
  .about-content { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.25rem; }
}

@media (max-width: 480px) {
  .hero-inner { padding: 4rem 1.25rem 3rem; }
  section { padding: 3.5rem 0; }
  .email-display { flex-direction: column; gap: 0.75rem; font-size: 1rem; }
}

/* ══════════════════════════════════════════════════════════
   PRINT
   ══════════════════════════════════════════════════════════ */
@media print {
  .site-header, .site-footer, .hero-pattern, .hero-accent-line, .skip { display: none !important; }
  body { font-size: 11pt; background: #fff; color: #000; }
  .hero { background: #fff; color: #000; }
  .card { box-shadow: none; border: 1px solid #ccc; }
}
