/* --- RESET & FONTS --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Montserrat', sans-serif;
    background: #292C64;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden; /* Fondamentale per evitare lo scroll laterale */
}

/* --- HEADER & NAVIGATION --- */
header.nav {
    width: 100%;
    height: 80px; /* Altezza fissa per mantenere l'ordine */
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #292C64;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo { 
    height: 40px; /* Ridotto per mobile */
    width: auto;
}

.nav-right { 
    display: flex; 
    align-items: center; 
    gap: 12px; /* Spazio tra lingue e hamburger */
}

/* Language Selector più compatto */
.lang-selector { 
    display: flex; 
    gap: 3px; 
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #fff;
    color: #fff;
    padding: 2px 4px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 10px;
    font-weight: bold;
    transition: 0.3s;
}

.lang-btn.active { background: #fff; color: #292C64; }

/* Hamburger Icon allineata */
.hamburger { 
    font-size: 24px; 
    cursor: pointer; 
    color: #fff; 
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

/* --- SIDE MENU (CORRETTO) --- */
#sideMenu {
    position: fixed;
    top: 0;
    right: -280px; /* Nascosto esattamente di quanto è largo */
    width: 280px;
    height: 100%;
    background: #1a1c40;
    z-index: 2000;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 30px 25px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.5);
}

#sideMenu.open { 
    right: 0; 
}

.close-btn { 
    background: none; 
    border: none; 
    color: #fff; 
    font-size: 35px; 
    cursor: pointer; 
    margin-bottom: 30px;
    display: block;
}

.side-nav-links { 
    display: flex; 
    flex-direction: column; 
    gap: 25px; 
}

.side-nav-links a { 
    color: #fff; 
    text-decoration: none; 
    font-size: 20px; 
    text-transform: uppercase; 
    font-weight: 600; 
}

/* --- MENU CONTENT --- */
.container { 
    max-width: 800px; 
    margin: 20px auto; 
    padding: 0 20px; 
}

h2.main-title { 
    text-align: center; 
    font-size: 28px; 
    text-transform: uppercase; 
    margin-bottom: 30px; 
}

.category-title {
    margin-top: 40px;
    font-size: 20px;
    color: #ffd700;
    text-transform: uppercase;
    border-bottom: 2px solid #ffd700;
    padding-bottom: 5px;
}

.menu-list { list-style: none; margin-top: 15px; }

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.item-info { flex: 1; padding-right: 15px; }

.item-name { 
    display: block; 
    font-weight: 700; 
    font-size: 15px; 
    text-transform: uppercase; 
}

.item-desc { 
    display: block; 
    font-size: 12px; 
    opacity: 0.8; 
    margin-top: 4px; 
    font-style: italic; 
}

.item-price { 
    font-weight: 700; 
    font-size: 15px; 
    color: #ffd700; 
    white-space: nowrap; 
}

/* Media Query specifica per schermi piccoli */
@media (max-width: 400px) {
    .logo { height: 30px; }
    .lang-selector { gap: 2px; }
    .lang-btn { font-size: 9px; padding: 2px 3px; }
    .hamburger { font-size: 20px; }
}