:root{
    --green:#565B35;
    --green-dark:#44492A;
    --gold:#D8C18A;
    --cream:#D6C75A;
    --white:#FFFFFF;
    --dark:#3F422A;
    --shadow:0 12px 35px rgba(0,0,0,.10);
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Montserrat',sans-serif;
    background:#D6C75A;
    color:var(--dark);
    overflow-x:hidden;

}

/* =======================
HEADER
======================= */

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    padding:18px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:var(--green-dark);
    z-index:1000;
    box-shadow:0 5px 18px rgba(0,0,0,.12);
}

.logo{
    color:var(--cream);
    font-size:2rem;
    font-family:'Cormorant Garamond',serif;
    font-weight:700;
    letter-spacing:3px;
}
.owner-logo{
    display:flex;
    justify-content:center;
    margin:18px 0 12px;
}

.owner-logo img{
    width:70px;
    height:70px;
    object-fit:contain;
    display:block;
}
nav{
    display:flex;
    gap:28px;
}

nav a{
    color:var(--cream);
    text-decoration:none;
    font-size:.95rem;
    font-weight:500;
}

nav a:hover{
    color:var(--gold);
}

/* =======================
HERO
======================= */

.hero{

    height:100vh;

    background:
    linear-gradient(
        rgba(0,0,0,.15),
        rgba(0,0,0,.35)
    ),
    url("../images/hero/hero.jpg");

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    display:flex;

    justify-content:center;

    align-items:flex-end;

    padding-bottom:120px;

}

.hero-content{

    text-align:center;

}

.hero-subtitle{

    color:white;

    font-size:1.4rem;

    letter-spacing:3px;

    text-transform:uppercase;

    margin-bottom:10px;

}

.hero-location{

    color:white;

    font-size:1.1rem;

    margin-bottom:35px;

}

.btn{

    display:inline-block;

    background:var(--gold);

    color:white;

    text-decoration:none;

    padding:16px 35px;

    border-radius:50px;

    font-weight:600;

    transition:.3s;

}

.btn:hover{

    background:#b38e46;

    transform:translateY(-3px);

}

/* =======================
SECTIONS
======================= */

section{

    padding:100px 8%;

}

.container{

    max-width:1200px;

    margin:auto;

}

h2{

    color:#04300B;

    text-align:center;

    font-size:3.2rem;

    font-family:'Cormorant Garamond',serif;

    margin-bottom:20px;

}h2{

    color:#04300B;

    text-align:center;

    font-size:3.2rem;

    font-family:'Cormorant Garamond',serif;

    margin-bottom:20px;

}

.subtitle{

    text-align:center;

    max-width:800px;

    margin:auto;

    line-height:1.8;

    margin-bottom:50px;

}

/* =======================
PROPRIETAIRES
======================= */

.accordion{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:22px;
    max-width:1200px;
    margin:auto;
}

.accordion .testimonial:nth-child(1){ grid-column:1 / 3; }
.accordion .testimonial:nth-child(2){ grid-column:3 / 5; }
.accordion .testimonial:nth-child(3){ grid-column:5 / 7; }
.accordion .testimonial:nth-child(4){ grid-column:2 / 4; }
.accordion .testimonial:nth-child(5){ grid-column:4 / 6; }

.testimonial{
    background:white;
    border-radius:28px;
    padding:24px;
    min-height:260px;
    box-shadow:var(--shadow);
    border:1px solid rgba(86,91,53,.15);
    transition:.35s ease;
    cursor:pointer;
    overflow:hidden;
}

.testimonial:hover{
    transform:translateY(-6px);
}

.testimonial-head{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:12px;
    text-align:center;
    color:#04300B;
    font-family:'Cormorant Garamond',serif;
    font-size:1.4rem;
    font-weight:700;
}

.summary-logo{
    width:75px;
    height:75px;
    object-fit:contain;
    display:block;
}

.testimonial p{
    max-height:0;
    opacity:0;
    overflow:hidden;
    margin-top:0;
    line-height:1.8;
    text-align:center;
    transition:.35s ease;
}

.testimonial:hover p{
    max-height:320px;
    opacity:1;
    margin-top:18px;
}

