﻿/* =========================================================
   PHOENIX YORK - HEADER
   ========================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    width: 100%;
    height: 90px;
    margin: 0;
    padding: 0;
    background: rgba(0, 11, 32, 0.72);
    border: 0;
    border-radius: 0;
}


.header-container {
    position: relative;
    width: 100%;
    height: 90px;
    margin: 0;
    padding: 0 40px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}


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

.site-logo {
    position: relative;
    z-index: 2;
    width: auto;
    height: 90px;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    text-decoration: none;
}


    .site-logo:hover,
    .site-logo:focus,
    .site-logo:active {
        text-decoration: none;
    }


.site-logo-image {
    display: block;
    width: 120px;
    height: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    object-fit: contain;
}


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

.main-navigation {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 38px;
    white-space: nowrap;
}


    .main-navigation a {
        position: relative;
        height: 90px;
        display: flex;
        align-items: center;
        margin: 0;
        padding: 0;
        color: #ffffff;
        font-family: "pymontserratlight", Arial, sans-serif;
        font-size: 12px;
        font-weight: 700;
        line-height: 1;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        text-decoration: none;
        white-space: nowrap;
    }


        .main-navigation a:hover,
        .main-navigation a:focus,
        .main-navigation a:active {
            color: #ffffff;
            text-decoration: none;
        }


        /* =========================================================
   ACTIVE RED LINE
   ========================================================= */

        .main-navigation a::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: 25px;
            height: 3px;
            background: #f12e45;
            transform: scaleX(0);
            transform-origin: center;
            transition: transform 0.15s ease;
        }


        .main-navigation a:hover::after,
        .main-navigation a.active::after {
            transform: scaleX(1);
        }


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

.header-more {
    position: absolute;
    top: 0;
    right: 40px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}


.more-menu-button {
    width: 46px;
    height: 40px;
    margin: 0;
    padding: 8px 9px;
    border: 1px solid #f12e45;
    border-radius: 4px;
    background: #f12e45;
    cursor: pointer;
}


    .more-menu-button:hover,
    .more-menu-button:focus,
    .more-menu-button:active {
        background: #f12e45;
        border-color: #f12e45;
        outline: none;
    }


    .more-menu-button span {
        display: block;
        width: 100%;
        height: 2px;
        margin: 4px 0;
        background: #ffffff;
        border-radius: 1px;
    }


/* =========================================================
   DESKTOP MORE MENU
   ========================================================= */

.more-menu {
    display: none;
    position: absolute;
    top: 68px;
    right: 0;
    width: 185px;
    height: auto;
    margin: 0;
    padding: 8px 0;
    background: rgba(8, 12, 20, 0.98);
    border: 0;
    border-radius: 0;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.25);
    z-index: 10000;
}


    .more-menu.is-open {
        display: block;
    }


.more-menu__primary {
    display: none;
}


.more-menu__secondary {
    display: block;
    width: 100%;
}


.more-menu a {
    display: block;
    width: 100%;
    padding: 11px 20px;
    box-sizing: border-box;
    color: #ffffff;
    font-family: "pymontserratlight", Arial, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: none;
}


    .more-menu a:hover,
    .more-menu a:focus {
        background: rgba(255,255,255,0.08);
        color: #ffffff;
        text-decoration: none;
    }


/* =========================================================
   MEDIUM DESKTOP
   ========================================================= */

@media (max-width: 1250px) {

    .main-navigation {
        gap: 24px;
    }

        .main-navigation a {
            font-size: 11px;
        }

    .site-logo-image {
        width: 108px;
    }
}


/* =========================================================
   MOBILE / IPAD / LANDSCAPE PHONE
   ========================================================= */

@media (max-width: 1000px) {

    .site-header,
    .header-container {
        height: 70px;
    }


    .header-container {
        padding: 0 18px;
    }


    .site-logo {
        height: 70px;
    }


    .site-logo-image {
        width: 102px;
    }


    .main-navigation {
        display: none;
    }


    .header-more {
        right: 18px;
        height: 70px;
    }


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

    .more-menu {
        display: none;
        position: fixed;
        top: 70px;
        right: 0;
        width: 290px;
        max-width: 82vw;
        /*
           IMPORTANT
           menu ends after CONTACT
        */
        height: auto;
        max-height: calc(100vh - 76px);
        margin: 0;
        padding: 5px 0;
        background: rgba(8, 12, 20, 0.98);
        overflow-y: auto;
        overflow-x: hidden;
        box-shadow: -4px 5px 18px rgba(0, 0, 0, 0.28);
        z-index: 10000;
    }


        .more-menu.is-open {
            display: block;
        }


    .more-menu__primary {
        display: block;
        width: 100%;
    }


    .more-menu__secondary {
        display: block;
        width: 100%;
        margin-top: 5px;
        padding-top: 5px;
        border-top: 1px solid rgba(255,255,255,0.16);
    }


    .more-menu a {
        display: block;
        width: 100%;
        padding: 11px 18px;
        box-sizing: border-box;
        color: #ffffff;
        font-size: 12px;
        line-height: 1.2;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
}


/* =========================================================
   LANDSCAPE PHONE
   ========================================================= */

@media (max-width: 1000px) and (orientation: landscape) {

    .more-menu {
        width: 265px;
        height: auto;
        max-height: calc(100vh - 72px);
        padding: 2px 0;
    }


        .more-menu a {
            padding: 7px 15px;
            font-size: 10px;
            line-height: 1.05;
        }


    .more-menu__secondary {
        margin-top: 2px;
        padding-top: 2px;
    }
}


/* =========================================================
   SMALL PHONE
   ========================================================= */

@media (max-width: 480px) {

    .header-container {
        padding: 0 14px;
    }


    .site-logo-image {
        width: 94px;
    }


    .header-more {
        right: 14px;
    }


    .more-menu {
        width: 270px;
        max-width: 86vw;
    }
}
