/* style.css - Rijschool Fikret */

/* ---------- Basis ---------- */
:root {
  --navy: #1a3a5f;
  --navy-dark: #112a47;
  --navy-light: #2a5a8f;
  --orange: #ff6b00;
  --orange-btn: #c9510c;
  --orange-btn-hover: #a8420a;
  --bg: #f4f6f9;
  --surface: #ffffff;
  --text: #1f2a37;
  --muted: #5a6675;
  --border: #e3e8ef;
  --radius: 14px;
  --shadow: 0 2px 4px rgba(17, 42, 71, .05), 0 8px 24px rgba(17, 42, 71, .08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy-light); }
a:hover { color: var(--orange-btn); }

h1, h2, h3 { color: var(--navy); line-height: 1.2; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 760px; }
.center { text-align: center; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Header & navigatie ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(17, 42, 71, .06);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 72px;
}

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--navy);
}
.brand:hover { color: var(--navy); }

.brand-mark {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 8px;
  background: var(--navy); color: #fff;
  font-weight: 800; font-size: 1.35rem; line-height: 1;
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px var(--navy);
  margin: 2px;
}

.brand-name { font-size: 1.2rem; letter-spacing: .01em; }
.brand-name strong { color: var(--orange-btn); }

.main-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; }

.main-nav a {
  display: block; padding: 10px 16px; border-radius: 8px;
  text-decoration: none; color: var(--navy); font-weight: 600;
  transition: background .2s, color .2s;
}
.main-nav a:hover { background: var(--bg); color: var(--navy); }

.main-nav a[aria-current="page"] {
  color: var(--navy);
  box-shadow: inset 0 -3px 0 var(--orange);
  border-radius: 8px 8px 0 0;
}

.main-nav a.nav-cta {
  background: var(--navy); color: #fff; margin-left: 8px;
}
.main-nav a.nav-cta:hover { background: var(--navy-light); color: #fff; }
.main-nav a.nav-cta[aria-current="page"] { background: var(--orange-btn); box-shadow: none; border-radius: 8px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--border);
  background: var(--surface); border-radius: 10px; cursor: pointer;
  align-items: center; justify-content: center;
}

.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 20px; height: 2px; background: var(--navy);
  border-radius: 2px; transition: transform .2s, opacity .2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 10px;
  font-weight: 700; font-size: 1rem; text-decoration: none; text-align: center;
  border: 2px solid transparent; cursor: pointer; font-family: inherit;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--orange-btn); color: #fff; }
.btn-primary:hover { background: var(--orange-btn-hover); color: #fff; }

.btn-outline { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); }

.btn-block { display: block; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Hero (home) ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy) 60%, var(--navy-light));
  color: #fff; padding: 72px 0;
}

.hero-inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
}

.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .8rem;
  font-weight: 700; color: #ffb27a; margin-bottom: 12px;
}

.hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.6rem); margin-bottom: 14px; }
.hero-slogan { font-size: 1.3rem; font-weight: 600; margin-bottom: 14px; }
.hero-sub { opacity: .88; max-width: 34em; }

.hero-photo img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 18px; border: 4px solid rgba(255, 255, 255, .85);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}

/* ---------- Paginakop (subpagina's) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: #fff; padding: 48px 0; border-bottom: 4px solid var(--orange);
}
.page-header h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.6rem); }
.page-header p { opacity: .85; margin-top: 6px; }

/* ---------- Secties & kaarten ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-title {
  text-align: center; font-size: clamp(1.6rem, 3.5vw, 2.1rem); margin-bottom: 36px;
}
.section-title::after {
  content: ""; display: block; width: 64px; height: 4px; border-radius: 2px;
  background: var(--orange); margin: 14px auto 0;
}

.lead { font-size: 1.15rem; color: var(--muted); }
.section-alt .section-title { margin-bottom: 20px; }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px;
}
.card p + p { margin-top: 14px; }

.card-title {
  font-size: 1.4rem; margin-bottom: 18px; padding-bottom: 12px;
  border-bottom: 2px solid var(--orange);
}

.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; align-items: stretch; }
.card-wide { grid-column: 1 / -1; }

.card-visie { border-left: 6px solid var(--orange); }
.sub-title { font-size: 1.2rem; margin: 28px 0 12px; }
.highlight {
  background: var(--bg); border-radius: 10px; padding: 18px 20px;
  border-left: 4px solid var(--navy);
}
.card-visie .btn { margin-top: 10px; }

/* Voordelen */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { text-align: center; }
.feature h3 { font-size: 1.2rem; margin: 16px 0 8px; }
.feature p { color: var(--muted); }
.feature-icon {
  display: inline-grid; place-items: center; width: 60px; height: 60px;
  border-radius: 16px; background: #fff1e6; color: var(--orange-btn);
}
.feature-icon svg { width: 30px; height: 30px; }

