html{
    scroll-behavior:smooth;
}

/* RESET */

*{
    margin:0;
    padding:0;

    box-sizing:border-box;
}

/* BODY */

body{
    background:#0A0A0A;

    color:#F5F1E8;

    font-family:'Inter',sans-serif;

    overflow-x:hidden;
    
}

/* HERO */

.hero{

    position:relative;

    min-height:100vh;

    overflow:hidden;

    display:flex;

    align-items:center;

    isolation:isolate;
}

/* HERO VIDEO */

.hero-video{

    position:absolute;

    inset:0;

    width:100%;
    height:100%;

    object-fit:cover;

    object-position:center;

    z-index:-3;
}

/* OVERLAY */

.overlay{

    position:absolute;

    inset:0;

    background:

    linear-gradient(
    180deg,

    rgba(0,0,0,.18) 0%,

    rgba(0,0,0,.32) 35%,

    rgba(0,0,0,.72) 100%
    );

    z-index:-2;
}


/* HERO GLOW */

.hero-glow{

    position:absolute;

    inset:0;

    background:

    radial-gradient(

    circle at 25% 35%,

    rgba(184,155,114,.08)

    transparent 45%

    );

    z-index:-1;

    pointer-events:none;
}



/* HEADER */

header{

    position:absolute;

    top:28px;
    left:50%;

    transform:translateX(-50%);

    width:92%;
    max-width:1280px;

    display:flex;
    align-items:center;

    justify-content:space-between;

    padding:20px 36px;

    border-radius:100px;

    background:rgba(8,8,8,.22);

    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.06);

    box-shadow:0 20px 60px rgba(0,0,0,.25);
    
    z-index:100;

    transition:.45s ease;
}

/* ON SCROLL */

header.scrolled{

    position:fixed;

    top:18px;

    background:
    rgba(8,8,8,.68);

    border:
    1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(24px);

    box-shadow:
    0 18px 60px rgba(0,0,0,.28);
}

/* LOGO */

.logo{

    font-family:'Cormorant Garamond',serif;

    font-size:1.55rem;

    font-weight:500;

    letter-spacing:3px;

    color:#F5F1E8;

    text-decoration:none;

    white-space:nowrap;
}

/* NAV */

nav{
    display:flex;
    align-items:center;
    gap:40px;
}

.menu-toggle{
    display:none;
}

nav a{

    position:relative;

    text-decoration:none;

    color:#F3F3F3;

    font-size:.86rem;

    font-weight:400;

    letter-spacing:1.6px;

    transition:.35s ease;
}

/* HOVER LINE */

nav a::after{
    content:"";

    position:absolute;

    left:0;
    bottom:-8px;

    width:0%;
    height:1px;

    background:#B89B72;

    transition:0.5s ease;
}

nav a:hover::after{
    width:100%;
}

nav a:hover{
    color:#B89B72;
}

/* ACTIVE NAV LINK */

nav a.active,
.mobile-menu a.active{
    color:#B89B72;
}

nav a.active::after,
.mobile-menu a.active::after{
    width:100%;
}

/* HERO CONTENT */

.hero-content{

    position:relative;

    z-index:10;

    min-height:100vh;

    display:flex;
    flex-direction:column;
    justify-content:center;

    padding:90px 7% 80px;

    max-width:700px;
}

/* SMALL TEXT */

.hero-content p{

    color:#B89B72;

    font-size:.78rem;

    letter-spacing:7px;

    text-transform:uppercase;

    margin-bottom:22px;

    opacity:.95;
}

/* MAIN HEADING */

.hero-content h1{

    font-family:'Cormorant Garamond',serif;

    font-size:5.8rem;

    font-weight:300;

    line-height:.95;

    letter-spacing:-1px;

    margin-bottom:34px;

    color:#F5F1E8;
}

/* DESCRIPTION */

.hero-content span{

    max-width:560px;
    
    color:#D7D7D7;

    font-size:1.05rem;

    line-height:1.9;

    margin-bottom:48px;
}


/* PRIMARY BUTTON */

