/* -----------------------  body  --------------------------------- */
/* ---------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,700;1,600&display=swap');

*{
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: 0.7s ease-in;
    scroll-behavior: smooth;
}

body{
    background-color: #9695909d;
    width: 100%;
    height: 100vh;
    color: #333;
}

/* --------------------- header --------------------------------- */
/* -------------------------------------------------------------- */
header {
    width: 100%;
    align-items: center; 
    position: fixed;
    z-index: 1;
} 

header.sticky{
    background: #FFFEF0 ;
    box-shadow: 0px 2px 5px #E0682B;
}
header.sticky #navbar li a{
    color: black;
    margin-top: 10px;
}
header.sticky #navbar li a:hover{
    color: #FFFEF0;
    background-color: #FF9231;
}
header.sticky .my-navbar{
    border-bottom: 3px solid #FFFEF0; 
    padding-bottom: 3px; 
    margin-bottom: 4px; 
}
header.sticky nav img{
    width: 100%;
    height: 90px;
    margin-bottom: 9px;
    border-radius: 100%;
}

/* --------------------- Navigation --------------------------------- */
/* -------------------------------------------------------------- */
#navbar li a{
    color: black;
}

#navbar li a:hover {
    color: #FFFEF0;
    background-color: #FF9231;
    border-radius: 2cm;  
}

nav li {
    margin-right: 20px;
    margin-left: 20px;
    font-weight: 800;
    font-size: 1em;
}

.my-navbar {
    border-bottom: 3px solid #FF9231; 
    padding-bottom: 3px; 
    margin-bottom: 4px;    
}

.navbar .navbar-toggler {
    position: absolute; 
    right: 20px; 
    z-index: 1;
}
/* --------------------- section Home --------------------------------- */
/* -------------------------------------------------------------- */
.home {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
}

.video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.home .bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    filter: blur(9px);
    opacity: 0.8;
    background-clip: border-box;
}

.home .container.content {
    position: relative;
    max-width: 100%;
}

.home .row {
    align-items: center;
}

.home #content h1 {
    font-size: 5rem; 
    line-height: 1.2;
    text-shadow: 0px 5px 0px rgba(0, 0, 0, 0.747);
    font-weight: 550;
    color: #fffef0;
}

.home .descript {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.home .descript span {
    color: #E0682B;
}

.home .texte {
    text-align: center;
    font-size: 1.2rem;
    margin-top: 10px;
    margin-bottom: 38px;
    color: black;
    font-weight: 600;
}

.home .button {
    display: inline-block;
    color: white;
    padding: 14px 60px;
    box-shadow: 2px 2px 10px rgba(255, 146, 49, 0.5);
    border: 2px solid #E0682B;
    letter-spacing: 1.5px;
    word-spacing: 5px;
    background-color: #E0682B;
    border-radius: 50px;
    transition: transform 0.3s ease, letter-spacing 0.3s ease;
    font-weight: 600;
    text-decoration: none;
}

.home .button:hover {
    transform: scale(1.05);
    letter-spacing: 3px;
}

/* --------------------- title of sections ----------------------- */
/* -------------------------------------------------------------- */
.title-letter{
    color: #FF9231; 
    font-size: 1.6em;
}

/* --------------------- section About --------------------------------- */
/* -------------------------------------------------------------- */

/* Container styling */
.about{
    height: 100vh;
    position: relative;
    overflow: hidden;
    background-color:  #5c86b113;
}
.about .container {
    padding: 1.5rem;
}

/* Row styling */
.about .row {
    display: flex;
    flex-wrap: wrap;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin-top: 2rem;
}

/* Image container styling */
.bg-about {
    position: relative;
    padding: 0;
    background-color: #ffffff;
}

.bg-about img {
    width: 100%;
    height: 80vh;
    object-fit: cover;
}

/* Text container styling */
.text-justify {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.2rem;
    background-color: #ffffff;
}

/* Title styling */
.text-justify h2 {
    font-size: 2.5em;
    font-weight: 600;
    margin-bottom: 1rem;
    color: black;
}

/* Title letter styling */
.title-letter {
    font-size: 1.2em;
}

/* Paragraph styling */
.text-justify p {
    font-size: 1em;
    color: black;
    text-align: justify;
    padding-right: 20px;
    padding-left: 20px;
}


/* --------------------- section Our products --------------------------------- */
/* ------------------------------------------------------------------------ */
/* Title styling */
.products{
    background-color: #ff91311e;
    height: 100vh;
    position: relative;
    overflow: hidden;
}
.products .container {
    padding: 1.5rem;
}
#products-title {
    font-size: 2.1em;
    font-weight: 600;
}

.title-letter {
    font-size: 1.2em;
}

/* Card styling */
.card {
    border-radius: 10px;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

.card-img-top {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.card-img-top:hover {
    transform: scale(1.05);
}

.card-body {
    text-align: center;
}

.price {
    font-size: 1.5em;
    color: #000000;
    font-weight: 700;
}

/* Modal styling */
.modal-content {
    border-radius: 10px;
    overflow: hidden;
}

/* --------------------- Section Gallery --------------------------------- */
/* -------------------------------------------------------------- */
/* Adjust the gallery settings */
.gallery {
    max-height: auto;
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
}

#custom-controls-gallery {
    max-width: 80%;
}

.carousel-inner {
    height: 60%;
}

.carousel-item img {
    height: 100vh;  /* Assurez-vous que l'image occupe une hauteur suffisante */
    width: 100%;
    object-fit: cover;  /* Couvre le conteneur de l'image */
    object-position: top;  /* Positionne l'image à partir du haut */
    border-radius: 15px;  /* Arrondit les bords de l'image */
    transition: transform 0.2s ease-in-out;
}

/* Adjust carousel controls */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.7);  
}

