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

.site-header {
    position: relative;
    width: 100%;
    height: 100px;
    z-index: 1000;
    background-color: #E5E5EA;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    margin-left: 0;
    margin-right: 0;
    height: 100%;
    padding-right: 2rem;
    padding-left: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    z-index: 1001;
}

.site-logo a {
    display: inline-block;
    line-height: 0;
    -webkit-tap-highlight-color: transparent;
}

.logo-image,
.custom-logo {
    width: 105px;
    height: 60px;
    object-fit: contain;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    text-decoration: none;
}

/* ===================================
   HAMBURGER MENU BUTTON
   =================================== */

.btn-trigger {
    position: relative;
    width: 60px;
    height: 41px;
    cursor: pointer;
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
}

.btn-trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #000000;
    display: inline-block;
    transition: all 0.5s;
    box-sizing: border-box;
}

.btn-trigger span:nth-of-type(1) {
    top: 0;
}

.btn-trigger span:nth-of-type(2) {
    top: 18px;
}

.btn-trigger span:nth-of-type(3) {
    bottom: 0;
}

/* Active State */
#btn05.active span {
    transition-duration: .7s;
}

#btn05.active span:nth-of-type(1) {
    transform: translateY(18px) rotate(-45deg);
}

#btn05.active span:nth-of-type(2) {
    opacity: 0;
}

#btn05.active span:nth-of-type(3) {
    transform: translateY(-18px) rotate(45deg);
}

/* ===================================
   MOBILE NAVIGATION
   =================================== */
.mobile-navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 272px;
    height: 272px;
    background-color: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    transition: right 2s ease;
    z-index: 1000;
}

.mobile-navigation li a {
    text-transform: uppercase;
}

.mobile-navigation.active {
    right: 0;
    transition: right 0.5s ease;
}

.mobile-navigation ul {
    position: absolute;
    top: 40%;
    list-style: none;
    padding-left: 32px;
}

.mobile-navigation ul li {
    margin: 20px 0;
}

.mobile-navigation ul a {
    font-size: 24px;
    font-weight: 600;
    text-decoration: none;
    line-height: 100%;
    -webkit-tap-highlight-color: transparent;
}

.mobile-navigation ul a:hover {
    color: #FFD204;
}

/* ===================================
   BODY SCROLL LOCK
   =================================== */

body.menu-open {
    overflow: hidden;
    padding-right: 0 !important;
}

/* ===================================
   OVERLAY
   =================================== */

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    z-index: 999;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

@media (max-width: 1025px) and (min-width: 768px) {
    .site-header {
        height: 60px;
    }

    .header-container {
        padding-left: 65px;
    }

    .logo-image,
    .custom-logo {
        width: 60px;
        height: 34px;
    }

    .btn-trigger {
        width: 35px;
        height: 24px;
    }

    .btn-trigger span {
        height: 4px;
    }

    .btn-trigger span:nth-of-type(2) {
        top: 10px;
    }

    #btn05.active span:nth-of-type(1) {
        transform: translateY(10px) rotate(-45deg);
    }

    #btn05.active span:nth-of-type(3) {
        transform: translateY(-10px) rotate(45deg);
    }
}

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

/* Mobile */
@media (max-width: 768px) {
    /* Header */
    .site-header {
        height: 60px;
    }

    .header-container {
        padding: 0 1rem;
    }

    /* Logo */
    .logo-image,
    .custom-logo {
        width: 50px;
        height: 28px;
    }

    /* Button */
    .btn-trigger {
        width: 30px;
        height: 18px;
    }

    .btn-trigger span {
        height: 3px;
    }

    .btn-trigger span:nth-of-type(2) {
        top: 8px;
    }

    /* Active State Mobile */
    #btn05.active span:nth-of-type(1) {
        transform: translateY(8px) rotate(-45deg);
    }

    #btn05.active span:nth-of-type(3) {
        transform: translateY(-8px) rotate(45deg);
    }

    /* Sidebar */
    .mobile-navigation {
        width: 175px;
        height: 200px;
    }

    .mobile-navigation ul a {
        font-size: 18px;
        text-transform: uppercase;
    }
}

@media (max-width: 480px) {
    .mobile-navigation ul {
        top: 30%;
        padding-left: 38px;
        margin: 0;
    }

    .mobile-menu-list ul a {
        font-size: 18px;
        text-transform: uppercase;
    }
}

/* ===================================
   ACCESSIBILITY
   =================================== */

.btn-trigger:focus {
    outline: 2px solid #000;
    outline-offset: 2px;
}

.mobile-navigation ul a:focus:not(:focus-visible) {
    outline: none;
}

.mobile-menu-list a:focus {
    outline: 2px solid #000;
    outline-offset: -2px;
}
