/**
 * MSW Universele Header Styling
 * Goud & Grijs Design
 */

/* Top Info Bar */
.msw-top-bar {
    background: var(--msw-grey-dark, #1F1F1F);
    color: var(--msw-white, #FFFFFF);
    padding: 10px 0;
    font-size: 0.85rem;
    border-bottom: 2px solid var(--msw-gold, #D5B03A);
}

.msw-top-bar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.msw-top-info {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.msw-top-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--msw-white, #FFFFFF);
}

.msw-top-item .msw-icon {
    font-size: 1rem;
}

.msw-top-item a {
    color: var(--msw-white, #FFFFFF);
    text-decoration: none;
    transition: color 0.3s ease;
}

.msw-top-item a:hover {
    color: var(--msw-gold, #D5B03A);
}

.msw-top-usps {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.msw-usp-badge {
    background: rgba(213, 176, 58, 0.15);
    color: var(--msw-gold, #D5B03A);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--msw-gold, #D5B03A);
}

/* Main Header */
.msw-main-header {
    background: var(--msw-white, #FFFFFF);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.msw-main-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.msw-header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

/* Logo */
.msw-logo a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.msw-logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--msw-gold, #D5B03A);
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1;
    margin-bottom: 2px;
}

.msw-logo-subtitle {
    font-size: 0.75rem;
    color: var(--msw-grey, #383838);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Main Navigation */
.msw-main-nav {
    display: flex;
    gap: 30px;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.msw-nav-link {
    color: var(--msw-grey, #383838);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 10px 5px;
    position: relative;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.msw-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--msw-gold, #D5B03A);
    transition: width 0.3s ease;
}

.msw-nav-link:hover {
    color: var(--msw-gold, #D5B03A);
}

.msw-nav-link:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.msw-nav-dropdown {
    position: relative;
}

.msw-dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.msw-nav-dropdown:hover .msw-dropdown-arrow {
    transform: rotate(180deg);
}

.msw-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--msw-white, #FFFFFF);
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    padding: 20px;
    min-width: 500px;
    display: none;
    margin-top: 10px;
    border-top: 3px solid var(--msw-gold, #D5B03A);
    z-index: 1001;
}

.msw-nav-dropdown:hover .msw-dropdown-menu {
    display: flex;
    gap: 20px;
}

.msw-dropdown-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.msw-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--msw-grey, #383838);
    transition: all 0.3s ease;
}

.msw-dropdown-item:hover {
    background: var(--msw-bg-cream, #FAF7F2);
    transform: translateX(5px);
}

.msw-dropdown-icon {
    width: 30px;
    height: 30px;
    background: var(--msw-gold, #D5B03A);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--msw-grey-dark, #1F1F1F);
    font-size: 0.9rem;
    font-weight: bold;
    flex-shrink: 0;
}

.msw-dropdown-content {
    flex: 1;
}

.msw-dropdown-name {
    font-weight: 600;
    color: var(--msw-grey-dark, #1F1F1F);
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.msw-dropdown-price {
    font-size: 0.85rem;
    color: var(--msw-gold, #D5B03A);
    font-weight: 600;
}

/* Header Actions */
.msw-header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.msw-cart-button {
    position: relative;
    width: 45px;
    height: 45px;
    background: var(--msw-bg-cream, #FAF7F2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.msw-cart-button:hover {
    background: var(--msw-gold, #D5B03A);
    border-color: var(--msw-gold, #D5B03A);
}

.msw-cart-icon {
    font-size: 1.3rem;
}

.msw-cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--msw-gold, #D5B03A);
    color: var(--msw-grey-dark, #1F1F1F);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    border: 2px solid white;
}

.msw-cta-button {
    background: var(--msw-gold, #D5B03A);
    color: var(--msw-grey-dark, #1F1F1F);
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(213, 176, 58, 0.3);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.msw-cta-button:hover {
    background: var(--msw-gold-dark, #B8972D);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(213, 176, 58, 0.4);
}

.msw-phone-icon {
    font-size: 1.1rem;
}

/* Mobile Toggle */
.msw-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.msw-mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--msw-grey, #383838);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.msw-mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

.msw-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.msw-mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

/* Mobile Menu */
.msw-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--msw-white, #FFFFFF);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
    z-index: 1002;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.msw-mobile-menu.active {
    right: 0;
}

.msw-mobile-menu-content {
    padding: 80px 30px 30px;
}

.msw-mobile-link {
    display: block;
    padding: 15px 0;
    color: var(--msw-grey, #383838);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.msw-mobile-link:hover {
    color: var(--msw-gold, #D5B03A);
    padding-left: 10px;
}

.msw-mobile-contact {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.msw-mobile-cta {
    background: var(--msw-gold, #D5B03A);
    color: var(--msw-grey-dark, #1F1F1F);
    padding: 15px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    display: block;
}

/* Sticky Header Effect */
.msw-main-header.scrolled {
    padding: 8px 0;
}

.msw-main-header.scrolled .msw-logo-text {
    font-size: 1.6rem;
}

.msw-main-header.scrolled .msw-logo-subtitle {
    display: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .msw-main-nav {
        display: none;
    }
    
    .msw-mobile-toggle {
        display: flex;
    }
    
    .msw-header-actions .msw-cta-button span:not(.msw-phone-icon) {
        display: none;
    }
    
    .msw-top-info {
        gap: 15px;
        font-size: 0.8rem;
    }
    
    .msw-top-usps {
        gap: 10px;
    }
    
    .msw-usp-badge {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
}

@media (max-width: 768px) {
    .msw-top-bar-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .msw-top-info {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    .msw-top-usps {
        justify-content: center;
        width: 100%;
    }
    
    .msw-logo-text {
        font-size: 1.6rem;
    }
    
    .msw-logo-subtitle {
        font-size: 0.7rem;
    }
    
    .msw-header-actions .msw-cta-button {
        padding: 10px 15px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .msw-top-item {
        font-size: 0.75rem;
    }
    
    .msw-top-usps {
        flex-wrap: wrap;
    }
    
    .msw-usp-badge {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
    
    .msw-logo-text {
        font-size: 1.4rem;
    }
}

