/* =============================================
   Solstrati CMS — Hoofd CSS
   ============================================= */
:root {
  --primary:  #2563eb;
  --accent:   #1d4ed8;
  --dark:     #0f172a;
  --light:    #f8fafc;
  --text:     #1e293b;
  --muted:    #64748b;
  --border:   #e2e8f0;
  --white:    #ffffff;
  --radius:   6px;
  --header-h: 68px;
  --font:     'Inter', system-ui, -apple-system, sans-serif;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* =============================================
   HEADER / NAV
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-logo {
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -.02em;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 2px;
  margin-left: auto;
}
.nav-links li a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--radius);
  transition: all 0.2s;
}
.nav-links li a:hover,
.nav-links li a.active {
  color: var(--text);
  background: var(--light);
}
.nav-links li a.active {
  color: var(--primary);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.2s;
}

/* =============================================
   FLASH MESSAGES
   ============================================= */
.flash-wrap {
  padding: 12px 24px;
}
.alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 8px;
}
.alert--success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.alert--error   { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.alert--info    { background: #dbeafe; color: #1e40af; border: 1px solid #bfdbfe; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.footer-tagline {
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer-social a {
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--primary); }
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links strong {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
}
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 24px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a {
  color: rgba(255,255,255,0.45);
  margin-left: 16px;
  transition: color 0.2s;
}
.footer-bottom a:hover { color: #fff; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    z-index: 99;
    gap: 4px;
    margin-left: 0;
  }
  .nav-links.open { display: flex; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
