/**
 * ===================================
 * Navigation Active State Fix
 * File: public/css/nav-active-state.css
 * ✅ FIX: Main nav links now show active state on current page
 * ===================================
 */

/* Main Navigation Links - Active State */
.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
    background: rgba(102, 126, 234, 0.05);
}

/* ✅ FIXED: Active state for current page */
.nav-links a.active {
    color: var(--primary);
    font-weight: 600;
    background: rgba(102, 126, 234, 0.1);
    position: relative;
}

/* Active indicator line (optional - looks professional) */
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* Material icon color for active link */
.nav-links a.active .material-icons-sharp {
    color: var(--primary);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .nav-links a.active::after {
        bottom: -4px;
        width: 20px;
        height: 2px;
    }
}