*{
    margin: 0;
    padding: 0;
}

body{
    font-family: sans-serif;
}

.banner{
    height: 100vh;
    position: relative;
}

.slider{
    width: 93%;
    float: left;
}

.carousel-caption{
    max-width: 500px !important;
    max-height: 350px !important;
    text-align: left !important;
    right: 60px!important;
    left: auto!important;
    top: 160px!important;
    background-color: #391d1d94 !important;
    border-radius: 10px;
    padding: 10px;
}

.carousel-caption h1{
    font-size: 70px;
}

.carousel-caption p{
    margin-top: 40px;
}

.side-menu{
    height: 100%;
    width: 7%;
    float: right;
    background-color: #ade8f4;
    position: relative;
    z-index: 2;
}

.menu-icon{
    width: 40px;
    margin: 25px;
    cursor: pointer;
    color: white;
    
}

.search-icon{
     align-items: center;
    width: 30px;
    margin: 30px;
    cursor: pointer;
    color: white;
}

.carousel-item img {
    width: 100%;
    height: 100vh; /* ou une hauteur fixe comme 600px */
    object-fit: cover; /* garde l'image centrée et remplie */
}


.vertical-indicators {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100px; /* ajuste selon besoin */
    left: 50%;  
   align-items: center;
    gap: 8px; /* espace plus petit entre les boutons */
}

.vertical-indicators button {
    width: 14px !important;   /* forcer largeur */
    height: 14px !important;  /* forcer hauteur */
    border-radius: 50% !important; /* cercle parfait */
    border: none;
    background-color: #fff;
    opacity: 0.5;
    cursor: pointer;
}

.vertical-indicators button.active {
    opacity: 1 !important;
}

/* Footer */
footer{
    text-align: center;
    color: #391d1d;
    margin-top: 15px;
    display: flex;
    flex-direction: column; 
    
}

footer a{
    text-decoration: none;
    color: #391d1d;
    font-size: 22px;
    
}

.social_media_icons a{
    padding: 20px;
}

footer hr{
    background: #391d1d;
    height: 1px;
    width: 100%;
    border: 0;
    
}
footer .btn{
    background-color: #391d1d;
    color: #fff;
    margin: auto;
}
footer .btn:hover{
    background-color: #391d1dd1;
    color: #fff;
}

.offcanvas-body a{
    font: 1em sans-serif;
    margin: 0;
    padding: 0;
}

.top-bar{
    position: absolute;
    margin: 30px 50px;
    z-index: 2;
    background-color: #391d1d94;
    border-radius: 10px;
}

.top-bar img{
    height: 30px;
    cursor: pointer;
}

.top-bar ul{
    display: inline-flex;
}
.top-bar ul li{
    list-style: none;
    margin: 15px 20px;
    
}

.top-bar ul li a{
    color: #fff;
    display: block;
    padding-top: 5px;
}

.social-icons{
    top: 35%;
    left: 5%;
    z-index: 2;
    position: absolute;
    display: flex;
    flex-direction: column;
   background-color: #391d1d94;
   border-radius: 10px;
   padding: 20px;
   gap: 30px;
}

.social-icons a{
    color: #fff;
    
}

@media (max-width: 768px) {
    .carousel-caption {
        
        max-width: 90%;             /* limite la largeur du texte */
        margin: 30px auto;          /* centre horizontalement */
        padding: 10px;
        text-align: center;         /* centre le texte */
        background-color: #391d1d94 !important; /* un peu de fond si nécessaire */
        border-radius: 8px;
    }

    .carousel-caption h1 {
        font-size: 28px !important; /* réduit la taille sur petits écrans */
    }

    .carousel-caption h2 {
        font-size: 20px !important;
    }

    .carousel-caption p {
        font-size: 14px !important;
        margin-top: 15px;
    }

    .social-icons{
       flex-direction: row;
       top: 90%;
       left:22%;
    }
}
