

    
    /* Nasconde l'hamburger su Desktop */
    .hamburgerBtn {
      display: none;
      font-size: 28px;
      background: none;
      border: none;
      color: white;
      cursor: pointer;
      z-index: 1001; /* Sopra al menu */
    }

    /* Nasconde la sidebar su Desktop */
    .sidebar-mobile {
      display: none;
    }


    /* --- SOTTO I 768px (SMARTPHONE E TABLET) --- */
    @media (max-width: 1024px) {
      /* Nasconde i link classici del desktop */
      .nav-desktop {
        display: none;
      }

      /* Mostra l'hamburger */
      .hamburgerBtn {
        display: block;
      }

      /* Struttura del menu a scomparsa */
      .sidebar-mobile {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: -280px; /* Completamente nascosto a sinistra */
        width: 280px !important;
        height: 100vh;
        background-color: #222;
        padding-top: 80px;
        box-sizing: border-box;
        transition: transform 0.3s ease-in-out;
        z-index: 1000;
        box-shadow: 2px 0 10px rgba(0,0,0,0.3);
      }

      /* Quando il menu è attivo, si sposta verso destra */
      .sidebar-mobile.active {
        transform: translateX(280px);
      }

      /* Link interni al menu mobile */
      .sidebar-mobile a {
        display: block;
        color: #fff;
        padding: 15px 25px;
        text-decoration: none;
        font-size: 18px;
        border-bottom: 1px solid #333;
        transition: background 0.2s;
      }

      .sidebar-mobile a:hover {
        background-color: #444;
      }

      /* Sfondo scuro coprente (Overlay) quando il menu è aperto */
      .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
      }

      .overlay.active {
        display: block;
      }
  