/* Standaard CSS Reset en variabele import */
:root {
    /* Alle variabelen uit jouw bericht, inclusief de :root die je al hebt */
    --blue1: #7C83FB;
    --blue2: #7CB6FB;
    --blue3: #7C9CFB;
    --blue4: #8E7CFB;
    --blue5: #A87CFB;
    --blue6: #472f75;
    --blue7: #afd6fe; 
    --blue8: #264473; 
    --blue9: #e1e8f4; 
    --silver: #C0C0C0;
    --text: #333;
    --hover: #ffffff;
    --dark-bg: #1c1c24; /* Donkere achtergrondkleur */
    --light-text: #f0f0f5; /* Lichte tekstkleur */
    --accent-color: #6a0dad; /* Paars/violet accentkleur */
    --accent-hover: #8d4ee4; /* Lichtere paars voor hover */
    --card-bg: #2a2a35; /* Kleur voor de kaart-achtergrond */
    --lila: #c5d5ff;
    --green: #215356;
    --font: 'Poppins', sans-serif;
}

/* Algemene styling voor de pagina */
body {
    font-family: var(--font);
    background-color: var(--lila);
    color: var(--blue8);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* ------------------------------------------------ */
/* 2. GECORRIGEERDE NAVIGATIE BALK STYLING */
/* ------------------------------------------------ */

.navbar {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    background-color: var(--blue9);
    padding: 0.5rem 2rem;  
    top: 0;
    z-index: 2000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Navigatie Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem; 
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--blue8);
    font-weight: bold;
    padding: 0.5rem 1rem;
    border: 2px solid transparent;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: block; 
}

.nav-links a:hover {
    background-color: var(--hover);
    color: var(--blue6);
    border: 2px solid var(--blue6);
}

/* Logo Fix */
.logo-wrapper { /* Nieuwe container voor het logo */
    flex-shrink: 0;
    text-align: center;
}

.logo-img {
    max-height: 120px;
    height: auto;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
    margin: 0; /* BELANGRIJK: Oude margin-left: 100px verwijderd */
}

.logo-img:hover {
    transform: scale(1.0) translateY(-5px);
}

/* Rechterkant - Groepering Zoek, Home, Cart */
.right-side-icons { /* Vervangt de oude .right-side, .home, en .cart div's */
    display: flex;
    align-items: center;
    gap: 1.5rem; 
}

/* Zoekbalk Wrapper */
.search-wrapper {
    display: flex;
    align-items: center;
    border: 2px solid var(--blue7);
    border-radius: 25px;
    padding: 5px 10px;
    background-color: var(--hover);
    width: fit-content;
    box-shadow: 0 0 8px rgba(var(--blue4), 0.3);
}

.search-bar {
    border: none;
    outline: none;
    font-size: 16px;
    padding: 10px;
    width: 200px;
    background-color: transparent;
}

.search-button {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}

.search-button:hover .search-icon {
    color: var(--blue4); 
}

.search-icon {
    width: 20px;
    height: 20px;
    color: var(--blue8);
    transition: color 0.3s;
}

/* Home en Cart Iconen */
.home-icon img,
.cart-icon img {
    height: 45px;
    display: block;
    transition: transform 0.3s ease;
}

.home-icon img:hover,
.cart-icon img:hover {
    transform: scale(1.1);
}


/* Submenu's */
.submenu-container {
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    background-color: var(--blue9);
    border: 1px solid var(--blue7);
    padding: 1rem 0; 
    list-style: none;
    margin: 0;
    z-index: 100;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    border-radius: 5px;
}

.submenu li {
    margin: 0;
    position: relative; /* Nodig voor sub-submenu */
}

.submenu a {
    text-decoration: none;
    color: var(--blue8);
    font-weight: normal;
    padding: 0.5rem 1.5rem; 
    display: block; /* Maak het hele li-vlak klikbaar */
}

.nav-item:hover .submenu {
    display: block;
}

