/* Styles généraux */
body {
    background: #ffffff;
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6; /* Plus d'espace entre les lignes */
    font-size: 16px;
}

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

.text-logo {
    font-family: 'Holtwood One SC', sans-serif;
    color: #e7480f;
    text-shadow: 2px 2px #ffd301;
    font-size: 50px;
    padding: 20px 0px;
    text-align: center;
}

/* Images et Thumbnails */
.thumbnail img {
    max-width: 100%; /* Pas de débordement horizontal */
    height: auto;
    background: #ffd301;
}

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

/* Prix */
.price {
    background: #5cb85c;
    box-shadow: 0 1px rgba(0, 0, 0, 0.2);
    color: #fff;
    position: absolute;
    right: 6px;
    top: 10px;
    padding: 5px 10px;
    font-size: 16px;
    border-radius: 3px;
}

/* Bouton */
.btn-order {
    padding: 15px 10px;
    font-size: 16px;
    border-radius: 5px;
    text-align: center;
}


.btn-order:hover,
.btn-order:focus {
    background-color: #c13c0d;
}

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

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

/* Sections principales */
.hero-section {
    margin: 0 auto;
    max-width: 90%;
    padding: 10px;
}


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

/* Footer */
.footer-section {
    padding: 10px;
    text-align: center;
    color: #fff;
}



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;
    }

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

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

    /* 📌 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;
}

