/* Couleurs principales */
:root {
    --gold: #ffd700; /* Couleur or */
    --pink: #ff69b4; /* Couleur rose vif */
    --dark: #343a40; /* Couleur sombre */
    --light: #f8f9fa; /* Couleur claire */
    --gray: #6c757d; /* Gris standard */
    --white: #ffffff; /* Blanc */
}

/* ----------------------------------- */
/* GLOBAL STYLES */
/* ----------------------------------- */
body {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--light);
    color: var(--dark);
}


p {
    margin: 0 0 1rem;
}

a {
    text-decoration: none;
    color: var(--pink);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--gold);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ----------------------------------- */
/* NAVBAR */
/* ----------------------------------- */
.navbar {
    background-color: var(--light);
    border-bottom: 2px solid var(--dark);
    padding: 15px 0;
    z-index: 1030;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--dark);
}

.navbar-toggler {
    border: none;
    outline: none;
}

.navbar-toggler-icon {
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="%23343a40" viewBox="0 0 16 16"%3E%3Cpath fill-rule="evenodd" d="M1.5 12.5a.5.5 0 0 1 0-1h13a.5.5 0 0 1 0 1h-13zm0-5a.5.5 0 0 1 0-1h13a.5.5 0 0 1 0 1h-13zm0-5a.5.5 0 0 1 0-1h13a.5.5 0 0 1 0 1h-13z"/%3E%3C/svg%3E');
}

.navbar-nav .nav-link {
    color: var(--dark);
    font-weight: bold;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--gold);
}

.navbar-nav .active {
    color: var(--pink);
    text-decoration: underline;
}

.navbar .dropdown-menu {
    border-radius: 8px;
    background-color: #fff;
}

.navbar .dropdown-item:hover {
    background-color: #FFD700; /* Couleur or au survol */
    color: #fff;
}

/* ----------------------------------- */
/* HERO BANNER */
/* ----------------------------------- */
/* Hero Banner */
.hero-banner {
    background: url('../images/banner.jpg') no-repeat center center;
    background-size: cover;
    padding: 100px 20px;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden; /* Assure que l'overlay reste dans la bannière */
}

/* Superposition (Overlay) */
.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Couleur noire avec une opacité de 50% */
    z-index: 1; /* Place l'overlay derrière le contenu */
}

/* Contenu de la bannière */
.hero-banner h1 {
    font-size: 3rem; /* Taille du texte */
    font-weight: bold;
    color: #dddddd;
    text-shadow: 1px 1px 3px rgba(29, 29, 29, 0.904); /* Léger contour blanc */
    margin-bottom: 20px;
    position: relative;
    z-index: 2; /* Place le contenu au-dessus de l'overlay */
}

.hero-banner p {
    font-size: 1.2rem; /* Taille du texte */
    text-shadow: 2px 2px 5px rgba(29, 29, 29, 0.904); /* Léger contour blanc */
    color: #ff9100; /* Orange */
    margin-bottom: 30px;
    position: relative;
    z-index: 2; /* Place le contenu au-dessus de l'overlay */
}

.hero-banner .btn {
    padding: 10px 20px;
    font-size: 1.2rem;
    font-weight: bold;
    background-color: var(--gold);
    color: var(--dark);
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
    z-index: 2; /* Place le contenu au-dessus de l'overlay */
}

.hero-banner .btn:hover {
    background-color: var(--pink);
    color: var(--white);
}


/* ----------------------------------- */
/* FOOTER */
/* ----------------------------------- */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 20px 0;
    text-align: center;
}

footer a {
    color: var(--gold);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--pink);
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* ----------------------------------- */
/* RESPONSIVE DESIGN */
/* ----------------------------------- */
@media (max-width: 768px) {
    .hero-banner h1 {
        font-size: 2rem;
    }

    .hero-banner p {
        font-size: 1rem;
    }

    .card img {
        height: 150px;
    }
}
/* Fond clair (par défaut) */
.bg-light {
    background-color: var(--light);
    color: var(--dark);
}

/* Fond sombre alternatif */
.bg-dark-alt {
    background-color: hsla(36, 85%, 51%, 0.945);
    color: var(--white);
}

/* Notre Histoire */
.our-story img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* Nos Valeurs */
.our-values img {
    max-width: 100%;
    height: auto;
    border: 5px solid color(srgb red green blue);
    transition: transform 0.3s ease;
}

.our-values img:hover {
    transform: scale(1.1);
}

/* Notre Engagement */
.our-commitment img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* Image du Food Truck */
img.community-foodtruck {
    border-radius: 10px; /* Coins légèrement arrondis */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); /* Ombre douce */
    transition: transform 0.3s ease;
}

img.community-foodtruck:hover {
    transform: scale(1.05); /* Zoom léger au survol */
}

.menu-category h2 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ebc30f; /* Couleur or */
    border-bottom: 2px solid #ebc30f;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.menu .img-thumbnail {
    border: 2px solid #ebc30f; /* Bordure dorée autour des images */
    border-radius: 8px;
}

.menu .card {
    border: none;
    transition: transform 0.3s ease-in-out;
}

.menu .card:hover {
    transform: scale(1.05); /* Zoom au survol */
}

.menu .card-title {
    font-size: 1.2rem;
}

.menu .fw-bold.text-orange {
    color: #FF8C00; /* Couleur orange */
}

.menu .text-gold {
    color: #ebc30f; /* Couleur dorée */
    font-weight: bold;
}

.menu .d-flex {
    gap: 15px; /* Espacement entre l'image et le texte */
}

.menu .border-bottom {
    border-color: #DDD; /* Couleur de la bordure séparatrice */
}

.menu-category {
    scroll-margin-top: 110px; /* Décalage égal à la hauteur de la navbar */
}

.fixed-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    border-top: 1px solid #ddd;
    z-index: 1030;
    padding: 5px 10px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.fixed-bottom-bar .btn {
    font-size: 0.9rem;
    padding: 10px;
    color: #333;
}

.fixed-bottom-bar .btn i {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 2px;
}

.fixed-bottom-bar .btn:hover {
    background-color: #f8f9fa;
    color: #000;
}

/* Masquer sur grands écrans */
@media (min-width: 768px) {
    .fixed-bottom-bar {
        display: none;
    }
}

/* Style pour la carte de produits */
.flex.flex-col {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flex.flex-col:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

/* Bouton ajouter au panier */
button:hover {
    opacity: 0.9;
}

/* Panier */
#cartItems {
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
}

#cartItems .flex {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

#cartItems .flex:last-child {
    border-bottom: none;
}
.custom-image-container {
    width: 100%; /* S'adapte à la largeur disponible */
    height: 100px; /* Fixe la hauteur à 100px */
    position: relative; /* Permet de positionner l'image à l'intérieur */
    overflow: hidden; /* Masque tout débordement */
    border-radius: 8px; /* Coins arrondis */
}

.custom-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Conserve le ratio d'aspect */
}

.sidebar-sticky {
    position: sticky;
    top: 120px; /* Hauteur exacte de la navbar + marge */
    z-index: 10; /* S'assurer que le panier est au-dessus des autres éléments */
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield; /* Firefox */
    appearance: textfield; /* Standard */
}

