/* ===== RESET & BASE ===== */
* {
    box-sizing: border-box; /* Padding en border worden meegeteld in totale breedte/hoogte */
    margin: 0;
    padding: 0;
}

/* ===== HEADER ===== */
header {
    background-color: #ede7e3;
    color: white;
    padding: 10px 0;
    display: flex;
    align-items: center;
    height: 75px;
}

.header-text {
    font-size: 2em;
    margin-left: 5em;
    color: #9B6A6c;
    font-weight: 800;
}

/* Header rechts (zoekbalk + iconen) */
.rechts {
    display: flex;
    align-items: center;
    margin-left: auto; /* Pushes element naar rechts */
    margin-right: 5em;
}

.rechts svg {
    color: #424b54;
    cursor: pointer;
}

/* ===== ZOEKBALK ===== */
.search-bar {
    display: flex;
    align-items: center;
    position: relative; /* Voor absolute positionering van icoon */
    margin-left: auto;
    margin-right: 1.5em;
}

.search-icon-wrapper {
    position: absolute; /* Gepositioneerd binnen .search-bar */
    left: 8px;
    display: flex;
    align-items: center;
    z-index: 1; /* Zorgt dat icoon boven input blijft */
}

.input {
    border: none;
    padding: 1rem 1rem 1rem 40px; /* Extra links padding voor icoon */
    border-radius: 1rem;
    background: rgb(249, 249, 250);
    box-shadow: 20px 20px 60px #c5c5c5, -20px -20px 60px #ffffff; /* Neumorphism effect */
    transition: 0.3s;
    width: 200px;
}

/* Placeholder tekst */
.input::placeholder {
    color: #71717a;
    font-weight: 500;
}

/* Focus state zoekbalk */
.input:focus {
    outline-color: #e8e8e8;
    background: #9B6A6c;
    box-shadow: inset 20px 20px 60px #7a5052, inset -20px -20px 60px #c89ca0; /* Inset shadow voor ingedrukt effect */
    color: white;
}

.input:focus::placeholder {
    color: white;
}

/* :focus-within selecteert parent wanneer child focus heeft */
.search-bar:focus-within svg {
    color: white;
}

/* ===== HEADER ICONEN ===== */
.notifications {
    margin-right: 1.5em;
}

.profile {
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
}

/* ===== NAVIGATIE ===== */
.nav-container {
    display: flex;
    flex-direction: column; /* Stapelt nav items verticaal */
    width: 250px;
    height: 100%;
    background-color: #ede7e3;
    color: white;
    padding-top: 2em;
    gap: 1em;
    border-top: #424B54 3px solid;
}

/* Links zonder underline */
.nav-container a {
    text-decoration: none;
}

.nav-container svg {
    color: #424b54;
    cursor: pointer;
}

/* Navigatie items */
.nav-item {
    display: flex;
    align-items: center;
    gap: 1em;
    padding: 1em;
    transition: background-color 0.3s, color 0.3s;
    color: #9B6A6c;
    font-size: 18px;
}

.nav-item:hover {
    background-color: #9B6A6c;
    color: white;
    cursor: pointer;
}

/* ===== FOOTER ===== */
.site-footer {
    background: linear-gradient(135deg, #ede7e3 0%, #f5f1ed 100%); /* Gradient achtergrond */
    border-top: 3px solid #9B6A6c;
    margin-top: auto; /* Pushes footer naar onderkant */
    position: relative;
}

/* Footer container voor max breedte */
.footer-container {
    max-width: 1200px;
    margin: 0 auto; /* Centreert container horizontaal */
    padding: 0 2rem;
}

/* ===== FOOTER MAIN CONTENT ===== */
.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr; /* 4 kolommen met verschillende breedtes */
    gap: 3rem;
    padding: 3rem 0 2rem;
}

/* ===== BRAND SECTIE ===== */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.brand-icon {
    color: #9B6A6c;
    width: 32px;
    height: 32px;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #424b54;
}

