:root {
  --blue1: #7C83FB;
  --blue2: #7CB6FB;
  --blue3: #7C9CFB;
  --blue4: #8E7CFB;
  --blue5: #A87CFB;
  --blue6: #472f75;
  --blue7: #afd6fe; 
  --blue8: #264473; 
  --blue9: #e1e8f4; 
  --blue10: #b3bff4;
  --silver: #C0C0C0;
  --text: #333;
  --hover: #ffffff;
  --grey: #d9d9d9; 
  --lila: #c5d5ff;
  --green: #215356;
  --font: 'Poppins', sans-serif;
}

/* Basisstijl */
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: var(--lila);
  color: var(--blue8);
}

/* ------------------------------------------------ */
/* 2. NAVIGATIE BALK STYLING */
/* ------------------------------------------------ */

.navbar {
    display: flex;
    /* Verdeel de ruimte tussen Links, Logo en Rechts */
    justify-content: space-between; 
    align-items: center;
    background-color: var(--blue9);
    padding: 0.5rem 2rem; /* Grotere padding aan de zijkanten */
    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; /* Zorgt voor het volledige klikgebied */
}

.nav-links a:hover {
    background-color: var(--hover);
    color: var(--blue6);
    border: 2px solid var(--blue6);
}

/* Logo en Zoekbalk */
.logo-wrapper {
    flex-shrink: 0; /* Voorkom dat het logo krimpt */
}

.logo-img {
    max-height: 120px;
    height: auto;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
    margin: 0; /* Verwijder de onnodige marge */
}

.logo-img:hover {
    transform: scale(1.0) translateY(-5px);
}

/* Rechterkant - Groepering Zoek, Home, Cart */
.right-side-icons {
    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-icon {
    width: 20px;
    height: 20px;
    color: var(--blue8);
    transition: color 0.3s;
}

.search-button:hover .search-icon {
    color: var(--blue4); 
}

/* 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);
}


/* --- NIEUWE STIJLEN VOOR WISHLIST ICOON IN NAVIGATIEBALK --- */

/* 1. STIJL VOOR DE WISHLIST ICON CONTAINER */
.wishlist-icon {
    position: relative;
    cursor: pointer;
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; 
    height: 40px;
}

.wishlist-icon a {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 2. STIJL VOOR HET HARTJE ZELF (WIT) */
.wishlist-icon .fa-heart {
    color: white; /* MAAK HET HARTJE WIT */
    font-size: 2.0em; /* Zorg voor gelijke grootte als andere iconen */
    transition: color 0.2s;
}

.wishlist-icon .fa-heart:hover {
    color: rgb(199, 85, 85); 
}

/* 3. STIJL VOOR DE TELLER (MODERN/WITTE RAND) */
/* Dit is de algemene .cart-count stijl die nu ook op de wishlist van toepassing is */
.cart-count {
    position: absolute;
    top: -5px; 
    right: -5px; 
    
    background-color: var(--blue1); /* Paarse achtergrond bubbel */
    color: white;
    border: 0.5px solid white; /* VOEG WITTE RAND TOE */
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.75em; 
    font-weight: 700;
    min-width: 15px;
    text-align: center;
    line-height: 1.2; 
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); 
}

/* Stijl voor de WINKELMAND ICON CONTAINER */
.cart-icon {
    position: relative; /* <-- DEZE REGEL IS DE OPLOSSING! */
    cursor: pointer;
    /* Andere stijlen die je al hebt... */
}


/* Submenu's */
.submenu-container {
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    background-color: var(--blue9);
    border: 1px solid var(--blue7);
    padding: 1rem 0; /* Verticale padding, horizontale padding door li */
    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;
}

.submenu a {
    text-decoration: none;
    color: var(--blue8);
    font-weight: normal;
    padding: 0.5rem 1.5rem; /* Zorgt voor het klikgebied binnen de lijst */
}

.nav-item:hover .submenu {
    display: block;
}

/* Sub-Submenu Styling (Webshop) */
/* Vereist dat de <li> van de hoofditems in het submenu ook position: relative; krijgt */
.submenu li {
    position: relative; 
}

.sub-submenu {
    display: none;
    position: absolute;
    left: 100%; /* Plaats het rechts naast het hoofditem */
    top: 0;
    background-color: var(--blue7); /* Andere achtergrondkleur voor onderscheid */
    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);
}



/* Styling voor de aparte Winkelwagen Pagina (winkelmand.html) */

.cart-page-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.cart-page-container h1 {
    text-align: center;
    color: var(--blue1);
    margin-bottom: 30px;
    font-size: 2.5em;
}

.content-wrapper {
    display: flex;
    gap: 30px;
}

/* Linker Kolom: Item Lijst */
.cart-items-list {
    flex-grow: 1;
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Stijl voor één Item in de Lijst */
.cart-list-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--blue9);
}

.cart-list-item:last-child {
    border-bottom: none;
}

.item-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 20px;
}

