/* Algemene instellingen */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --dark-color: #0f172a;
    --text-color: #334155;
    --muted-color: #64748b;
    --light-color: #f1f5f9;
    --card-color: #ffffff;
    --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;
}

p {
    margin-bottom: 1rem;
}

/* Navigatie */
.site-navbar {
    background-color: var(--dark-color);
    box-shadow: 0 4px 20px rgb(15 23 42 / 12%);
}

.site-navbar .navbar-brand {
    color: #ed0909;
    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: red;
    background-color: rgb(255 255 255 / 10%);
}

/* Introductie */
.hero-section {
    background: linear-gradient(
        135deg,
        #f8fafc 0%,
        #eff6ff 100%
    );
}

.profile-image {
    width: 100%;
    max-width: 370px;
    height: 440px;
    object-fit: cover;
    object-position: center;
    border-radius: 24px;
    box-shadow: 0 20px 45px rgb(15 23 42 / 15%);
}

.section-label {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-section .lead {
    font-weight: 500;
}

/* Knoppen */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 10px;
    padding: 0.75rem 1.4rem;
    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%);
}

/* Secties */
.content-section {
    background-color: var(--light-color);
}

.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;
}

/* Kaarten */
.content-card {
    padding: 2rem;
    background-color: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    box-shadow: 0 8px 25px rgb(15 23 42 / 4%);
    transition: transform 0.25s ease,
                box-shadow 0.25s ease;
}

.content-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgb(15 23 42 / 9%);
}

.content-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.content-card p:last-child {
    margin-bottom: 0;
}

/* Interesses */
.interest-image {
    width: 100%;
    min-height: 300px;
    max-height: 390px;
    object-fit: cover;
    border-radius: 18px;
}

.skill-badge {
    padding: 0.6rem 0.85rem;
    background-color: #dbeafe;
    color: #1e40af;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 8px;
}

/* Hobby's */
.hobby-card {
    padding: 3.5rem 2rem;
    background: linear-gradient(135deg, #ffffff, #eff6ff);
}

.hobby-text {
    max-width: 550px;
}

/* Studies */
.study-card {
    border-top: 4px solid var(--primary-color);
}

.study-number {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 800;
    opacity: 0.8;
}

.study-card h3 {
    font-size: 1.15rem;
}

/* Footer */
.site-footer {
    background-color: var(--dark-color);
    color: #cbd5e1;
}

.site-footer p:first-child {
    color: #ffffff;
}

/* Toegankelijkheid: toetsenbordfocus */
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;
    }

    .hero-section {
        padding-top: 2rem !important;
    }

    .profile-image {
        max-width: 280px;
        height: 330px;
    }

    .hero-section h1 {
        font-size: 2.4rem;
    }

    .content-card {
        padding: 1.5rem;
    }

    .hobby-card {
        padding: 2.5rem 1.5rem;
    }

    .interest-image {
        min-height: 220px;
    }
}

/* Minder animatie voor gebruikers die dat instellen */
@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;
    }
}