/* =======================
LOGEMENTS
======================= */

.carousel{
    display:flex;
    gap:30px;
    overflow-x:auto;
    scroll-behavior:smooth;
    padding:20px 0;
}

.carousel::-webkit-scrollbar{

    height:8px;

}

.carousel::-webkit-scrollbar-thumb{

    background:var(--green);

    border-radius:50px;

}

.property-card{
    min-width:350px;
    background:white;
    border-radius:25px;
    overflow:hidden;
    box-shadow:var(--shadow);
    transition:.4s;
}
.property-card a:hover{

    background:#04300B;

    color:#D6C75A;

    border-color:#04300B;

    transform:translateY(-2px);

}
.property-card:hover{
    transform:translateY(-8px);
}

.property-card img{
    width:100%;
    height:260px;
    object-fit:cover;
}

.property-card h3{

    padding:25px;

    font-size:2rem;

    font-family:'Cormorant Garamond',serif;

}

.property-card a{

    display:inline-block;

    margin:0 25px 25px;

    padding:14px 28px;

    background:#D6C75A;

    color:#04300B;

    text-decoration:none;

    border-radius:50px;

    font-weight:700;

    transition:.3s;

    border:2px solid #D6C75A;

    text-align:center;

}

/* =======================
SERVICES
======================= */

.services-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:28px;
}

.service-card{
    background:white;
    border-radius:24px;
    overflow:hidden;
    box-shadow:var(--shadow);
    text-align:center;
    border:1px solid rgba(86,91,53,.15);
}

.service-card img{
    width:100%;
    height:180px;
    object-fit:cover;
}

.service-card h3{
    color:var(--green-dark);
    font-family:'Cormorant Garamond',serif;
    font-size:1.8rem;
    padding:24px 20px 10px;
}

.service-card p{
    padding:0 22px 28px;
    line-height:1.7;
}

.service-card:hover{

    transform:translateY(-5px);

}

/* =======================
CONTACT
======================= */

.contact-box{
    max-width:680px;
    margin:auto;
    background:white;
    padding:55px;
    border-radius:45px;
    box-shadow:var(--shadow);
    text-align:center;
    border:1px solid rgba(86,91,53,.15);
}

.contact-box p{
    margin:18px 0;
    font-size:1.1rem;
    color:var(--green-dark);
}

/* =======================
FOOTER
======================= */

footer{

    background:var(--green);

    color:white;

    text-align:center;

    padding:60px 20px;

}

footer{

    background:#6D7148;

    color:#F7F4EC;

}

/* =======================
ANIMATIONS
======================= */

@keyframes fadeUp{

    from{

        opacity:0;
        transform:translateY(40px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}

.hero-content{

    animation:fadeUp 1s ease;

}

/* =======================
RESPONSIVE
======================= */

@media(max-width:900px){

    nav{

        display:none;

    }

    .hero-subtitle{

        font-size:1rem;

    }

    h2{

        font-size:2.2rem;

    }

    .property-card{

        min-width:280px;

    }

}
@media(max-width:768px){

    header{
        padding:14px 6%;
        flex-direction:column;
        gap:12px;
    }

    .logo{
        font-size:1.8rem;
    }

    nav{
        display:flex;
        flex-wrap:wrap;
        justify-content:center;
        gap:12px;
    }

    nav a{
        font-size:.85rem;
    }

    .hero{
        height:85vh;
        background-position:center;
        padding-bottom:70px;
    }

    .hero-subtitle{
        font-size:.9rem;
        letter-spacing:2px;
        padding:0 20px;
    }

    .hero-location{
        font-size:1rem;
    }

    section{
        padding:70px 6%;
    }

    h2{
        font-size:2.3rem;
    }

    .accordion{
        display:flex;
        flex-direction:column;
        gap:20px;
    }

    .testimonial{
        min-height:auto;
    }

    .carousel{
        gap:20px;
    }

    .property-card{
        min-width:85%;
    }

    .property-card img{
        height:220px;
    }

    .services-grid{
        grid-template-columns:1fr;
    }

    .contact-box{
        padding:35px 22px;
        border-radius:30px;
    }

}
