body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    padding: 0;
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

.logo {
    width: 180px;
    height: auto;
    cursor: default;
}
.logo img{
    width: 10px;
    height: 10px;
}
.logo2 {
    color: #fff;
    font-size: 25px;
    text-decoration: none;
    font-weight: 600;
    cursor: default;
}

.logo2 img{
    width: 2px;
    height: 2px;
}
.navbar a {
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    margin-left: 35px;
    transition: 0.3s;
}
.navbar a:hover {
    color: #f00;
}
#menu-icon {
    font-size: 36px;
    color: #fff;
    display: none;
}
.visit-btn {
    padding: 10px 20px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    transition: 0.3s;
}

.visit-btn:hover {
    background-color: #fff;
    color: #000;
    text-decoration: none;
}


.banner {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}


.banner-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    z-index: -1;
}
.banner img{
    width: 100%;

}

.banner-content {
    position: absolute;
    top: 20%;
    left: 10%;
    max-width: 580px;
    color: white;
}

.subtitle {
    margin-bottom: 10px;
    opacity: 0.8;
    font-weight: 600;
}



.title h1{
    font-size: 32px;
    line-height: 1.3;
    text-align: left;
    word-break: break-word;
}

.explore-button {
    background: white;
    color: black;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    color: black;
    border: none;
    padding: 15px 20px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
}

.arrow.left {
    left: 20px;
}

.arrow.right {
    right: 20px;
}




/*---------------*/


.visit-btn {
    padding: 10px 20px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    transition: 0.3s;
}

.visit-btn:hover {
    background-color: #fff;
    color: #000;
}

.head-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 60px;
    overflow: hidden;
    z-index: 9999;
}
.head-slide .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* ← ajuste ici l’intensité */
    z-index: 1;
}
.head-slide .head-content {
    position: relative;

}

.head-slide.active {
    opacity: 1;
    z-index: 1;
}

.head-content {
    text-align: left;
    max-width: 600px;
}

.head-content p {
    font-size: 16px;
    margin-bottom: 20px;
}

.head-content h1 {
    font-size: 68px;
    margin-bottom: 30px;
    line-height: 1.2;
}

.hero-btn {
    padding: 12px 30px;
    background-color: white;
    color: black;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: 0.3s;
}

.hero-btn:hover {
    background: #222;
    color: #fff;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    cursor: pointer;
    padding: 10px;
    z-index: 5;
}

.nav-arrow.left {
    left: 20px;
}

.nav-arrow.right {
    right: 20px;
}


/*-----------*/

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    background-color: #1f1a17;
}

.text-section {
    max-width: 600px;
}

.line-welcom{
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 20px 20px 100px;
}

.welcome {
    color: #e2915f;
    font-weight: bold;
    font-size: 16px;
    margin: 0;
}
.bar{
        width: 40px;
        height: 2px;
        background-color: #e2915f; /* couleur orangée */
}

h1 {
    font-size: 35px;
    font-weight: 600;
    margin: 0 0 20px;
    text-transform: capitalize;
    line-height: 52px;
    letter-spacing: -3px;
}
.titre{
    margin-left: 80px;
}
.titre h1{
    color: #fff;
}
.para1{
    margin-left: 80px;
    margin-top: 50px;
}

.intro {
    color: #b3a9a0;
    line-height: 1.6;
    font-size: 14px;
}

.quote {
    margin-top: 40px;
    margin-left: 200px;
    font-weight: 500;
    height: 100px;
    width: 50%;
    color: #fdfdfd;
    line-height: 1.4;
    font-size: 14px;
}
.link1{
    margin-top: 40px;
    margin-left: 200px;
}

.cta {
    display: inline-block;
    margin-top: 30px;
    text-transform: uppercase;
    font-weight: bold;
    border-bottom: 2px solid #fff;
    color: #fff;
    text-decoration: none;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 100vh; /* ou une hauteur fixe */
    overflow: hidden;
}

