// Wstaw ten skrypt na końcu body lub w osobnym pliku JS
document.addEventListener('DOMContentLoaded', function() {
    const hamburger = document.querySelector('.hamburger');
    const phoneMenu = document.querySelector('.phone-menu');
    const links = document.querySelector('.linksLogged') || document.querySelector('.linksNoLogined');

    if (hamburger && links) {
        hamburger.addEventListener('click', function(e) {
            e.preventDefault();
            e.stopPropagation();
            hamburger.classList.toggle('active');
            if (phoneMenu) phoneMenu.classList.toggle('active');
            links.classList.toggle('active');
        });
    }
});