/* Header Stijlen - Professionele Versie */
.header {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Mobile menu button - verborgen op desktop */
.mobile-menu-btn {
    display: none;
}

/* Force sticky op mobile */
@media (max-width: 768px) {
    .header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 9999 !important;
    }
    
    /* Compensatie voor fixed header */
    body {
        padding-top: 100px; /* Aangepast voor kleinere header hoogte */
    }
}

/* Mobiele zoekbalk sectie - verborgen op desktop */
.mobile-search {
    display: none;
}

/* Mobiele announcements - verborgen op desktop */
.mobile-announcements {
    display: none;
}

.header-top {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    color: var(--white);
    padding: 10px 0;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.3px;
    position: relative;
}

.header-top::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-orange) 20%, var(--accent-orange) 80%, transparent 100%);
    box-shadow: 0 1px 3px rgba(255, 107, 53, 0.3);
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

.header-top-left span {
    display: flex;
    align-items: center;
    font-weight: 500;
}

.header-top-left i {
    margin-right: 8px;
    font-size: 14px;
    opacity: 0.9;
}

.header-top-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-top-right a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 4px;
    transition: var(--transition);
    position: relative;
}

.header-top-right a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.language-selector {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 4px 12px !important;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.header-main {
    padding: 15px 0;
    background: var(--white);
}

.header-main-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo-image {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
}

.logo a {
    text-decoration: none !important;
    border-bottom: none !important;
}

/* Strepen onder logo verwijderd */

.search-bar {
    flex: 1;
    max-width: 700px;
    position: relative;
    margin: 0 30px;
}

.search-bar input {
    width: 100%;
    padding: 16px 60px 16px 25px;
    border: 2px solid #e8e8e8;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 400;
    transition: var(--transition);
    background: #fafafa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary-green);
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0, 166, 81, 0.15);
    transform: translateY(-1px);
}

.search-bar input::placeholder {
    color: #999;
    font-weight: 400;
}

.search-bar button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    color: var(--white);
    border: none;
    padding: 12px 18px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
    box-shadow: 0 2px 10px rgba(0, 166, 81, 0.3);
}

.search-bar button:hover {
    background: linear-gradient(135deg, var(--primary-green-dark) 0%, #007a3a 100%);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 166, 81, 0.4);
}

.header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-left: auto;
}

.header-actions a {
    position: relative;
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 22px;
    transition: var(--transition);
    padding: 12px;
    border-radius: 50%;
    background: #f8f9fa;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
}

.header-actions a:hover {
    color: var(--primary-green);
    background: rgba(0, 166, 81, 0.1);
    border-color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 166, 81, 0.2);
}

.account-btn {
    font-weight: 600;
}

.cart-btn {
    position: relative;
    background: #f8f9fa;
    border: 2px solid transparent;
    color: var(--dark-gray);
    font-size: 18px;
    cursor: pointer;
    padding: 12px;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

.cart-btn:hover {
    background: rgba(0, 166, 81, 0.1);
    color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 166, 81, 0.2);
}

.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-orange);
    color: var(--white);
    font-size: 11px;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 4px rgba(255, 107, 53, 0.3);
    z-index: 10;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Navigation Styles */
.main-nav {
    background: var(--white);
    border-top: 1px solid #f0f0f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark-gray);
    text-decoration: none;
    padding: 20px 25px;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    border-bottom: 3px solid transparent;
}

.nav-link:hover {
    color: var(--primary-green);
    background: rgba(0, 166, 81, 0.05);
    border-bottom-color: var(--primary-green);
    transform: translateY(-1px);
}

.nav-link i {
    font-size: 14px;
    transition: var(--transition);
}

.nav-link:hover i {
    transform: translateY(-1px);
}

.nav-link.sale {
    color: var(--accent-orange);
    font-weight: 600;
}

.nav-link.sale:hover {
    background: rgba(255, 107, 53, 0.1);
    border-bottom-color: var(--accent-orange);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 600px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid #f0f0f0;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding: 30px;
}

.dropdown-column h4 {
    color: var(--primary-green);
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.dropdown-column h4::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-orange);
    border-radius: 1px;
}

.dropdown-column a {
    display: block;
    color: var(--dark-gray);
    text-decoration: none;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 400;
    transition: var(--transition);
    position: relative;
    padding-left: 20px;
}

.dropdown-column a:hover {
    color: var(--primary-green);
    transform: translateX(5px);
    font-weight: 500;
}

.dropdown-column a::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-weight: 700;
    opacity: 0;
    transition: var(--transition);
}

.dropdown-column a:hover::before {
    opacity: 1;
    transform: translateX(3px);
}