/* Image de fond */
.bg-image {
    position: absolute;
    top: 0;
    left: 20%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Image de devant */
.front-image {
    position: absolute;
    top: 50%;
    right: 10%;
    width: 60%;
    height: 60%;
    max-height: 90%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

/*-------------------------------*/
.project {
    padding: 100px 20px;
    text-align: center;
    background-color: #fff;
    font-family: 'Segoe UI', sans-serif;
}

.project-subtitle {
    color: #cc8759;
    font-weight: 600;
    display: inline-block;
    border-top: 2px solid #cc8759;
    padding-top: 8px;
    margin-bottom: 10px;
    font-size: 20px;
}

.project-title {
    font-size: 40px;
    margin: 10px 0 20px;
    color: #222;
}

.project-description {
    max-width: 600px;
    margin: 0 auto 40px;
    color: #555;
    line-height: 1.6;
    font-size: 14px;
    text-align: center;
}

.project-stats {
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 15px;
}

.stat-box {
    background: #f9f4f1;
    padding: 40px 10px;
    width: 290px;
    clip-path: polygon(0 00%, 100% 25%, 100% 100%, 0% 100%);
    transition: transform 0.3s ease;
}

.stat-box2 {
    background: #f9f4f1;
    padding: 40px 10px;
    width: 290px;
    clip-path: polygon(0 25%, 100% 0%, 100% 100%, 0% 100%);
    transition: transform 0.3s ease;
}

.stat-box h3 {
    color: #cc8759;
    font-weight: 400;
    font-size: 40px;
    margin: 20px 0 0 10px;
}

.stat-box2 h3 {
    color: #cc8759;
    font-size: 40px;
    font-weight: 450;
    margin: 20px 0 0 10px;
}

.stat-box2 p {
    letter-spacing: 1px;
    font-size: 13px;
    color: #333;
    text-transform: uppercase;
}

.stat-box p {
    letter-spacing: 1px;
    font-size: 13px;
    color: #333;
    text-transform: uppercase;
}

/*-------------------------------*/
.residence-section {
    position: relative;
    display: flex;
    height: 100vh;
    background-color: #fdf9f5;
}

/* Image de fond */
.background-image img {
    width: 50vw;
    height: 100%;
    object-fit: cover;
    display: block;
}
.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.background-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50.5%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* noir transparent */
    z-index: 1;
}

/* Partie texte + carrousel */
.residence-content {
    position: relative;
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Texte en haut */

.residence-text{
    position: relative;
    width: 100%;
}
.residence-text .line {
    display: inline-block;
    width: 30px;
    height: 2px;
    background-color: #c48d66;
    margin: 0 0 0 830px;
}


.residence-text h1{
    color: #c37b4a;
    display: inline-block;
}

.residence-text h2 {
    font-size: 2.5rem;
    margin: 0 0 0 830px;
    color: #222222;
}

.residence-text p {
    max-width: 400px;
    margin: 1rem 0 0 830px;
    color: #333;
}

.carousel {
    width: 100%;
    max-width: 1400px;
    margin: auto;
    overflow: hidden;
    position: relative;
}

.slide {
    display: none;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    background: white;
    padding: 0;
    gap: 0;
    height: 200px;
}

.slide.active {
    display: grid;
}

.text-panel {
    padding: 40px;
    background-color: #bfb2a4;
    color: white;
}

.text-panel h5 {
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 10px;
    color: #eee;
}

.text-panel h2 {
    font-size: 36px;
    margin: 0 0 20px;
}

.text-panel p {
    font-size: 16px;
    line-height: 1.6;
}

.image-panel {
    height: 100%;
    overflow: hidden;
}
.image-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.indicators {
    text-align: right;
    padding: 10px 30px;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #ccc;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background-color: #c8824f;
}

/*----------------*/

.apartments-section {
    text-align: center;
    background: #fff;
    padding: 80px 20px;
}

.section-header .line {
    display: inline-block;
    width: 40px;
    height: 2px;
    background-color: #c37b4a;
    margin-bottom: 10px;
}

.section-header h4 {
    color: #c37b4a;
    margin: 0;
    font-size: 36px;

}

.section-header h2 {
    font-size: 36px;
    margin: 10px 0 40px;
    color: #000000;
}

.apartment-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.apartment-card {
    width: 380px;
}
.apartment-card{
    color: black;
}

.apartment-card img {
    width: 100%;
    height: auto;
    display: block;
}

.apartment-card h3 {
    font-size: 18px;
    margin: 15px 0 10px;
    font-weight: 600;
}

.apartment-info {
    color: black;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.apartment-info div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.apartment-info i {
    font-size: 18px;
    margin-bottom: 5px;
    color: #c37b4a;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
    margin: 0 -30px -21px 10px;
    border-bottom: 1.5px solid #5a5959;
    border-top: 1.5px solid #5a5959 ;
}


.feature2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
    margin: 0 -30px -21px 10px;
    border: 1.5px solid #5a5959;
}
.feature3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
    margin: 0 -30px -21px 10px;
    border-bottom: 1.5px solid #5a5959;
    border-top: 1.5px solid #5a5959;
}

.feature i{
    padding: 15px;
}
.feature2 i {
    padding: 15px;
}
.feature3 i{
    padding: 15px;
}

.feature span{
    padding: 5px;
}
.feature2 span {
    padding: 5px;
}
.feature3 span{
    padding: 5px;
}

.visit-button {
    padding: 10px 20px;
    border: 1px solid white;
    text-decoration: none;
    color: white;
    font-weight: bold;
}
.visit-button:hover {
    background-color: #fff;
    color: #000;
    transition: ease-in 0.3s;
    text-decoration: none;
}
/*---------------*/

.carousel-section {
    background-color: #2a211b; /* marron foncé */
    padding: 80px 0;
    color: white;
    text-align: center;
}

.carousel-header {
    margin-bottom: 40px;
}

.carousel-header .section-line {
    display: inline-block;
    width: 40px;
    height: 2px;
    background-color: #c37b4a;
    margin-bottom: 10px;
}

.carousel-header h5 {
    color: #c37b4a;
    margin: 0;
    font-size: 16px;
}

.carousel-header h2 {
    font-size: 36px;
    font-weight: bold;
    color: white;
    margin: 10px 0 0;
}


.main-wrapper{
    max-width: 1640px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100vh;
}


/*--------------------*/

.enquiry-section {
    position: relative;
    color: white;
}

.enquiry-overlay {
    background: linear-gradient(to right, rgba(180, 121, 66, 0.85), rgba(0, 0, 0, 0.3)), url('assets/architect.jpg') center center / cover no-repeat;
    padding: 180px;
}

.enquiry-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.section-line {
    display: block;
    width: 40px;
    height: 2px;
    background-color: #c37b4a;
    margin: 0 auto 10px;
}

.enquiry-label {
    font-size: 16px;
    color: #f2caaa;
    margin-bottom: 10px;
}

.enquiry-content h2 {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 40px;
}

.enquiry-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.enquiry-form input {
    background: transparent;
    border: transparent;
    border-bottom: 1px solid white;
    padding: 10px;
    width: 250px;
    color: white;
    font-size: 16px;
}

.enquiry-form input::placeholder {
    color: white;
}

.enquiry-form button {
    background: white;
    color: #000;
    border: none;
    padding: 12px 30px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}

.enquiry-form button:hover {
    background: #c37b4a;
    color: white;
}

/**--------------*/
.neighborhood {
    padding: 100px 60px;
    background-color: white;
}

.neighborhood-header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.neighborhood-header .left {
    max-width: 600px;
}

.neighborhood-header .line {
    display: inline-block;
    width: 40px;
    height: 2px;
    background-color: #c37b4a;
    margin-bottom: 10px;
}

.neighborhood-header .subtitle {
    color: #c37b4a;
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
    display: inline-block;
}

.neighborhood-header .title {
    font-size: 40px;
    color: #1f1a17;
    line-height: 1.3;
    font-weight: bold;
}

.neighborhood-header .right {
    max-width: 440px;
    font-size: 16px;
    line-height: 1.6;
    margin-top: 70px;
    color: #555;
}
.neighborhood-gallery {
    position: relative;
    max-width: 1400px;
    top: 5%;
}



.neighborhood-gallery .carou {
    font-size: 0px;
    cursor: pointer;
    overflow: hidden;
    white-space:nowrap ;
    scroll-behavior: smooth;
}

.carou .dragging{
    cursor: grab;
    scroll-behavior: smooth;
}
.carou .dragging img{
    pointer-events: none;
}


.neighborhood-gallery i{
    top: 50%;
    height: 46px;
    width: 46px;
    cursor: pointer;
    position: absolute;
    font-size: 1.2rem;
    text-align: center;
    line-height: 46px;
    background: #b17947;
    border-radius: 50%;
    transform: translateY(-50%);
}
.neighborhood-gallery i:first-child{
    left: -23px;
    display: none;
}
.neighborhood-gallery i:last-child{
    right: -23px;
}
.carou img{
    height: 340px;
    object-fit: cover;
    margin-left: 14px;
    width: calc(100%/3);
}
.carou img:first-child {
    margin-left: 0px;

}



/**--------------*/
.quote-section {
    display: flex;
    width: 100%;
    height: 500px;
    background-color: #f9f4f1;
}

.quote-image {
    flex: 1;
    overflow: hidden;
}

.quote-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quote-carousel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 40px;
    background-color: rgba(0, 0, 0, 0.2); /* fallback option if image fails */
    position: relative;
    z-index: 1;
}

