/* General Styles */
* {
    text-decoration:none;
}


body {
    margin: 0;
    font-family: 'Akatab', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

p {
    margin: 0;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50vh;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
    margin-bottom:10px;
}

.hero-banner {
    width:100%;
    height:100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    
}
.hero-content {
    padding: 20px;
    font-size:30px;
    border-radius: 8px;
}

/* Call to Action */
.cta {
    background-color: #5360d6!important;
    padding: 20px;
    text-align: center;
    color: white;
    width:850px;
    margin:auto;
    border-radius:100px;
    margin-top:-50px;
    position:relative;
    z-index:3;
}

.cta .cta-button, .cta2 .cta-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #a9a5f3;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.3s;
    margin:auto;
}

.cta .cta-button:hover, .cta2 .cta-button:hover {
    transform: scale(1.1);
}

@media (max-width: 1024px) {
    .cta, .cta2 {
        max-width:650px;
    }
}
@media (max-width: 700px) {
    .cta, .cta2 {
display:none;    }
}
.attendezpas{
    display:flex;

}
.nattendezpassejour {
    font-size:30px; margin-left:20px; margin-right:30px; padding:10px
}

/* Logement Section */

.logement {
    padding: 20px;
    text-align: center;
    margin-top:20px;}
.mentions-legales {
    text-align: justify;
    margin-top:20px;
    width:80%;
    margin:auto;
    line-height:2;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    margin-top: 2em;
    margin-bottom:2em;
    --e-column-margin-right: 1em;
    --e-column-margin-left: 1em;
    padding: 2em 2em 2em 2em;
}
.h2logement{
    font-size:30px;
}

body > section.logement > p, body > section.mentions-legales > p {
    margin:20px;
}
/* Rental List */
#rental-list {
    display: flex;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: auto;
    max-width: 1280px;
    font-family: 'Akatab', sans-serif;
}

.rental {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 400px;
    background-color: #fff;
    border-radius: 10px;
    margin: 1%;
    padding: 1%;
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.14);
}

.rental-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    display: block;
    border-radius: 7px;
    transition: all 0.5s ease;
}

.rental-image:hover {
    transform: scale(1.03);
    box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.04);
}

.rental-content {
    margin: 10px;
    padding: 10px;
}

.rental .btn {
    display: block;
    text-align: center;
    color: #fff;
    border-radius: 7px;
    font-size: 1.2em;
    font-weight: 800;
    background-color: #5360d6;
    padding: 0.7em 1em;
    margin-top: 1rem;
    border: none;
    text-transform: uppercase;
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.15);
    transition: all 0.5s ease;
}

.rental .btn:hover {
    transform: scale(0.9);
    background-color: #a9a5f3;

}

.rental-title {
    color: #5360d6;
    font-size:20px;
}

.rental-price {
    font-size: 120%;
    font-weight: bold;
}

/* COMMENTAIRES */ 

/* Section des commentaires */
.comments-section {
    position: relative;
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom:30px;
    padding-top:150px;
    margin-top:-60px;
}

.comments-section .overlay {
    background: rgba(0, 0, 0, 0.6);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.comments-section .comments-title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 30px;
    text-align: center;
}

.comments-section .comments-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.comments-section .comment-box {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 20px;
    max-width: 260px;
    color: #fff;
    text-align: center;
    box-shadow: 0px 0px 10px 0px #FFFFFF;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}



.comments-section .comment-text {
    font-size: 1.2rem;
    line-height: 1.5;
    font-style: italic;
    font-weight:800;
}


@media (max-width: 1024px) {
    .comments-section{
height:1100px;    }
}

/* Section des services */
.services-section {
    text-align: center;
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.services-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colonnes fixes */
    gap: 20px;
    justify-content: center;
    padding: 20px;
    max-width: 1024px;
    margin: 0 auto;
    width:900px;
    gap:50px 50px;
}




.service-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.53);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.service-icon {
    width:100px;
    height:100px;
    object-fit:cover;
    margin-bottom:20px;
}

.service-item p {
    font-size: 1rem;
    color: #555;
    margin: 0;
}
/* Section CTA en bas */
.cta-bas {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 300px; /* Ajustez la hauteur */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Cache les débordements */
    border-radius: 15px; /* Coins arrondis */
}