/* Mobile Header Styles */
@media (max-width: 768px) {
    /* Header Top - Mobiele Slider - Premium Design */
    .header-top {
        padding: 8px 0;
        position: relative;
        overflow: hidden;
        height: 40px;
        background: linear-gradient(135deg, #1a4d3a 0%, var(--primary-green) 50%, #0d7c47 100%);
        box-shadow: 0 2px 8px rgba(0, 166, 81, 0.3);
    }
    
    .header-top-content {
        position: relative;
        height: 100%;
        display: flex;
        align-items: center;
    }
    
    /* Desktop elementen verbergen op mobiel */
    .header-top-left,
    .header-top-right {
        display: none;
    }
    
    /* Mobiele Slider Container - Premium */
    .mobile-announcements {
        display: block;
        width: 100%;
        height: 100%;
        position: relative;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(10px);
    }
    
    .announcement-slider {
        display: flex;
        height: 100%;
        animation: slideAnnouncements 20s infinite ease-in-out;
    }
    
    .announcement-slide {
        min-width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 6px 60px;
        font-size: 12px;
        font-weight: 700;
        text-align: center;
        line-height: 1.2;
        position: relative;
        background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
    }
    
    .announcement-slide span {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        white-space: nowrap;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        text-shadow: 0 1px 3px rgba(0,0,0,0.3);
        letter-spacing: 0.5px;
        text-transform: uppercase;
        position: relative;
        padding-bottom: 2px;
    }
    
    .announcement-slide span::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 50%;
        transform: translateX(-50%);
        width: 60%;
        height: 2px;
        background: linear-gradient(90deg, transparent 0%, var(--accent-orange) 50%, transparent 100%);
        border-radius: 1px;
        box-shadow: 0 1px 3px rgba(255, 107, 53, 0.4);
    }
    
    .announcement-slide i {
        font-size: 16px;
        flex-shrink: 0;
        margin-right: 2px;
        filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
        animation: iconGlow 3s ease-in-out infinite alternate;
    }
    
    @keyframes iconGlow {
        0% { filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3)); }
        100% { filter: drop-shadow(0 1px 4px rgba(255,255,255,0.4)); }
    }
    
    @keyframes slideAnnouncements {
        0%, 22% { transform: translateX(0); opacity: 1; }
        25%, 27% { transform: translateX(-100%); opacity: 1; }
        30%, 47% { transform: translateX(-100%); opacity: 1; }
        50%, 52% { transform: translateX(-200%); opacity: 1; }
        55%, 72% { transform: translateX(-200%); opacity: 1; }
        75%, 77% { transform: translateX(-300%); opacity: 1; }
        80%, 97% { transform: translateX(-300%); opacity: 1; }
        100% { transform: translateX(0); opacity: 1; }
    }
    
    /* Header Main - Logo links, iconen rechts */
    .header-main {
        padding: 8px 0;
    }
    
    .header-main-content {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
    }
    
    .logo {
        text-align: left;
        flex-shrink: 0;
    }
    
    .logo-image {
        height: 40px;
        width: auto;
        max-width: 150px;
        object-fit: contain;
        display: block;
    }
    
    .logo a {
        text-decoration: none !important;
        border-bottom: none !important;
    }
    
    /* Hamburger menu knop - alleen zichtbaar op mobile */
    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: var(--primary-green);
        color: white;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        font-size: 18px;
        margin-right: 10px;
        transition: var(--transition);
        order: -1; /* Plaats knop voor de logo */
    }
    
    .mobile-menu-btn:hover {
        background: var(--primary-green-dark);
        transform: scale(1.05);
    }
    
    .mobile-menu-btn.active i {
        transform: rotate(90deg);
    }

    /* Header Acties - Rechts uitgelijnd */
    .header-actions {
        display: flex;
        gap: 12px;
        margin-left: auto;
        align-items: center;
    }
    
    .header-actions a {
        width: 40px;
        height: 40px;
        font-size: 16px;
        padding: 8px;
    }
    
    .cart-btn {
        width: 48px;
        height: 48px;
        font-size: 18px;
        padding: 12px;
        background: #f8f9fa;
        border: 2px solid transparent;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: var(--transition);
    }
    
    .cart-btn:hover {
        background: rgba(0, 166, 81, 0.1);
        color: var(--primary-green);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0, 166, 81, 0.2);
    }
    
    .badge {
        font-size: 11px;
        font-weight: 800;
        min-width: 16px;
        height: 16px;
        top: -3px;
        right: -3px;
        line-height: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
        transition: opacity 0.3s ease;
    }
    
    /* Zoekbalk - Onder de header in eigen sectie */
    .header-main-content .search-bar {
        display: none;
    }
    
    /* Nieuwe zoekbalk sectie voor mobiel */
    .mobile-search {
        display: block;
        background: var(--white);
        padding: 10px 20px;
        border-bottom: 1px solid #e9ecef;
    }
    
    .mobile-search .search-bar {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
    
    .mobile-search .search-bar input {
        height: 45px;
        font-size: 16px;
        padding: 0 50px 0 15px;
        width: 100%;
    }
    
    .mobile-search .search-bar button {
        width: 45px;
        height: 45px;
        padding: 0;
        font-size: 14px;
    }
    
    /* Navigation aanpassingen voor mobiel */
    .main-nav {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
        z-index: 999;
        max-height: 400px;
        overflow: hidden;
    }
    
    .main-nav.mobile-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu {
        flex-direction: column;
        padding: 20px 0;
    }
    
    .nav-link {
        padding: 15px 25px;
        border-bottom: 1px solid #f0f0f0;
        border-left: none;
        border-right: none;
        border-top: none;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        margin-top: 0;
        background: #f8f9fa;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown-menu.mobile-dropdown-open {
        max-height: 300px;
    }
    
    .dropdown-content {
        grid-template-columns: 1fr;
        padding: 15px 25px;
        gap: 15px;
    }
    
    .dropdown-column h4 {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .dropdown-column a {
        padding: 5px 0;
        font-size: 13px;
    }
}

/* Extra kleine schermen */
@media (max-width: 480px) {
    .header-top-content {
        flex-direction: column;
        gap: 10px;
    }
    
    /* Extra kleine schermen - premium aankondigingsbalk */
    .announcement-slide {
        padding: 5px 50px !important;
        font-size: 11px !important;
    }
    
    .announcement-slide span {
        gap: 8px !important;
        letter-spacing: 0.3px !important;
    }
    
    .announcement-slide i {
        font-size: 14px !important;
    }
    
    .header-top-left span {
        margin-right: 10px;
    }
} 