.item-details {
    flex-grow: 1;
}

.item-details h3 {
    margin: 0 0 5px 0;
    color: var(--blue8);
    font-size: 1.2em;
}

.item-details p {
    margin: 0;
    color: var(--text);
}

.item-price {
    font-weight: bold;
    color: var(--accent-color);
    margin-left: 20px;
    font-size: 1.1em;
}

/* Hoeveelheid Controls */
.quantity-control {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.quantity-control button {
    background-color: var(--blue9);
    border: 1px solid var(--blue7);
    color: var(--blue8);
    padding: 5px 12px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.2s;
}

.quantity-control button:hover {
    background-color: var(--accent-hover);
    color: var(--light-text);
}

.quantity-control input {
    width: 40px;
    text-align: center;
    border: 1px solid var(--blue9);
    margin: 0 5px;
    padding: 5px 0;
    font-weight: bold;
    color: var(--blue8);
}

.remove-item-btn-page {
    background: none;
    border: none;
    color: red;
    font-size: 1.5em;
    margin-left: 30px;
    cursor: pointer;
    transition: color 0.2s;
}
.remove-item-btn-page:hover {
    color: darkred;
}

/* Rechter Kolom: Samenvatting */
.cart-summary-card {
    width: 350px;
    flex-shrink: 0;
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

.cart-summary-card h2 {
    color: var(--blue8);
    margin-top: 0;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--blue9);
}

.summary-details {
    margin-bottom: 20px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.total-line {
    font-size: 1.3em;
    font-weight: bold;
    color: var(--accent-color);
}

.cart-summary-card hr {
    border: none;
    border-top: 1px solid var(--blue9);
    margin: 15px 0;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--accent-color);
    color: var(--light-text);
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s;
    text-transform: uppercase;
}

.checkout-btn:hover {
    background-color: var(--accent-hover);
}

.tax-info {
    font-size: 0.85em;
    color: var(--silver);
    text-align: center;
    margin: 15px 0;
}

.continue-shopping {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: var(--blue8);
    text-decoration: none;
    transition: color 0.2s;
}

.continue-shopping:hover {
    color: var(--accent-color);
}

/* Responsieve aanpassingen */
@media (max-width: 900px) {
    .content-wrapper {
        flex-direction: column;
    }
    .cart-summary-card {
        width: 100%;
    }
}

/* --- Modern Contact Banner Stijlen --- */

.contact-banner-container {
    /* Centreer de banner onder de hoofdinhoud van de winkelwagen */
    max-width: 1200px;
    margin: 40px auto; /* Ruimte boven en onder de banner */
    padding: 0 20px; /* Horizontale padding voor kleinere schermen */
}

.contact-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f5f5f5; /* Lichtgrijze achtergrond voor contrast */
    border-radius: 15px; /* Afgeronde hoeken */
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* Zachte schaduw */
}

.contact-text-content {
    max-width: 60%;
}

.contact-banner h2 {
    font-size: 2.2em;
    font-weight: 700;
    color: var(--blue8);
    margin-bottom: 10px;
}

.contact-banner p {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background-color: var(--blue1); /* Accentkleur (bijv. rood/roze) */
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    letter-spacing: 0.5px;
}

.contact-button:hover {
    background-color: var(--blue2); /* Iets donkerder bij hover */
    transform: translateY(-2px); /* Klein zwevend effect */
}

.contact-button i {
    margin-left: 10px;
}

.contact-image-wrapper {
    max-width: 150px; /* Controleer de grootte van de afbeelding */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Update voor de afbeelding in de contact banner */
.contact-icon-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    /* NIEUW: Maak de hoeken mooi rond (bijv. 15px) */
    border-radius: 15px; 
    /* U kunt de optionele rand en padding behouden of weglaten */
    border: 3px solid var(--blue1); 
    padding: 5px; 
}



/* Zorg dat de afbeeldingswrapper klaar is voor de beweging */
.contact-image-wrapper {
    /* ... bestaande stijlen ... */
    max-width: 150px; 
    display: flex;
    justify-content: center;
    align-items: center;
    /* Belangrijk: Maak de overgang vloeiend */
    transition: transform 0.4s ease-in-out; 
}

/* Hover-effect: laat de afbeelding licht draaien en omhoog bewegen */
.contact-image-link:hover .contact-image-wrapper {
    transform: translateY(-5px) rotate(2deg); /* Beweegt 5px omhoog en draait 2 graden */
}

/* Media Query voor kleinere schermen (responsiviteit) */
@media (max-width: 768px) {
    .contact-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .contact-text-content {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .contact-image-wrapper {
        order: -1; /* Verplaats de afbeelding naar boven op mobiel */
        margin-bottom: 20px;
        max-width: 100px;
    }

    .contact-banner h2 {
        font-size: 1.8em;
    }
}




/* ------------------------------------------------ */
/* 5. 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;
}

/* Styling voor Social Media iconen in de footer */
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);
}