/* Shape divider */
.cta-shape-divider {
    position: absolute;
    width: 100%;
    height: auto;
    overflow: hidden;
    line-height: 0;
    z-index:1;
}

.cta-shape-divider svg {
    position: relative;
    display: block;
    width: 100%;
    height: 50px; /* Hauteur du shape divider */
}

.cta-shape-divider .elementor-shape-fill {
    fill: #F9F9F9; /* Couleur du divider */
}

/* Overlay */
.cta-overlay-bas {
    background: rgb(255 255 255 / 50%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cta-shape-divider-top {
    top: 0; /* Positionné en haut */
}
.cta-shape-divider-bottom {
    bottom: 0; /* Positionné en bas */
    transform: rotate(180deg); /* Inverser le shape */
}

/* Contenu en grid pour deux colonnes */
.cta-content-bas {
    display: grid;
    grid-template-columns: 70% 30%; /* 70% pour le titre, 30% pour le bouton */
    max-width: 1024px; /* Limite maximale de largeur */
    padding: 20px;
    margin: 0 auto; /* Centre le contenu horizontalement */
    width: 100%;
    z-index: 2;
    color: #fff;
    font-family: 'Roboto', sans-serif;
}

.cta-text {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 20px; /* Espace entre le texte et le bouton */
}

.cta-text h2 {
    font-size: 40px; /* Taille du texte */
    font-weight: 900;
    line-height: 60px;
    margin: 0;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2); /* Légère ombre */
    color: #5360d6;
    text-align: center; /* Alignement du texte à gauche */
}






.cta-button-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.cta-button-bas {
    display: inline-block;
    padding: 15px 30px;
    background-color:#5360d6;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); /* Ombre pour le bouton */
    text-align:center;
}

.cta-button-bas:hover {
    background-color: #5360d6; /* Couleur plus sombre au survol */
    transform: scale(1.05); /* Animation */
}

@media (max-width: 768px) {
.cta-text h2 {
    font-size:25px;
}
.cta-button-bas {
    padding:10px;
}
.cta-content-bas {
    padding:5px;
}
}

.faq-section {
                padding: 20px;
                background-color: #f9f9f9;
            }
            .faq-title {
                font-size: 28px;
                text-align: center;
                margin-bottom: 20px;
            }
            .faq-container {
                max-width: 600px;
                margin: 0 auto;
            }
            .faq-item {
                padding: 20px 0;
                cursor: pointer;
            }
            .faq-item .faq-question {
                display: flex;
                justify-content: space-between;
                align-items: center;
                font-size: 18px;
                font-weight: bold;
                margin: 0;
            }
            .faq-item .faq-answer {
                display: none; /* Caché par défaut */
                font-size: 16px;
                margin-top: 10px;
                color: #5360d6;
            }
            .faq-item .faq-arrow {
                transition: transform 0.3s ease;
            }
            .faq-item.open .faq-answer {
                display: block; /* Afficher la réponse */
            }
            .faq-item.open .faq-arrow {
                transform: rotate(180deg); /* Rotation de la flèche */
            }

            .faq-arrow {
                font-size:15px;
            }

            .cta2 {
                background-color:#5360d6;
                padding: 20px;
                text-align: center;
                color: white;
                width: 850px;
                margin: auto;
                border-radius: 100px;
                position: relative;
                z-index: 3;
            }
            
            .preparateurcta2 {
                width:100%;
                background-color:#F9F9F9;
                padding-top:30px;
                margin-bottom:-50px;
            }

            @media (max-width: 1024px) {
    .services-container {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes pour tablettes */
        max-width:700px;
    }
}

@media (max-width: 768px) {
    .services-container {
        grid-template-columns: 1fr; /* 1 colonne pour les mobiles */
        max-width:300px;
        padding:10;
    }
    
}
@media (max-width: 400px) {
    .services-container {
        grid-template-columns: 1fr; /* 1 colonne pour les mobiles */
        max-width:250px;
        padding:0;
    }
}


@media (max-width: 992px) {
    .rental {
        min-height: 400px;
    }
}