/* --------------------- Section Contact us --------------------------------- */
/* -------------------------------------------------------------- */
.contact{
    min-height: 50%;
    position: relative;
    overflow: hidden;
    background-color:  #ff91311e;
}
.contact .container {
    padding: 1.5rem;
}

/* Row styling */
.contact .row {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #FFFEF0;
    border-radius: 8px;
}
.contact h2 {
    font-size: 2.1em;
    font-weight: 550;
    margin-bottom: 1rem;
}

.title-letter {
    color: #FF9231;
    font-size: 1.2em;
}

/* Paragraph styling */
.contact p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #555;
    text-align: center;
    background-color: #FFFEF0;
}

/* Link styling */
.contact a {
    color: #007BFF;
    text-decoration: none;
}

.contact a:hover {
    text-decoration: underline;
}

/* --------------------- section Footer --------------------------------- */
/* -------------------------------------------------------------- */
footer {
    background-color:  #5c86b13b;
    color: #343a40;
    min-height: 25vh;
}

footer a {
    color: #343a40;
}

footer a:hover {
    text-decoration: underline;
}

/* Social media icons */
footer .fab {
    color: #000000;
    transition: color 0.3s;
}
footer .fa-whatsapp:hover {
    color: green;
}

footer .fa-facebook:hover {
    color: #007bff;
}
footer .fa-instagram:hover {
    color: #963333ea;
}


/* --------------------------- Responsive -----------------------------*/
/* ------------------------------------------------------------------*/
@media screen and (min-width: 991px) {
    #custom-controls-gallery{
        max-width: 50%;
    }
}

@media screen and (max-width: 991px) {
    .navbar .navbar-collapse {
        top: 0;
        left: 0;
        position: absolute;
        background-color: rgba(192, 192, 192, 0.582);
        backdrop-filter: blur(8px);
        width: 60%;
        display: flex;
        flex-direction: column;
    }
    .my-navbar{
        border-bottom: none;
    }
    .mx-auto
    {
        width: 100vw;
    }
    header.sticky .my-navbar{
        border-bottom: none;
    }
    header.sticky .navbar ul li{
        margin: 7px 8px;
        font-size: 1.4em;
    }
    .navbar .logo {
       position: absolute;
       margin-bottom: 100px;   
       margin-top: 11px;
    }

    .navbar ul{
        width: 100%;
        padding: 0;
        margin: 0;
        list-style: none;
        text-align: center;
    }

    .navbar ul li{
        margin: 12px 0;
        font-size: 1.3em;
    }

    #navbar li a {
        display: inline-block;
        padding: 10px 20px;
        color: #E0682B;
        border-radius: 20px;
        transition: background-color 0.3s, color 0.3s;
        text-align: center;
    }
    #navbar li a:hover {
        color: #FFFEF0;
        background-color: #E0682B;
        width: auto;
        padding-left: 20px;
        padding-right: 20px;
        margin: auto;
    }
    
    .carousel{
        width: auto;
        height: auto;
        margin: auto;
        transition: 0.8s ease-in;
    }

    .home .container {
        max-width: 90%;
        padding: 20px;
        align-items: center;
    }

    .descript{
        margin-left: 0;
        text-align: center;
    }
    .texte{
        text-align: center;
    }
    .home {
        min-height: 60vh;
    }

    .home .container h1{
        font-size: 5rem;
        text-align: center;
        margin: auto;
    }
    .home .container .texte{
        text-align: center;
    }

    .home .container .button{
        margin-right: 0;
        padding: 12px 50px;  
    }
    .products .container{
        width: 100%;
        margin-top: 1.5rem;
        margin-bottom: 2rem;
        padding: 0;
   }
    .products {
        height: auto;
    }
    .card-text{
        font-size: 0.9em;
    }
    .products .custom-scale:hover{
        transform: scale(1.2);
    }
    .carousel-inner {
        height: 50% !important;
    }
    .carousel-item img{
        width: 100% !important;
        height: 60vh !important; 
    }
    .bg-about img {
        height: 50vh;
        object-fit: fill;
    }
    .about {
        height: auto;
    }
    .about .row {
        margin-top: 1rem;
    }
    .about .container {
          max-width: 800px;
    }
    .contact .row {
        max-width: max-content;
    }
}

@media screen and (max-width: 700px) {
    .about {
        height: auto;
    }
    .text-justify p {
        padding-right: 0;
        padding-left: 0;
    }
    .bg-about img {
        height: 50vh;
        object-fit: fill;
    }
   
    .row {
        flex-direction: column;
    }

    .bg-about, .text-justify {
        width: 100%;
    }
    .home {
        min-height: 60vh;
    }
    .home .container {
        max-width: 100%;
        padding: 20px;
        align-items: center;
        justify-content: center;
    }
    .home .container h1{
        font-size: 3.5rem !important;
    }
    .home .texte {
        font-size: 1rem;
    }
    .home .descript {
        font-size: 1rem;
    }
    .text-justify {
        padding: 1cqb;
    }
    #content{
        margin-bottom: 0;        
    }
    .products {
        height: auto;
    }
    .products .container{
       width: 90%;
    }
    .carousel-inner {
        height: 50% !important;
    }
    .carousel-item img{
        width: 100% !important;
    }
    .contact p {
        font-size: 1em;
    }
    .contact .row {
        max-width: none;
    }
    footer .col-md-4 {
        text-align: center;
    }
    .texte
    {
        text-align: justify;
    }   
}