/* Kleuren en algemene instellingen */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --dark-color: #0f172a;
    --text-color: #334155;
    --muted-color: #64748b;
    --light-color: #f1f5f9;
    --border-color: #e2e8f0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", sans-serif;
    color: var(--text-color);
    background-color: #ffffff;
    line-height: 1.8;
}

h1,
h2,
h3 {
    color: var(--dark-color);
    line-height: 1.3;
}

a {
    text-decoration: none;
}

/* Navigatie */
.site-navbar {
    background-color: var(--dark-color);
    box-shadow: 0 4px 20px rgb(15 23 42 / 12%);
}

.site-navbar .navbar-brand {
    color: #ffffff;
    font-size: 1.3rem;
    letter-spacing: 0.3px;
}

.site-navbar .nav-link {
    color: #cbd5e1;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: #ffffff;
    background-color: rgb(255 255 255 / 10%);
}

/* Introductie */
.experience-hero {
    background: linear-gradient(135deg, #f8fafc, #eff6ff);
    border-bottom: 1px solid var(--border-color);
}

.experience-hero h1 {
    color: var(--dark-color);
    letter-spacing: -1.5px;
}

.hero-text {
    max-width: 720px;
}

.section-label {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title {
    margin-top: 0.5rem;
    margin-bottom: 0.8rem;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 750;
    letter-spacing: -0.7px;
}

.section-intro {
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
}

/* Knoppen */
.btn-primary {
    padding: 0.75rem 1.4rem;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 10px;
    font-weight: 600;
    transition: background-color 0.2s ease,
                transform 0.2s ease,
                box-shadow 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgb(37 99 235 / 20%);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 10px;
    padding: 0.75rem 1.4rem;
    font-weight: 600;
}

.btn-outline-primary:hover {
    color: #ffffff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Ervaringskaarten */
.experience-card {
    height: 100%;
    padding: 2rem;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 18px;
    box-shadow: 0 8px 25px rgb(15 23 42 / 4%);
    transition: transform 0.25s ease,
                box-shadow 0.25s ease;
}

.experience-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgb(15 23 42 / 9%);
}

.experience-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 1.25rem;
    background-color: #dbeafe;
    border-radius: 15px;
    font-size: 1.8rem;
}

.experience-period {
    display: inline-block;
    margin-bottom: 0.9rem;
    padding: 0.35rem 0.7rem;
    color: #1e40af;
    background-color: #dbeafe;
    border-radius: 7px;
    font-size: 0.8rem;
    font-weight: 700;
}

.experience-card h3 {
    margin-bottom: 1rem;
    font-size: 1.35rem;
    font-weight: 750;
}

.experience-card p {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.experience-card p:last-of-type {
    margin-bottom: 1.25rem;
}

/* Vaardigheidstags */
.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.skill-badge {
    display: inline-block;
    padding: 0.4rem 0.65rem;
    color: #1e40af;
    background-color: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 7px;
    font-size: 0.78rem;
    font-weight: 600;
}

/* Vaardigheden onderaan */
.skills-section {
    background-color: var(--light-color);
}

.strength-card {
    height: 100%;
    padding: 1.5rem 1rem;
    text-align: center;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: transform 0.25s ease,
                box-shadow 0.25s ease;
}

.strength-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgb(15 23 42 / 8%);
}

.strength-icon {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 2rem;
}

.strength-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    font-weight: 750;
}

.strength-card p {
    margin-bottom: 0;
    color: var(--muted-color);
    font-size: 0.9rem;
}

/* Contactblok */
.contact-card {
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #f8fafc, #eff6ff);
    border: 1px solid var(--border-color);
    border-radius: 20px;
}

/* Footer */
.site-footer {
    background-color: var(--dark-color);
    color: #cbd5e1;
}

.site-footer p:first-child {
    color: #ffffff;
}

.site-footer a {
    color: #93c5fd;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: #ffffff;
}

/* Toegankelijkheid */
a:focus-visible,
button:focus-visible {
    outline: 3px solid #60a5fa;
    outline-offset: 4px;
}

/* Mobiele schermen */
@media (max-width: 767.98px) {
    body {
        line-height: 1.7;
    }

    .experience-hero h1 {
        font-size: 2.5rem;
    }

    .experience-card {
        padding: 1.5rem;
    }

    .strength-card {
        padding: 1.25rem 0.75rem;
    }

    .strength-card h3 {
        font-size: 0.95rem;
    }

    .contact-card {
        padding: 2rem 1.25rem;
    }
}

/* Respecteer voorkeur voor minder animatie */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
