/*Pour la police d'écriture google font*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500&display=swap');
*{
    margin: 0;
    padding: 0;
    font-family: "Poppins" , sans-serif;
    box-sizing: border-box;
    transition: all.2s linear;
    text-decoration: none;
    border: none;
}
html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 7em;
    scroll-behavior: smooth;
}
body {
    position: relative;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 8%;
    height: 50px;
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.2);
}
header .logo {
    color: #FFA500;
    font-size: 40px;
    font-weight: bold;
}
header .logo span {
    color: #008000;
}

header a{
    color: #fff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
.menu {
    display: flex;
}
.menu li {
    list-style: none;
    margin: 0 15px;
}
.menu li a {
    font-size: 1.5em;
    border-bottom: #000 solid;
    color: #000;
    font-weight: 300;
    transition: 0.2s;
}
.menu li a:hover {
    color: #FFA500;
}
header button {
    background-color: #FFA500;
    cursor: pointer;
    color: #fff;
    border-radius: 14px;
    padding: 5px 25px;
}

header button:hover{
    background-color: #008000;
}
#home {
    margin-top: 50px;
    height: calc(100vh - 50px);
    padding: 0 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
/*Scrollbar CSS*/

::-webkit-scrollbar {
    width: 8px;
    background-color: transparent;
}
::-webkit-scrollbar-thumb{
    background-color: #FFA500;
    border-radius: 15px;
}

#home .left {
    width: 40%;
}
#home .left h1 {
    color: #008000;
    font-size: 35px;
    margin-bottom: 10px;
}
#home .left h1 span {
    color: #FFA500;
}
#home .left p {
    margin-bottom: 30px;
    color: #999;
    font-size: 1.5em;
}
#home .left a {
    background-color: #FFA500;
    padding: 10px 20px;
    font-size: 14px;
    color: #fff;
    transition: 0.5s;
}
#home .left a:hover {
    background-color: #000;
}
#home .right {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
#home .right img {
    border-bottom: solid #008000 5px;
    width: 100%;
    border-radius: 25px;
}
#cars {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.section_title {
    text-transform: uppercase;
    position: relative;
    font-size: 25px;
}
.section_title:before {
    position: absolute;
    left: 10px;
    bottom: 0;
    content: "";
    background-color: #FFA500;
    width: 100%;
    height: 5px;
    border-radius: 6px;
}
.section_title:after {
    position: absolute;
    top: 0;
    left: -10px;
    content: "";
    background-color: #008000;
    width: 100%;
    height: 5px;
    border-radius: 6px;
}
.images {
    margin: 100px auto;
    padding: 0 8%;
}
.images ul {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
.images li {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2.665%;
    transition: 0.5s;
    height: 300px;
    width: 28%;
}

.images li div {
    width: 100%;
    height: 60%;
    margin-bottom: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}
.images li div img {
    height: 100%;
    width: 100%;
}

.images li:hover {
    transform: scale(1.1);
    margin: 20px;
}
.images li span {
    color: #000;
    font-size: 18px;
}

/* Centrer le titre de la section */
#cars h1 {
    margin-top: 110px;
    text-align: center; /* Centrer le texte */
}

/* Centrer la liste des vidéos */
#cars .videos ul {
    list-style: none; /* Supprimer les puces de la liste */
    padding: 0; /* Supprimer le padding par défaut */
    margin: 60px auto; /* Ajuster la marge et centrer horizontalement */
    width: 80%; /* Limiter la largeur pour éviter l'élargissement excessif */
    text-align: center; /* Centrer les éléments enfants à l'intérieur */
}

/* Centrer chaque vidéo de la liste */
#cars .videos ul .video {
    display: inline-block; /* Aligner les éléments en ligne */
    margin: 20px; /* Marge autour des éléments */
}

/* Style du titre vidéo */
#cars .videos ul .video h3 {
    background-color: #FFA500; /* Orange ivoirien */
    color: #fff;
    text-align: center; /* Centrer le texte */
    border-radius: 8px;
    font-size: 1.5em;
    padding: 10px;
    margin-bottom: 10px; /* Marge sous le titre */
}

