/* =========================================================
   CHRIS BROWN — NAVIGATION
   ========================================================= */

.site-header {
    position: absolute;
    top: 0;
    left: 0;

    z-index: 100;

    width: 100%;
    height: 105px;

    color: #e8d2b5;
}


.navbar {
    display: flex;
    align-items: flex-start;
    justify-content: center;

    width: 100%;
    height: 100%;

    padding-top: 31px;
}


/* ---------------------------------------------------------
   DESKTOP NAV
   --------------------------------------------------------- */

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 67px;

    margin: 0;
    padding: 0;
}


.nav-link {
    display: block;

    color: rgba(190, 151, 112, 0.78);

    font-family: var(--font-primary);
    font-size: 31px;
    font-weight: 700;

    line-height: 1;

    letter-spacing: 0;

    text-transform: uppercase;

    white-space: nowrap;

    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}


.nav-link:hover {
    color: #e8d2b5;
    opacity: 1;
}


/* ---------------------------------------------------------
   ACTIVE HOME
   --------------------------------------------------------- */

.nav-link.active {
    color: #f0d7b8;
}


/* ---------------------------------------------------------
   MOBILE BUTTON
   --------------------------------------------------------- */

.mobile-menu-toggle {
    display: none;
}


/* ---------------------------------------------------------
   MOBILE MENU
   --------------------------------------------------------- */

.mobile-menu {
    position: fixed;
    inset: 0;

    z-index: 200;

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

    padding: 80px 30px 40px;

    background:
        rgba(28, 16, 10, 0.94);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}


.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


.mobile-nav-list {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 25px;

    margin: 0;
    padding: 0;
}


.mobile-nav-link {
    color: #e8d2b5;

    font-family: var(--font-primary);
    font-size: 29px;
    font-weight: 700;

    line-height: 1;

    text-transform: uppercase;

    transition: opacity 0.2s ease;
}


.mobile-nav-link:hover {
    opacity: 0.6;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 768px) {

    .site-header {
        height: 58px;
    }

    .navbar {
        padding-top: 0;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;

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

        width: 100%;
        height: 58px;

        color: #e8d2b5;

        font-family: var(--font-primary);
        font-size: 15px;
        font-weight: 700;

        letter-spacing: 0;

        text-transform: uppercase;
    }

}


/* ---------------------------------------------------------
   SMALL PHONES
   --------------------------------------------------------- */

@media (max-width: 420px) {

    .mobile-menu-toggle {
        height: 54px;
        font-size: 14px;
    }

    .mobile-nav-list {
        gap: 23px;
    }

    .mobile-nav-link {
        font-size: 25px;
    }

}