/* ==============================
   Algemene instellingen
============================== */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --dark: #0f172a;
    --text: #334155;
    --muted: #64748b;
    --light: #f1f5f9;
    --white: #ffffff;
    --border: #e2e8f0;
    --radius: 20px;
    --shadow: 0 12px 35px rgba(15, 23, 42, 0.07);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
    color: var(--text);
    background-color: var(--white);
    line-height: 1.75;
}

img {
    max-width: 100%;
}

h1,
h2,
h3 {
    color: var(--dark);
    font-weight: 750;
    line-height: 1.2;
}

p {
    color: var(--muted);
}

/* ==============================
   Navigatie
============================== */

.site-navbar {
    background-color: var(--dark);
    padding: 0.9rem 0;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.12);
}

.site-navbar .navbar-brand {
    color: var(--white);
    font-size: 1.2rem;
    letter-spacing: -0.3px;
}

.site-navbar .navbar-brand:hover {
    color: #bfdbfe;
}

.site-navbar .navbar-nav {
    gap: 0.3rem;
}

.site-navbar .nav-link {
    color: #cbd5e1;
    padding: 0.6rem 0.9rem;
    border-radius: 10px;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.09);
}

.site-navbar .nav-link.active {
    color: var(--white);
    background-color: var(--primary);
}

.site-navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: none;
}

.site-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.3);
}

/* ==============================
   Introductie
============================== */

.hero-section {
    padding: 5.5rem 0 5rem;
    text-align: center;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(59, 130, 246, 0.12),
            transparent 30%
        ),
        linear-gradient(135deg, #f8fafc, #eff6ff);
    border-bottom: 1px solid var(--border);
}

.hero-section .container {
    max-width: 850px;
}

.section-label {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.35rem 0.85rem;
    color: var(--primary-dark);
    background-color: #dbeafe;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-section h1 {
    margin-bottom: 1.25rem;
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.05em;
}

.hero-section p {
    max-width: 680px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* ==============================
   Hobbysecties
============================== */

.hobbies-section {
    padding: 5rem 0;
}

.hobby-card {
    overflow: hidden;
    margin-bottom: 2.5rem;
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hobby-card:last-child {
    margin-bottom: 0;
}

.hobby-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.11);
}

.hobby-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 350px;
    object-fit: cover;
}

.hobby-content {
    padding: clamp(1.5rem, 4vw, 3rem);
}

.hobby-number {
    display: inline-block;
    margin-bottom: 0.8rem;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.hobby-content h2 {
    margin-bottom: 1.25rem;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    letter-spacing: -0.035em;
}

.hobby-content p {
    margin-bottom: 1rem;
}

.hobby-content p:last-child {
    margin-bottom: 0;
}

/* ==============================
   Afbeeldingsvlakken zonder foto
============================== */

.image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    height: 100%;
    padding: 2rem;
    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(96, 165, 250, 0.25),
            transparent 35%
        ),
        linear-gradient(135deg, #dbeafe, #eff6ff);
}

.image-placeholder-content {
    text-align: center;
}

.placeholder-icon {
    display: block;
    margin-bottom: 1rem;
    font-size: 4.5rem;
    line-height: 1.2;
}

.image-placeholder-content p {
    margin: 0;
    color: var(--dark);
    font-size: 1.05rem;
    font-weight: 650;
}

.fitness-placeholder {
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(147, 197, 253, 0.3),
            transparent 35%
        ),
        linear-gradient(135deg, #e2e8f0, #f8fafc);
}

/* ==============================
   Sportoverzicht
============================== */

.overview-section {
    padding: 5rem 0 6rem;
    background-color: var(--light);
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.section-heading h2 {
    margin-bottom: 0.85rem;
    font-size: clamp(2rem, 4vw, 2.8rem);
    letter-spacing: -0.04em;
}

.section-heading p {
    margin-bottom: 0;
}

.table-card {
    max-width: 850px;
    margin: 0 auto;
    overflow: hidden;
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hobby-table {
    color: var(--text);
}

.hobby-table thead th {
    padding: 1.2rem 1.5rem;
    color: var(--white);
    background-color: var(--dark);
    border: none;
    font-size: 0.9rem;
    font-weight: 650;
}

.hobby-table tbody td {
    padding: 1.2rem 1.5rem;
    border-color: var(--border);
}

.hobby-table tbody tr:last-child td {
    border-bottom: none;
}

.hobby-table tbody tr:hover td {
    background-color: #f8fafc;
}

.table-icon {
    display: inline-block;
    width: 2rem;
    margin-right: 0.5rem;
    font-size: 1.2rem;
    text-align: center;
}

.frequency-badge {
    display: inline-block;
    padding: 0.35rem 0.8rem;
    color: var(--primary-dark);
    background-color: #dbeafe;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 750;
}

/* ==============================
   Footer
============================== */

.site-footer {
    padding: 1.75rem 0;
    color: #cbd5e1;
    background-color: var(--dark);
}

.site-footer p {
    color: #cbd5e1;
    font-size: 0.9rem;
}

/* ==============================
   Responsive ontwerp
============================== */

@media (max-width: 991.98px) {
    .site-navbar .navbar-nav {
        gap: 0.15rem;
        padding-top: 1rem;
    }

    .site-navbar .nav-link {
        padding: 0.7rem 0.85rem;
    }

    .hobby-image,
    .image-placeholder {
        min-height: 280px;
        max-height: 360px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 4rem 0 3.5rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .hobbies-section {
        padding: 3rem 0;
    }

    .hobby-card {
        margin-bottom: 1.75rem;
        border-radius: 16px;
    }

    .hobby-content {
        padding: 1.5rem;
    }

    .hobby-content h2 {
        font-size: 1.8rem;
    }

    .hobby-image,
    .image-placeholder {
        min-height: 230px;
        max-height: 300px;
    }

    .overview-section {
        padding: 3.5rem 0 4rem;
    }

    .section-heading {
        margin-bottom: 1.75rem;
    }

    .hobby-table thead th,
    .hobby-table tbody td {
        padding: 1rem;
    }
}

@media (max-width: 420px) {
    .hobby-table thead th,
    .hobby-table tbody td {
        padding: 0.85rem 0.7rem;
        font-size: 0.9rem;
    }

    .table-icon {
        width: 1.5rem;
        margin-right: 0.2rem;
    }

    .frequency-badge {
        padding: 0.3rem 0.55rem;
        font-size: 0.8rem;
    }
}

/* 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;
    }
}
