/* Desktop Navigation Styles - Footer-like Design */
.desktop-nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

.desktop-nav-links li {
    margin: 0;
    padding: 0;
}

.nav-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 4px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    background-color: rgba(255,255,255,0.1);
}

.nav-icon {
    font-size: 1.1rem;
    width: 1.4rem;
    height: 1.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0.9;
}

/* Mobile Navigation Styles */
.mobile-nav-container {
    display: none;
    padding: 5px 10px;
    position: relative;
}

.mobile-menu-button {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    outline: none;
}

.mobile-menu-button:focus {
    outline: none;
}

/* Ensure button doesn't change appearance when active */
.mobile-menu-button:active,
.mobile-menu-button.active {
    background-color: transparent;
    color: white;
    outline: none;
}

.mobile-menu-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1000;
    padding: 0;
    flex-direction: column;
    border-radius: 0 0 4px 4px;
    max-height: 80vh;
    overflow-y: auto;
}

.mobile-menu-dropdown.active {
    display: flex;
}

.mobile-menu-dropdown a {
    color: var(--mainColor);
    padding: 10px 15px;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

.mobile-menu-dropdown a:last-child {
    border-bottom: none;
}

@media (max-width: 767px) {
    .mobile-nav-container {
        display: block;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .nav-link, .mobile-menu-button {
        border: 1px solid white;
    }
    
    .nav-icon,
    .nav-link span {
        color: white !important;
        opacity: 1 !important;
    }
} 