/* Styles généraux */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    font-size: 16px;
    background: radial-gradient(circle at top, #ffffff 0%, #fef3f3 30%, #0b3d2e 100%);
    color: #fdfdfd;
}

.site {
    font-family: 'Holtwood One SC', sans-serif;
}

.text-logo {
    font-family: 'Holtwood One SC', sans-serif;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.9),
                 0 0 20px rgba(255, 0, 0, 0.8);
    font-size: 52px;
    padding: 25px 0;
    text-align: center;
}

.text-logo::before,
.text-logo::after {
    content: "❄";
    margin: 0 10px;
    font-size: 32px;
    color: #ffd54f;
}

/* Images et Thumbnails */
.thumbnail img {
    max-width: 100%;
    height: auto;
    background: #165b46;
    border-radius: 8px;
    border: 3px solid #ffd54f;
}

.caption > h4 {
    color: #ffd54f;
    font-size: 18px;
}

/* Prix */
.price {
    background: #1b5e20;
    box-shadow: 0 1px rgba(0, 0, 0, 0.4);
    color: #fff;
    right: 6px;
    top: 10px;
    padding: 5px 10px;
    font-size: 16px;
    border-radius: 999px;
    border: 2px solid #ffd54f;
}

/* Bouton */
.btn-order {
    padding: 15px 10px;
    font-size: 16px;
    border-radius: 25px;
    text-align: center;
    background: linear-gradient(135deg, #c62828, #8e0000);
    color: #fff;
    border: 2px solid #ffd54f;
    text-transform: uppercase;
    letter-spacing: 1px;
}



.btn-order:hover,
.btn-order:focus {
    background: linear-gradient(135deg, #ff5252, #c62828);
    transform: translateY(-2px);
}

/* Navigation */
.nav {
    margin-bottom: 20px;
}

.nav>li>a {
    font-size: 16px;
}

/* Sections principales */
.hero-section {
    margin: 0 auto;
    max-width: 90%;
    padding: 15px;
    border-radius: 20px;
    background: rgba(5, 25, 20, 0.7);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}


.hero-slide-item {
    height: auto; /* S'adapte en fonction du contenu */
}

/* Footer */
.footer-section {
    padding: 12px;
    text-align: center;
    background: linear-gradient(90deg, #0b3d2e, #1b5e20);
    color: #fff;
}

.footer-section a {
    color: #ffd54f;
}



aside.foodTab {
    text-align: center;
  }
  
  aside.foodTab img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    object-position: center;
    transition: 0.3s all cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  
  aside.foodTab:hover img {
    transform: scale(1.2);
  }
  
  aside.foodTab h3 {
    display: inline-block;
    font-size: 22px;
    padding-bottom: 5px;
    border-bottom: var(--orange) solid 2px;
  }

  /* 📱 Amélioration de l'affichage sur téléphone */
@media (max-width: 768px) {
    body {
        font-size: 14px;
        line-height: 1.4;
        padding: 10px;
        background: #0b3d2e;
    }

    /* 📌 Ajustement des titres */
    h1, h2, h3 {
        font-size: 18px;
        text-align: center;
        margin-bottom: 10px;
        color: #ffd54f;
    }

    /* 📌 Ajustement des images */
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    /* 📌 Ajustement du menu */
    .main-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .main-menu li {
        display: block;
        width: 100%;
        text-align: center;
    }

    /* 📌 Ingrédients et boutons */
    .ingredients-container {
        text-align: center;
    }

    #ingredients_list {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #ingredients_list ul {
        padding: 0;
    }

    #ingredients_list li {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        justify-content: center;
    }

    #ingredients_list img {
        width: 40px;
        height: 40px;
    }

    /* 📌 Boutons + et - pour le nombre de personnes */
    div {
        text-align: center;
    }

    div button {
        font-size: 18px;
        padding: 8px;
        border-radius: 5px;
        margin: 5px;
    }

    /* 📌 Cartes des recettes */
    .card {
        width: 100%;
        margin-bottom: 10px;
    }

    /* 📌 Mode sombre pour mobile */
    .dark-mode {
        background-color: #1e1e1e;
        color: white;
    }

    .dark-mode button {
        background-color: #bb86fc;
    }

    .dark-mode .card {
        background-color: #333;
        border: 1px solid #555;
    }

    /* 📌 Ajustement du footer */
    .footer-section {
        text-align: center;
        padding: 10px;
    }

    .copyright {
        font-size: 12px;
    }
}

/* Structure pour sticky footer */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

