/* Styles pour le Hero Section */

.hero {

    position: relative;

    height: 80vh;

    min-height: 500px;

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    color: #fff;

    padding: 0 20px;

    position: relative;

}



.hero::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background-color: rgba(0, 0, 0, 0.3); /* Overlay semi-transparent */

    z-index: 1;

}



.hero-content {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    gap: 40px;

    z-index: 2;

   

}



.hero-title {

    font-size: 35px;

    font-weight: normal;

    font-family: 'Gilda Display', serif;

    color: #fff;

}



.hero-subtitle {

    font-size: 35px;

    font-weight: bold;

    font-family: 'Gilda Display', serif;
    color : #fff;

}



.hero-highlight {

    font-size: 38px;

    color: #EAC38D;

    font-family: 'Gilda Display', serif;

}



/* Styles pour le carrousel */

.appartement-carousel {

    position: relative;

    height: 200px;

    overflow: hidden;

}



.carousel-container {

    position: relative;

    height: 100%;

    width: 100%;

}



.carousel-slide {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    opacity: 0;

    transition: opacity 0.5s ease;

    display: none;

}



.carousel-slide.active {

    opacity: 1;

    display: block;

}



.carousel-slide img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}



.carousel-prev,

.carousel-next {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 30px;

    height: 30px;

    background-color: rgba(255, 255, 255, 0.7);

    border: none;

    border-radius: 50%;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    z-index: 10;

    transition: background-color 0.3s ease;

}



.carousel-prev:hover,

.carousel-next:hover {

    background-color: rgba(255, 255, 255, 0.9);

}



.carousel-prev {

    left: 10px;

}



.carousel-next {

    right: 10px;

}



.carousel-prev i,

.carousel-next i {

    color: #333;

    font-size: 14px;

}



/* Modifier les styles existants */

.appartement-image {

    display: none;

}



/* Styles pour la section Appartements */

.appartements-section {

    display: flex;

    flex-direction: column;

    gap: 40px;

    padding: 60px 20px;

    background-color: #F8F5F0;

}



.section-title{

    padding-bottom: 40px;

}



.appartements-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));

    gap: 30px;

}



.appartement-card {

    background-color: #fff;

    border-radius: 8px;

    overflow: hidden;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);

    transition: transform 0.3s ease;

}



.appartement-card:hover {

    transform: translateY(-5px);

}



.appartement-image {

    height: 200px;

    overflow: hidden;

}



.appartement-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.3s ease;

}



.appartement-card:hover .appartement-image img {

    transform: scale(1.05);

}



.appartement-info {

    padding: 20px;

}



.appartement-title {

    font-family: 'Gilda Display', serif;

    font-size: 20px;

    margin-bottom: 15px;

    color: #333;

}



.appartement-details {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;

    margin-bottom: 20px;

}



.detail {

    display: flex;

    align-items: center;

    font-size: 14px;

    color: #666;

}



.detail i {

    margin-right: 5px;

    color: #EAC38D;

}



.btn-more {

    display: inline-block;

    background-color: #BAA360;

    color: #333;

    padding: 10px 20px;

    border-radius: 4px;

    text-decoration: none;

    font-weight: bold;

    transition: background-color 0.3s ease;

    text-align: center;

}



.btn-more:hover {

    background-color: #dbb16f;

}



/* Styles pour la section Avis clients */

.avis-section{

    background-color: black;

    

    .container{

        color: white;

        display: flex;

        flex-direction: column;

        align-items: center;

        padding: 20px 0px;



        h2{

            color: gold;

        }



        p{

            padding: 10px;

        }

    }

}





/* Styles pour la section Services */

.services-section {

    padding: 60px 20px;

    background-color: #ffffff;



    h2{

        font-family: 'Barlow Condensed', serif;

        color: #BAA360;

        font-size: 32px;

        font-style: normal;

        font-weight: bold;

        line-height: normal;

    }

}



.services-grid {

    display: flex;

    flex-wrap: wrap;

    gap: 30px;

    margin-top: 20px;

}



.service-card {

    background-color: #fff;

    border-radius: 8px;

    border: 1px solid #000000;

    padding: 10px 10px;

    text-align: center;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);

    transition: transform 0.3s ease;

    display: flex;

    flex-direction: column;

    align-items: center;

    height: 100%;

    flex: 1 1 calc(33.333% - 30px);

}



.service-card:hover {

    transform: translateY(-5px);

}



.service-icon {

    width: 60px;

    height: 60px;

    margin-bottom: 15px;

    display: flex;

    align-items: center;

    justify-content: center;

}



.service-icon img {

    max-width: 100%;

    max-height: 100%;

}



.service-title {

    font-family: 'Gilda Display', serif;

    color: #BAA360;

    font-size: 18px;

    margin-bottom: 15px;

    font-weight: 600;

}



.service-description {

    font-size: 14px;

    color: #666;

    line-height: 1.6;

}



/* Responsive */

@media (max-width: 768px) {

    .hero {

        height: 60vh;

    }

    

    .hero-title {

        font-size: 16px;

    }

    

    .hero-subtitle {

        font-size: 26px;

    }

    

    .hero-highlight {

        font-size: 30px;

    }

    

    .appartements-grid {

        grid-template-columns: 1fr;

    }

    .services-grid{

        flex-direction: column;

        align-items: center;

    }

}