/* =========================================
   MB Testconsultancy
   Style: Apple aesthetic + first-design layout
   Font: SF Pro (system-ui), Dark gray accent
   ========================================= */

:root {
    --black:      #1d1d1f;
    --gray-1:     #424245;
    --gray-2:     #6e6e73;
    --gray-3:     #86868b;
    --gray-4:     #aeaeb2;
    --gray-5:     #d2d2d7;
    --gray-6:     #e8e8ed;
    --bg:         #ffffff;
    --bg-alt:     #f5f5f7;

    /* Accent — dark charcoal */
    --accent:     #3a3a3c;
    --accent-mid: #636366;

    /* Neon orange highlight */
    --orange:     #ff6200;

    --font: -apple-system, BlinkMacSystemFont, "SF Pro Display",
            "SF Pro Text", "Helvetica Neue", Arial, sans-serif;

    --nav-h: 52px;
}

/* ── Reset ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--black);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ══════════════════════════════════════════
   NAV — translucent dark
   ══════════════════════════════════════════ */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    z-index: 1000;
    background: rgba(29,29,31,0.82);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.nav-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 22px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo { font-size: 16px; font-weight: 600; color: var(--orange); letter-spacing: -0.01em; }
.nav-logo span { color: rgba(255,255,255,0.45); font-weight: 400; }
.nav-logo-img { height: 48px; width: auto; border-radius: 3px; display: block; }
.nav-links { display: flex; align-items: center; gap: 0; }
.nav-links a {
    font-size: 13px; font-weight: 400;
    color: rgba(255,255,255,0.72);
    padding: 8px 13px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-cta {
    background: rgba(255,255,255,0.14) !important;
    color: rgba(255,255,255,0.92) !important;
    border-radius: 980px !important;
    padding: 6px 16px !important;
    font-weight: 500 !important;
}
.nav-cta:hover { background: rgba(255,255,255,0.22) !important; }
.nav-hamburger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-hamburger span { display: block; width: 20px; height: 1.5px; background: rgba(255,255,255,0.72); border-radius: 2px; }

/* Print button */
.btn-print {
    position: fixed;
    top: calc(var(--nav-h) + 12px); right: 20px;
    z-index: 900;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(8px);
    color: var(--gray-1);
    border: 1px solid var(--gray-5);
    padding: 7px 16px; border-radius: 980px;
    font-size: 12px; font-weight: 500; font-family: var(--font);
    cursor: pointer; display: flex; align-items: center; gap: 5px;
    transition: all 0.2s;
}
.btn-print:hover { background: white; border-color: var(--gray-4); }
.btn-print svg { width: 13px; height: 13px; stroke: currentColor; }

/* ══════════════════════════════════════════
   HERO — dark, centered, full viewport
   ══════════════════════════════════════════ */
#hero {
    background: var(--black);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: var(--nav-h) 24px 80px;
}
.hero-content {
    max-width: 680px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-avatar-img {
    width: 96px; height: 96px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 28px;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.1);
}
.hero-logo { width: 130px; margin: 0 auto 16px; border-radius: 4px; opacity: 0.85; }
.hero-name {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    color: #f5f5f7;
    line-height: 1.05;
    margin-bottom: 12px;
}
.hero-role {
    font-size: clamp(1rem, 2.2vw, 1.375rem);
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--gray-3);
    margin-bottom: 10px;
    line-height: 1.3;
}
.hero-location {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 13px; color: var(--gray-4); margin-bottom: 20px;
}
.hero-location svg { width: 14px; height: 14px; stroke: var(--gray-4); flex-shrink: 0; }
.hero-tagline {
    font-size: 16px; color: var(--gray-3); line-height: 1.7;
    margin-bottom: 36px; max-width: 560px;
}
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 32px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    color: rgba(255,255,255,0.3);
    font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
    animation: scrollBounce 2.2s ease-in-out infinite;
}
.hero-scroll svg { width: 18px; height: 18px; stroke: rgba(255,255,255,0.3); }
@keyframes scrollBounce {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(7px); }
}

