/* ===================== FULL BACKGROUND ===================== */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-color: #f55004;
    background-image: url('../Images/menu-principal.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: 'Times New Roman', Times, serif;
    min-height: 100vh;
}

/* Overlay sombre sur toute la page */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);   /* ← 4ième paramètre de la paranthèse pour ajuster l'opacité */
    z-index: -1;
}

/* ===================== HEADER & LOGO ===================== */
.logo {
    display: block;
    margin: 20px auto 30px auto;
    max-width: 100%;
    max-height: 160px;
}

.title {
    text-align: center;
    font-size: 3.2rem;
    color: #ffcc80;
    text-shadow: 0 0 20px #d35908;
    margin-bottom: 40px;
    z-index: 10;
    position: relative;
}

/* ===================== MENU DÉROULANT ===================== */
.deroulant {
    display: inline-block;
    position: relative;
    z-index: 20;
}

.deroulant .hamburger {
    background-color: #0a0a0a;
    color: rgb(237, 126, 7);
    font-size: 28px;
    width: 55px;
    height: 55px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.deroulant .hamburger:hover {
    background-color: #d35908;
    color: white;
}

.deroulant .contenu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    background-color: #0a0a0a;
    min-width: 180px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.8);
    z-index: 100;
    margin-top: 8px;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.25s ease;
    padding-top: 10px;
}

.deroulant:hover .contenu {
    visibility: visible;
    opacity: 1;
}

.deroulant a {
    display: block;
    padding: 14px 20px;
    text-decoration: none;
    color: rgb(237, 126, 7);
    font-size: 16px;
}

.deroulant a:hover {
    background-color: #d35908;
    color: white;
}

/* ===================== MENU INTERACTIF ===================== */
.menu-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 1300px;
    margin: auto;
}

.menu-item h3 {
    color: #f78400;
    margin: 0 0 12px 0;
    text-align: center;
}

.menu-item {
    background: rgba(15, 15, 15, 0.65);
    border: 2px solid #ff8c00;
    border-radius: 12px;
    padding: 18px;
    display: flex;
    gap: 20px;
    transition: all 0.4s ease;
}

.menu-item:hover {
    background: rgba(10, 10, 10, 0.65);
    border-color: #ffd000;
    transform: translateY(-6px);
}

/* Texte à gauche */
.item-text .ingredients {
    color: #f85e04;
    position: relative;
    font-weight: bold;
}

.item-text .price {
    color: #ff8c00;
    font-size: 1.65rem;
    font-weight: bold;
}

.item-details {
    display: none;
    color: rgb(247, 118, 4);
    line-height: 1.5;
}

.menu-item:hover .item-details {
    display: block;
}

.item-details p {
    position: relative;
    top: 10px;
    font-size: 1rem;
    color: #ff8c00;
    font-weight: bold;
}

/* Style pour l'image dans chaque item */
.menu-item {
    display: flex;
    flex-direction: column;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 140, 0, 0.3);
    margin-bottom: 12px;
}

.item-header h3 {
    margin: 0;
    color: #ff8c00;
    font-size: 1.5rem;
}

.item-image {
    width: 400px;           /* ← Change cette valeur pour ajuster la taille */
    height: 200px;
    object-fit: relative;
    border-radius: 10px;
    border: 2px solid #ff8c00;
    flex-shrink: 0;
}

/* ===================== SOCIAL ICONS ===================== */
.social-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin: 40px 0;
    position: relative;
    z-index: 10;
}

.social-icons img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.social-icons img:hover {
    transform: scale(1.15);
}

/* ===================== RESPONSIVE ===================== */
@media screen and (max-width: 480px) {
    .title { font-size: 2.4rem; }
    .menu-grid { grid-template-columns: 1fr; }
}

@media screen and (min-width: 769px) {
    body { padding: 20px; }
}

@media screen and (max-width: 480px) {
    .item-header {
        flex-direction: column;
        text-align: center;
    }
    
    .item-image {
        margin-top: 10px;
        width: 130px;
        height: 130px;
    }
}