/* Algemene styling */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

/* Hero Titel & Introductie */
.over-ons-header {
    text-align: center;
    padding: 50px 20px;
}

.over-ons-header h1 {
    font-size: 3rem;
    font-weight: bold;
    color: #d4af37;
    text-transform: uppercase;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.over-ons-header p {
    font-size: 1.2rem;
    color: #555;
    margin-top: 10px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Over Musical Almere Sectie */
.over-musical-almere {
    max-width: 1000px;
    margin: 40px auto;
    padding: 30px;
    background: white;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    text-align: center;
}

.over-musical-almere h2 {
    font-size: 28px;
    color: #c79c60;
    margin-bottom: 10px;
}

.over-musical-almere p {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
}

/* Titel boven de tabs */
.section-title {
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    color: #333;
    margin: 40px 0;
}

/* Tabs-container */
.tabs-container {
    display: flex;
    max-width: 1000px;
    margin: 40px auto;
    background: white;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

/* Tabs */
.tabs {
    width: 30%;
    background: #f1f1f1;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

/* Tab-knoppen */
.tab-button {
    background: none;
    border: none;
    padding: 15px;
    font-size: 18px;
    text-align: left;
    color: #333;
    cursor: pointer;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease-in-out;
    white-space: nowrap; /* Voorkomt afbreken van tekst */
}

/* Lijn onder de actieve tab */
.tab-button.active {
    color: #c79c60;
    font-weight: bold;
}

.tab-button.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 3px;
    background: #c79c60;
    transition: width 0.3s ease-in-out;
}

/* Hover-effect: streep van links naar rechts */
.tab-button::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 3px;
    background: #c79c60;
    transition: width 0.3s ease-in-out;
}

.tab-button:hover::before {
    width: 100%;
}

/* Inhoud aan de rechterkant */
.tab-content-container {
    width: 70%;
    padding: 30px;
}

/* Gouden tab-titels */
.tab-content h3 {
    font-size: 24px;
    color: #d4af37;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* Tab-inhoud standaard verborgen */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Teamlijst */
.team-lijst {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.team-lijst li {
    font-size: 18px;
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

.team-lijst li:last-child {
    border-bottom: none;
}

/* 🔥 Fix voor tabs die naast elkaar blijven op mobiel */
@media (max-width: 900px) {
    .tabs-container {
        flex-direction: column;
    }

    /* Tabs blijven horizontaal en scrollbaar */
    .tabs {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 10px 0;
        white-space: nowrap;
        scroll-behavior: smooth;
        border-bottom: 1px solid #ddd;
    }

    /* Scrollbar verbergen */
    .tabs::-webkit-scrollbar {
        display: none;
    }

    /* Tabs goed zichtbaar houden */
    .tab-button {
        flex: 0 0 auto;
        padding: 12px 15px;
        font-size: 16px;
        text-align: center;
    }

    /* Inhoud goed leesbaar maken */
    .tab-content-container {
        width: 95%;
        padding: 20px;
        background: white;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        margin-top: 10px;
    }

    /* Tab-inhoud breder maken */
    .tab-content {
        padding: 15px;
        font-size: 16px;
        line-height: 1.6;
    }

    /* Tab titels iets kleiner voor leesbaarheid */
    .tab-content h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    /* Lijstitems compact houden */
    .team-lijst li {
        font-size: 16px;
        padding: 6px 0;
    }

    /* Algemeen tekstformaat kleiner voor betere leesbaarheid */
    .over-ons-header h1 {
        font-size: 2.5rem;
    }

    .over-ons-header p {
        font-size: 1rem;
        max-width: 90%;
    }

    .over-musical-almere h2 {
        font-size: 24px;
    }

    .over-musical-almere p {
        font-size: 16px;
    }
}

/* 📌 CTA-knop styling */
.cta-button {
    display: inline-block;
    padding: 12px 20px;
    background: #d4af37;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.15);
    margin-top: 15px;
    text-align: center;
}

.cta-button:hover {
    background: #b88a2e;
    transform: translateY(-2px);
    box-shadow: 0px 5px 12px rgba(0, 0, 0, 0.2);
}

/* 📌 CTA-knop centreren in tab-content */
.tab-content .cta-button {
    display: block;
    max-width: 200px;
    margin: 15px auto 0;
}