/* ── Buttons (used on dark hero bg) ── */
.btn-filled {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    padding: 11px 22px; border-radius: 980px;
    font-size: 14px; font-weight: 500; letter-spacing: -0.01em;
    font-family: var(--font); cursor: pointer; border: none;
    background: var(--bg); color: var(--black);
    transition: background 0.2s, transform 0.15s;
}
.btn-filled:hover { background: rgba(255,255,255,0.88); transform: scale(1.01); }
.btn-filled svg { width: 16px; height: 16px; }

.btn-tonal {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    padding: 10px 22px; border-radius: 980px;
    font-size: 14px; font-weight: 500; letter-spacing: -0.01em;
    font-family: var(--font); cursor: pointer;
    border: 1px solid rgba(255,255,255,0.28);
    background: transparent; color: rgba(255,255,255,0.88);
    transition: background 0.2s, border-color 0.2s;
}
.btn-tonal:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); }
.btn-tonal svg { width: 16px; height: 16px; }

.btn-outlined {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    padding: 10px 22px; border-radius: 980px;
    font-size: 14px; font-weight: 500; letter-spacing: -0.01em;
    font-family: var(--font); cursor: pointer;
    border: 1px solid rgba(255,255,255,0.22);
    background: transparent; color: rgba(255,255,255,0.65);
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn-outlined:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4); color: rgba(255,255,255,0.9); }
.btn-outlined svg { width: 16px; height: 16px; }

/* ══════════════════════════════════════════
   SECTION COMMON
   ══════════════════════════════════════════ */
section { padding: 96px 0; }

/* Centered section header */
.section-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--orange); margin-bottom: 10px;
}
.section-headline {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700; letter-spacing: -0.025em;
    color: var(--black); line-height: 1.1;
}
.section-headline.light { color: #f5f5f7; }
.section-sub {
    font-size: 17px; color: var(--gray-2);
    line-height: 1.7; margin-top: 14px;
    max-width: 580px; margin-left: auto; margin-right: auto;
}

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

/* ══════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════ */
#over-mij { background: var(--bg); }
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: start;
}
.about-text p {
    font-size: 16px; line-height: 1.8;
    color: var(--gray-2); margin-bottom: 16px;
}
.about-text p:last-child { margin-bottom: 0; }

/* Stat tiles — Apple dark */
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat-tile {
    background: var(--black);
    border-radius: 18px;
    padding: 28px 20px;
    text-align: center;
    transition: background 0.2s;
}
.stat-tile:hover { background: var(--gray-1); }
.stat-number {
    display: block;
    font-size: 2.25rem; font-weight: 700; letter-spacing: -0.03em;
    color: var(--orange); line-height: 1; margin-bottom: 6px;
}
.stat-label {
    font-size: 12px; font-weight: 500;
    color: rgba(255,255,255,0.5); line-height: 1.4;
}

/* ══════════════════════════════════════════
   SKILLS
   ══════════════════════════════════════════ */