.brand-description {
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===== SOCIAL MEDIA LINKS ===== */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-link {
    display: flex;
    align-items: center; /* Centreert icoon verticaal */
    justify-content: center; /* Centreert icoon horizontaal */
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%; /* Perfecte cirkel */
    color: #9B6A6c;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    box-shadow: 0 2px 8px rgba(155, 106, 108, 0.1);
}

.social-link:hover {
    background: #9B6A6c;
    color: white;
}

/* ===== FOOTER LINKS SECTIONS ===== */
.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #424b54;
    margin-bottom: 0.5rem;
}

/* Footer navigatie lijst */
.footer-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #9B6A6c;
}

/* ===== CONTACT INFORMATIE ===== */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #6b7280;
    font-size: 0.9rem;
}

/* Contact iconen */
.contact-item svg {
    color: #9B6A6c;
    flex-shrink: 0; /* Voorkomt dat icoon verkleind wordt bij lange tekst */
}

/* ===== FOOTER BOTTOM ===== */
.footer-bottom {
    border-top: 1px solid rgba(155, 106, 108, 0.15);
    padding: 1.5rem 0;
    background: rgba(255, 255, 255, 0.3);
}

/* Footer onderkant content */
.footer-bottom-content {
    display: flex;
    justify-content: space-between; /* Verdeelt items met ruimte ertussen */
    align-items: center;
    flex-wrap: wrap; /* Wrappen naar volgende regel op kleine schermen */
    gap: 1rem;
}

.copyright p {
    color: #6b7280;
    font-size: 0.9rem;
}

.footer-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #9ca3af;
    font-size: 0.85rem;
}

/* Scheiding tussen meta items */
.separator {
    color: #d1d5db;
}

/* Build versie badge */
.build-info {
    font-family: 'Courier New', monospace;
    background: rgba(155, 106, 108, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet - 1024px en kleiner */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 2rem;
    }
    
    .footer-main {
        grid-template-columns: 1fr 1fr; /* 2 kolommen op tablets */
        gap: 2.5rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1; /* Spans over alle kolommen */
    }
}

/* Mobile - 768px en kleiner */
@media (max-width: 768px) {
    .header {
        height: 60px;
    }
    
    .nav-container {
        padding: 0 1rem;
        gap: 1.5rem;
    }
    
    .nav-item {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    .search-container {
        width: 180px;
    }
    
    .input {
        width: 150px;
        padding: 0.8rem 0.8rem 0.8rem 35px;
        font-size: 0.9rem;
    }
    
    .footer-container {
        padding: 0 1rem;
    }
    
    .footer-main {
        grid-template-columns: 1fr; /* 1 kolom op mobiel */
        gap: 2rem;
        padding: 2rem 0 1.5rem;
    }
    
    .brand-logo {
        justify-content: center;
        text-align: center;
    }
    
    .brand-description {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-links,
    .footer-contact {
        text-align: center;
    }
    
    .footer-nav {
        align-items: center;
    }
    
    .contact-info {
        align-items: center;
    }
    
    .footer-bottom-content {
        flex-direction: column; /* Stapelt items verticaal op mobiel */
        text-align: center;
        gap: 0.75rem;
    }
}

/* Small Mobile - 480px en kleiner */
@media (max-width: 480px) {
    .header {
        height: 50px;
    }
    
    .nav-container {
        gap: 1rem;
        padding: 0 0.75rem;
    }
    
    .nav-item {
        font-size: 0.85rem;
        padding: 0.3rem 0.6rem;
    }
    
    .search-container {
        width: 150px;
    }
    
    .input {
        width: 120px;
        padding: 0.6rem 0.6rem 0.6rem 30px;
        font-size: 0.85rem;
    }
    
    .footer-main {
        padding: 1.5rem 0 1rem;
    }
    
    .brand-text {
        font-size: 1.3rem;
    }
    
    .social-links {
        gap: 0.75rem;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .footer-title {
        font-size: 1rem;
    }
    
    .footer-link,
    .contact-item {
        font-size: 0.85rem;
    }
    
    .footer-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .copyright p {
        font-size: 0.75rem;
    }
}