@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@100;200;400;500&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Raleway', sans-serif;
}

a {
    text-decoration: 0;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    scroll-padding-top: 9px;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: #ccc;
}

body {
    background-color: #111;
}

section {
    margin-top: 50px;
}

header {
    background-color: #222;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
    padding: 0 5%;

}

/* Style pour la section logo */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-width: 50px;
    /* Ajustez la largeur maximale selon vos besoins */
    margin-right: 10px;
    /* Marge à droite du logo pour l'espace */
}

.logo a {
    text-decoration: none;
    color: #333;
    /* Couleur du texte pour le lien */
    font-size: 1.5rem;
    /* Ajustez la taille de la police selon vos besoins */
}

.logo span {
    font-weight: bold;
    color: #007bff;
    /* Couleur spécifique pour le texte en gras */
}


header .logo a {
    font-size: 25px;
    color: #29d9d5;

}

header .logo a span {
    color: #fff;
}

.menu {
    display: flex;
    align-items: center;
}

.menu li {
    margin: 0 15px;
    list-style-type: none;
}

.menu li a {
    color: #fff;
    font-size: 14px;
}

.btn-reservation {
    color: #29d9d5;
    font-size: 14px;
    border: 2px solid #29d9d5;
    padding: 5px 20px;
    transition: 0.5s;
    font-weight: bolder;
}

.btn-reservation:hover {
    background-color: #29d9d5;
    color: #fff;

}

/* Styles pour les cartes de formation */
/* Styles pour les cartes de formation */
#formation .card-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

#formation .card {
    width: 300px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
    background-color: #fff;
}

#formation .card:hover {
    transform: scale(1.05);
}

#formation .card img {
    width: 100%;
    height: auto;
    border-bottom: 2px solid #29d9d5;
}

#formation .card-content {
    padding: 15px;
}

#formation .card h4 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}

#formation .card p {
    color: #555;
}

#formation .card a {
    color: #29d9d5;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    /* Ajout pour permettre le style du fond */
    padding: 10px 15px;
    background-color: #29d9d5;
    /* Couleur de fond */
    color: #fff;
    /* Couleur du texte */
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
}

#formation .card a:hover {
    text-decoration: underline;
    background-color: #29d9d5;
    /* Couleur de fond au survol */
}



/* Home acceuil CSS */
/* Style pour le Carrousel */
#imageCarousel {
    margin-top: 20px;
    max-width: 800px;
    /* Ajustez la largeur selon vos besoins */
    margin-left: auto;
    margin-right: auto;
}

.carousel-inner {
    border-radius: 10px;
}

.carousel-item img {
    border-radius: 10px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    color: #29d9d5;
    /* Couleur des flèches de navigation */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #29d9d5;
    /* Couleur des flèches de navigation */
}

.carousel-item {
    text-align: center;
}

/* Style pour le reste de votre contenu */
#home {
    text-align: center;
    padding: 20px;
}

#home h2 {
    font-size: 50px;
    margin-bottom: 10px;
    -webkit-text-stroke: #fff;
    color: white;
    text-transform: lowercase;
}

#home h4 {
    font-size: 38px;
    color: #fff;
    margin-bottom: 10px;
    text-transform: capitalize;
}

#home p {
    color: #fff;
    margin-bottom: 10px;
    font-size: 12px;
}

.home-btn {
    margin-bottom: 20px;
}





.find_trip {
    background-color: #222;
    padding: 20px;
    width: 70%;
    position: absolute;
    bottom: -50px;
}

.find_trip form {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}

.find_trip form div,
.find_trip form input[type="submit"] {
    display: flex;
    flex-direction: column;
    width: 20%;
}

.find_trip form label {
    color: #999;
    font-size: 15px;
    margin-bottom: 10px;
}

.find_trip form input {
    padding: 5px 20px;
    background-color: transparent;
    border: 1px solid #29d9d5;
    outline: 0;
    width: 100%;
    font-size: 13px;
    color: #fff;
}

