﻿/* =====================
   Algemeen
   ===================== */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f6f8;
    color: #333;
    overflow-x: hidden;
}

body.home-page {
    background: #0d0b14;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.edu-page,
body.werk-page {
    background: #0d0b14;
}

body.werk-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.edu-page .container,
body.werk-page .container {
    position: relative;
    z-index: 1;
}

body.werk-page .container {
    max-width: 1200px;
    margin: auto;
    width: 100%;
}

body.edu-page .section-title,
body.werk-page .section-title {
    color: #fff;
}

body.edu-page .cert-card {
    background: #1a1a2e;
    border: 1px solid rgba(255,255,255,0.08);
}

body.edu-page .cert-name {
    color: #fff;
}

body.edu-page .cert-issuer {
    color: #888;
}

/* =====================
   BlobCursor
   ===================== */

.blob-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 100;
}

.blob-main {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.blob-el {
    position: absolute;
    border-radius: 50%;
    background: #5227FF;
    transform: translate(-50%, -50%);
    will-change: left, top;
}

.inner-dot {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
}

/* =====================
   Navigatie
   ===================== */

nav {
    background: rgba(82, 39, 255, 0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(82, 39, 255, 0.3);
    padding: 12px 32px;
    display: flex;
    gap: 32px;
    align-items: center;
    position: sticky;
    top: 16px;
    z-index: 100;
    margin: 16px auto 0;
    max-width: 1200px;
    width: calc(100% - 32px);
    justify-content: space-between;
    border-radius: 999px;
    box-shadow: 0 4px 24px rgba(82, 39, 255, 0.25);
}

nav a {
    color: #ccc;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
}

nav a:hover, nav a.active {
    color: #fff;
}

nav .brand {
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    margin-right: auto;
}

/* =====================
   Pagina-header (werkervaring & opleiding)
   ===================== */

.page-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
    color: white;
    padding: 48px 40px;
    text-align: center;
}

.page-header h1 {
    font-size: 34px;
    margin-bottom: 8px;
}

.page-header p {
    color: #aaa;
    font-size: 16px;
}

/* =====================
   Container
   ===================== */

.container {
    max-width: 860px;
    margin: 48px auto;
    padding: 0 24px;
}

/* =====================
   Home – Hero
   ===================== */

.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
    color: white;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

body.home-page .hero {
    background: transparent;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    z-index: 1;
}

#fluid,
#dot-canvas,
#silk-bg {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero .avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid #5227FF;
    margin: 0 auto 24px;
    display: block;
    object-fit: cover;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 8px;
}

.hero p.subtitle {
    font-size: 18px;
    color: #fff;
    margin-bottom: 32px;
}

.contact-bar {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 14px;
    color: #fff;
}

.contact-bar span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* =====================
   Home – Cards
   ===================== */

.card {
    background: white;
    border-radius: 10px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.card h2 {
    font-size: 20px;
    color: #1a1a2e;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e94560;
    display: inline-block;
}

.card p {
    line-height: 1.7;
    color: #555;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.skill-tag {
    background: #f0f4ff;
    color: #1a1a2e;
    border: 1px solid #c5d0e8;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
}

.cta-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 20px;
    justify-content: center;
}

.cta-links a {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    color: #fff;
    background: rgba(82, 39, 255, 0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(82, 39, 255, 0.3);
    box-shadow: 0 4px 24px rgba(82, 39, 255, 0.25);
    transition: background 0.2s, box-shadow 0.2s;
}

.cta-links a:hover {
    background: rgba(82, 39, 255, 0.3);
    box-shadow: 0 4px 32px rgba(82, 39, 255, 0.45);
}

/* =====================
   Werkervaring – Tijdlijn
   ===================== */

.timeline {
    position: relative;
    padding-left: 36px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #dde3ef;
}

.timeline-item {
    position: relative;
    background: white;
    border-radius: 10px;
    padding: 28px 28px 28px 32px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 32px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #e94560;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #e94560;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
}

.job-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
}

.job-period {
    font-size: 13px;
    color: #e94560;
    font-weight: 600;
    background: #fff0f3;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.job-company {
    font-size: 15px;
    color: #666;
    margin-bottom: 14px;
}

.job-description {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

.job-description ul {
    padding-left: 20px;
    margin-top: 8px;
}

.job-description li {
    margin-bottom: 6px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.tag {
    background: #f0f4ff;
    color: #1a1a2e;
    border: 1px solid #c5d0e8;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
}

/* =====================
   Opleiding – Huidig kaartje
   ===================== */

.current-edu-card {
    --card-color: #e94560;
    --mx: 50%;
    --my: 50%;
    position: relative;
    background: #1a1a2e;
    border-radius: 14px;
    padding: 36px;
    margin-bottom: 12px;
    border-top: 3px solid var(--card-color);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.current-edu-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        300px circle at var(--mx) var(--my),
        color-mix(in srgb, var(--card-color) 15%, transparent),
        transparent 70%
    );
    pointer-events: none;
}

.current-edu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.current-edu-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.current-edu-icon {
    font-size: 40px;
}

.current-edu-badge {
    background: #e94560;
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.current-edu-title {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.current-edu-level {
    font-size: 15px;
    color: var(--card-color);
    font-weight: 600;
    margin-bottom: 6px;
}

.current-edu-school {
    font-size: 14px;
    color: #888;
    margin-bottom: 0;
}

.current-edu-divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 20px 0;
}

.current-edu-desc {
    font-size: 15px;
    color: #aaa;
    line-height: 1.7;
}

.past-edu-card {
    --card-color: #10B981;
    --mx: 50%;
    --my: 50%;
    position: relative;
    background: #1a1a2e;
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 12px;
    border-top: 3px solid var(--card-color);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 4px 16px;
    align-items: start;
    transition: transform 0.2s, box-shadow 0.2s;
}

.past-edu-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        250px circle at var(--mx) var(--my),
        color-mix(in srgb, var(--card-color) 15%, transparent),
        transparent 70%
    );
    pointer-events: none;
}

