/* =========================================================================
   HEADER & NAVIGATION
   ========================================================================= */

.header { 
    height: 80px; 
    background: rgba(5,5,16,0.95); 
    border-bottom: 1px solid rgba(255,255,255,0.05); 
    position: relative;
    z-index: 1000;
}
.head { 
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.head .left { 
    margin-top: 15px;
}
.head .left img { 
    filter: brightness(0) invert(1); 
    height: 50px; 
    object-fit: contain; 
    margin-bottom: 13%;
}
.head .right { 
    float: right; 
    height: 100%; 
}
.head .right .navbar { 
    border: none; 
    background: transparent; 
    margin: 0; 
    min-height: 80px;
}
.head .right .navbar-nav { 
    margin: 0; 
    display: flex; 
    flex-direction: row;
}
.head .right li { 
    float: left; 
    list-style: none;
}
.head .right li a { 
    text-decoration: none; 
    text-align: center; 
    color: #d0d0d0 !important; 
    font-size: 15px; 
    font-weight: 500;
    height: 80px; 
    line-height: 50px;
    padding: 15px 20px 0 20px !important; 
    display: block; 
    border-bottom: 4px solid transparent; 
    transition: all 0.3s ease;
    background: transparent !important;
}
.head .right li a:hover, 
.head .right li a.active {
    border-bottom: 4px solid #00E5FF; 
    color: #00E5FF !important; 
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
}

/* Sticky header behavior from Headhesive */
.banner--clone { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    z-index: 9999; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.5); 
    background: rgba(5,5,16,0.98); 
    -webkit-transform: translateY(-100%); 
    transform: translateY(-100%); 
    transition: all 300ms ease-in-out; 
}
.banner--stick { 
    -webkit-transform: translateY(0%); 
    transform: translateY(0%); 
}
/* =========================================================================
   MOBILE MENU FIX (HAMBURGER & SIDEBAR)
   ========================================================================= */

@media (max-width: 767px){
    .head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 80px;
    }
    .head > div {
        width: auto !important;
        float: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .head .left { display: flex; align-items: center; }
    .head .left img { height: 40px; }
    
    .head .right { float: none; height: auto; }
    .head .right .navbar { min-height: auto; }
    .navbar-header { 
        display: flex; 
        justify-content: flex-end; 
        align-items: center; 
    }
    
    .head .right .navbar-collapse { display: none !important; }
    .navbar-toggle { display: none !important; }
    
    /* Hamburger Button Styling */
    .cus-navbar { 
        display: block !important; 
        background: transparent;
        border-radius: 4px; 
        width: 45px; 
        height: 40px;
        position: relative;
        padding: 0;
        margin: 0;
        z-index: 10005;
        cursor: pointer;
    }
    .cus-navbar:after { 
        content: '☰'; 
        color: #00E5FF; 
        font-size: 24px; 
        position: absolute; 
        top: 2px; 
        left: 12px; 
    }
    
    /* Close (Cross) Button */
    .cross {
        display: block !important;
        visibility: hidden;
        opacity: 0;
        position: fixed; 
        background: #ff3366; 
        cursor: pointer; 
        z-index: 10003; 
        top: 20px; 
        left: 200px; 
        border: 1px solid transparent; 
        border-radius: 4px; 
        width: 40px; 
        height: 40px;
        transition: all 0.4s ease;
        transform: rotate(-90deg);
    }
    .cross.active {
        visibility: visible;
        opacity: 1;
        transform: rotate(0deg);
    }
    .cross:after { 
        content: '✕'; 
        color: #fff; 
        font-size: 20px; 
        position: absolute; 
        top: 8px; 
        left: 12px; 
    }
    
    /* Overlay Background */
    .wrp { 
        display: block !important;
        visibility: hidden;
        opacity: 0;
        position: fixed; 
        top: 0; 
        left: 0; 
        width: 100vw; 
        height: 100vh; 
        z-index: 10001; 
        background: rgba(0,0,0,0.8); 
        transition: all 0.4s ease;
    }
    .wrp.active {
        visibility: visible;
        opacity: 1;
    }
    
    /* Sidebar Navigation Menu */
    .sideMenu { 
        display: block !important;
        visibility: hidden; 
        position: fixed; 
        top: 0; 
        left: -250px; 
        height: 100vh; 
        width: 250px; 
        background: #0a0a1a; 
        padding-top: 80px;
        box-shadow: 5px 0 20px rgba(0,0,0,0.5);
        z-index: 10002;
        transition: left 0.4s ease, visibility 0.4s;
    }
    .sideMenu.active {
        left: 0;
        visibility: visible;
    }
    .sideMenu ul { 
        list-style: none; 
        padding: 0; 
        margin: 0; 
    }
    .sideMenu li { 
        border-bottom: 1px solid rgba(255,255,255,0.1); 
        float: none !important; 
        width: 100%;
    }
    .sideMenu li a { 
        display: block; 
        padding: 15px 25px !important; 
        color: #d0d0d0 !important; 
        text-decoration: none; 
        font-size: 16px; 
        height: auto;
        line-height: normal;
        text-align: left;
        background: transparent !important;
    }
    .sideMenu li a:hover, 
    .sideMenu li a.active { 
        background: rgba(0,229,255,0.1) !important; 
        color: #00E5FF !important; 
        border-left: 4px solid #00E5FF;
    }
}