/* =================================================================
   RESPONSIVE / MOBIL DRAWER — kiszedve base.html-ből 2026-06-04 F1
   Forrás: projects/templates/projects/base.html <style> 322–378 sorok
   Tartalom: hamburger menü, overlay, mobil sidebar drawer
   ================================================================= */

/* MOBIL */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 10px;
    margin-right: 8px;
    font-size: 20px;
    color: var(--topbar-text);
    border-radius: 6px;
    line-height: 1;
}
.menu-toggle:hover { background: rgba(0,0,0,.06); }
html[data-theme="dark"] .menu-toggle:hover { background: rgba(255,255,255,.1); }

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

.sidebar-overlay.active {
    display: block;
}

@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 280px;
        transform: translateX(-100%);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .menu-toggle {
        display: block;
    }

    .content-area {
        padding: 15px;
    }

    #closeSidebar {
        display: block !important;
    }
}