.find_trip form input[type="submit"] {
    display: flex;
    align-items: center;
    text-transform: uppercase;
    color: #29d9d5;
    cursor: pointer;
    transition: 0.5s;
}

.find_trip form input[type="submit"]:hover {
    box-shadow: 0 0 10px #29d9d5;
}

/*A propos CSS*/
#a-propos {
    margin-top: 100px;
    margin-bottom: 50px;
    padding: 0 10%;
    width: 100%;
}

.title {
    text-transform: capitalize;
    margin: 70px 0;
    font-weight: bold;
    color: #29d9d5;
    position: relative;
    margin-left: 15px;
    font-size: 18px;

}

.title::after {
    position: absolute;
    left: -15px;
    content: "";
    height: 100%;
    background-color: #fff;
    width: 5px;
}

.img-desc {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.img-desc .left {
    position: relative;
    margin-left: 10px;
    height: 250px;
    width: 40%;
}

.img-desc .right {
    width: 57%;
}

.img-desc .left video {
    width: 100%;
    height: 100%;
    position: relative;
    box-shadow: 0 0 10px #29d9d5;
}

.reseaux-sociaux a {
    color: orange;
    /* Couleur des icônes */
    font-size: 19px;
    /* Taille des icônes */
    margin-right: 15px;
    /* Marge entre les icônes */
}


.id {
    width: 100%;
    height: 100%;
    position: relative;
    box-shadow: 0 0 10px #29d9d5;
}

.img-desc .left::after {
    position: absolute;
    bottom: -10px;
    right: 10px;
    content: "";
    height: 100%;
    background-color: #29d9d5;
    width: 100%;
    z-index: -1;
}

.img-desc .right h3 {
    color: #fff;
    font-size: 25px;
    margin-bottom: 20px;

}

.img-desc .right p {
    color: #999;
    font: 14px;
    margin-bottom: 36px;
}

.img-desc .right a {
    border: 1px solid #29d9d5;
    color: #29d9d5;
    font-size: 14px;
    padding: 8px 25px;
    font-weight: bold;
}

/*Destination CSS*/
#popular-destination {
    padding: 0 10%;
    margin-bottom: 50px;
}

#popular-destination .content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

#popular-destination .content .box {
    overflow: hidden;
    position: relative;
    height: 250px;
    transition: 0.5s;
}

#popular-destination .content .box img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.box .content {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #fff;
    text-align: center;
    align-items: center;
    transform: translateX(100%);
    transition: 0.5s;
}

.box .content h4 {
    font-size: 25px;
    margin-bottom: 10px;
}

.box .content p {
    padding: 2px;
    font-size: 12px;
}

.box .content p:nth-child(3) {
    margin-bottom: 25px;
}

.box .content a {
    margin-top: 60px;
    padding: 10px 60px;
    border: 2px solid #29d9d5;
    color: #29d9d5;
    font-weight: bold;
}

.box:hover {
    box-shadow: 0 0 10px #29d9d5;
}

.box:hover .content {
    transform: translateX(0);
}

/* Contact CSS */
#contact {
    padding: 0 10%;
    margin-bottom: 50px;
    height: 90vh;
}

#contact form {
    background-color: #fff;
    margin: auto;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.left-right {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.left-right .left,
.left-right .right {
    display: flex;
    flex-direction: column;
    width: 49%;
}

#contact form label {
    font-size: 14px;
    padding: 10px 0;
    font-weight: 600
}

#contact form input {
    padding: 8px;
    outline: 0;
    border: 1px solid #999;
}

textarea {
    height: 150px;
    resize: none;
    outline: 0;
    width: 100%;
    padding: 10px;
}

#contact form input:focus,
textarea:focus {
    border: 1px solid #29d9d5;
}

iframe {
    height: 150px;
    width: 100%;
}

