@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

a {
    text-decoration: none !important;
}

.navbar-light .navbar-nav .nav-link {
    color: rgb(0 0 0) !important;
    font-weight: 600;
}

.HeaderRight a {
    font-size: 20px;
    color: #cb111c;
    display: flex;
    align-items: center;
    font-weight: bold;
}

.HeaderRight a i {
    font-size: 25px;
    color: #cb111c;
    padding-right: 5px;
}

.HeaderRight a:hover {
    color: #cb111c;
}

.singleCar {
    position: relative;
    /* Autres styles de .singleCar */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Fond noir semi-opaque */
    color: white;
    /* Couleur du texte */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    /* Taille du texte */
    font-weight: bold;
    pointer-events: none;
    /* Rend le contenu en-dessous cliquable */
}

.bannerSec {
    height: 100vh;
    width: 100%;
    background: url(./img/banner.jpg);
    color: #fff;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bannerSec h1 {
    font-size: 80px;
    font-weight: bold;
}



.rating {
    display: inline-block;
    font-size: 2em;
    color: #ffc107;
}

.rating-note {
    display: block;
    font-size: 1.2em;
    color: #333;
}

.see-all {
    color: #cb111c;
    font-weight: bold;
    text-decoration: none;
}

.card {
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
    border: none;
}

.card .card-title strong {
    color: #333;
}

.card-text {
    color: #666;
}

.card-subtitle {
    font-size: 0.875rem;
}

.firstSec {
    height: auto;
    width: 100%;
    padding: 50px 0;
}

.firstSec h4 {
    color: black;
    margin: 5px;
}

.leftBtn {
    height: auto;
    width: 240px;
    padding: 8px 15px;
    text-align: center;
    text-transform: uppercase;
    background-color: #cb111c;
    color: #fff;
    margin-right: 10px;
    margin-left: 70px;
}

.firstInner {
    background-color: #B8B8B8 !important;
    padding: 10px 0;
}

.firstInnerInner {
    display: flex;
    align-items: center;
}

.carsInner {
    padding: 40px 0;
}

.singleCar {
    height: auto;
    width: 100%;
    padding: 40px 10px;
    box-shadow: rgb(100 100 111 / 20%) 0px 7px 19px 0px;
}

.singleCar h5 {
    color: #000;
}

.singleCar p {
    font-size: 14px;
}

.carBtn {
    height: auto;
    width: 260px;
    text-align: center;
    padding: 8px 10px;
    background-color: transparent;
    margin: 0 auto;
    color: #000;
    border: 1px solid #000;
    transition: 500ms ease;
}

.carBtn:hover {
    background-color: #030303;
    color: #fff;
}

/* footer section  */

.footerSec {
    height: auto;
    width: 100%;
    padding: 50px 0;
}

.leftFooter {
    display: flex;
    height: 120px;
    align-items: center;
    border-right: 1px solid #000;
}

.RightFooter {
    display: flex;
    align-items: center;
    height: 120px;
}

.RightFooter p {
    font-weight: bold;
}

.middleFooter {
    border-right: 1px solid #000;
    height: 120px;
    text-align: center;
}

.img-fluid {
    margin-top: 15px;
}

.leftFooter p {
    font-weight: bold;
    color: #000;
}

.contactFooter ul {
    list-style: none;
}

.contactFooter ul li {
    color: #000;
    font-weight: bold;
    display: flex;
    align-items: center;
    padding: 5px 0;
}

.contactFooter ul li i {
    font-size: 25px;
    padding-right: 5px;
}

.contactFooter ul li:hover {
    color: #cb111c;
}

.Icons ul {
    list-style: none;
    display: flex;
    align-content: space-between;
}

.Icons ul li {
    color: #000;
    font-weight: bold;

}

.Icons ul li {
    font-size: 25px;
    padding: 0 5px;

}

.Icons ul li i:hover {
    color: #cb111c;
    cursor: pointer;

}

.popup {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    background-color: rgba(0, 0, 0, 0.5);
    /* Black w/ opacity */
    z-index: 2;
    /* Sit on top */
    display: flex;
    justify-content: center;
    align-items: center;

}

