/* ===== BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-image: url("./media/img/fond.png");
    background-size: cover;
    background-attachment: fixed;
    color: white;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0,0,0,0.8);
    padding: 15px 0;
    z-index: 100;
}

.navbar ul {
    display: flex;
    justify-content: center;
    gap: 40px;
    list-style: none;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* MENU BURGER */
.menu-toggle {
    display: none;
    position: absolute;
    left: 20px;
    top: 15px;
    font-size: 30px;
    cursor: pointer;
}

/* ===== SECTIONS ===== */
.section {
    background: rgba(0,0,0,0.6);
    margin: 80px auto;
    padding: 100px 20px;
    width: 80%;
    border-radius: 15px;
    text-align: center;
}

/* ===== MENU ===== */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
    gap: 20px;
    margin-top: 30px;
}

.menu-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 15px;
}

/* ===== QR ===== */
.qr-container img {
    width: 150px;
    margin-top: 20px;
}

/* ===== POPUP ===== */
.info-box {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}

.info-box div {
    background: white;
    color: black;
    padding: 30px;
    border-radius: 15px;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .navbar ul {
        display: none;
        flex-direction: column;
        background: rgba(0,0,0,0.95);
        position: absolute;
        top: 60px;
        width: 100%;
        padding: 30px 0;
        gap: 20px;
    }

    .navbar ul.show {
        display: flex;
    }

    .section {
        width: 95%;
        padding: 80px 15px;
    }

    .menu-grid {
        grid-template-columns: repeat(2,1fr);
    }
}