#kennis { background: var(--bg-alt); }
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}
.skill-card {
    background: var(--bg);
    border-radius: 18px;
    padding: 26px;
    transition: background 0.2s, transform 0.2s;
}
.skill-card:hover { background: var(--gray-6); transform: translateY(-3px); }
.skill-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.skill-card-icon {
    font-size: 22px;
    width: 44px; height: 44px;
    background: var(--bg-alt);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.skill-card-title {
    font-size: 15px; font-weight: 600;
    letter-spacing: -0.01em; color: var(--black);
}
.chip-row { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
    display: inline-flex; align-items: center;
    height: 30px; padding: 0 14px; border-radius: 980px;
    font-size: 13px; font-weight: 400; letter-spacing: -0.01em;
    color: var(--gray-1); background: var(--bg-alt);
    border: none; cursor: default;
    transition: background 0.18s, color 0.18s;
}
.chip:hover { background: var(--gray-6); color: var(--black); }
.chip-accent { background: var(--orange); color: #fff; font-weight: 500; }
.chip-accent:hover { background: #e05500; }
#kennis .chip { background: var(--orange); color: #fff; font-weight: 500; }
#kennis .chip:hover { background: #e05500; color: #fff; }

/* ══════════════════════════════════════════
   ASSIGNMENTS — dark section
   ══════════════════════════════════════════ */
#opdrachten { background: var(--black); }
#opdrachten .section-eyebrow { color: var(--gray-4); }

.timeline {
    max-width: 760px; margin: 0 auto;
    position: relative; padding-left: 28px;
}
.timeline::before {
    content: '';
    position: absolute; left: 4px; top: 6px; bottom: 6px;
    width: 1px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.25), rgba(255,255,255,0.05));
}
.timeline-item {
    position: relative; margin-bottom: 20px;
    opacity: 0; transform: translateX(-16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item.visible { opacity: 1; transform: translateX(0); }
.timeline-item::before {
    content: '';
    position: absolute; left: -30px; top: 18px;
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--orange);
    border: 1.5px solid var(--black);
    box-shadow: 0 0 0 2px rgba(255,98,0,0.3);
}
.timeline-card {
    background: #2c2c2e;
    border-radius: 14px;
    padding: 18px 20px;
    transition: background 0.2s;
}
.timeline-card:hover { background: #3a3a3c; }
.tl-date {
    font-size: 11px; font-weight: 600;
    letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--gray-4); margin-bottom: 5px;
    display: flex; align-items: center; gap: 8px;
}
.tl-badge {
    font-size: 10px; font-weight: 600;
    letter-spacing: 0.04em; text-transform: uppercase;
    padding: 2px 9px; border-radius: 980px;
    background: var(--orange); color: white;
}
.tl-title { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: #f5f5f7; margin-bottom: 2px; }
.tl-client { font-size: 13px; font-weight: 500; color: var(--gray-4); margin-bottom: 8px; }
.tl-desc { font-size: 13px; line-height: 1.65; color: var(--gray-3); }

/* ══════════════════════════════════════════
   EDUCATION
   ══════════════════════════════════════════ */
#opleidingen { background: var(--bg); }
.edu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 12px;
}
.edu-card {
    background: var(--bg-alt);
    border-radius: 14px;
    padding: 20px 22px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: background 0.2s, transform 0.2s;
}
.edu-card:hover { background: var(--gray-6); transform: translateY(-2px); }
.edu-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--orange); flex-shrink: 0; margin-top: 5px;
}
.btn-filled .edu-dot,
.btn-tonal .edu-dot,
.btn-outlined .edu-dot { margin-top: 0; }
.edu-name { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--black); margin-bottom: 3px; }
.edu-place { font-size: 13px; color: var(--gray-3); }

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
footer { background: var(--bg-alt); border-top: 1px solid var(--gray-5); padding: 24px 0; }
.footer-inner {
    display: flex; align-items: center;
    justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-brand { font-size: 13px; font-weight: 500; color: var(--gray-1); letter-spacing: -0.01em; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 0; }
.footer-contact a, .footer-contact span {
    font-size: 12px; color: var(--gray-3);
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 10px; border-radius: 6px;
    transition: color 0.2s; white-space: nowrap;
}
.footer-contact a:hover { color: var(--black); }
.footer-contact svg { width: 12px; height: 12px; stroke: currentColor; flex-shrink: 0; }

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 860px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
    section { padding: 64px 0; }
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }
    .hero-actions { gap: 8px; }
    .about-stats { grid-template-columns: 1fr 1fr; }
    .btn-print { display: none; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
    .about-stats { grid-template-columns: 1fr; }
    .skills-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   PRINT
   ══════════════════════════════════════════ */
@media print {
    #navbar, .btn-print, .hero-scroll, .hero-actions { display: none; }
    #hero { min-height: auto; padding: 32px 0; background: white; }
    .hero-name, .hero-role { color: var(--black); }
    .hero-tagline { color: var(--gray-2); }
    #opdrachten { background: var(--bg-alt); }
    .tl-title { color: var(--black); }
    .tl-desc, .tl-client { color: var(--gray-2); }
    .timeline-card { background: white; }
    .reveal { opacity: 1; transform: none; }
    .timeline-item { opacity: 1; transform: none; }
}
