/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#0A0A0A;
    color:#F5F1E8;
    font-family:'Inter',sans-serif;
    overflow-x:hidden;
}

/* NAVBAR */

nav{
    position:fixed;
    top:0;
    left:0;

    width:100%;

    padding:28px 8%;

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

    z-index:1000;

    transition:0.4s ease;
}

nav.scrolled{
    background:rgba(0,0,0,0.75);
    backdrop-filter:blur(20px);
}

.logo{
    font-family:'Cormorant Garamond',serif;
    font-size:1.5rem;
    letter-spacing:4px;
    color:#B89B72;
}

.nav-links{
    display:flex;
    gap:45px;
}

.nav-links a{
    color:#F5F1E8;
    text-decoration:none;

    font-size:0.9rem;
    letter-spacing:2px;

    transition:0.4s ease;
}

.nav-links a:hover{
    color:#B89B72;
}

/* MENU TOGGLE */

.menu-toggle{
    display:none;

    position:relative;

    width:32px;
    height:20px;

    cursor:pointer;

    z-index:1200;
}

.menu-toggle span{
    position:absolute;

    width:100%;
    height:2px;

    background:#F5F1E8;

    transition:0.4s ease;
}

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

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

.menu-toggle.active span:nth-child(1){
    top:9px;

    transform:rotate(45deg);
}

.menu-toggle.active span:nth-child(2){
    bottom:9px;

    transform:rotate(-45deg);
}

/* 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;
}

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

    opacity:1;
    visibility:visible;
}

.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;
}

/* STAGGER REVEAL */

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

    transform:translateY(0);
}

/* LUXURY 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;
}

/* STAGGERED ANIMATION DELAYS */

.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;
}


/* HERO */

.hero{
    position:relative;

    height:100vh;

    background:url('images/hero.jpg');
    background-size:cover;
    background-position:center;

    display:flex;
    align-items:center;

    padding:0 8%;
}

.overlay{
    position:absolute;
    inset:0;

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

.hero-content{
    position:relative;
    z-index:2;

    max-width:900px;
}

.hero-line{
    width:120px;
    height:1px;

    background:#B89B72;

    margin-bottom:35px;
}

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

    font-size:6.5rem;
    font-weight:300;
    line-height:1;

    letter-spacing:2px;

    margin-bottom:35px;
}

.hero p{
    color:#CFCFCF;

    max-width:650px;

    line-height:2;

    font-size:1rem;
}

.hero-btn{
    position:relative;

    display:inline-block;

    margin-top:45px;

    padding:18px 42px;

    border:1px solid #B89B72;

    color:#F5F1E8;
    text-decoration:none;

    letter-spacing:3px;
    font-size:0.8rem;

    overflow:hidden;

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

/* BUTTON GLOW LAYER */

.hero-btn::before{
    content:"";

    position:absolute;

    top:0;
    left:-100%;

    width:100%;
    height:100%;

    background:
    rgba(184,155,114,0.12);

    transition:0.6s ease;

    z-index:-1;
}

.hero-btn:hover::before{
    left:0;
}

.hero-btn:hover{
    transform:translateY(-3px);

    border-color:#D7B98C;
}

/* PHILOSOPHY */

.philosophy{
    padding:180px 8%;
}

.philosophy-content{
    max-width:1100px;
}

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

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

    line-height:1.2;

    color:#F5F1E8;
}

/* PROJECTS */

.projects{
    padding:0 8% 180px;

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:35px;
}

.project-card{
    position:relative;

    height:550px;

    overflow:hidden;

    background:#111;
    cursor:pointer;

    text-decoration:none;
    color:#F5F1E8;
}

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

    object-fit:cover;

    transition:1.2s ease;
}

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

.project-info{
    position:absolute;
    inset:0;

    background:
    linear-gradient(
        to top,
        rgba(0,0,0,0.88),
        rgba(0,0,0,0.05)
    );

    display:flex;
    align-items:flex-end;

    padding:40px;
}

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

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

    letter-spacing:1px;
}

/* PARALLAX */

.parallax{
    position:relative;

    height:90vh;

    background:url('images/parallax.jpg');
    background-size:cover;
    background-position:center;
    background-attachment:fixed;

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

    text-align:center;
}

