/* Saemereien.ch Header Styles for JTL Shop */

/* ===== TOP BAR STYLES ===== */
.saemereien-top-bar {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 8px 0;
    font-size: 13px;
    color: #6c757d;
}

.saemereien-top-bar .top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.saemereien-top-bar .top-bar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.saemereien-top-bar .phone-info,
.saemereien-top-bar .shipping-info {
    display: flex;
    align-items: center;
    gap: 5px;
}

.saemereien-top-bar .shipping-info {
    background-color: #28a745;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.saemereien-top-bar a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.saemereien-top-bar a:hover {
    color: #495057;
    text-decoration: none;
}

/* ===== MAIN HEADER STYLES ===== */
.saemereien-main-header {
    background-color: #ffffff;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

/* Logo Styles */
.saemereien-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
}

.logo-container .navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.saemereien-logo {
    max-height: 55px;
    width: auto;
}

.logo-text {
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 18px;
    line-height: 1.2;
    color: #2c5530;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Search Styles */
.saemereien-search-wrapper {
    max-width: 500px;
    margin: 0 auto;
}

.search-input-group {
    display: flex;
    border: 2px solid #ff6b35;
    border-radius: 25px;
    overflow: hidden;
    background-color: white;
}

.saemereien-search-input {
    flex: 1;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    outline: none;
    background: transparent;
}

.saemereien-search-input::placeholder {
    color: #999;
}

.saemereien-search-btn {
    background-color: #ff6b35;
    border: none;
    padding: 12px 20px;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.saemereien-search-btn:hover {
    background-color: #e55a2b;
}

/* Header Icons Styles */
.saemereien-header-icons {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}

.header-icon-item {
    text-align: center;
}

.header-icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #495057;
    transition: color 0.3s ease;
}

.header-icon-link:hover {
    color: #ff6b35;
    text-decoration: none;
}

.icon-container {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.wishlist-icon {
    background-color: #ffe6e6;
    color: #dc3545;
}

.account-icon {
    background-color: #e6f3ff;
    color: #007bff;
}

.cart-icon {
    background-color: #e6ffe6;
    color: #28a745;
}

.icon-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.icon-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: white;
}

.badge-red {
    background-color: #dc3545;
}

.badge-blue {
    background-color: #007bff;
}

.badge-green {
    background-color: #28a745;
}

.icon-label {
    font-size: 12px;
    font-weight: 500;
}

/* ===== NAVIGATION STYLES ===== */
.saemereien-navigation {
    background: linear-gradient(90deg, 
        #ffa500 0%, #ffa500 14.28%,
        #20b2aa 14.28%, #20b2aa 28.56%,
        #9370db 28.56%, #9370db 42.84%,
        #ff6347 42.84%, #ff6347 57.12%,
        #dc143c 57.12%, #dc143c 71.4%,
        #b22222 71.4%, #b22222 85.68%,
        #32cd32 85.68%, #32cd32 100%
    );
    padding: 0;
}

.saemereien-nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.saemereien-nav-menu .nav-item {
    flex: 1;
    position: relative;
}

.saemereien-nav-menu .nav-link {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.saemereien-nav-menu .nav-item:last-child .nav-link {
    border-right: none;
}

.saemereien-nav-menu .nav-link:hover,
.saemereien-nav-menu .nav-link.active {
    background-color: rgba(255,255,255,0.2);
    text-decoration: none;
    color: white;
}

.category-count {
    font-size: 12px;
    opacity: 0.8;
}

/* Category-specific colors */
.nav-category-1 .nav-link { background-color: #ffa500; } /* Orange - Gemüse */
.nav-category-2 .nav-link { background-color: #20b2aa; } /* Teal - Kräuter */
.nav-category-3 .nav-link { background-color: #9370db; } /* Purple - Blumen */
.nav-category-4 .nav-link { background-color: #ff6347; } /* Orange-Red - Sonstige Saaten */
.nav-category-5 .nav-link { background-color: #dc143c; } /* Red - Pflanzgut & Pilzbrut */
.nav-category-6 .nav-link { background-color: #b22222; } /* Dark Red - Gartenzubehör */
.nav-category-7 .nav-link { background-color: #32cd32; } /* Green - Beratung */

/* ===== MOBILE SEARCH STYLES ===== */
.saemereien-mobile-search {
    background-color: #f8f9fa;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.mobile-search-input-group {
    display: flex;
    border: 2px solid #ff6b35;
    border-radius: 25px;
    overflow: hidden;
    background-color: white;
}

.mobile-search-input {
    flex: 1;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    outline: none;
    background: transparent;
}

.mobile-search-btn {
    background-color: #ff6b35;
    border: none;
    padding: 10px 15px;
    color: white;
    cursor: pointer;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 991.98px) {
    .saemereien-top-bar .top-bar-left,
    .saemereien-top-bar .top-bar-right {
        justify-content: center;
        text-align: center;
        margin-bottom: 5px;
    }
    
    .saemereien-header-icons {
        justify-content: center;
        gap: 10px;
    }
    
    .icon-container {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .icon-label {
        font-size: 11px;
    }
    
    .saemereien-navigation {
        background: none;
    }
    
    .saemereien-nav-menu {
        flex-direction: column;
        background-color: #f8f9fa;
    }
    
    .saemereien-nav-menu .nav-link {
        border-right: none;
        border-bottom: 1px solid #e9ecef;
        color: #495057;
    }
    
    .saemereien-nav-menu .nav-link:hover {
        background-color: #e9ecef;
        color: #495057;
    }
}

@media (max-width: 767.98px) {
    .saemereien-main-header {
        padding: 10px 0;
    }
    
    .saemereien-header-icons {
        gap: 8px;
    }
    
    .icon-container {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .icon-label {
        font-size: 10px;
    }
}

/* ===== UTILITY CLASSES ===== */
.saemereien-header .container-fluid {
    max-width: 1400px;
}

/* Animation for mobile menu */
#saemereienNavigation.collapsing,
#saemereienNavigation.collapse.show {
    display: block;
}

#saemereienNavigation.collapse:not(.show) {
    display: none;
}

/* Focus styles for accessibility */
.saemereien-search-input:focus,
.mobile-search-input:focus {
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.25);
}

.header-icon-link:focus,
.nav-link:focus {
    outline: 2px solid #ff6b35;
    outline-offset: 2px;
}

