 /* ===== NAVBAR ===== */

nav{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(8,28,21,.9);
    backdrop-filter: blur(12px);
    z-index: 1000;
    transition: .4s ease;
}

/* Logo */

.nav-logo{
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 300;
    letter-spacing: .12em;
    color: #98b0a9;
    text-decoration: none;
}

.nav-logo span{
    color: #d4af37;
}

/* Desktop Menu */

.nav-links{
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links li{
    list-style: none;
}

.nav-links a{
    text-decoration: none;
    color: #f5f1e8;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: .05em;
    text-transform: uppercase;
    transition: .3s ease;
}

.nav-links a:hover,
.nav-links a.active{
    color: #d4af37;
}

/* Hamburger */

.hamburger{
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 15px;
    cursor: pointer;
    z-index: 1001;
}

/* Navbar after scroll */

nav.scrolled{
    padding: 18px 60px;
    background: rgba(8,28,21,.96);
}


/* ========= MOBILE ========= */

@media(max-width:900px){

    nav{
        padding: 18px 24px;
    }

    .hamburger{
        display: block;
    }

    .nav-links{
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;

        background: #f8f4ee;

        display: flex;
        flex-direction: column;

        align-items: flex-start;
        justify-content: flex-start;

        padding-top: 70px;
        gap: 0;

        transition: .5s cubic-bezier(.25,1,.5,1);

        z-index: 1000;
    }

    .nav-links.active{
        left: 0;
    }

    .nav-links li{
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,.1);

        opacity: 0;
        transform: translateX(-40px);

        transition: .5s ease;
    }

    .nav-links.active li{
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links.active li:nth-child(1){
        transition-delay: .1s;
    }

    .nav-links.active li:nth-child(2){
        transition-delay: .2s;
    }

    .nav-links.active li:nth-child(3){
        transition-delay: .3s;
    }

    .nav-links.active li:nth-child(4){
        transition-delay: .4s;
    }

    .nav-links.active li:nth-child(5){
        transition-delay: .5s;
    }

    .nav-links a{
        display: block;
        width: 100%;
        padding: 24px 40px;
        color: #172031;
        font-size: 16px;
    }

    .nav-links a:hover{
        color: #b89d54;
        padding-left: 50px;
    }
}