#contact button {
    width: fit-content;
    padding: 8px 40px;
    background-color: #111;
    border: 1px solid #111;
    color: #fff;
    cursor: pointer;
    transition: 0.5s;
}

#contact button:hover {
    letter-spacing: 1px;
}

/* Style pour la nouvelle section Contact simplifiée */
#contact-simple {
    background-color: black;
    /* Couleur de fond */
    padding: 95px 0;
    text-align: center;
}

#contact-simple h1 {
    margin-bottom: 30px;
    color: #29d9d5;
    /* Couleur du texte du titre */
}

.form-container {
    display: flex;
    justify-content: center;
}

.form-box {
    width: 50%;
    /* Ajustez la largeur selon vos besoins */
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-box label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

.form-box input {
    width: 100%;
    padding: 10px;
    margin-top: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-box button {
    background-color: #29d9d5;
    /* Couleur du bouton */
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-box button:hover {
    background-color: #29d9d5;
    /* Couleur du bouton au survol */
}

#social-icons {
    margin-top: 20px;
}

#social-icons a {
    margin: 0 10px;
    color: #29d9d5;
    /* Couleur des icônes */
    font-size: 36px;
}

#contact-simple-footer {
    margin-top: 30px;
    color: #555;
}

#contact-simple-footer span {
    font-weight: bold;
}


footer {
    width: 100%;
    background-color: #222;
    padding: 10px 0;
    font-size: 14px;
    text-align: center;
}

footer p {
    color: #fff;
}

footer p span {
    color: #29d9d5;
}

.responsive-menu {
    display: none;
}

/*Responsive*/
@media (max-width:750px) {
    header .menu {
        display: none;
    }

    .btn-reservation {
        display: none;
    }

    /*Home responsive*/
    #home h2 {
        font-size: 18px;
        -webkit-text-stroke: 0;
        color: #fff;
    }

    #home h4 {
        font-size: 28px;
    }

    #home p {
        text-align: center;
        font-size: 10px;
    }

    .find_trip {
        width: 100%;
        height: 200px;
    }

    .find_trip form {
        flex-wrap: wrap;
    }

    .find_trip form div {
        margin-top: 10px;
        flex-direction: column;
        width: 47%;
    }

    .find_trip form input[type="submit"] {
        width: 47%;
    }

    .home-btn {
        display: block;
    }

    /*Responsive A propos*/
    .img-desc {
        flex-direction: column;
        width: 100%;
    }

    .img-desc .left,
    .img-desc .right {
        width: 100%;
    }

    .img-desc .left video {
        width: 100%;
    }

    .img-desc .left::after {
        background-color: transparent;
    }

    .img-desc .left {
        margin-bottom: 20px;
    }

    /*Responsive menu*/
    .responsive-menu {
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        cursor: pointer;
    }

    .responsive-menu::after {
        position: absolute;
        content: "";
        height: 3px;
        background-color: #29d9d5;
        width: 28px;
        box-shadow: 0 10px 0 #29d9d5;
        transform: translateY(-10px);
        transition: 0.5s;
    }

    .responsive-menu.active::after {
        box-shadow: 0 0 0 #29d9d5;
        transform: rotate(45deg);
    }

    .responsive-menu::before {
        position: absolute;
        content: "";
        height: 3px;
        background-color: #29d9d5;
        width: 28px;
        transform: translateY(10px);
        transition: 0.5s;
    }

    .responsive-menu.active::before {
        transform: rotate(-45deg);
    }

    header .menu.responsive {
        display: flex;
        position: absolute;
        top: 50px;
        right: 0;
        flex-direction: column;
        background-color: #222;
        align-items: unset;
        animation: animate-menu 1s forwards;
    }

    header .menu.responsive li {
        margin: 20px;
        width: 100px;
        padding-left: 20px;
    }

    @keyframes animate-menu {
        0% {
            transform: translateY(0);
        }

        100% {
            transform: translateY(100%);
        }
    }
}