:root {
    --primary-color: #2E7D32;
    --secondary-color: #43A047;
    --accent-color: #FFC107;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #fff;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

header {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-color);
}

main {
    margin-top: 80px;
    padding: 2rem 5%;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)), url('../img/sport-hero.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 6rem 2rem;
    margin-bottom: 3rem;
    border-radius: 10px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0,0,0,0.35);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #f3f4f6;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.feature {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature p {
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 4rem 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .features {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .feature {
        margin-bottom: 1rem;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Forms */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.2);
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.table th,
.table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.table th {
    background-color: var(--light-bg);
    font-weight: 600;
}

.table tr:hover {
    background-color: #f9f9f9;
}

/* Cards */
.card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.card-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.card-title {
    margin: 0;
    color: var(--primary-color);
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Grid System */
.grid {
    display: grid;
    gap: 1rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.hidden { display: none; }
.visible { display: block; }

/* Loading Spinner */
.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Vragenlijst Styling */
.vragenlijst-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.vraag-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.vraag-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.antwoord-opties {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.antwoord-optie {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.antwoord-optie:hover {
    background-color: var(--primary-color);
    color: white;
}

.antwoord-optie.selected {
    background-color: var(--primary-color);
    color: white;
}

/* Resultaten Styling */
.resultaten {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.podium-container {
    position: relative;
    margin: 3rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 1rem;
    height: 200px;
}

.podium__item {
    position: relative;
    width: 120px;
    text-align: center;
}

.podium__rank {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.podium__city {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2rem;
    font-weight: bold;
    white-space: nowrap;
}

.podium__score {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    color: #666;
}

.podium__box {
    background: var(--primary-color);
    border-radius: 4px 4px 0 0;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Firework Animation */
.firework {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    animation: firework 2s ease-out infinite;
}

.firework:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.firework:nth-child(2) {
    top: 30%;
    right: 20%;
    animation-delay: 0.5s;
}

.firework:nth-child(3) {
    bottom: 20%;
    left: 50%;
    animation-delay: 1s;
}

@keyframes firework {
    0% {
        transform: scale(0);
        opacity: 1;
        background: var(--primary-color);
    }
    100% {
        transform: scale(20);
        opacity: 0;
        background: transparent;
    }
}

/* Categorie Advies Styling */
.categorie-advies {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.categorie-advies h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.score-text {
    color: #666;
    margin-bottom: 1.5rem;
}

.sporten-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.sport-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.sport-header {
    margin-bottom: 1rem;
}

.sport-header h4 {
    color: var(--primary-color);
    margin: 0;
}

.sport-details p {
    color: #666;
    margin-bottom: 1rem;
}

.sport-meta {
    font-size: 0.9rem;
    color: #666;
}

.age-range {
    display: block;
    margin-bottom: 0.5rem;
}

.beweegredenen {
    margin-top: 0.5rem;
}

/* Overzicht Styling */
.overzicht-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.selected-categories {
    margin-bottom: 2rem;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.category-tag {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
}

.filters {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.category-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.category-option label {
    cursor: pointer;
}

input[type="text"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

/* Nieuwe stijlen voor sporten grid */
.sports-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 0;
}

.sport-card {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.sport-card:hover {
    transform: translateY(-5px);
}

.sport-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.sport-categorie {
    font-style: italic;
    margin-bottom: 1rem;
}

.sport-beschrijving {
    margin-bottom: 1rem;
    line-height: 1.6;
    flex-grow: 1; /* Zorgt ervoor dat de beschrijving de beschikbare ruimte inneemt */
}

.sport-beweegredenen {
    margin-bottom: 1rem;
    font-weight: bold;
    color: var(--primary-color);
}

.sport-card .btn-outline {
    margin-top: auto; /* Duwt de knop naar beneden */
    align-self: flex-start; /* Zorgt ervoor dat de knop links uitgelijnd blijft */
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    color: #666;
}

@media (max-width: 768px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .filters {
        position: sticky;
        top: 80px;
        z-index: 100;
    }

    .podium {
        flex-direction: column;
        align-items: center;
        height: auto;
    }

    .podium__item {
        width: 100%;
        margin-bottom: 2rem;
    }

    .podium__box {
        height: 100px !important;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* Styling voor de checkboxes */
.checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .content-wrapper {
        flex-direction: column;
    }

    .filter-sidebar {
        width: 100%;
        position: static;
    }
}

.beweegredenen-volgorde {
    margin: 0.5rem 0 0 1.5rem;
    padding: 0;
    color: var(--primary-color);
    font-weight: bold;
}
.beweegredenen-volgorde li {
    margin-bottom: 0.2rem;
}

/* Sport Detail Styling */
.sport-detail-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    padding-top: 8rem;
    background: var(--light-bg);
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .sport-detail-container {
        padding: 1rem;
        padding-top: 7rem;
    }
}

.sport-detail-container h1 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.sport-detail-container .sport-categorie {
    font-style: italic;
    margin-bottom: 1rem;
}

.sport-detail-container .sport-beschrijving {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.sport-detail-container .sport-beweegredenen {
    margin-bottom: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.sport-detail-container hr {
    margin: 2rem 0;
    border: 0;
    border-top: 1px solid #eee;
}

.sport-detail-container h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.clubs-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    list-style: none;
    padding: 0;
}

.club-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

.club-item h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.club-item p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.club-item p strong {
    color: var(--text-color);
}

.club-item .btn-outline {
    margin-top: 1rem;
} 

/* Footer */
.footer {
    background-color: var(--light-bg);
    padding: 3rem 0 1rem;
    margin-top: 3rem;
    border-top: 1px solid #ddd;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    font-size: 1.5rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: transform 0.3s;
}

.social-links a:hover {
    transform: scale(1.2);
}

.footer-bottom {
    border-top: 1px solid #ddd;
    padding-top: 2rem;
    text-align: center;
    color: var(--text-color);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Form Validation Styles */
.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2);
}

.form-group input.valid,
.form-group select.valid,
.form-group textarea.valid {
    border-color: #28a745;
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.2);
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Alert Dismiss Button */
.alert-dismiss {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    float: right;
    margin-left: 1rem;
    color: inherit;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.alert-dismiss:hover {
    opacity: 1;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        margin: 0.5rem 0;
    }
    
    .header-content {
        position: relative;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .features {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .feature {
        margin-bottom: 1rem;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 1rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
} 

/* Basis typografie */
html, body {
    font-size: 16px;
}

h1, h2, h3, h4 {
    color: var(--text-color);
    line-height: 1.25;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }

/* Navigatie verbeteringen */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-text {
    font-weight: 700;
    letter-spacing: 0.5px;
}

nav ul li a.active,
nav ul li a[aria-current="page"] {
    color: var(--primary-color);
    font-weight: 600;
}

/* Knop varianten */
.btn-sm { padding: 0.5rem 0.9rem; font-size: 0.9rem; }
.btn-lg { padding: 1.1rem 2.2rem; font-size: 1.05rem; }

/* Kaarten en secties */
.section {
    padding: 2rem 0;
}

.section-muted {
    background: var(--light-bg);
}

.card-list { display: grid; gap: 1rem; }

/* Tabellen: compacte weergave */
.table.table-compact th,
.table.table-compact td { padding: 0.5rem; }

/* Formulierrijen */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 768px) { .form-row { grid-template-columns: 1fr; } }

/* Hero fallback wanneer afbeelding ontbreekt */
.hero { background-color: #5f5f5f; }

/* Links algemeen */
a { color: inherit; }
a.btn { color: inherit; }

/* Header afstand tot content */
body { padding-top: 80px; }

/* Subtle borders */
.border { border: 1px solid #e6e6e6; border-radius: 8px; }

/* Utilities kleur */
.text-muted { color: #6b7280; }
.text-primary { color: var(--primary-color); }
.bg-white { background: #fff; }
.bg-light { background: var(--light-bg); }

/* Fix mobile header stacking */
@media (max-width: 768px) {
    header { padding: 0.75rem 0; }
} 

.logo-img {
    height: 40px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.75rem;
} 