/* ==========================================================
   NAVIGATION
========================================================== */

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;

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

    padding: 1.4rem 3rem;

    transition:

    background .45s ease,

    backdrop-filter .45s ease,

    box-shadow .45s ease,

    border-color .45s ease;
    background:transparent;

    backdrop-filter:
    blur(0);

    -webkit-backdrop-filter:
    blur(0);

}

/* ==========================================================
   SCROLLED GLASS
========================================================== */

nav.scrolled{

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.60) 0%,
            rgba(236,241,250,.42) 100%
        );

    backdrop-filter:
        blur(32px)
        saturate(180%);

    -webkit-backdrop-filter:
        blur(32px)
        saturate(180%);

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

    box-shadow:

        inset 0 1px 0 rgba(255,255,255,.75),

        0 12px 34px rgba(13,13,98,.05);

}

/* ==========================================================
   LOGO
========================================================== */

.nav-logo{
    display:flex;
    align-items:center;
    text-decoration:none;
}

.nav-logo img{
    height:80px;
    width:auto;
    display:block;
}

nav.scrolled .nav-logo {

    color: var(--moclo-blue);

}

/* ==========================================================
   CENTER NAVIGATION
========================================================== */

.nav-links {

    display: flex;

    gap: 2.5rem;

    list-style: none;

}

.nav-links a {

    font-size: .68rem;

    font-weight: 400;

    letter-spacing: .20em;

    text-transform: uppercase;

    text-decoration: none;

    color: rgba(13,13,98,.88);

    transition:
        color .25s ease,
        opacity .25s ease;

}

nav.scrolled .nav-links a {

    color: rgba(13,13,98,.88);

}

.nav-links a:hover {

    color: var(--moclo-orange);

}

.nav-links a.active {

    color: var(--moclo-orange);

}

/* ==========================================================
   RIGHT NAVIGATION
========================================================== */

.nav-right {

    display: flex;

    gap: 1.5rem;

    align-items: center;

}

.nav-right a {

    font-size: .68rem;

    letter-spacing: .18em;

    text-transform: uppercase;

    text-decoration: none;

    color: rgba(13,13,98,.88);

    transition: color .25s ease;

}

nav.scrolled .nav-right a {

    color: rgba(13,13,98,.88);

}

.nav-right a:hover {

    color: var(--moclo-orange);

}

/* ==========================================================
   HAMBURGER
========================================================== */

.hamburger {

    display: none;

    flex-direction: column;

    gap: 5px;

    cursor: pointer;

    z-index: 9999;

}

.hamburger span {

    width: 22px;

    height: 1px;

    background: var(--moclo-blue);

    display: block;

    transition: .3s;

}

nav.scrolled .hamburger span {

    background: var(--moclo-blue);

}

.hamburger.active span:nth-child(1) {

    transform: rotate(45deg) translate(5px,5px);

}

.hamburger.active span:nth-child(2) {

    opacity: 0;

}

.hamburger.active span:nth-child(3) {

    transform: rotate(-45deg) translate(6px,-6px);

}

/* ==========================================================
   MOBILE OVERLAY
========================================================== */

.mobile-overlay {

    position: fixed;

    inset: 0;

    background: rgba(0,0,0,.45);

    backdrop-filter: blur(4px);

    opacity: 0;

    visibility: hidden;

    transition: .3s;

    z-index: 9998;

}

.mobile-overlay.active {

    opacity: 1;

    visibility: visible;

}

/* ==========================================================
   MOBILE MENU
========================================================== */

.mobile-menu {

    position: fixed;

    top: 0;

    right: -320px;

    width: 300px;

    height: 100vh;

    background: #F6F2ED;

    display: flex;

    flex-direction: column;

    padding: 100px 35px;

    gap: 28px;

    transition: .35s ease;

    z-index: 9999;

    box-shadow: -8px 0 30px rgba(0,0,0,.15);

}

.mobile-menu.active {

    right: 0;

}

.mobile-menu a {

    font-size: 14px;

    letter-spacing: .20em;

    text-transform: uppercase;

    text-decoration: none;

    color: var(--moclo-blue);

    transition: color .25s ease;

}

.mobile-menu a:hover {

    color: var(--moclo-orange);

}

/* ==========================================================
   BODY LOCK
========================================================== */

body.menu-open {

    overflow: hidden;

}
/* ==========================================
   MOBILE NAVBAR
========================================== */

.mobile-navbar{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:72px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:0 22px;

    z-index:999;

     background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.40),
            rgba(236,241,250,.25)
        );

    backdrop-filter:
        blur(28px)
        saturate(180%);

    -webkit-backdrop-filter:
        blur(28px)
        saturate(180%);

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

    box-shadow:

        inset 0 1px 0 rgba(255,255,255,.70),

        0 10px 24px rgba(13,13,98,.05);y

}

.mobile-logo{
    display:flex;
    align-items:center;
    text-decoration:none;
}

.mobile-logo img{
    height:60px;
    width:auto;
    display:block;
}

.mobile-menu-btn{

    border:none;

    background:none;

    color:white;

    font-size:1.4rem;

    cursor:pointer;

}

.mobile-cart{

    text-decoration:none;

    color:white;

    font-size:1.2rem;

}