/*--------------------------------------------------------------[Header / Nav]
File: header.css
Author: Evert Amsenga
Created: 2026-06-24
Updated: 2026-06-24
*/
.header-container {
    width: 100%;
    -webkit-box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.5), inset 0px 2px 49px -4px rgba(197, 19, 26, 0.55);
    -moz-box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.5), inset 0px 2px 49px -4px rgba(197, 19, 26, 0.55);
    box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.5), inset 0px 2px 49px -4px rgba(197, 19, 26, 0.55);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 1000;
    position: relative;
    top: 0;
    left: 0;
    height: 75px;
    background:
        radial-gradient(circle at top left, rgba(237, 28, 36, 0.16), transparent 28%),
        linear-gradient(180deg, #111111 0%, #050505 100%);
    border-top: 1px solid #2b2b2b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    overflow: visible;
}

.header-container::after {
    content: "";
    z-index: 500;
    position: absolute;
    inset: auto auto 0 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #c2171e 0%, #ed1c24 45%, #f5d90a 100%);
}

.header {
    width: 100%;
    max-width: none;
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    vertical-align: middle;
    text-align: center;
    position: relative;
}

.admin {
    top: 32px;
}

.top-logo {
    display: inline-block;
    vertical-align: middle;
    position: absolute;
    top: 11px;
    left: 15px;
    padding-right: 20px;
}

.top-logo img {
    width: 200px;
    height: auto;
    display: block;
}

.sitrak-top-logo {
    height: 74px;
    padding-left: 13px;
    padding-right: 13px;
    display: block;
    width: 140px;
    position: absolute;
    top: 0;
    right: 0px;
}

.sitrak-top-logo img {
    width: 138px;
    height: auto;
    margin-top: 22px;
    display: block;
}

nav {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navigation {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    position: relative;
    font-size: 0;
    padding-left: 0;
    top: 0;
    margin: 0 auto;
    width: max-content;
}

.nav_mobile_menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(10px);
}

.nav_mobile_menu.is-open {
    display: block;
}

.navlink {
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    color: #e5e7eb;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 100%;
    vertical-align: middle;
    display: inline-block;
    padding-left: 13px;
    padding-right: 13px;
    -o-transition: color .2s ease-out, background 2s ease-in, visibility 2s ease-in;
    -ms-transition: color .2s ease-out, background 2s ease-in, visibility 2s ease-in;
    -moz-transition: color .2s ease-out, background 2s ease-in, visibility 2s ease-in;
    -webkit-transition: color .2s ease-out, background 2s ease-in, visibility 2s ease-in;
    transition: color .2s ease-out, background 2s ease-in, visibility 2s ease-in;
}

.navlink a {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 75px;
    padding-top: 0;
    padding-bottom: 0;
}

.currentpage a {
    color: #f5d90a !important;
}

.navlink:hover {
    -o-transition: color .2s ease-out, background 2s ease-in, visibility 2s ease-in;
    -ms-transition: color .2s ease-out, background 2s ease-in, visibility 2s ease-in;
    -moz-transition: color .2s ease-out, background 2s ease-in, visibility 2s ease-in;
    -webkit-transition: color .2s ease-out, background 2s ease-in, visibility 2s ease-in;
    transition: color .2s ease-out, background 2s ease-in, visibility 2s ease-in;
}

.navlink:hover a {
    color: #f5d90a !important;
}

.navigation a, .navigation a:link, .navigation a:visited, .navigation a:active {
    color: #e5e7eb;
    text-decoration: none;
}

.navigation a:hover {
    color: #f5d90a;
}

