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




/************************************ TITRE PRINCIPALE GALERIE *******************************************/
.titre_galerie_container {
    background-image: url('../css/images/galerie1.jpg');
    background-size: cover;
    background-position: center center;
    color: white;
}


.titre_galerie_container h1 {
    font-size: 60px;
    font-weight: bold;
    color: #fff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6);
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
    background-color: #0000006c;
    max-width: 800px;
    margin: 80px auto 0;
    padding: 20px;

}

.titre_galerie_container p {
    background-color: #0000006c;
    font-size: 28px;
    color: #ffffff;
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto 20px;
}

@media (max-width: 768px) {
    .titre_galerie_container h1 {
        font-size: 40px;
    }

    .titre_galerie_container p {
        font-size: 16px;
    }
}

.btncomande {
    background-color: #A70101;
    text-decoration: none;
    border: none;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btncomande:hover {
    background-color: #eeff007c;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/************************************ POUR LES IMAGES DE LA GALERIE *******************************************/
.btnfiltre {
    background-color: #Eff007;
    color: #000000;
    border: 2px solid #ffffff;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    margin: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.btnfiltre:hover {
    background-color: #333;
    color: #fff;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}
  .gallery img {
    width: 100%;
    height: 250px; 
    object-fit: cover;
    border-radius: 8px;
}

.gallery .col-12 {
    margin-bottom: 20px; 
}
/************* Titre de l'élément *********/
.item-title {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    font-size: 21px; 
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 5px 10px;
    border-radius: 5px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    z-index: 2;
}


/************* Description de l'élément ********/
.item-description {
    position: absolute;
    top: 10px;
    left: 10px;
    color: white;
    font-size: 14px; 
    background-color: rgba(0, 0, 0, 0.7);
    padding: 5px 10px;
    border-radius: 5px;
    z-index: 2;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/*opacité sur les textes lors du survol */
.gallery-item:hover .item-title,
.gallery-item:hover .item-description {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.item-title,
.item-description {
    opacity: 0.8;
    transform: translateY(5px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

@media (max-width: 768px) {
    .item-title {
        font-size: 18px; 
        padding: 5px;
    }

    .item-description {
        font-size: 13px; 
        padding: 4px;
    }
}

#promotionCarousel{
    margin-top: 3rem;
    margin-bottom: 3rem;
}
.carousel-inner img {
    height: 350px;
    object-fit: cover;
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
}
 .gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover; 
    border-radius: 8px;
}

.gallery .col-12 {
    margin-bottom: 20px;
}


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