/* Style de la description de la vidéo */
#cars .videos ul .video p {
    margin-top: 6px;
    color: #414141ad;
    text-align: center; /* Centrer le texte */
    font-size: 1.4em;
    border-bottom: solid #008000; /* Bordure verte sous la description */
    padding-bottom: 10px; /* Espacement sous la description */
}

#services {
    text-align: center;
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.section_title {
    font-size: 32px;
    color: #020236;
    margin-bottom: 30px;
    font-weight: 600;
}

.list_services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.service {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service i {
    font-size: 40px;
    color: #007bff;
    margin-bottom: 15px;
}

.service img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.service h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.service p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .list_services {
        gap: 15px;
    }

    .service {
        width: 45%; /* Deux services par ligne sur tablette */
    }
}

@media (max-width: 768px) {
    .service {
        width: 100%; /* Un service par ligne sur mobile */
    }
}

@media (max-width: 768px) {
    .section_title {
        font-size: 28px;
    }

    .service {
        padding: 15px;
    }

    .service img {
        height: 210px;
    }

    .service h3 {
        font-size: 18px;
    }

    .service p {
        font-size: 14px;
    }
}


/* Styles de base */
#historique {
    text-align: center;
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.historique_title {
    margin-top: 15px;
    font-size: 32px;
    color: #e47726; /* Orange */
    margin-bottom: 30px;
}

.list_historique {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.historique {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 30%;
    min-width: 280px;
    transition: transform 0.3s ease;
    border-left: 5px solid #e47726; /* Bordure orange */
}

.historique:hover {
    transform: translateY(-5px);
}

.historique i {
    font-size: 40px;
    color: #009e60; /* Vert */
    margin-bottom: 10px;
}

.historique h3 {
    font-size: 22px;
    color: #e47726; /* Orange */
    margin: 10px 0;
}

.historique p {
    font-size: 16px;
    color: #555;
}

.read_more {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background-color: #009e60; /* Vert */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.read_more:hover {
    background-color: #006f42; /* Vert foncé */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .historique {
        width: 45%; /* Deux éléments par ligne sur tablette */
    }
}

@media (max-width: 768px) {
    .historique {
        width: 100%; /* Un élément par ligne sur mobile */
    }

    .historique_title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .historique {
        padding: 15px;
    }

    .historique h3 {
        font-size: 18px;
    }

    .historique p {
        font-size: 14px;
    }

    .read_more {
        padding: 6px 12px;
        font-size: 14px;
    }
}

#contact {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 0 12%;
    
}
.localisation_contact_div {
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    width: 100%;
    margin: 100px 0;
    height: 80vh;
}



.localisation_contact_div .form_contact {
    width: 49%;
    height: 100%;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    padding: 15px;
    border-radius: 6px;
}
.localisation_contact_div h3 {
    margin-bottom: 10px;
    font-size: 18px;
}
.localisation_contact_div .form_contact form {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
}
.form_contact form input , textarea {
    border: 1px solid #ccc;
    width: 100%;
    margin-bottom: 15px;
    padding: 5px;
    outline: 0;
    border-radius: 6px;
    font-size: 15px;
    resize: none;
}
.form_contact form input[type="submit"]{
    margin-bottom: 0;
    background-color: #FFA500;
    color: #fff;
    border: 0;
}
footer {
    background-color: #008000;
    text-align: center;
    padding: 10px 0;
    color: #fff;
    font-size: 14px;
}

footer span a{
    color: aliceblue;
    border-bottom: #04ff04 solid;
}

.social-media__content_icon a{
    margin: 10px;
    font-size: 2em;
    color: #FFF;
    transition: color 0.3s;
}

.social-media__content_icon a:hover{
    color: #FFA500;
}

.menu_toggle {
    display: none;
}



/* Styles du slider d'image */
.slider-container {
    background: linear-gradient(rgba(58, 58, 58, 0.5), rgba(0, 0, 0, 0.5)), url('/assete/images/turkey-2084570_1280.jpg');
    border-radius: 6px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    position: relative;
}

