/* ************************** Styles généraux **************************************** */

@import url('https://fonts.googleapis.com/css2?family=Inria+Sans:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Inria+Serif:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');

body {
    font-family: 'Inria Serif', serif;
    background-color: #FFFDD0;
    color: #333;
    margin: 0;
    padding: 0;
}

/* ************************** Barre de navigation **************************************** */

.navbar {
    background-color: #D32F2F;
    padding: 16px 32px;
    transition: background-color 0.3s ease;
}
.navbar.scrolled {
    background-color: rgba(211, 47, 47, 0.518); 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); 
}

.navbar-brand,
.nav-link {
    color: #FFFDD0 !important;
}

.navbar-brand {
    font-weight: bold;
    font-size: 28px;
}

.navbar-brand-subtitle {
    font-size: 12px;
    font-weight: 200;
    color: #FFFDD0;
    text-align: center;
}

.navbar-brand:hover {
    color: #f0ad4e;
    transform: scale(1.05);
}

.navbar-toggler {
    border: none;
    background-color: #FFD700;
    padding: 5px 10px;
    border-radius: 5px;
}

.navbar-toggler span.material-symbols-outlined {
    font-size: 32px;
    color: #4A4A4A;
}

/* ****************************** Menu Offcanvas **************************************** */

.offcanvas {
    position: fixed;
    top: 0;
    right: 0;
    height: 90%;
    width: 250px;
    max-height: 100%;
    transform: translateX(100%);
    background-color: #D32F2F;
    border-radius: 10px 0 0 10px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease-in-out, background-color 0.3s ease;
    padding-top: 20px;
    z-index: 1050;
}

.offcanvas.show {
    transform: translateX(0);
    background-color: rgba(211, 47, 47, 0.8); 
}

/* Overlay avec transition fluide */
.offcanvas-overlay {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); 
    z-index: 1040;
    display: none;
    transition: opacity 0.3s ease;
}

.offcanvas.show + .offcanvas-overlay {
    display: block;
    opacity: 1;
}

/* Header du menu */
.offcanvas-header {
    border-bottom: 1px solid #FFFDD0;
    padding: 16px;
}

.btn-close {
    filter: invert(1);
    cursor: pointer;
    font-size: 24px;
}

/* Corps du menu (liens) */
.offcanvas-body {
    overflow-y: auto;
    max-height: 70%;
    padding: 16px;
}

/* ****************************** Liens dans la navbar et le menu Offcanvas ******************************/

/* Liens dans le menu */
.navbar .nav-link,
.offcanvas-body .nav-link {
    color: #FFFDD0;
    font-size: 16px;
    margin-bottom: 16px;
    position: relative;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    padding: 16px 24px;
    transition: color 0.3s ease, transform 0.3s ease, letter-spacing 0.3s ease;
}

/* Effets hover et focus sur les liens */
.navbar .nav-link:hover,
.offcanvas-body .nav-link:hover,
.navbar .nav-link:focus,
.offcanvas-body .nav-link:focus {
    color: #FFD700;
    transform: scale(1.1);
    letter-spacing: 1px;
}

/* Effets visuels des liens (avant/après) */
.navbar .nav-link::before,
.offcanvas-body .nav-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-radius: 5px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.navbar .nav-link:hover::before,
.offcanvas-body .nav-link:hover::before {
    border-color: #FFD700;
    box-shadow: 0 0 15px #FFD700;
    transform: scale(1.1);
}