/* Sub-Submenu Styling (Webshop) */
.sub-submenu {
    display: none;
    position: absolute;
    left: 100%; 
    top: 0;
    background-color: var(--blue7); 
    border: 1px solid var(--blue6);
    padding: 0.5rem 0;
    list-style: none;
    min-width: 150px;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.submenu li:hover .sub-submenu {
    display: block;
}

.sub-submenu a {
    color: var(--blue8);
}

.sub-submenu a:hover {
    background-color: var(--lila);
}





/* Hoofdcontainer van de contactpagina */
#contact-page {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

/* Koptekst sectie */
.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h1 {
    font-size: 3em;
    color: var(--blue1); /* Gebruik een van je blauwtinten voor de titel */
    margin-bottom: 5px;
}

.contact-header .subtitle {
    font-size: 1.0em;
    color: var(--blue8);
    font-weight: 300;
}

/* De gesplitste sectie (links/rechts) */
.contact-content-split {
    display: flex;
    gap: 40px; /* Ruimte tussen links en rechts */
    padding: 20px 0;
}

.contact-info-text,
.contact-form-container {
    flex: 1; /* Beide nemen gelijke ruimte in */
    padding: 20px;
    background-color: var(--blue9); /* Een iets lichtere donkere achtergrond voor de kaarten */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Subtiele schaduw */
}

/* Visuele scheidingslijn (door de rechtersectie een border-left te geven) */
.contact-form-container {
    padding-left: 40px; /* Meer ruimte na de lijn */
}

/* Styling voor de tekstsectie (links) */
.contact-info-text h2 {
    color: var(--blue3);
    margin-top: 0;
}

/* MAILTO hyperlink styling */
.email-link-container {
    display: flex;
    align-items: center;
    margin: 20px 0;
    padding: 15px;
    background-color: var(--blue8); /* Donkerdere blauwe achtergrond */
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.email-link-container:hover {
    background-color: var(--blue6);
}

.email-icon {
    font-size: 1.5em;
    margin-right: 15px;
}

.email-link {
    color: var(--hover); /* Witte tekst */
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: var(--blue7); /* Lichtere blauw bij hover */
    text-decoration: underline;
}

.response-note {
    font-style: italic;
    color: var(--silver);
    font-size: 0.9em;
    margin-top: 30px;
}

/* Styling voor de TEAM CONTACT BOX */

.team-contacts-box {
    margin-top: 40px;
    padding: 25px;
    background-color: var(--green); /* Gebruik een van je donkerdere blauwtinten voor de achtergrond */
    border-radius: 8px;
    border: 1px solid var(--blue5); /* Paarse/blauwe rand voor een accent */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.team-contacts-box h3 {
    color: var(--hover); /* Witte tekst voor de titel */
    margin-top: 0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px dashed var(--blue7); /* Onderstreping */
    padding-bottom: 10px;
}

.star-icon {
    color: var(--blue7); /* Lichtblauw accent voor het sterretje */
    font-size: 1.2em;
    margin-right: 10px;
}

.team-member {
    margin-bottom: 15px;
    padding: 10px;
    background-color: var(--lila); /* Iets donkerder accent voor individuele leden */
    border-radius: 4px;
}

.team-member p {
    margin: 3px 0;
    font-size: 0.95em;
}

.team-member strong {
    color: var(--blue8); /* Lila kleur voor de naam/functie */
}

.team-email-link a {
    color: var(--blue2); /* Lichtere blauw voor de links */
    text-decoration: none;
    font-weight: 500;
}

.team-email-link a:hover {
    color: var(--hover);
    text-decoration: underline;
}

.team-contacts-box .note {
    font-size: 0.8em;
    text-align: center;
    margin-top: 20px;
    color: var(--silver);
}


/* Styling voor het Formulier (rechts) */
.contact-form-container h2 {
    color: var(--blue3);
    margin-top: 0;
}

.contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-group {
    flex: 1 1 calc(50% - 20px); /* 2 kolommen, met 20px ruimte ertussen */
    display: flex;
    flex-direction: column;
}

.full-width {
    flex: 1 1 100%; /* Maakt dit veld de volledige breedte */
}

.form-group label {
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--blue8);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
    padding: 12px;
    border: 1px solid var(--blue6);
    border-radius: 6px;
    background-color: var(--green); 
    color: var(--light-text);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-size: 1em;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--blue5); /* Mooie paarse focus */
    box-shadow: 0 0 0 3px rgba(168, 124, 251, 0.3);
    outline: none;
}

/* Submit knop */
.submit-button {
    background-color: var(--lila); /* Paars accentkleur */
    color: var(--hover);
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 20px;
    flex: 1 1 100%; /* Maakt de knop de volledige breedte */
}

.submit-button:hover {
    background-color: var(--blue4);
    transform: translateY(-2px); /* Subtiele interactie */
}

.submit-button:disabled {
    background-color: var(--blue8);
    cursor: not-allowed;
}

/* Statusbericht (interactie) */
.form-status {
    flex: 1 1 100%;
    margin-top: 15px;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    font-weight: 600;
}

/* Media Queries voor mobiel */
@media (max-width: 768px) {
    .contact-content-split {
        flex-direction: column;
        gap: 20px;
    }
    
    .contact-form-container {
        border-left: none; /* Verwijder de scheidingslijn op kleine schermen */
        border-top: 2px solid var(--blue6); /* Scheiding met een bovenlijn */
        padding-left: 20px; /* Standaard padding terug */
        padding-top: 40px;
    }
    
    .form-group {
        flex: 1 1 100%; /* Alle formuliervelden 100% breedte op mobiel */
    }
}


.contact-form input.error,
.contact-form textarea.error {
    border-color: red !important;
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.3) !important;
}

/* ------------------------------------------------ */
/* 4. FOOTER STYLING */
/* ------------------------------------------------ */

footer {
    text-align: center;
    padding: 2rem 0;
    background-color: var(--blue9);
    color: var(--blue8);
    margin-top: 40px;
    width: 100%;
    font-size: 0.9em;
}

footer p {
    margin: 5px 0;
}

footer img {
    height: 40px;
    width: 40px;
    margin: 0 10px;
    vertical-align: middle;
    transition: transform 0.2s ease;
}

footer a:hover img {
    transform: scale(1.1);
}