.past-edu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.past-edu-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.past-edu-icon {
    font-size: 26px;
    flex-shrink: 0;
}

.past-edu-title {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.past-edu-school {
    font-size: 13px;
    color: #888;
    margin: 2px 0 0;
}

.past-edu-badge {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
    align-self: start;
}

.past-edu-desc {
    font-size: 14px;
    color: #aaa;
    line-height: 1.6;
    grid-column: 1 / -1;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* =====================
   Opleiding – Leerkaartjes
   ===================== */

.learn-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 12px;
}


.learn-card {
    --card-color: #4F46E5;
    --mx: 50%;
    --my: 50%;
    position: relative;
    background: #1a1a2e;
    border-radius: 12px;
    padding: 24px;
    overflow: hidden;
    border-top: 3px solid var(--card-color);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: default;
}

.learn-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        200px circle at var(--mx) var(--my),
        color-mix(in srgb, var(--card-color) 18%, transparent),
        transparent 70%
    );
    pointer-events: none;
}

.learn-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.learn-card-icon {
    font-size: 28px;
    margin-bottom: 12px;
}

.learn-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.learn-card-school {
    font-size: 12px;
    color: var(--card-color);
    margin-bottom: 14px;
    font-weight: 600;
}

.learn-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.learn-card-list li {
    font-size: 13px;
    color: #aaa;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    gap: 6px;
}

.learn-card-list li::before {
    content: '›';
    color: var(--card-color);
    font-weight: 700;
}

/* =====================
   Werkervaring – Grote kaartjes
   ===================== */

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 12px;
    min-width: 0;
}

.work-grid .learn-card {
    min-width: 0;
}

.work-grid .learn-card {
    padding: 52px 56px;
    border-top-width: 4px;
}

.work-grid .learn-card-icon {
    font-size: 52px;
    margin-bottom: 20px;
}

.work-grid .learn-card-title {
    font-size: 26px;
    margin-bottom: 8px;
}

.work-grid .learn-card-school {
    font-size: 15px;
    margin-bottom: 24px;
}

.work-grid .learn-card-list li {
    font-size: 16px;
    padding: 10px 0;
}

/* =====================
   Opleiding
   ===================== */

.section-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 16px;
    margin-top: 36px;
}

.edu-card {
    background: white;
    border-radius: 10px;
    padding: 28px;
    margin-bottom: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.edu-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.edu-content {
    flex: 1;
}

.edu-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
}

.edu-title {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
}

.edu-period {
    font-size: 13px;
    color: #e94560;
    font-weight: 600;
    background: #fff0f3;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.edu-school {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.edu-description {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
}

.edu-description ul {
    padding-left: 18px;
    margin-top: 6px;
}

.edu-description li {
    margin-bottom: 4px;
}

.badge {
    display: inline-block;
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 10px;
}

.cert-card {
    background: white;
    border-radius: 10px;
    padding: 20px 28px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.cert-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
}

.cert-issuer {
    font-size: 13px;
    color: #888;
    margin-top: 2px;
}

.cert-year {
    font-size: 13px;
    color: #e94560;
    font-weight: 600;
}

/* =====================
   Mobiel
   ===================== */

@media (max-width: 900px) {
    nav {
        gap: 16px;
        padding: 10px 20px;
        top: 8px;
        width: calc(100% - 24px);
    }

    nav .brand {
        font-size: 15px;
    }

    nav a {
        font-size: 13px;
    }

    .hero {
        padding: 24px 16px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p.subtitle {
        font-size: 15px;
    }

    .hero .avatar {
        width: 130px;
        height: 130px;
    }

    .contact-bar {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }

    .cta-links {
        flex-direction: column;
        align-items: center;
    }

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

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

    .work-grid .learn-card {
        padding: 24px 20px;
    }

    .work-grid .learn-card-icon {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .work-grid .learn-card-title {
        font-size: 20px;
        margin-bottom: 6px;
    }

    .work-grid .learn-card-school {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .work-grid .learn-card-list li {
        font-size: 14px;
        padding: 7px 0;
    }

    .container {
        margin: 32px auto;
        padding: 0 16px;
    }

    body.werk-page .container {
        padding: 0 16px;
        margin-top: 32px;
    }
}
