/* ===========================
   Audit Risk Academy – style.css
   Gedeelde stijlen voor alle pagina's
   =========================== */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #1a3a5c;
  --blue:    #2e6da4;
  --teal:    #1b7a8a;
  --gold:    #c8952a;
  --light:   #f4f7fb;
  --white:   #ffffff;
  --text:    #2c3e50;
  --muted:   #5a6a7a;
  --border:  #d6e0ec;
  --radius:  6px;
  --shadow:  0 2px 12px rgba(26,58,92,.10);
  --max-w:   1100px;
  --font:    'Segoe UI', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ===========================
   HEADER / NAV
   =========================== */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo img {
  height: 46px;
  width: auto;
}
.logo-text {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .5px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,.85);
  font-size: .95rem;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); text-decoration: none; }

.nav-cta {
  background: var(--gold);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 600 !important;
  transition: background .2s !important;
}
.nav-cta:hover { background: #a77820 !important; }

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block; width: 25px; height: 2px;
  background: var(--white); border-radius: 2px; transition: .3s;
}

/* ===========================
   HERO
   =========================== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  color: var(--white);
  padding: 80px 24px 64px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -.3px;
}

.hero p {
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto 32px;
  opacity: .9;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 36px;
}

.badge {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: .85rem;
  font-weight: 500;
}

/* ===========================
   LAYOUT
   =========================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 60px 24px; }
section.alt { background: var(--light); }

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  margin-bottom: 40px;
  font-size: 1rem;
}

.divider {
  width: 50px; height: 3px;
  background: var(--gold);
  margin: 12px auto 32px;
  border-radius: 2px;
}

/* ===========================
   TRAINING CARDS (homepage agenda)
   =========================== */
.training-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.training-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}

.training-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(26,58,92,.14);
}

.card-header {
  background: var(--navy);
  color: var(--white);
  padding: 20px 24px;
}

.card-level {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
}

.card-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 6px;
}

.card-header .card-sub {
  font-size: .82rem;
  opacity: .8;
}

.card-body {
  padding: 20px 24px;
  flex: 1;
}

.card-body p {
  font-size: .93rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.dates-label {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--navy);
  margin-bottom: 8px;
}

.date-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.date-pill {
  background: var(--light);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: .8rem;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 500;
}

.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .92rem;
  text-align: center;
  cursor: pointer;
  transition: background .2s, transform .1s;
  border: none;
}

.btn:hover { transform: translateY(-1px); text-decoration: none; }

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover { background: #24568a; color: var(--white); }

.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover { background: #a77820; color: var(--white); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--blue);
  color: var(--blue);
}
.btn-outline:hover { background: var(--blue); color: var(--white); }

.btn-block { display: block; width: 100%; }

/* ===========================
   USP GRID (homepage kenmerken)
   =========================== */
.usp-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.usp-item {
  text-align: center;
  padding: 28px 20px;
}

.usp-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.usp-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.usp-item p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ===========================
   TRAINING PAGE SPECIFIC
   =========================== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  color: var(--white);
  padding: 64px 24px 48px;
}

.page-hero .breadcrumb {
  font-size: .82rem;
  opacity: .7;
  margin-bottom: 16px;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,.8); }

.page-hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
}

.page-hero .hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}

.hero-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: .84rem;
  font-weight: 500;
}

/* Content layout with sidebar */
.content-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

.main-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}

.main-content h2:first-child { margin-top: 0; }

.main-content p {
  margin-bottom: 16px;
  line-height: 1.75;
  color: var(--text);
}

.main-content ul, .main-content ol {
  margin: 12px 0 20px 20px;
  line-height: 1.75;
}

.main-content li { margin-bottom: 8px; }

.main-content li strong {
  color: var(--navy);
  display: block;
  margin-bottom: 2px;
}

/* Sidebar (sticky booking box) */
.sidebar { position: sticky; top: 88px; }

.booking-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.booking-box-header {
  background: var(--navy);
  color: var(--white);
  padding: 20px 24px;
}

.booking-box-header h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.booking-box-header .price-tag {
  font-size: .84rem;
  opacity: .8;
}

.booking-box-body { padding: 20px 24px; }

.booking-dates {
  margin-bottom: 20px;
}

.booking-dates p {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--navy);
  margin-bottom: 10px;
}

.booking-date-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: .88rem;
}

.booking-date-item:last-child { border-bottom: none; }

.availability {
  font-size: .75rem;
  color: #27ae60;
  font-weight: 600;
}

.booking-info {
  background: var(--light);
  border-radius: 4px;
  padding: 12px 14px;
  margin: 16px 0;
  font-size: .83rem;
  color: var(--muted);
  line-height: 1.6;
}

.booking-info strong { color: var(--navy); }

/* Trainer box */
.trainer-box {
  background: var(--light);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.trainer-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.trainer-info h4 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.trainer-info p {
  font-size: .83rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Inhouse CTA bar */
.inhouse-bar {
  background: var(--navy);
  color: var(--white);
  padding: 36px 24px;
  text-align: center;
}

.inhouse-bar h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.inhouse-bar p {
  opacity: .85;
  margin-bottom: 20px;
  font-size: .95rem;
}

.inhouse-bar a {
  color: var(--gold);
  font-weight: 600;
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  background: #111d2c;
  color: rgba(255,255,255,.75);
  padding: 48px 24px 24px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--white);
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: .3px;
}

.footer-col p, .footer-col a {
  font-size: .87rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  display: block;
  margin-bottom: 6px;
}

.footer-col a:hover { color: var(--white); text-decoration: none; }

.footer-mission {
  font-size: .88rem;
  line-height: 1.7;
  color: rgba(255,255,255,.65);
  margin-top: 8px;
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  text-align: center;
}

/* ===========================
   AI ARTICLE CARD
   =========================== */
.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 180px 1fr;
  max-width: 700px;
  margin: 0 auto;
}

.article-card img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.article-card-body {
  padding: 20px 24px;
}

.article-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.article-card-body p {
  font-size: .88rem;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.6;
}

.article-card-body blockquote {
  border-left: 3px solid var(--gold);
  padding-left: 12px;
  font-style: italic;
  color: var(--muted);
  font-size: .85rem;
  margin-bottom: 14px;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; }
  .nav-links.open {
    display: flex;
    position: absolute; top: 70px; left: 0; right: 0;
    background: var(--navy);
    padding: 20px 24px;
    gap: 16px;
    box-shadow: 0 8px 16px rgba(0,0,0,.3);
  }
  .nav-toggle { display: flex; }

  .content-wrap {
    grid-template-columns: 1fr;
  }
  .sidebar { position: static; }

  .article-card {
    grid-template-columns: 1fr;
  }
  .article-card img { height: 180px; }
}

@media (max-width: 500px) {
  section { padding: 44px 16px; }
  .hero { padding: 56px 16px 48px; }
  .page-hero { padding: 48px 16px 36px; }
}
