/* ═══════════════════════════════════════════
   SPRUIT IN COMPANY TRAININGEN
   Gedeelde stijlen voor alle pagina's
   ═══════════════════════════════════════════ */

/* ─── CSS VARIABELEN ─── */
:root {
  --ink: #1a1a18;
  --paper: #f5f2eb;
  --accent: #c8602a;
  --accent-light: #e8835a;
  --muted: #8a8478;
  --border: #d9d4c8;
  --white: #ffffff;
  --dark: #111110;
}

/* ─── RESET & BASIS ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── TYPOGRAFIE ─── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

a { color: inherit; }

/* ─── NAVIGATIE ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 3rem;
  background: rgba(245,242,235,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--ink); }

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 2px;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--ink) !important; }

/* ─── PAGE HEADER (subpagina's) ─── */
.page-header {
  padding: 10rem 3rem 5rem;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,96,42,0.25) 0%, transparent 60%);
}

.page-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.page-header-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1rem;
}

.page-header h1 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  color: var(--white);
  max-width: 700px;
}

.page-header p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  margin-top: 1.5rem;
  line-height: 1.75;
}

/* ─── SECTIE BASIS ─── */
section {
  padding: 7rem 3rem;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 1.5rem;
}

/* ─── KNOPPEN ─── */
.btn-primary {
  display: inline-block;
  background: var(--ink);
  color: var(--white);
  padding: 0.875rem 2rem;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover { color: var(--accent); border-color: var(--accent); }

.btn-white {
  display: inline-block;
  background: var(--white);
  color: var(--accent);
  padding: 1rem 2.5rem;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: 2px;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* ─── SUBNAV (tabbladen) ─── */
.subnav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 68px;
  z-index: 90;
}

.subnav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.subnav-inner::-webkit-scrollbar { display: none; }

.subnav-link {
  display: inline-block;
  padding: 1rem 1.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}

.subnav-link:hover { color: var(--ink); }
.subnav-link.active { color: var(--ink); border-bottom-color: var(--accent); }

/* ─── CONTENT GRID (tekst + afbeelding) ─── */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.content-grid.reverse { direction: rtl; }
.content-grid.reverse > * { direction: ltr; }

.content-visual {
  background: var(--ink);
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}

.content-visual-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2a2a28, #3d1f0f);
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-visual-placeholder span {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1rem;
  color: rgba(255,255,255,0.25);
}

/* ─── KAARTEN ─── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 2px;
  transition: box-shadow 0.3s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.card-num {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.card-desc {
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--muted);
}

/* ─── PRINCIPES LIJST ─── */
.principles {
  display: flex;
  flex-direction: column;
}

.principle {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 1.25rem;
  align-items: start;
}

.principle:first-child { border-top: 1px solid var(--border); }

.principle-num {
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  color: var(--accent);
  font-style: italic;
  padding-top: 0.1rem;
}

.principle-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.principle-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ─── QUOTE BLOK ─── */
.quote-block {
  background: var(--ink);
  padding: 3rem;
  border-radius: 2px;
  position: relative;
}

.quote-block::before {
  content: '"';
  position: absolute;
  top: -1rem;
  left: 2rem;
  font-family: 'Playfair Display', serif;
  font-size: 8rem;
  color: var(--accent);
  line-height: 1;
  opacity: 0.3;
}

.quote-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--white);
  position: relative;
}

.quote-author {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
}

/* ─── CTA BALK ─── */
.cta-bar {
  background: var(--accent);
  padding: 5rem 3rem;
}

.cta-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}

.cta-bar-title {
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  color: var(--white);
}

.cta-bar-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  margin-top: 0.75rem;
}

/* ─── STATS BALK ─── */
.stats-bar {
  background: var(--ink);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.stat {
  padding: 2.5rem 3rem;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.stat:last-child { border-right: none; }

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-number span { color: var(--accent); }

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ─── FOOTER ─── */
footer {
  background: var(--dark);
  padding: 4rem 3rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand span { color: var(--accent); }

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.4);
  max-width: 280px;
}

.footer-col-title {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--white); }

.footer-contact p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.9;
}

.footer-contact a {
  color: var(--accent-light);
  text-decoration: none;
}

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
}

.footer-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.25);
}

/* ─── ANIMATIES ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.anim-1 { opacity: 0; animation: fadeUp 0.8s 0.2s forwards; }
.anim-2 { opacity: 0; animation: fadeUp 0.8s 0.4s forwards; }
.anim-3 { opacity: 0; animation: fadeUp 0.8s 0.6s forwards; }
.anim-4 { opacity: 0; animation: fadeUp 0.8s 0.8s forwards; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }

  section { padding: 4rem 1.5rem; }

  .page-header { padding: 8rem 1.5rem 3.5rem; }

  .content-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .content-grid.reverse { direction: ltr; }

  .cards-grid { grid-template-columns: 1fr; }

  .stats-bar { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); padding: 1.75rem 1.5rem; }

  .cta-bar-inner { grid-template-columns: 1fr; gap: 2rem; }

  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
}