.quote-carousel::before {
    content: "";
    position: absolute;
    top: 20%;
    left: 20%;
    width: 60%;
    height: 60%;
    background: url("assets/background.png") center center / contain no-repeat;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

.quote-carousel > * {
    z-index: 1;
}


.quote-carousel-container {
    display: flex;
    transition: transform 0.6s ease-in-out;
    width: 300%; /* 3 slides */
}

.quote-slide {
    min-width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 30px;
}

.quote-text {
    font-size: 30px;
    font-weight: 600;
    color: #000;
}

.quote-author {
    font-size: 16px;
    color: #b25326;
    margin-top: 15px;
}

.quote-subtitle {
    font-size: 12px;
    color: #666;
}
/**---------*/
.partner-logos {
    background-color: #fff;
    padding: 60px 0px;
}

.logos-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.logos-container img {
    max-height: 60px;
    object-fit: contain;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.logos-container img:hover {
    opacity: 1;
}

.brand-text {
    text-align: right;
    font-family: 'Inter', sans-serif;
    color: #111;
    font-size: 20px;
    line-height: 1.4;
    max-width: 200px;
}

.brand-text strong {
    font-weight: 600;
    display: inline-block;
}



/***--------------/
 */
.footer {
    background-color: #2b211a;
    color: #ffffff;
    padding: 60px 40px 30px;
    position: relative;
    font-family: 'Inter', sans-serif;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 700px;
    z-index: 1;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.footer-col {
    flex: 1 1 220px;
    min-width: 200px;
}

.logo-col {
    display: flex;
    align-items: flex-start;
}

.footer-logo {
    width: 290px;
    margin-bottom: 20px;
    height: auto;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 16px;
    color: #ffffff;
}

.footer-col p,
.footer-col a {
    font-size: 15px;
    line-height: 1.7;
    color: #ccc;
    text-decoration: none;
}

.footer-col .phone {
    color: #e69e6a;
    font-weight: 500;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: #e69e6a;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 14px;
    color: #aaa;
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    color: white;
    cursor: pointer;
}



.scroll-to-top a {
    background-color: #bd7d4b;
    color: #fff;
    padding: 10px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 18px;
}

.scroll-to-top a:hover {
    background-color: #a66639;
}



@media screen and (max-width: 600px) {
    .carou {
        overflow-x: auto;
        display: flex;
        scroll-snap-type: x mandatory;
    }

    .carou img {
        width: 100%;
        scroll-snap-align: center;
    }
}



@media screen and (max-width: 1440px){

}
@media screen and (max-width: 1024px) {

    .banner{
        margin: 0px 0px -84px 0 ;
    }
    .hero-content {
        flex-direction: column;
        padding: 50px 10px;
        gap: 40px;
    }

    .residence-text {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        padding: 0 60px 40px 20px;
    }

    .residence-text .line,
    .residence-text h2,
    .residence-text p {
        margin-left: 0;
        margin-right: 0;
        text-align: right;
    }
    .residence-text h2 {
        font-size: 30px;
        line-height: 1.3;
        margin-bottom: 15px;
        max-width: 440px; /* pour éviter que le texte soit trop large */
    }


    .project-stats {
        flex-direction: row;
        gap: 20px;
        justify-content: center;
    }

    .stat-box,
    .stat-box2 {
        width: 45%;
    }

    .apartment-cards {
        flex-direction: row;
        justify-content: center;
    }

    .apartment-card {
        width: 30%;
    }

    .right p{
        max-width: 330px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
    }
    .header {
        padding: 1.25rem 4%;
    }

}




@media screen and (max-width: 768px) {

    .front-image{
        display: none;
    }

    .bg-image{
        left: 50%;
        transform: translateX(-50%);
        width: 100vw;
        height: 100vh;
        object-fit: cover;
    }

    /* ✅ Banner section */
    .banner {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 60px 20px;
        height: auto; /* important */
        position: relative;
        text-align: left;
    }
    .title {
        font-size: 35px;
    }
    .banner-content{
        font-size: 10px;
        margin-bottom: 40px;
    }
    .banner img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .titre{
        text-align: center;
        margin-left: 20px;
    }

    /* ✅ Résidence text à droite */
    .residence-text {
        flex-direction: column;
        align-items: flex-end;
        padding: 0 30px 30px 45px; /* réduit pour tablette */
    }

    .residence-text .line,
    .residence-text h2,
    .residence-text p {
        margin: 0;
        text-align: right;
    }

    .residence-text h2 {
        font-size: 26px;
        line-height: 1.3;
        margin-bottom: 15px;
        max-width: 50%;
    }

    .residence-text p {
        font-size: 15px;
        max-width: 45%;
        line-height: 1.6;
    }

    /* ✅ Panels */
    .text-panel,
    .image-panel {
        width: 100%;
        height: auto;
    }

    .text-panel {
        padding: 20px;
        text-align: left;
    }

    .image-panel img {
        width: 100%;
        height: auto;
    }

    /* ✅ Section titres */
    .section-header h4 {
        font-size: 36px; /* 48px est trop grand pour 768px */
    }

    /* ✅ Apartment Cards (mise sur une ligne par card) */
    .apartment-cards {
        flex-direction: row;
        justify-content: center;
    }

    .apartment-card {
        width: 27%;
    }
    .apartment-card img{
        height: 70%;
        width: 100%;
        object-fit: cover;
    }
    .apartment-info{
        height: auto;
        width: 60%;
    }


    /* ✅ Neighborhood */

    .neighborhood-header .left p {
        text-align: center;
        justify-content: center;
        align-items: flex-end;
        max-width: 100%;
    }
    .neighborhood-header .left  h2{
        text-align: center;
        justify-content: center;
        margin-left: 92px;
        max-width: 100%;
    }
    .neighborhood-header .right p {
        text-align: center;
        justify-content: center;
        max-width: 100%;
        align-items: center;
        position: relative;
        display: flex;
        margin: 0 0 0 30px;

    }


}

/* ================ RESPONSIVE 600px ================ */
@media screen and (max-width: 600px) {
    /* ----- Global ----- */
    html, body {
        overflow-x: hidden;
        width: 100%;
    }

    /* ----- Header ----- */
    .header {
        padding: 15px 20px;
    }

    .navbar {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: rgba(255,255,255,0.9);
        flex-direction: column;
        transition: 0.3s;
    }

    .navbar.active {
        left: 0;
    }

    .navbar a {
        color: #000 !important;
        margin: 10px 0;
        font-size: 16px;
    }

    /* ----- Banner ----- */
    .banner {
        height: auto;
        padding: 100px 20px 50px;
    }

    .banner-content {
        position: relative;
        top: auto;
        left: auto;
        max-width: 100%;
        text-align: center;
        padding: 20px;
    }

    .title {
        font-size: 32px !important;
        line-height: 1.2;
    }

    /* ----- Hero Section ----- */
    .hero-content {
        flex-direction: column;
        padding: 40px 20px;
    }

    .text-section {
        max-width: 100%;
        text-align: center;
    }

    .titre, .para1{
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: center;
        justify-items: center;
        align-items: center;
    }
    .quote{
        align-items: center;
        justify-items: center;
        text-align: center;
        margin-right: auto;
        margin-left: auto;
    }
    .link1{
        align-items: center;
        margin: 98px 0 0 30px;
    }

    .image-wrapper {
        height: 300px;
        margin-top: 30px;
    }

    .bg-image{
        left: 50%;
        transform: translateX(-50%);
        width: 100vw;
        height: 70vh;
        object-fit: cover;
    }

    /* ----- Project Section ----- */
    .project {
        padding: 60px 20px;
    }

    .project-stats {
        flex-direction: column;
        align-items: center;
    }

    .stat-box, .stat-box2 {
        width: 100%;
        margin-bottom: 15px;
    }

    /* ----- Residence Section ----- */
    .residence-section {
        height: auto;
        flex-direction: column;
    }

    .residence-text {
        padding: 30px 20px !important;
        text-align: center;
    }

    .residence-text h2 {
        font-size: 24px !important;
        line-height: 1.4;
        margin-bottom: 15px !important;
        word-break: break-word;
    }

    .residence-text p {
        font-size: 15px;
        max-width: 100% !important;
       margin: 0 0 0 167px;
        text-align: center;
    }
    .carousel {
        width: 100vw;
        margin-left: -15px; /* Compense le padding parent */
    }

    .slide {
        grid-template-columns: 1fr;
        height: auto;
    }

    .text-panel, .image-panel {
        width: 90%;
        padding: 30px 20px;
    }

    .text-panel h2 {
        font-size: 28px;
        line-height: 1.3;
    }

    .text-panel p {
        font-size: 15px;
        line-height: 1.6;
    }

    .image-panel img {
        height: 250px;
    }

    /* Correction spécifique pour le texte coupé */
    .text-panel h5 {
        word-spacing: 100vw; /* Force le retour à la ligne */
    }

    .residence-content {
        padding: 0 15px !important;
    }

    /* ----- Apartments ----- */
    .apartment-cards {
        flex-direction: column;
    }

    .apartment-card {
        width: 100%;
        margin-bottom: 30px;
    }
    .apartment-info{
        width: 90%;
    }

    /* ----- Neighborhood ----- */
    .neighborhood-header {
        flex-direction: column;
        text-align: center;
    }
    .neighborhood-header  .left h2{
        text-align: center;
        margin-left: 20px;
    }

    .neighborhood-header .right {
        margin-top: 20px;
        text-align: center;
    }

    /* ----- Enquiry Form ----- */
    .enquiry-overlay {
        padding: 60px 20px !important;
    }

    .enquiry-form {
        flex-direction: column;
    }

    .enquiry-form input {
        width: 100%;
    }

    /* ----- Footer ----- */
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-col {
        margin-bottom: 30px;
    }

    /* ----- Carousels ----- */
    .carou img {
        width: 100%;
        height: auto;
        margin-left: 0;
    }


    .header, .banner, .hero-content,
    .project, .residence-section,
    .apartments-section, .neighborhood,
    .enquiry-section, .footer {
        max-width: 100vw;
        padding-left: 15px;
        padding-right: 15px;
    }
}



.apartments {
    text-align: center;
    padding: 50px 20px;
}

.apartments h1 {
    font-size: 1.9rem;
    margin-bottom: 50px;
    font-weight: 600;
    color: #c37b4a;
}

.apartment-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.apartment {
    width: 400px;
    background: #fff;
    border: 1px solid #eee;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.apartment h2{
    color: black;
    font-weight: inherit;
}

.apartment img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.apartment h2 {
    font-size: 1.6rem;
    margin: 20px 0 10px;
}

/* Grid layout for 6 items (3x2) */
.details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
}

.details-grid div {
    padding: 15px 10px;
    font-size: 0.8rem;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.details-grid span {
    font-size: 1.3rem;
    margin-bottom: 5px;
}
.details-grid img{
    margin-bottom: 10px ;
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/*--------------------*/

.carousele{
    overflow: hidden;
    width: 700px;
    border-right: 8px solid #a66639;
    border-left: 8px solid #a66639;
    position: relative;
    margin-left: auto; /* aligne à droite */
    margin-right: -20px;
    margin-top: 40px;
}

.wrap{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 260px;
    justify-items: stretch;
    animation: slide 15s linear infinite;

}

.wrap img{
    width: 250px;
    height: 250px;
    border-radius: 10px;
    object-fit: cover;
}
@keyframes slide {
    to{
        translate: calc(-4 * 250px);
    }
}


/* --- Responsive spécifique demandé --- */

/* Entre 768px et 1239px : 3 sur une ligne */
@media (max-width: 1484px) and (min-width: 765px) {
    .apartment-list {
        flex-wrap: nowrap;
        flex-direction: row;
        gap: 20px;
        overflow-x: auto; /* Scroll horizontal si besoin */
    }

    .apartment {
        flex: 1 1 auto;
        min-width: 300px;
        max-width: 33%;
    }
    .carousele{
        overflow-x: auto;
        display: flex;
    }
    .carousele img{
        height: 100%;
        scroll-snap-align: center;
    }
    .details-grid div{
        font-size: 0.5rem;
    }
}

/* En dessous de 768px : 1 par ligne (colonne) */
@media (max-width: 767px) {
    .apartment-list {
        flex-direction: column;
        align-items: center;
    }

    .apartment {
        width: 90%;
        max-width: 400px;
    }
    .carousele{
        overflow-x: auto;
        display: flex;
    }
    .carousele img{
        height: 100%;
        scroll-snap-align: center;
    }
    .details-grid div{
        font-size: 0.6rem;
    }
}