.hero-content a{

    width:fit-content;

    padding:20px 42px;

    border-radius:100px;

    border:1px solid rgba(255,255,255,.14);

    background:rgba(255,255,255,.04);

    backdrop-filter:blur(10px);

    color:#F5F1E8;

    text-decoration:none;

    font-size:.82rem;

    letter-spacing:2px;

    transition:.45s ease;

    font-weight:500;
}

.hero-content a:hover{

    background:#B89B72;

    color:#0A0A0A;

    border-color:#B89B72;

    transform:translateY(-3px);
}


/* SCROLLBAR */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#0A0A0A;
}

::-webkit-scrollbar-thumb{
    background:
    linear-gradient(
        to bottom,
        #6F5A3D,
        #B89B72
    );

    border-radius:20px;
}

/* TABLET */

@media(max-width:900px){

    header{
        padding:30px 7%;
    }

    nav{
        gap:22px;
    }

    .hero-content h1{
        font-size:4.8rem;

        line-height:1.02;
    }

}

/* MOBILE */

@media(max-width:768px){

    /* HEADER */

    header{

    width:92%;
        
    padding:22px 28px;

    top:18px;
    }

    .logo{

    font-size:1.15rem;

    letter-spacing:2px;
    }

    nav{
        display:none;
    }

    .menu-toggle{
        display:flex;
    }

    .hero-content{

        min-height:100vh;

        justify-content:center;

        padding:80px 7% 60px;
        
        max-width:100%;
    }

    .hero-content p{

        font-size:.72rem;

        letter-spacing:4px;

        margin-bottom:18px;
    }

    .hero-content h1{

        font-size:3rem;

        line-height:1.08;

        margin-bottom:26px;
    }

    .hero-content span{

        font-size:.95rem;

        line-height:1.8;

        margin-bottom:38px;
    }

    .hero-content a{

        padding:18px 34px;

        font-size:.75rem;
    }

}


/* RESIDENCES */

.residences{
    padding:140px 7%;

    background:#0A0A0A;
}

/* SECTION TITLE */

.section-title{
    margin-bottom:90px;
}

.section-title p{
    color:#B89B72;

    letter-spacing:5px;

    font-size:0.85rem;

    margin-bottom:20px;
}

.section-title h2{
    font-family:'Cormorant Garamond',serif;

    font-size:4.8rem;
    font-weight:300;

    line-height:1.05;
}

/* GRID */

.residence-grid{
    display:grid;

    grid-template-columns:
    repeat(3,1fr);

    gap:35px;
}

/* CARD */

.residence-card{
    position:relative;

    overflow:hidden;

    height:650px;

    cursor:pointer;
}

/* IMAGE */

.residence-card img{
    width:100%;
    height:100%;

    object-fit:cover;

    transition:1s ease;
}

/* DARK OVERLAY */

.residence-card::after{
    content:"";

    position:absolute;

    inset:0;

    background:
    linear-gradient(
        to top,
        rgba(0,0,0,0.85),
        rgba(0,0,0,0.15)
    );
}

/* INFO */

.residence-info{
    position:absolute;

    bottom:45px;
    left:40px;

    z-index:5;
}

.residence-info h3{
    font-family:'Cormorant Garamond',serif;

    font-size:2.2rem;
    font-weight:300;

    margin-bottom:10px;
}

.residence-info span{
    color:#D5D5D5;

    letter-spacing:2px;

    font-size:0.85rem;
}

/* HOVER */

.residence-card:hover img{
    transform:scale(1.08);
}

/* TABLET */

@media(max-width:900px){

    .section-title h2{
        font-size:4rem;
    }

    .residence-grid{
        grid-template-columns:1fr;

        gap:30px;
    }

}

/* MOBILE */

@media(max-width:600px){

    .residences{
        padding:120px 7%;
    }

    .section-title{
        margin-bottom:60px;
    }

    .section-title h2{
        font-size:3rem;
    }

    .residence-card{
        height:500px;
    }

    .residence-info{
        left:30px;
        bottom:30px;
    }

    .residence-info h3{
        font-size:1.8rem;
    }

    }

