.header-blank-wrapper {
    display: block;
}

.header-wrapper {
    position: absolute;
    top: 48px;
    left: 0;
    width: 100%;
    z-index: 100;
    height: 100px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.header-logo-container {
    width: auto;
    height: 100%;
}

.header-logo-container img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.nav-container {
    width: auto;
    height: 100%;
}

/* 네비게이션 메뉴 가로 정렬 */
.nav-container ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    height: 100%;
}

.nav-container li {
    height: 100%;
    display: flex;
    align-items: flex-start;
}

.nav-container a {
    transition: color 0.3s ease;
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 40px;
    display: flex;
    align-items: center;
    text-align: center;
    text-transform: uppercase;
    color: #000000;
}

.nav-container a:hover {
    color: #ffffff;
}

/* 햄버거 메뉴 버튼 */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 1000;
    margin-top: 10px;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #000000;
    transition: all 0.3s ease;
}

/* 오버레이 - 사이드 메뉴가 열렸을 때 배경 어둡게 */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    display: none;
}

.overlay.active {
    display: block;
}

/* 사이드 네비게이션 메뉴 */
.side-nav {
    position: fixed;
    top: 0;
    right: -300px; /* 초기에는 화면 밖에 위치 */
    width: 300px;
    height: 100vh;
    background-color: #181818;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.5);
    z-index: 999;
    transition: right 0.3s ease;
    padding: 100px 30px 30px;
    overflow-y: auto;
}

.side-nav.active {
    right: 0; /* 활성화되면 화면에 표시 */
}

/* 닫기 버튼 */
.close-menu {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.close-menu::before,
.close-menu::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #ffffff;
}

.close-menu::before {
    transform: rotate(45deg);
}

.close-menu::after {
    transform: rotate(-45deg);
}

/* 모바일 메뉴 스타일 */
.mobile-menu {
    display: flex;
    flex-direction: column;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.mobile-menu a {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: #06BBC4;
}

/* 서브메뉴 스타일 */
.mobile-submenu {
    margin-left: 20px;
    margin-top: 10px;
    display: none;
}

.mobile-menu .has-submenu.active .mobile-submenu {
    display: block;
}

.mobile-menu .submenu-toggle {
    display: inline-block;
    margin-left: 10px;
    font-size: 20px;
    color: #ffffff;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.mobile-menu .has-submenu.active .submenu-toggle {
    transform: rotate(180deg);
}

.mobile-submenu li {
    margin: 10px 0;
}

.mobile-submenu a {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
}

/* 반응형 스타일 */
@media screen and (max-width: 1024px) {
    .header-blank-wrapper {
        display: none;
    }

    .header-wrapper {
        top: 0;
        height: 80px;
        padding: 10px 20px;
    }

    .header-logo-container {
        margin-top: 20px;
    }

    .header-container {
        align-items: center;
    }

    /* 기존 메뉴 숨기기 */
    .nav-container {
        display: none;
    }

    /* 햄버거 메뉴 표시 */
    .hamburger-menu {
        display: flex;
        margin-top: 0;
    }

    /* 로고 크기 조정 */
    .header-logo-container img {
        height: 50px;
    }
}

@media (max-width: 768px) {
    .header-wrapper {
        padding: 10px 15px;
    }

    .side-nav {
        width: 280px;
        right: -280px;
    }
}

@media (max-width: 480px) {
    .side-nav {
        width: 250px;
        right: -250px;
        padding: 80px 20px 20px;
    }

    .close-menu {
        top: 20px;
        right: 20px;
    }

    .mobile-menu a {
        font-size: 18px;
    }

    .mobile-submenu a {
        font-size: 15px;
    }
}