/* Header Styles - Modern and Minimalist */

/* Main Header Container */
.site-header {
    background: linear-gradient(135deg, #faf5ee 0%, #f8f4f0 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Header Bar */
.ast-primary-header-bar {
    padding: 0.5rem 0;
    background: transparent;
    border: none;
}

/* Logo and Branding */
.site-branding {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-logo-img img {
    max-height: 32px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.site-logo-img img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.site-title {
    font-family: 'Manrope', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-title:hover {
    color: #667eea;
}

/* Navigation Menu */
.main-header-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-header-menu .menu-item {
    position: relative;
    margin: 0;
}

.main-header-menu .menu-link {
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    display: block;
}

.main-header-menu .menu-link:hover {
    color: #667eea;
    background-color: rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.main-header-menu .current-menu-item .menu-link {
    color: #667eea;
    background-color: rgba(102, 126, 234, 0.1);
    font-weight: 600;
}

/* Submenu Styles */
.main-header-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
}

.main-header-menu .menu-item:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-header-menu .sub-menu .menu-item {
    margin: 0;
}

.main-header-menu .sub-menu .menu-link {
    padding: 0.75rem 1.5rem;
    color: #64748b;
    border-radius: 0;
    font-size: 0.9rem;
}

.main-header-menu .sub-menu .menu-link:hover {
    background-color: #f8fafc;
    color: #667eea;
}

/* Mobile Menu Toggle */
.menu-toggle {
    background: transparent;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.5rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle:hover {
    border-color: #667eea;
    color: #667eea;
    background-color: rgba(102, 126, 234, 0.1);
}

.menu-toggle .mobile-menu-toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

/* Mobile Menu */
.ast-mobile-header-content {
    background: white;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#ast-mobile-site-navigation .main-header-menu {
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
}

#ast-mobile-site-navigation .menu-item {
    width: 100%;
    border-bottom: 1px solid #f1f5f9;
}

#ast-mobile-site-navigation .menu-item:last-child {
    border-bottom: none;
}

#ast-mobile-site-navigation .menu-link {
    padding: 1rem 1.5rem;
    width: 100%;
    border-radius: 0;
    font-size: 1rem;
}

#ast-mobile-site-navigation .menu-link:hover {
    background-color: #f8fafc;
}

/* Language Switcher in Header */
.ast-header-html .polylang-switcher {
    margin-left: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ast-primary-header-bar {
        padding: 0.4rem 0;
    }
    
    .site-logo-img img {
        max-height: 28px;
    }
    
    .main-header-menu {
        gap: 0.75rem;
    }
    
    .main-header-menu .menu-link {
        padding: 0.3rem 0.5rem;
        font-size: 0.85rem;
    }
}

/* Header Animation */
.site-header {
    animation: headerSlideDown 0.5s ease-out;
}

@keyframes headerSlideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sticky Header Effect */
.site-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Focus States for Accessibility */
.main-header-menu .menu-link:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.menu-toggle:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
} 

.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item
 {
    line-height: inherit;
}