/* EXPERIENCE SECTION */

.experience{
    padding:160px 7%;

    background:#111111;

    display:grid;

    grid-template-columns:
    1fr 1.2fr;

    gap:100px;
}

/* LEFT */

.experience-left p{
    color:#B89B72;

    letter-spacing:5px;

    font-size:0.85rem;

    margin-bottom:25px;
}

.experience-left h2{
    font-family:'Cormorant Garamond',serif;

    font-size:5rem;
    font-weight:300;

    line-height:1.05;
}

/* RIGHT */

.experience-right{
    display:flex;
    flex-direction:column;

    gap:55px;
}

/* ITEM */

.experience-item{
    display:flex;

    gap:35px;

    padding-bottom:40px;

    border-bottom:
    1px solid rgba(255,255,255,0.08);
}

/* NUMBER */

.experience-item span{
    color:#B89B72;

    font-family:'Cormorant Garamond',serif;

    font-size:2rem;
}

/* TEXT */

.experience-item h3{
    font-family:'Cormorant Garamond',serif;

    font-size:2rem;
    font-weight:300;

    margin-bottom:18px;
}

.experience-item p{
    color:#CFCFCF;

    line-height:2;
}

/* TABLET */

@media(max-width:900px){

    .experience{
        grid-template-columns:1fr;

        gap:70px;
    }

    .experience-left h2{
        font-size:4rem;
    }

}

/* MOBILE */

@media(max-width:600px){

    .experience{
        padding:120px 7%;
    }

    .experience-left h2{
        font-size:3rem;
    }

    .experience-item{
        flex-direction:column;

        gap:18px;
    }

    }

/* PARALLAX */

.parallax{
    position:relative;

    height:85vh;

    background:
    url('images/parallax2.jpg');

    background-size:cover;
    background-position:center;

    background-attachment:fixed;

    display:flex;
    align-items:center;
    justify-content:center;

    text-align:center;

    overflow:hidden;
}

/* OVERLAY */

.parallax-overlay{
    position:absolute;

    inset:0;

    background:
    linear-gradient(
        to bottom,
        rgba(0,0,0,0.45),
        rgba(0,0,0,0.75)
    );
}

/* CONTENT */

.parallax-content{
    position:relative;

    z-index:5;

    padding:0 7%;
}

.parallax-content p{
    color:#B89B72;

    letter-spacing:6px;

    margin-bottom:25px;

    font-size:0.85rem;
}

.parallax-content h2{
    font-family:'Cormorant Garamond',serif;

    font-size:6rem;
    font-weight:300;

    line-height:1.05;
}

/* TABLET */

@media(max-width:900px){

    .parallax{
        background-attachment:scroll;
    }

    .parallax-content h2{
        font-size:4.5rem;
    }

}

/* MOBILE */

@media(max-width:600px){

    .parallax{
        height:70vh;
    }

    .parallax-content h2{
        font-size:3rem;
    }

        }

/* CONSULTATION */

.consultation{
    padding:160px 7%;

    background:#0A0A0A;

    display:grid;

    grid-template-columns:
    1fr 1fr;

    gap:100px;
}

/* LEFT */

.consultation-left p{
    color:#B89B72;

    letter-spacing:5px;

    font-size:0.85rem;

    margin-bottom:25px;
}

.consultation-left h2{
    font-family:'Cormorant Garamond',serif;

    font-size:5rem;
    font-weight:300;

    line-height:1.05;

    margin-bottom:35px;
}

.consultation-left span{
    color:#D0D0D0;

    line-height:2;

    max-width:520px;
}

/* FORM */

.consultation-form{
    display:flex;
    flex-direction:column;

    gap:30px;
}

/* INPUT */

.input-group input,
.input-group textarea{
    width:100%;

    background:transparent;

    border:none;

    border-bottom:
    1px solid rgba(255,255,255,0.12);

    padding:22px 0;

    color:#F5F1E8;

    font-size:1rem;

    outline:none;

    transition:0.4s ease;
}