.popup-content {
    position: relative;
    display: inline-block;
    /* Ajuste automatiquement la taille */
    max-width: 50%;
    /* Empêche la popup de devenir trop grande */
    animation: appear 0.5s ease-out;

}

.etiquette {
    border: 1px solid #ccc;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: start; /* Aligner les enfants au début */
    padding: 2px 5px;
    margin: 2px 5px 2px 0; /* Ajusté pour illustrer comment ajuster les marges */
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-size: 14px;
    color: #555;
}

.conteneur-etiquettes {
    display: flex;
  }

.etiquette i {
    margin-right: 5px;
    color: #cb111c;
}

.etiquette span {
    display: block;
    min-width: 100px;
    /* Ajustez la largeur minimum selon vos besoins */
}

/* Animation pour faire apparaître la popup */
@keyframes appear {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.popup img {
    max-width: 100%;
    /* Fait en sorte que l'image ne dépasse pas le popup */
    height: auto;
    /* Maintient le ratio de l'image */
    border-radius: 15px;
    /* Arrondit les bords de la popup */
    box-shadow: #cb111c,
        /* Ombre externe pour l'effet 3D */
        inset white;
    /* Lumière intérieure subtile */

}

.close-btn {
    color: white;
    position: absolute;
    top: 0px;
    right: 0px;
    font-size: 28px;
    font-weight: bold;
    padding: 0 10px;
    /* Espacement */
}

.close-btn:hover,
.close-btn:focus {
    color: #cb111c;
    text-decoration: none;
    cursor: pointer;
}



@media screen and (max-width:767px) {


    .popup-content {
        margin-bottom: 250px !important;
        display: inline-block;
        /* Ajuste automatiquement la taille */
        max-width: 95%;
        /* Empêche la popup de devenir trop grande */
        animation: appear 0.5s ease-out;

    }

    /* Animation pour faire apparaître la popup */
    @keyframes appear {
        from {
            transform: scale(0.7);
            opacity: 0;
        }

        to {
            transform: scale(1);
            opacity: 1;
        }
    }

    .popup img {
        max-width: 100%;
        /* Fait en sorte que l'image ne dépasse pas le popup */
        height: auto;
        /* Maintient le ratio de l'image */
        border-radius: 15px;
        /* Arrondit les bords de la popup */
        box-shadow: #cb111c,
            /* Ombre externe pour l'effet 3D */
            inset white;
        /* Lumière intérieure subtile */

    }

    .buttons {
        display: block;
    }

    .rightBtn,
    .leftBtn {
        margin-left: 0px;
        width: 100%;
    }

    .pricesSec {
        display: block;
        justify-content: space-between;
    }

    .leftBtn {
        margin-bottom: 20px;
    }

    .leftSide {
        border-right: 0px solid #000;
    }

    hr {
        visibility: hidden;
    }

    .bannerSec h1 {
        font-size: 45px;
    }

    .middleFooter {
        border: none;
    }

    .leftFooter {
        border: none;
    }

    .Icons ul {
        list-style: none;
        display: flex;
        align-content: space-between;
        margin-right: 40px;
    }




    .RightFooter {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .leftFooter {
        display: block;
        text-align: center;
    }

    .contactFooter {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .bannerSec {
        height: 50vh;
        width: 100%;
        background: url(./img/banner.jpg);
        color: #fff;
        background-position: center;
        background-size: cover;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .navbar-brand {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-left: -15px;
        /* Ajustez cette valeur si nécessaire pour centrer le logo */
    }

    .navbar-toggler {
        position: absolute;
        right: 10px;
    }


    .leftFooter {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .contactFooter {
        width: 100%;
    }

    .contactFooter ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .contactFooter ul a {
        display: flex;
        justify-content: center;
        width: 100%;
        text-decoration: none;
        /* Optionnel, pour un meilleur style */
    }

    .contactFooter ul a li {
        display: flex;
        align-items: center;
        /* Centre les éléments de la liste verticalement */
        justify-content: center;
    }
}