/* Custom Sticky Navigation Menu */
.sticky-nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.sticky-nav-container.show {
    transform: translateY(0);
}

.sticky-nav-menu {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
    max-width: 1200px;
    margin: 0 auto;
}

.sticky-nav-menu li {
    margin: 0;
    padding: 0;
    flex: 1;
    text-align: center;
}

.sticky-nav-menu a {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    position: relative;
}

.sticky-nav-menu a:hover {
    color: var(--theme-color-alter_link, #007cba);
    background-color: rgba(0, 124, 186, 0.05);
}

.sticky-nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--theme-color-alter_link, #007cba);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.sticky-nav-menu a:hover::after {
    width: 80%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sticky-nav-menu {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center;
        padding: 6px 0;
        gap: 1px;
    }
    
    .sticky-nav-menu a {
        padding: 6px 8px;
        font-size: 10px;
        text-align: center;
        min-width: auto;
        flex: 1;
        white-space: nowrap;
    }
    
    .sticky-nav-container {
        max-height: auto;
        overflow-y: visible;
    }
    
    /* Make menu more compact on very small screens */
    @media (max-width: 480px) {
        .sticky-nav-menu a {
            padding: 4px 6px;
            font-size: 9px;
            letter-spacing: 0.1px;
        }
        
        .sticky-nav-menu {
            gap: 1px;
            padding: 4px 0;
        }
    }
}

/* Force horizontal layout for all screen sizes */
.sticky-nav-menu {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
}

.sticky-nav-menu li {
    flex: 1 !important;
    display: inline-block !important;
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
    .sticky-nav-container {
        background: rgba(30, 30, 30, 0.95);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .sticky-nav-menu a {
        color: #fff;
    }
    
    .sticky-nav-menu a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Section anchors for navigation */
.section-anchor {
    scroll-margin-top: 80px;
} 