/* TEXTAREA */

.input-group textarea{
    min-height:150px;

    resize:none;
}

/* PLACEHOLDER */

.input-group input::placeholder,
.input-group textarea::placeholder{
    color:#8A8A8A;

    letter-spacing:1px;
}

/* FOCUS */

.input-group input:focus,
.input-group textarea:focus{
    border-color:#B89B72;
}

/* BUTTON */

.consultation-form button{
    width:fit-content;

    padding:18px 42px;

    background:transparent;

    border:
    1px solid rgba(255,255,255,0.15);

    color:#F5F1E8;

    letter-spacing:3px;

    cursor:pointer;

    transition:0.5s ease;
}

.consultation-form button:hover{
    background:#B89B72;

    color:#0A0A0A;

    border-color:#B89B72;
}

/* TABLET */

@media(max-width:900px){

    .consultation{
        grid-template-columns:1fr;

        gap:70px;
    }

    .consultation-left h2{
        font-size:4rem;
    }

}

/* MOBILE */

@media(max-width:600px){

    .consultation{
        padding:120px 7%;
    }

    .consultation-left h2{
        font-size:3rem;
    }

}

/* FOOTER */

.footer{
    position:relative;

    height:80vh;

    background:
    url('images/footer.jpg');

    background-size:cover;
    background-position:center;

    display:flex;
    align-items:center;
    justify-content:center;

    text-align:center;

    overflow:hidden;
}

/* OVERLAY */

.footer-overlay{
    position:absolute;

    inset:0;

    background:
    linear-gradient(
        to bottom,
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.9)
    );
}

/* CONTENT */

.footer-content{
    position:relative;

    z-index:5;

    padding:0 7%;
}

.footer-content p{
    color:#B89B72;

    letter-spacing:6px;

    margin-bottom:28px;

    font-size:0.85rem;
}

.footer-content h2{
    font-family:'Cormorant Garamond',serif;

    font-size:5.5rem;
    font-weight:300;

    line-height:1.05;

    margin-bottom:45px;
}

/* BUTTON */

.footer-content a{
    display:inline-block;

    padding:18px 42px;

    border:
    1px solid rgba(255,255,255,0.15);

    color:#F5F1E8;

    text-decoration:none;

    letter-spacing:3px;

    transition:0.5s ease;

    backdrop-filter:blur(10px);
}

.footer-content a:hover{
    background:#B89B72;

    color:#0A0A0A;

    border-color:#B89B72;
}

/* TABLET */

@media(max-width:900px){

    .footer-content h2{
        font-size:4rem;
    }

}

/* MOBILE */

@media(max-width:600px){

    .footer{
        height:70vh;
    }

    .footer-content h2{
        font-size:3rem;
    }

    }

/* SCROLL REVEAL */

.reveal{
    opacity:0;

    transform:translateY(80px);

    transition:
    opacity 1.2s ease,
    transform 1.2s ease;
}

/* ACTIVE */

.reveal.active{
    opacity:1;

    transform:translateY(0);
}

/* MENU TOGGLE */

.menu-toggle{
    display:none;

    position:relative;

    z-index:1200;

    width:40px;
    height:24px;

    cursor:pointer;
}

/* LINES */

.menu-toggle span{
    position:absolute;

    width:100%;
    height:1px;

    background:#F5F1E8;

    transition:0.5s ease;
}

.menu-toggle span:nth-child(1){
    top:0;
}

.menu-toggle span:nth-child(2){
    bottom:0;
}

/* ACTIVE */

.menu-toggle.active span:nth-child(1){
    transform:
    rotate(45deg);

    top:11px;
}

.menu-toggle.active span:nth-child(2){
    transform:
    rotate(-45deg);

    bottom:11px;
}

/* MOBILE MENU */

