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




/********************************* menu container ********************/



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

header h1 {
    font-size: 48px;
    font-weight: bold;
    color: #f1a12f;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

header p {
    font-size: 20px;
    color: #666;
}

.menu-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.card.menu-item {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
}

.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.card-body {
    padding: 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-body h5 {
    font-size: 20px;
    color: #333;
    font-weight: bold;
    margin-bottom: 10px;
}

.card-body p {
    font-size: 16px;
    color: #777;
}

.btn-custom {
    background-color: #f1a12f;
    color: white;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.3s;
}

.btn-custom:hover {
    background-color: #e68a1f;
    transform: translateY(-3px);
}

.btn-custom:focus {
    outline: none;
}

.card:hover .btn-custom {
    background-color: #e68a1f;
}

#panier {
    margin-top: 50px;
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#panier p {
    font-size: 20px;
    color: #666;
    text-align: center;
}

#panier-section {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 50px;
}

#panier-title {
    font-size: 32px;
    color: #f1a12f;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#panier-content p {
    font-size: 20px;
    color: #666;
    text-align: center;
}

#panier-footer {
    margin-top: 30px;
    font-size: 20px;
}

#panier-footer strong {
    color: #333;
}

#panier-footer #btnCheckout {
    background-color: #28a745;
    color: white;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 17.6px;
    transition: background-color 0.3s, transform 0.3s;
}

#panier-footer #btnCheckout:hover {
    background-color: #218838;
    transform: translateY(-3px);
}

#panier-footer #btnCheckout:focus {
    outline: none;
}

@media (max-width: 768px) {
    .row-cols-md-2 {
        row-gap: 30px;
    }

    .card-body h5 {
        font-size: 17.6px;
    }

    .card-body p {
        font-size: 14.4px;
    }

    .btn-custom {
        font-size: 14.4px;
    }
}

@media (max-width: 576px) {
    .row-cols-1 {
        row-gap: 20px;
    }

    header h1 {
        font-size: 40px;
    }

    header p {
        font-size: 16px;
    }
}




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