.parallax-content{
    position:relative;
    z-index:2;
}

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

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

    line-height:1.1;
}

/* PROCESS */

.process{
    padding:180px 8%;
}

.process-header{
    margin-bottom:90px;
}

.process-header h2{
    font-family:'Cormorant Garamond',serif;

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

.process-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:40px;
}

.process-item{
    border-top:1px solid rgba(255,255,255,0.08);

    padding-top:30px;
}

.process-item span{
    color:#B89B72;

    font-size:0.9rem;
    letter-spacing:3px;
}

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

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

    margin-top:20px;
}

/* CONTACT */

.contact{
    padding:180px 8%;

    background:#111111;

    text-align:center;
}

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

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

    margin-bottom:30px;
}

.contact p{
    max-width:700px;

    margin:auto;

    line-height:2;

    color:#A8A8A8;
}

/* FOOTER */

footer{
    padding:40px 8%;

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

    flex-wrap:wrap;

    gap:20px;

    border-top:1px solid rgba(255,255,255,0.06);
}

footer p{
    color:#777;

    font-size:0.9rem;

    letter-spacing:1px;
}

footer a{
    color:#B89B72;
    text-decoration:none;
}

/* RESPONSIVE */

@media(max-width:900px){

    .hero h1{
        font-size:4.5rem;
    }

    .philosophy h2{
        font-size:3.8rem;
    }

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

    .process-header h2{
        font-size:3.8rem;
    }

    .contact h2{
        font-size:3.8rem;
    }

    .parallax{
        background-attachment:scroll;
    }

    .menu-toggle{
    display:flex;
    }

    .nav-links{
    display:none;
    }
}

@media(max-width:600px){

    nav{
        padding:24px 6%;
    }

    .hero{
        padding:0 6%;
    }

    .hero h1{
        font-size:3.2rem;
        line-height:1.1;
    }

    .hero p{
        font-size:0.95rem;
        line-height:1.8;
    }

    .hero-btn{
        padding:16px 32px;
    }

    .philosophy{
        padding:140px 7%;
    }

    .philosophy h2{
        font-size:3rem;
    }

    .projects{
        padding:0 7% 140px;
    }

    .project-card{
        height:420px;
    }

    .parallax{
        height:70vh;
    }

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

    .process{
        padding:140px 7%;
    }

    .process-header h2{
        font-size:3rem;
    }

    .contact{
        padding:140px 7%;
    }

    .contact h2{
        font-size:3rem;
    }

      }

/* SCROLL REVEALS */

.philosophy,
.project-card,
.parallax,
.process-item,
.contact{
    opacity:0;

    transform:translateY(80px);

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

.philosophy.active,
.project-card.active,
.parallax.active,
.process-item.active,
.contact.active{
    opacity:1;

    transform:translateY(0);
}

/* CUSTOM CURSOR */

.cursor{
    position:fixed;

    width:22px;
    height:22px;

    border:
    1px solid rgba(184,155,114,0.8);

    border-radius:50%;

    pointer-events:none;

    transform:
    translate(-50%,-50%);

    z-index:9999;

    transition:
    width 0.3s ease,
    height 0.3s ease,
    border 0.3s ease,
    background 0.3s ease;

    backdrop-filter:blur(2px);
}

/* CURSOR HOVER EFFECT */

.cursor.active{
    width:60px;
    height:60px;

    background:
    rgba(184,155,114,0.08);

    border:
    1px solid rgba(184,155,114,0.25);
}

@media(max-width:900px){

    .cursor{
        display:none;
    }

}

/* PAGE TRANSITION */

body{
    animation:
    pageFade 1.2s ease;
}

@keyframes pageFade{

    from{
        opacity:0;

        transform:translateY(20px);
    }

    to{
        opacity:1;

        transform:translateY(0);
    }

}

/* CUSTOM SCROLLBAR */

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

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

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

    border-radius:20px;
}

::-webkit-scrollbar-thumb:hover{
    background:
    linear-gradient(
        to bottom,
        #8A6D47,
        #D7B98C
    );
}


/* 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;
    }

}
