
/* =========================================================
   3DQ — LUXURY FULLSCREEN NAVIGATION V2
   ========================================================= */

:root {
    --3dq-black: #080808;
    --3dq-white: #ffffff;
    --3dq-gray: #8c8c8c;
    --3dq-border: rgba(255,255,255,.16);
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;

    color: #fff;

    transition:
        background-color .5s ease,
        backdrop-filter .5s ease,
        border-color .5s ease;

    border-bottom: 1px solid transparent;
}


.site-header.scrolled {
    background: rgba(8,8,8,.82);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom-color: rgba(255,255,255,.10);
}


.header-inner {
    width: min(94%, 1600px);
    min-height: 92px;

    margin: 0 auto;

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


/* =========================================================
   BRAND
   ========================================================= */

.site-header .brand {
    display: flex;
    align-items: center;
    gap: 18px;

    color: #fff;

    z-index: 10001;
}


.brand-main {
    font-size: 30px;
    line-height: 1;

    font-weight: 600;
    letter-spacing: -.05em;
}


.brand-sub {
    font-size: 8px;
    line-height: 1.45;

    letter-spacing: .18em;
    text-transform: uppercase;

    opacity: .72;
}


/* =========================================================
   MENU BUTTON
   ========================================================= */

.site-header .menu-toggle {
    position: relative;

    width: 54px;
    height: 54px;

    padding: 0;

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

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

    color: #fff;

    cursor: pointer;

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

    flex-direction: column;
    gap: 7px;

    z-index: 10001;

    transition:
        background .35s ease,
        border-color .35s ease,
        transform .35s ease;
}


.site-header .menu-toggle:hover {
    background: #fff;
    border-color: #fff;

    transform: rotate(0deg);
}


.site-header .menu-toggle span {
    display: block;

    width: 22px;
    height: 1px;

    background: #fff;

    transition:
        transform .45s cubic-bezier(.77,0,.18,1),
        background .35s ease;
}


.site-header .menu-toggle:hover span {
    background: #000;
}


/* =========================================================
   CLOSE ICON
   ========================================================= */

.site-header.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
}


.site-header.menu-open .menu-toggle span:nth-child(2) {
    transform: translateY(-4px) rotate(-45deg);
}


/* =========================================================
   FULLSCREEN MENU
   ========================================================= */

.fullscreen-menu {
    position: fixed;

    inset: 0;

    width: 100%;
    height: 100vh;
    height: 100dvh;

    background: #080808;

    color: #fff;

    z-index: 10000;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transform: translateY(-18px);

    transition:
        opacity .55s ease,
        transform .7s cubic-bezier(.77,0,.18,1),
        visibility .55s ease;
}


body.three-dq-menu-open .fullscreen-menu {
    opacity: 1;
    visibility: visible;

    pointer-events: auto;

    transform: translateY(0);
}


/* =========================================================
   MENU INNER
   ========================================================= */

.fullscreen-menu-inner {
    width: min(88%, 1500px);
    height: 100%;

    margin: 0 auto;

    padding:
        150px
        0
        70px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


/* =========================================================
   NAV
   ========================================================= */

.fullscreen-menu nav {
    display: flex;
    flex-direction: column;

    align-items: flex-start;

    gap: 0;
}


.fullscreen-menu nav a {
    position: relative;

    display: inline-block;

    padding: 8px 0;

    color: #fff;

    font-size: clamp(42px, 7vw, 110px);

    font-weight: 400;

    line-height: .98;

    letter-spacing: -.045em;

    opacity: 0;

    transform: translateY(45px);

    transition:
        opacity .7s ease,
        transform .8s cubic-bezier(.77,0,.18,1),
        color .3s ease;
}


body.three-dq-menu-open .fullscreen-menu nav a {
    opacity: 1;

    transform: translateY(0);
}


body.three-dq-menu-open .fullscreen-menu nav a:nth-child(1) {
    transition-delay: .08s;
}


body.three-dq-menu-open .fullscreen-menu nav a:nth-child(2) {
    transition-delay: .14s;
}


body.three-dq-menu-open .fullscreen-menu nav a:nth-child(3) {
    transition-delay: .20s;
}


body.three-dq-menu-open .fullscreen-menu nav a:nth-child(4) {
    transition-delay: .26s;
}


body.three-dq-menu-open .fullscreen-menu nav a:nth-child(5) {
    transition-delay: .32s;
}


.fullscreen-menu nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 4px;

    width: 0;
    height: 1px;

    background: #fff;

    transition: width .5s cubic-bezier(.77,0,.18,1);
}


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


.fullscreen-menu nav a:hover {
    color: #aaa;
}


/* =========================================================
   MENU FOOTER
   ========================================================= */

.menu-footer {
    display: flex;

    justify-content: space-between;
    align-items: flex-end;

    padding-top: 30px;

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

    color: #999;

    font-size: 11px;

    letter-spacing: .12em;

    text-transform: uppercase;
}


.menu-footer > div {
    display: flex;

    gap: 28px;

    color: #fff;
}


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

@media (max-width: 900px) {

    .header-inner {
        min-height: 78px;
        width: 90%;
    }


    .brand-main {
        font-size: 26px;
    }


    .brand-sub {
        font-size: 7px;
    }


    .site-header .menu-toggle {
        width: 48px;
        height: 48px;
    }


    .fullscreen-menu-inner {
        width: 90%;

        padding:
            125px
            0
            40px;
    }


    .fullscreen-menu nav a {
        font-size: clamp(42px, 13vw, 78px);

        padding: 7px 0;
    }


    .menu-footer {
        flex-direction: column;

        align-items: flex-start;

        gap: 22px;

        font-size: 9px;
    }


    .menu-footer > div {
        gap: 18px;

        flex-wrap: wrap;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .brand-sub {
        display: none;
    }


    .fullscreen-menu-inner {
        padding-top: 110px;
    }


    .fullscreen-menu nav a {
        font-size: 48px;
    }


    .menu-footer > div {
        gap: 14px;
    }

}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .site-header,
    .fullscreen-menu,
    .fullscreen-menu nav a,
    .site-header .menu-toggle,
    .site-header .menu-toggle span {
        transition: none !important;
    }

}


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

body.three-dq-menu-open {
    overflow: hidden;
}


/* =========================================================
   WORDPRESS ADMIN BAR
   ========================================================= */

body.admin-bar .site-header {
    top: 32px;
}


body.admin-bar .fullscreen-menu {
    top: 32px;
    height: calc(100vh - 32px);
    height: calc(100dvh - 32px);
}


@media (max-width: 782px) {

    body.admin-bar .site-header {
        top: 46px;
    }


    body.admin-bar .fullscreen-menu {
        top: 46px;
        height: calc(100vh - 46px);
        height: calc(100dvh - 46px);
    }

}