/* Call-to-action band */
.cta-band { background: var(--navy); color: #fff; padding: 48px 0; }
.cta-band h2 { color: #fff; font-size: 1.7rem; }
.cta-band p { opacity: .85; margin-top: 4px; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ---------- Prijzen ---------- */
.pakketten { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 40px; }

.pakket { text-align: center; padding: 28px 22px; border-top: 6px solid var(--orange); transition: transform .25s, box-shadow .25s; }
.pakket:hover { transform: translateY(-4px); }
.pakket-brons   { border-top-color: #b87333; }
.pakket-zilver  { border-top-color: #9aa5b1; }
.pakket-goud    { border-top-color: #d4a017; }
.pakket-diamant { border-top-color: #3aa0d8; }

.pakket-titel { font-size: 1.5rem; }
.pakket-prijs { font-size: 2rem; font-weight: 800; color: var(--navy); margin: 8px 0 16px; }
.pakket-lijst { list-style: none; color: var(--muted); }
.pakket-lijst li { padding: 9px 0; border-top: 1px solid var(--border); }
.pakket-lijst li:first-child { color: var(--text); font-weight: 600; }
.pakket-lijst .pakket-incl { color: var(--navy); font-weight: 700; }

.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; align-items: stretch; }

.prijslijst .prijsregel {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 0; border-bottom: 1px dashed var(--border); font-size: 1.05rem;
}
.prijslijst .prijsregel:last-child { border-bottom: 0; }
.prijslijst dd { font-weight: 800; color: var(--navy); white-space: nowrap; }

.check-lijst { list-style: none; }
.check-lijst li { position: relative; padding: 6px 0 6px 32px; }
.check-lijst li::before {
  content: "✓"; position: absolute; left: 0; top: 6px;
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff1e6; color: var(--orange-btn);
  display: grid; place-items: center; font-size: .8rem; font-weight: 800;
}
.card-boeken .btn-row { margin-top: 20px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }

.contact-formulier .veld { display: flex; flex-direction: column; margin-bottom: 18px; }
.contact-formulier label { font-weight: 700; color: var(--navy); margin-bottom: 6px; }

.contact-formulier input,
.contact-formulier textarea {
  padding: 12px 14px; border: 1px solid #cdd5df; border-radius: 10px;
  font: inherit; color: var(--text); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.contact-formulier textarea { resize: vertical; min-height: 140px; }
.contact-formulier input:focus,
.contact-formulier textarea:focus {
  border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 107, 0, .18); outline: none;
}
.contact-formulier .invalid { border-color: #c0392b; }

.hp-veld { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-fout { color: #b3261e; font-weight: 600; margin-bottom: 14px; }

.melding { padding: 14px 18px; border-radius: 10px; margin-bottom: 22px; font-weight: 600; }
.melding-succes { background: #e7f6ec; color: #1b6b3a; border: 1px solid #b7e1c5; }
.melding-fout   { background: #fdecea; color: #b3261e; border: 1px solid #f5c2bd; }

.contact-lijst { list-style: none; }
.contact-lijst li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.contact-lijst li:last-child { border-bottom: 0; }
.contact-lijst img { width: 32px; height: 32px; flex: none; }
.contact-lijst a { word-break: break-word; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #d5deea; margin-top: auto; }

.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding-top: 48px; padding-bottom: 40px;
}

.brand-light, .brand-light:hover { color: #fff; }
.brand-light .brand-name strong { color: #ffb27a; }
.brand-light .brand-mark { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy), 0 0 0 2px #fff; }

.footer-tekst { margin-top: 16px; color: #b6c3d4; }
.footer-kop { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer-lijst { list-style: none; }
.footer-lijst li { padding: 4px 0; }
.site-footer a { color: #d5deea; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.social-links { display: flex; gap: 12px; margin-top: 18px; }
.social-links a {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: #fff; transition: transform .2s, box-shadow .2s;
}
.social-links a:hover { transform: translateY(-3px); box-shadow: 0 6px 14px rgba(0, 0, 0, .3); text-decoration: none; }
.social-links img { width: 28px; height: 28px; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 0; font-size: .9rem; color: #93a4ba; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .pakketten { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .hero { padding: 48px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .feature-grid { grid-template-columns: 1fr; }
  .card-grid, .info-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 48px 0; }

  /* Mobiel menu: zonder JavaScript blijft het menu zichtbaar onder het logo */
  .header-inner { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .main-nav { width: 100%; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; padding-bottom: 8px; }
  .main-nav a { padding: 12px 14px; }
  .main-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--orange); border-radius: 8px; background: var(--bg); }
  .main-nav a.nav-cta { margin-left: 0; text-align: center; }

  .js .nav-toggle { display: inline-flex; }
  .js .main-nav { display: none; }
  .js .main-nav.open { display: block; }
}

@media (max-width: 520px) {
  .pakketten { grid-template-columns: 1fr; }
  .card { padding: 24px 20px; }
  .btn-row .btn { width: 100%; }
  .cta-inner .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
