/* Header and Navigation Styles (no changes needed here) */
.header-container {
    background: white;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.site-navigation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Logo Centered at Top */
.site-branding {
    order: 1;
}

.site-branding .logo,
.site-branding .custom-logo {
    max-height: 80px;
    width: auto;
}

/* Navigation Below Logo */
.nav-left,
.nav-right {
    order: 2;
}

.nav-right {
    display: flex;
}

.nav-left {
    display: none; /* Hide left nav since we're combining everything */
}

/* Combined Navigation */
.nav-right .main-navigation {
    display: flex;
    list-style: none;
    gap: 6rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

/* Actually, let's restructure this properly */
.main-navigation {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    text-transform: capitalize;
    padding: 10px 0;
    display: block;
}

.main-navigation a:hover {
    color: #e91e63;
}

.main-navigation .current-menu-item a,
.main-navigation .current_page_item a {
    color: #2196f3;
    position: relative;
}

.main-navigation .current-menu-item a::after,
.main-navigation .current_page_item a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #2196f3;
}

/* Dropdown Menu - UPDATED FOR WORDPRESS CLASSES */
.menu-item-has-children { /* Replaced .has-dropdown */
    position: relative;
}

.sub-menu { /* Replaced .dropdown-menu */
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    min-width: 250px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 10px 0;
    list-style: none;
    margin: 5px 0 0 0;
}

.menu-item-has-children:hover > .sub-menu { /* Replaced .has-dropdown:hover .dropdown-menu */
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.sub-menu li { /* Replaced .dropdown-menu li */
    margin: 0;
}

.sub-menu a { /* Replaced .dropdown-menu a */
    padding: 12px 20px;
    color: #333;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.sub-menu a:hover { /* Replaced .dropdown-menu a:hover */
    background: #f8f9fa;
    color: #e91e63;
}

.sub-menu li:last-child a { /* Replaced .dropdown-menu li:last-child a */
    border-bottom: none;
}

/* Mobile Menu Toggle (no changes needed here) */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    order: 3;
}

.mobile-menu-toggle:hover {
    background: rgba(0,0,0,0.1);
    border-radius: 4px;
}

/* Mobile Responsive - UPDATED FOR WORDPRESS CLASSES */
@media (max-width: 768px) {
    .main-navigation {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-right {
        display: none;
        width: 100%;
    }
    
    .nav-right.mobile-menu-open {
        display: block;
    }
    
    .main-navigation {
        flex-direction: column;
        gap: 0;
        width: 100%;
        background: white;
        padding: 20px 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        border-radius: 8px;
        margin-top: 10px;
    }
    
    .main-navigation a {
        padding: 15px 20px;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
    }
    
    .main-navigation li:last-child a {
        border-bottom: none;
    }
    
    /* Mobile Dropdown */
    .sub-menu { /* Replaced .dropdown-menu */
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        margin: 0;
        border-radius: 0;
    }
    
    .sub-menu a { /* Replaced .dropdown-menu a */
        padding-left: 40px;
        font-size: 14px;
        color: #666;
    }
}