window.toggleMenu = function () {
    const nav = document.getElementById("nav-menu");
    const toggle = document.getElementById("menu-toggle");

    nav.classList.toggle("active");
    toggle.classList.toggle("active");

    toggle.innerHTML = toggle.classList.contains("active") ? "✕" : "☰";
};