/* Transitions consolidées */
.navbar .nav-link,
.offcanvas-body .nav-link {
    transition: color 0.3s ease, transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* ************************** Responsivité **************************************** */

@media (max-width: 768px) {
    .offcanvas {
        width: 90%;
    }

    .offcanvas-body .nav-link {
        font-size: 14px;
        padding: 12px 20px;
    }

    .btn-close {
        font-size: 28px;
    }
}

.offcanvas-overlay {
    display: none;
}

.offcanvas-overlay.active {
    display: block;
}

.navbar.fixed-top {
    z-index: 1030;
}



/* ************************** Section  Acceuil **************************************** */

.texte-qui-sommes-nous {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.texte-qui-sommes-nous h2 {
    font-size: 36px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
}

.acceuil-section {
    position: relative;
}

.main-image {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.circle-container {
    position: absolute;
    bottom: -25%;
    right: 10%;
}

.circle-image {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #fff;
    transition: transform 0.3s ease;
}

.circle-image:hover {
    transform: scale(1.1);
}

@media (max-width: 1024px) and (min-width: 769px) {
    .circle-container {
        bottom: -15%;
        right: 5%;
    }

    .circle-image {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .main-image {
        height: 300px;
    }

    .texte-qui-sommes-nous h2 {
        font-size: 16px;
    }

    .circle-container {
        display: none;
    }
}

/* ************************** Section À propos de notre alimentation & Nos chefs ****************************** */

.container {
    max-width: 900px;
    margin: 0 auto; 
}

.title-main {
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
    color: #ff3c00;
}

.description {
    font-size: 18px; 
    line-height: 1.5;
    padding: 0 20px; 
}


@media (max-width: 576px) {
    .title-main {
        font-size: 24px;
    }

    .description {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .title-main {
        font-size: 28px;
    }

    .description {
        font-size: 17px;
    }
}


section.row {
    max-width: 1200px;
    margin: 0 auto;
}

.col-md-4 {
    margin-bottom: 24px;
}

.icon-container {
    padding: 12px;
    margin: 0 auto;
    transition: transform 0.3s ease-in-out;
}

.icon-container:hover {
    transform: translateY(-10px);
}

.icon-small {
    font-size: 18px;
}




/* ************************** Section pour Nos chefs **************************************** */


.chef-section {
    text-align: center;
}

.chef-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.chef-section .row {
    display: flex;
    justify-content: center;
    align-items: center;
}

.chef-section .col-md-3 {
    padding: 10px;
}

.chef-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.icon-container {
background-color: #ffcc00;
border-radius: 50%;
display: inline-block;
margin-bottom: 15px; 
}

.chef-icon {
width: 50px; 
height: 50px;
}

h2, h3 {
    font-size: 24px;
    font-weight: bold;
}

h3 {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
}

.separator-left, .separator-right {
    display: inline-block;
    width: 40px;
    height: 3px;
    background-color: #fff700; 
    vertical-align: middle;
}

.separator-left {
    margin-right: 10px;
}

.separator-right {
    margin-left: 10px;
}


.text2 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: center;
    font-family: 'Arial', sans-serif;
    line-height: 1.5;
}

.text2:hover {
    color: #ffcc00;
    transition: color 0.3s ease;
}
p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.font-italic {
    font-style: italic;
}

.font-weight-bold {
    font-weight: bold;
}

/* Responsivité */
@media (max-width: 768px) {
    .chef-section .row {
        flex-direction: column;
    }

    .chef-section .col-md-3 {
        width: 100%;
        margin-bottom: 20px;
    }

    .chef-section .col-md-6 {
        width: 100%;
    }

    .chef-img {
        width: 100%;
    }
}

/* ************************** Section pour_les_images poulet pizza burger **************************************** */

#about-food .food-title {
    color: #A51228; 
}

#about-food .food-subtitle {
    color: #000000;
}
    
.food-image {
    width: 100%;
    height: 200px; 
    object-fit: cover; 
    transition: opacity 0.3s ease;
}
.food-button {
    font-size: 18px;
    border-radius: 5px;
    border: 1px solid #FFBF00; 
    background-color: #FFFDD0; 
    color: black;
    transition: all 0.3s ease; 
    padding: 10px 20px;
}

.food-button.poulet {
    background-color: #FFBF00; 
    border: 1px solid #FFBF00; 
    color: white; 
}

.food-button:hover {
    transform: scale(1.05);
}


/* ************************** Section pour_les_icones **************************************** */


.custom-icon-bg {
    background-color: #ffc107;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    text-align: center;
    margin-bottom: 20px;

}

.icon-small {
    max-width: 50px;
    max-height: 50px;
    object-fit: cover;
}




/* ************************** Section avec livreur **************************************** */


.delivery-section {
    background-color: #FFFDD0;
        background-size: cover;
        background-attachment: fixed;
        padding: 50px 0;
        color: #fff;
    }
    .delivery-benefits {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .delivery-benefits li {
        display: flex;
        align-items: center;
        margin-bottom: 8px;
        color: #000;
    }
    
    .benefit-icon {
        width: 24px;
        height: 24px;
        margin-right: 8px;
    }
    .delivery-section h2{
        color: #000;
        text-transform: uppercase;
    }
    

.btn-commander {
    text-decoration: none;
    font-size: 18px;
    background-color: #fc9048;
    color: #000;
    padding: 8px 20px;
    border: 2px solid #000;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2); 
    cursor: pointer;
    transition: all 0.3s ease; 
}

.btn-commander:hover {
    box-shadow: 0px 8px 18px rgba(0, 0, 0, 0.3); 
    transform: translateY(-3px); 
}


        /********************** Style général pour la section du footer ****************/
       
        .footer {
            background-color: #000000; /* Fond sombre */
            color: #fff; /* Texte blanc */
            padding: 40px 0;
            margin-top: 30px;
            position: relative;
            min-height: 200px;
        
            background-image: radial-gradient(circle, transparent 95%, rgba(255, 166, 0, 0.6) 96%, transparent 98%);
            background-size: 40px 40px; /* Taille des cercles */
        }
        
    
          .footer-title ,.footer-title_icone {
            font-size: 20px;
            font-weight: bold;
            margin-bottom: 15px;
            text-transform: uppercase;
            color: #FFD700; 
          }
          .footer-title_icone {
            
            text-align: center;
          }
          
          /* Image du logo dans le footer */
          .footer-logo {
            width: 150px; 
            height: 150px; 
            object-fit: cover; 
            border-radius: 50%; 
            margin-bottom: 20px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
          }
          
          /* Description et bouton */
          .footer p {
            font-size: 16px;
            margin-bottom: 20px;
            color: #ddd; 
          }
          
          .footer .btn-warning {
            background-color: #FFD700;
            border: none;
            font-weight: bold;
            padding: 10px 20px;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: background-color 0.3s;
          }
          
          .footer .btn-warning:hover {
            background-color: #ffcc00;
          }
          
          /* Icônes sociales */
          .social-icons {
            display: flex;
            gap: 15px;
            justify-content: center;
            margin-top: 10px;
            text-align: center; 
          }
          
          .social-icon {
            font-size: 24px;
            color: #fff;
            transition: color 0.3s;
          }
          
          .social-icon:hover {
            color: #FFD700; 
          }
          
          .footer-bottom {
            background-color: rgba(255, 166, 0, 0.6);    
            padding: 10px 0;
            color: #aaa;
            position: absolute; 
            bottom: 0;
            width: 100%; 
          }
          
          .footer-bottom p {
            margin: 0;
          }
          
          /* Responsivité pour les petits écrans */
          @media (max-width: 768px) {
            .footer {
              padding: 20px 0;
            }
            .footer-title {
              font-size: 18px;
            }
            .social-icons {
              gap: 10px;
            }
            .footer-logo {
              width: 100px; 
              height: 100px; 
            }
          }
        /* Icônes sociales */
        .social-icons {
            display: flex;
            gap: 15px;
            justify-content: center;
            margin-top: 10px;
            text-align: center; 
          }
          
          .social-icon {
            display: inline-block;
            width: 40px; 
            height: 40px; 
          }
          
          .social-icon-img {
            width: 100%;
            height: 100%;
            object-fit: contain; 
            transition: opacity 0.3s ease; 
          }
          
          .social-icon-img:hover {
            opacity: 0.8;
          }
          
          @media (max-width: 768px) {
            .social-icons {
              gap: 10px;
            }
          }
          

































