#primary-menu>li.language-switch>a {
    background: var(--color-primary);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    margin-left: 1rem;
    box-shadow: 0 4px 12px rgba(200, 160, 85, 0.3);
}

#primary-menu>li.language-switch>a::before {
    display: none;
}

#primary-menu>li.language-switch>a:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 92, 146, 0.4);
}

/* Site Header */
.site-header {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(200, 160, 85, 0.1);
}

body[data-theme="dark"] .site-header {
    background-color: rgba(17, 24, 39, 0.95);
    border-bottom-color: rgba(200, 160, 85, 0.2);
}

/* Logo Sizing */
.site-branding img {
    transition: transform 0.3s ease;
}

.site-branding img:hover {
    transform: scale(1.05);
}

/* Main Navigation - Centered */
.main-navigation {
    display: flex;
    justify-content: center;
    flex: 1;
}

/* Main Navigation Menu */
#primary-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

#primary-menu>li {
    position: relative;
    margin: 0;
    padding: 0;
}

#primary-menu>li>a {
    color: #1f2937;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.65rem 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    white-space: nowrap;
    display: inline-block;
    position: relative;
    letter-spacing: 0.3px;
}

/* Premium animated underline effect */
#primary-menu>li>a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform: translateX(-50%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(200, 160, 85, 0.3);
}

#primary-menu>li>a:hover {
    color: var(--color-primary);
    transform: translateY(-2px);
}

#primary-menu>li>a:hover::before {
    width: 100%;
}

/* Active/Current menu item */
#primary-menu>li.current-menu-item>a,
#primary-menu>li.current_page_item>a {
    color: var(--color-primary);
    font-weight: 700;
}

#primary-menu>li.current-menu-item>a::before,
#primary-menu>li.current_page_item>a::before {
    width: 100%;
}

body[data-theme="dark"] #primary-menu>li>a {
    color: #d1d5db;
}

body[data-theme="dark"] #primary-menu>li>a:hover {
    color: var(--color-primary);
}

body[data-theme="dark"] #primary-menu>li.current-menu-item>a,
body[data-theme="dark"] #primary-menu>li.current_page_item>a {
    color: var(--color-primary);
}

/* Language Switcher */
.language-switcher a {
    min-width: 70px;
    justify-content: center;
    --tw-bg-opacity: 1;
    background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}

body[data-theme="dark"] .language-switcher a {
    --tw-bg-opacity: 1;
    background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
}

.language-switcher a:hover svg {
    transform: scale(1.1);
}

/* Theme Switcher */
.theme-switcher {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f3f4f6;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.theme-switcher:hover {
    background: #e5e7eb;
    transform: rotate(180deg);
}

body[data-theme="dark"] .theme-switcher {
    background: #374151;
}

body[data-theme="dark"] .theme-switcher:hover {
    background: #4b5563;
}

.theme-switcher-toggle {
    position: relative;
    width: 20px;
    height: 20px;
}

.theme-switcher-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

.icon-sun {
    opacity: 1;
    color: #f59e0b;
}

.icon-moon {
    opacity: 0;
    color: #60a5fa;
}

body[data-theme="dark"] .icon-sun {
    opacity: 0;
}

body[data-theme="dark"] .icon-moon {
    opacity: 1;
}

/* CTA Button */
.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    font-weight: 600;
    border-radius: 9999px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(200, 160, 85, 0.3);
    white-space: nowrap;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 160, 85, 0.4);
}

/* Mobile Menu */
#mobile-menu {
    background: #f9fafb;
    border-radius: 12px;
    margin-top: 1rem;
    padding: 1rem;
}

body[data-theme="dark"] #mobile-menu {
    background: #1f2937;
}

#mobile-primary-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

#mobile-primary-menu li a {
    display: block;
    padding: 0.75rem 1rem;
    color: #4b5563;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#mobile-primary-menu li a:hover {
    background: rgba(200, 160, 85, 0.1);
    color: var(--color-primary);
}

body[data-theme="dark"] #mobile-primary-menu li a {
    color: #d1d5db;
}

body[data-theme="dark"] #mobile-primary-menu li a:hover {
    background: rgba(200, 160, 85, 0.15);
}

/* Sticky Header Effect */
.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .site-branding img {
        height: 3rem;
    }
}

@media (max-width: 768px) {
    .site-branding img {
        height: 2.5rem;
    }
}