﻿/* Mobile-First Navigation Styles */
nav {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

    nav .container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

    .nav-links a {
        color: white;
        text-decoration: none;
        transition: opacity 0.3s;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

        .nav-links a:hover {
            opacity: 0.8;
        }

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Sidebar Styles */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #1e3c72;
    z-index: 1001;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0,0,0,0.3);
}

    .mobile-sidebar.active {
        right: 0;
    }

.mobile-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

    .mobile-sidebar-header h3 {
        color: white;
        margin: 0;
        font-size: 1.3rem;
        font-weight: bold;
    }

.close-sidebar {
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
}

.mobile-nav-links {
    list-style: none;
    padding: 1rem 0;
    margin: 0;
}

    .mobile-nav-links li {
        margin: 0;
    }

    .mobile-nav-links a {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1rem 1.5rem;
        color: white;
        text-decoration: none;
        transition: background-color 0.3s;
        font-size: 1.1rem;
    }

        .mobile-nav-links a:hover {
            background-color: rgba(255, 255, 255, 0.1);
        }

        .mobile-nav-links a i {
            font-size: 1.2rem;
        }

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    backdrop-filter: blur(2px);
    display: none;
}

    .mobile-overlay.active {
        display: block;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    nav .container {
        padding: 0;
    }
}
