:root {
    --theme-primary: #041d4b;
    --theme-secondary: #2d199c;
    --theme-highlight: #756ca8;
    --theme-background: #ffffff;
}

:root[data-theme="green"] {
    --theme-primary: #174d3a;
    --theme-secondary: #23805a;
    --theme-highlight: #70a887;
    --theme-background: #f3faf5;
}

:root[data-theme="warm"] {
    --theme-primary: #75351f;
    --theme-secondary: #b6532e;
    --theme-highlight: #d68a51;
    --theme-background: #fff8f1;
}

/*  topbar en navigatie */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--theme-background);
}

.logo {
    position: absolute;
    top: 30px;
    left: 10px;
    width: 80px;
    height: 65px;
}

.topbar {
    padding: 15px 40px;
    background: linear-gradient(90deg, var(--theme-secondary), var(--theme-primary), var(--theme-highlight), var(--theme-primary));
    color: white;
    text-align: center;
}

.topbar h1 { margin: 5px 0 15px; font-size: 24px; }

.nav-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.nav-button {
    padding: 8px 16px;
    border: 1px solid #ffffff66;
    border-radius: 4px;
    background: #ffffff33;
    color: white;
    font-size: 14px;
    text-decoration: none;
}

.nav-button:hover { background: var(--theme-secondary); }

.theme-picker {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: white;
}

.theme-picker select {
    padding: 5px 8px;
    border: 1px solid #ffffff80;
    border-radius: 4px;
    color: #17243d;
    font: inherit;
}

.site-footer {
    margin: 0;
    padding: 20px;
    background-color: var(--theme-primary);
    color: white;
    text-align: center;
}


section { padding: 20px; }

.hero-image {
    display: block;
    width: 100%;
    height: 300px;
    margin-top: 20px;
    object-fit: cover;
}
/* stijl voor sporten, eten en toeristen pagina */
.sporten-gym,
.tourist-attractions {
    display: grid;
    gap: 20px;
    max-width: 900px;
    margin: 20px auto;
    padding: 0 20px;
}

.sporten-item,
.eet-item,
.tourist-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 35%);
    gap: 20px;
    align-items: center;
    padding: 20px;
    border-radius: 12px;
    background: #f2f4f8;
}

.eet-item,
.tourist-card-link { transition: transform 0.2s, box-shadow 0.2s; }

.tourist-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.tourist-card-link:hover .eet-item,
.tourist-card-link:hover .tourist-item {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px #00000026;
}

.sporten-image {
    width: 100%;
    max-width: 350px;
    max-height: 260px;
    height: auto;
    justify-self: end;
    object-fit: contain;
    border-radius: 25px;
}
/* Toeristen afbeeldingen */
.tourist-image {
    width: 100%;
    max-width: 350px;
    height: 210px;
    justify-self: end;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px #00000026;
}

.tourist-image-portrait,
.location-image-portrait { object-fit: contain; background: #e1e5ec; }

.more-info {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--theme-secondary);
    font-weight: bold;
    text-align: right;
}

.p-tekst-1,
.over-den-bosch,
.tourist-title { margin: 0 25px; }

.location-page {
    max-width: 850px;
    margin: 30px auto;
    padding: 0 20px;
}

.location-page h2 { margin-bottom: 20px; }

.back-link,
h6 a { color: var(--theme-secondary); }

.back-link { text-decoration: none; }
.back-link:hover { text-decoration: underline; }

.location-image {
    display: block;
    width: 100%;
    max-width: 600px;
    height: 320px;
    margin: 20px 0;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px #00000026;
}

.map-container { width: 100%; max-width: 600px; margin-top: 15px; }

.map-container iframe {
    display: block;
    width: 100%;
    height: 260px;
    border: 0;
    border-radius: 12px;
}
/* ICT-mogelijkheden pagina stijl */

.ict { max-width: 980px; margin: 0 auto; padding: 40px 20px; }
.ict-intro { margin-bottom: 30px; }
.ict h2 { margin-bottom: 8px; color: var(--theme-primary); }

.ict-companies {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.ict article {
    display: flex;
    min-height: 250px;
    flex-direction: column;
    padding: 22px;
    background: #f1eded;
}

.ict-number {
    width: 28px;
    margin-bottom: 20px;
    color: #687386;
    font-size: 12px;
    font-weight: bold;
    border-radius: 20px;
}

.ict-category {
    margin: 0 0 5px;
    color: #596579;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.ict h3 { margin: 0 0 12px; color: var(--theme-primary); }
.ict-description { margin: 0; color: #596579; }

.ict article a {
    margin-top: auto;
    padding-top: 14px;
    color: #17243d;
    font-weight: bold;

}

.ict article a:hover { text-decoration: underline; }

@media (max-width: 500px) {
    .logo { width: 0; height: 0; }
    .theme-picker { margin-top: 10px;}

    .sporten-item,
    .eet-item,
    .tourist-item,
    .ict-companies { grid-template-columns: 1fr; gap: 10px; }

    .sporten-item,
    .eet-item { padding: 15px; }

    .sporten-image,
    .tourist-image { justify-self: start; max-width: 100%; }

    .tourist-image { height: 200px; }
    .more-info { text-align: left; }
}

    #zoekbalk {
        margin-bottom: 20px;
        margin-left: 200px;
        border-radius: 5px;
        border: 1px solid #ccc;
        padding: 5px;
    }

    .quiz-sport {
        display: inline-block;
        background-color: var(--theme-secondary);
        color: white;
        border-radius: 10px;
        padding: 10px 20px;
        text-decoration: none;
        
    }
    
    .quiz-sport:hover {
        background-color: #19306f;
        cursor: pointer;
    }

     .quiz-page {
            max-width: 700px;
            margin: 30px auto;
            padding: 0 20px;
        }

        .quiz-question {
            margin-bottom: 20px;
            padding: 15px;
            border: 1px solid #ccc;
            border-radius: 8px;
        }

        .quiz-question h3 { margin: 0 0 10px; }

        .quiz-page label {
            display: block;
            margin-top: 8px;
        }

        .quiz-submit {
            padding: 10px 20px;
            border: 0;
            border-radius: 6px;
            background: var(--theme-secondary);
            color: white;
            cursor: pointer;
        }

        .quiz-submit:hover { background: var(--theme-primary); }

        .quiz-result {
            margin-top: 20px;
            font-weight: bold;
        }