.navlinkdropdown {
    display: none;
    margin: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    position: absolute;
    left: -1px;
    margin-top: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
    z-index: 600;
    padding-left: 20px;
    padding-right: 20px;
    width: 280%;
    border-top: 1px solid #2b2b2b;
    background: rgba(10, 10, 10, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.navlinkdropdown a, .navlinkdropdown a:link, .navlinkdropdown a:active, .navlinkdropdown a:visited {
    color: #ffffff !important;
    text-decoration: none;
    -o-transition: color .2s ease-out, background 2s ease-in;
    -ms-transition: color .2s ease-out, background 2s ease-in;
    -moz-transition: color .2s ease-out, background 2s ease-in;
    -webkit-transition: color .2s ease-out, background 2s ease-in;
    transition: color .2s ease-out, background 2s ease-in;
}

.navlinkdropdown a:hover {
    color: #f5d90a !important;
}

.navlinkdropdownlink {
    font-size: 16px;
    line-height: 16px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-align: left;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    color: #e5e7eb !important;
    margin: auto;
    font-style: normal;
    -o-transition: color .2s ease-out, background 2s ease-in;
    -ms-transition: color .2s ease-out, background 2s ease-in;
    -moz-transition: color .2s ease-out, background 2s ease-in;
    -webkit-transition: color .2s ease-out, background 2s ease-in;
    transition: color .2s ease-out, background 2s ease-in;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navigation span.truck-types {
    display: block;
    font-size: 14px;
    line-height: 14px;
    padding-top: 5px;
    font-weight: 400;
    color: #cbd5e1;
}

.navlinkdropdownlink:last-child {
    border-bottom: 0;
}

.navlinkdropdownlink:hover {
    color: #f5d90a !important;
    background: rgba(245, 217, 10, 0.1);
}

.haschild:hover>.navlinkdropdown {
    display: block;
    -webkit-animation: fadein 0.5s;
    -moz-animation: fadein 0.5s;
    -ms-animation: fadein 0.5s;
    -o-animation: fadein 0.5s;
    animation: fadein 0.5s;
}

.navlinkdropdownlink .fa {
    font-size: 10px;
    color: #f5d90a;
}

.menubutton {
    color: white;
    display: none;
    font-weight: 500;
    font-size: 0;
    line-height: 1;
    width: 42px;
    height: 42px;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    cursor: pointer;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.menubutton__icon {
    font-size: 19px;
    line-height: 1;
}

.mobilemenu {
    position: absolute;
    top: 0;
    right: 0;
    width: min(88vw, 390px);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 14px;
    background:
        radial-gradient(circle at top right, rgba(237, 28, 36, 0.15), transparent 28%),
        linear-gradient(180deg, #111111 0%, #050505 100%);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -18px 0 36px rgba(15, 23, 42, 0.35);
    overflow-y: auto;
}

.mobilemenu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 4px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobilemenu__brand img {
    display: block;
    width: 168px;
    height: auto;
}

.mobilemenu__close {
    appearance: none;
    border: 0;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    cursor: pointer;
}

.mobilemenu__body {
    display: grid;
    gap: 10px;
}

.mobilemenu__home,
.mobilemenu__navlink,
.mobilemenu__subnav-link,
.mobilemenu__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 14px;
    border-radius: 14px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
}

.mobilemenu__home:hover,
.mobilemenu__navlink:hover,
.mobilemenu__subnav-link:hover,
.mobilemenu__cta:hover {
    color: #f5d90a;
    border-color: rgba(245, 217, 10, 0.35);
    background: rgba(245, 217, 10, 0.08);
}

.mobilemenu__navlink {
    background: rgba(255, 255, 255, 0.06);
}

.mobilemenu__subnav {
    display: grid;
    gap: 8px;
    padding: 0 0 0 12px;
}

.mobilemenu__subnav-link {
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid rgba(245, 217, 10, 0.35);
}

.mobilemenu__label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mobilemenu__meta {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.03em;
    color: #cbd5e1;
}

.mobilemenu__chevron {
    flex: 0 0 auto;
    color: #f5d90a;
}

.mobilemenu__navlink.is-current,
.mobilemenu__subnav-link.is-current {
    border-color: rgba(245, 217, 10, 0.45);
    background: rgba(245, 217, 10, 0.1);
}

.mobilemenu__footer {
    margin-top: auto;
    display: grid;
    gap: 10px;
    padding-top: 8px;
}

.mobilemenu__cta {
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mobilemenu__cta--ghost {
    background: transparent;
}

@media screen and (min-width: 0px) and (max-width: 320px) {
    .menubutton {
        right: 8px;
    }
}

@media screen and (min-width: 0px) and (max-width: 530px) {
    .top-logo img {
        width: 150px;
        top: 6px;
        position: relative;
    }

    .sitrak-top-logo img {
        width: 105px;
        margin-top: 29px;
    }

    .sitrak-top-logo {
        width: auto;
    }
}

@media screen and (min-width: 0px) and (max-width: 925px) {
    .navigation {
        display: none;
    }

    .menubutton {
        display: block;
        display: flex;
        position: absolute;
        top: 0;
        right: 15px;
        left: auto;
        width: 52px;
        height: 75px;
        padding: 0;
        transform: none;
        align-items: center;
        justify-content: center;
    }

    .sitrak-top-logo {
        right: 50px;
    }

    .header-container {
        position: relative;
    }
}

@media screen and (min-width: 771px) and (max-width: 1040px) {
    .navlink {
        font-size: 16px;
        line-height: 16px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .top-logo img {
        width: 155px;
        top: 6px;
        position: relative;
    }

    .navigation {
        top: 15px;
    }
}

@media screen and (min-width: 0px) and (max-width: 380px) {
    .top-logo img {
        width: 125px;
        top: 10px;
    }

    .sitrak-top-logo img {
        width: 74px;
        margin-top: 30px;
    }
}