.mobile-menu{
    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100vh;

    background:
    linear-gradient(
        to bottom,
        rgba(5,5,5,0.96),
        rgba(10,10,10,0.98)
    );

    backdrop-filter:blur(30px);

    display:flex;
    flex-direction:column;

    align-items:center;
    justify-content:center;

    gap:40px;

    transform:translateY(-100%);

    opacity:0;
    visibility:hidden;

    transition:0.7s ease;

    z-index:1100;
}

/* ACTIVE */

.mobile-menu.active{
    transform:translateY(0);

    opacity:1;
    visibility:visible;
}

/* LINKS */

.mobile-menu a{
    position:relative;

    color:#F5F1E8;

    text-decoration:none;

    font-family:'Cormorant Garamond',serif;

    font-size:2.8rem;
    font-weight:300;

    letter-spacing:2px;

    opacity:0;

    transform:translateY(30px);

    transition:
    color 0.5s ease,
    transform 0.5s ease,
    opacity 0.5s ease;
}

/* REVEAL */

.mobile-menu.active a{
    opacity:1;

    transform:translateY(0);
}

/* HOVER LINE */

.mobile-menu a::after{
    content:"";

    position:absolute;

    left:0;
    bottom:-10px;

    width:0%;
    height:1px;

    background:#B89B72;

    transition:0.5s ease;
}

.mobile-menu a:hover::after{
    width:100%;
}

.mobile-menu a:hover{
    color:#B89B72;
}

/* STAGGER */

.mobile-menu.active a:nth-child(1){
    transition-delay:0.15s;
}

.mobile-menu.active a:nth-child(2){
    transition-delay:0.25s;
}

.mobile-menu.active a:nth-child(3){
    transition-delay:0.35s;
}

.mobile-menu.active a:nth-child(4){
    transition-delay:0.45s;
}

/* MOBILE */

@media(max-width:600px){

    .menu-toggle{
        display:block;
    }

}

/* SUCCESS PAGE */

.success-page{
    position:relative;

    height:100vh;

    background:
    url('images/footer.jpg');

    background-size:cover;
    background-position:center;

    display:flex;
    align-items:center;
    justify-content:center;

    text-align:center;

    overflow:hidden;
}

/* OVERLAY */

.success-overlay{
    position:absolute;

    inset:0;

    background:
    linear-gradient(
        to bottom,
        rgba(0,0,0,0.6),
        rgba(0,0,0,0.88)
    );
}

/* CONTENT */

.success-content{
    position:relative;

    z-index:5;

    padding:0 7%;
}

.success-content p{
    color:#B89B72;

    letter-spacing:6px;

    margin-bottom:25px;
}

.success-content h1{
    font-family:'Cormorant Garamond',serif;

    font-size:6rem;
    font-weight:300;

    margin-bottom:25px;
}

.success-content span{
    display:block;

    color:#D0D0D0;

    margin-bottom:45px;

    line-height:2;
}

/* BUTTON */

.success-content a{
    display:inline-block;

    padding:18px 42px;

    border:
    1px solid rgba(255,255,255,0.15);

    color:#F5F1E8;

    text-decoration:none;

    letter-spacing:3px;

    transition:0.5s ease;
}

.success-content a:hover{
    background:#B89B72;

    color:#0A0A0A;
    }


/* FLOATING WHATSAPP */

.floating-whatsapp{

    position:fixed;

    right:25px;
    bottom:25px;

    width:74px;
    height:74px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:#050505;

    border:1px solid
    rgba(201,169,125,0.25);

    color:#C9A97D;

    text-decoration:none;

    font-size:1.8rem;

    z-index:9999;

    backdrop-filter:blur(10px);

    box-shadow:
    0 0 30px
    rgba(201,169,125,0.15);

    transition:0.45s ease;
}

.floating-whatsapp:hover{

    transform:
    translateY(-4px)
    scale(1.05);

    background:#C9A97D;

    color:#050505;

    box-shadow:
    0 0 40px
    rgba(201,169,125,0.35);
}

/* MOBILE */

@media(max-width:768px){

    .floating-whatsapp{

        width:68px;
        height:68px;

        right:20px;
        bottom:20px;

        font-size:1.6rem;
    }

        }
