/* Mobile Sidebar Navigation */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

@media (max-width: 968px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 5rem 0 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 1099;
        overflow-y: auto;
    }

    .nav.open {
        left: 0;
    }

    .nav li {
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .nav li a {
        display: block;
        padding: 1rem 1.5rem;
        font-weight: 600;
        color: var(--text-primary);
        font-size: 1rem;
        transition: all 0.3s ease;
    }

    .nav li a:hover {
        background: var(--hover-bg);
        color: var(--accent);
    }

    .dropdown-menu {
        position: static;
        display: none;
        background: var(--bg-secondary);
        box-shadow: none;
        border-radius: 0;
        margin: 0;
        padding: 0;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu li {
        border-bottom: none;
    }

    .dropdown-menu li a {
        padding: 0.75rem 2.5rem;
        font-size: 0.9rem;
        color: var(--text-secondary);
        font-weight: 500;
        text-align: center;
    }

    .dropdown-menu li a:hover {
        background: var(--hover-bg);
        color: var(--accent);
    }
}