.titre h1{
    text-align: center;
    text-transform: uppercase;
    position:  relative;
    font-size: 25px;
}
.titre h1:before {
    position: absolute;
    left: 10px;
    bottom: 0;
    content: "";
    background-color: #FFF;
    width: 100%;
    height: 5px;
    border-radius: 6px;
}
.titre h1:after {
    position: absolute;
    top: 0;
    left: -10px;
    content: "";
    background-color: #FFA500;
    width: 100%;
    height: 5px;
    border-radius: 6px;
}

.glide__slide {
    text-align: center;
    padding: 20px;
}

.glide__slide h3{
    font-size: 2em;
    color: #FFF;
}

.glide__slide p{
    background: #FFA500;
    font-size: 1.4em;
}


.glide__slide img {
    display: block;
    height: 200px;
    width: 200px;
    border-radius: 10px;
    object-fit: cover;
    border: #fff solid 5px;
    margin: auto;
}

.glide__arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
}

.glide__arrow {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 20px;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.glide__arrow:hover {
    background-color: #fff;
    color: #000;
}


.fixed-backToTop-btn {
    position: fixed;
    bottom: 80px;
    right: 20px;
}

.back-to-top {
    display: none;
    background-color: #008000;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
}

.back-to-top:hover {
    background-color: #FFA500;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 0 10px;
    }

    header .menu {
        display: none;
    }

    .titre h1{
        margin-top: 180px;
    }

    #cars h1{
        margin-top: 100px;
    }

    #home {
        padding: 0 10px;
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }

    #home .left,
    #home .right {
        width: 100%;
    }

    #home h1 {
        margin-top: 130px;
        font-size: 1rem;
    }

    #contact h1{
        margin-top: 160px;
    }

    .right {
        margin-top: 40px;
        width: 80%;
    }

    .images li {
        width: 100%;
    }

    #services {
        padding: 0 10px;
    }

    .service {
        width: 100%;
    }

    #contact {
        height: auto;
        padding: 20px 10px;
    }

    .localisation_contact_div {
        flex-direction: column;
        width: 100%;
        gap: 20px;
    }

    .localisation {
        width: 100%;
        margin-bottom: 20px;
    }

    .localisation_contact_div .form_contact {
        width: 100%;
    }

    /* Menu Toggle */
    .menu_toggle {
        height: 50px;
        width: 60px;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 3;
    }

    .menu_toggle span {
        width: 35px;
        background-color: #FFA500;
        height: 5px;
        border-radius: 6px;
        transition: 0.5s;
    }

    .menu_toggle.active span {
        width: 0px;
    }

    .menu_toggle::before,
    .menu_toggle::after {
        position: absolute;
        content: "";
        width: 20px;
        height: 5px;
        background-color: #FFA500;
        border-radius: 6px;
        transition: 0.5s;
    }

    .menu_toggle::before {
        transform: translateY(10px);
    }

    .menu_toggle.active::before {
        width: 28px;
        transform: rotate(45deg);
    }

    .menu_toggle::after {
        transform: translateY(-10px);
    }

    .menu_toggle.active::after {
        width: 28px;
        transform: rotate(-45deg);
    }

    header .menu.responsive {
        position: absolute;
        top: 50px;
        left: 0;
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 10px 0;
        align-items: center;
        background-color: #fff;
        border-top: 1px solid #ccc;
        border-bottom: 1px solid #ccc;
        z-index: 2;
    }

    /* Slider */
    .slider-container {
        height: 350px;
    }

    .glide__slide img {
        height: 140px;
        width: 140px;
    }

    .glide__slide h3 {
        font-size: 1rem;
    }

    .glide__slide p{
        background: #FFA500;
        font-size: 1em;
    }

    .glide__arrow {
        font-size: 18px;
        padding: 6px 10px;
    }

    /* Réseaux sociaux */
    .social-media__content_icon a {
        font-size: 1.5em;
    }

    /* Footer */
    footer p {
        font-size: 0.85em;
    }
}
