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

.site-header {
    position: fixed;
    top: 0px;
    left: 0;

    width: 100%;

    z-index: 9999;

    background: #ffffff;

    backdrop-filter: blur(10px);

    box-shadow:
        0 4px 20px rgba(0,0,0,0.06),
        0 1px 3px rgba(0,0,0,0.04);

    transition:
        transform 0.35s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

/* Hide header */

.site-header.header-hidden {
    transform: translateY(-100%);
}

/* ==================================================
   RED ACCENT BARS
================================================== */

.header-top-bar {
    height: 4px;
    background: linear-gradient(
        90deg,
        #ff3700 0%,
        #ff3700 50%,
        #ff3700 100%
    );
}

.header-bottom-bar {
    height: 1px;
    background: rgba(0,0,50,0.08);
}

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

.main-header {
    height: 92px;

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

    padding: 0 60px;
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-wrapper a {
    display: flex;
    align-items: center;
}

.logo-wrapper img {
    width: 105px;
    height: auto;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.logo-wrapper img:hover {
    transform: scale(1.03);
}

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

.desktop-navigation {
    margin-left: auto;
}

.main-menu {
    list-style: none;
	

    display: flex;
    align-items: center;
    gap: 42px;

    margin: 0;
    padding: 0;
}

/* ==================================================
   MENU ITEMS
================================================== */

.main-menu > li {
    position: relative;
}

/* ==================================================
   MAIN LINKS
================================================== */

.main-menu > li > a {
    position: relative;

    display: inline-flex;
    align-items: center;

    height: 92px;

	font-family:'Jawbreak', sans-serif;
	color: #000030;
    text-decoration: none;

    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;

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

/* Animated underline */

.main-menu > li > a::after {
    content: '';

    position: absolute;
    left: 0;
    bottom: 28px;

    width: 0%;
    height: 3px;

    background: #ef1b1b;
    border-radius: 10px;

    transition: width 0.25s ease;
}

/* Hover */

.main-menu > li:hover > a {
    color: #ff3700;
}

.main-menu > li:hover > a::after {
    width: 100%;
}

/* ==================================================
   DROPDOWN MENU
================================================== */

.main-menu .sub-menu {
    position: absolute;

    top: calc(100% - 12px);
    left: 50%;

    transform:
        translateX(-50%)
        translateY(12px);

    min-width: 240px;

    padding: 14px 0;
    margin: 0;

    list-style: none;

    background: rgba(255,255,255,0.98);

    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 18px;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.22s ease,
        transform 0.22s ease,
        visibility 0.22s ease;

    box-shadow:
        0 20px 40px rgba(0,0,0,0.10),
        0 4px 10px rgba(0,0,0,0.04);

    backdrop-filter: blur(12px);

    z-index: 999;
}

/* Show dropdown */

.main-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;

    transform:
        translateX(-50%)
        translateY(0);
}

/* ==================================================
   DROPDOWN ITEMS
================================================== */

.main-menu .sub-menu li {
    width: 100%;
}

/* Dropdown links */

.main-menu .sub-menu li a {
    display: flex;
    align-items: center;

    width: 100%;

    padding: 14px 24px;

	font-family:'Jawbreak', sans-serif;
    color: #000030;
    text-decoration: none;

    font-size: 20px;
    font-weight: 800;

    letter-spacing: 1px;
    text-transform: uppercase;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        padding-left 0.2s ease;
}
/* Hover */

.main-menu .sub-menu li a:hover {
    background: rgba(239,27,27,0.06);
    color: #ff3700;

    padding-left: 28px;
}

/* ==================================================
   ACTIVE MENU ITEM
================================================== */

.main-menu > .current-menu-item > a,
.main-menu > .current-menu-parent > a {
    color: #ef1b1b;
}

.main-menu > .current-menu-item > a::after,
.main-menu > .current-menu-parent > a::after {
    width: 100%;
}

/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 1200px) {

    .main-header {
        padding: 0 40px;
    }

    .main-menu {
        gap: 28px;
    }

}

@media (max-width: 992px) {

    .desktop-navigation {
        display: none;
    }

    .main-header {
        height: 82px;
        padding: 0 24px;
    }

    .logo-wrapper img {
        width: 85px;
    }

}