@charset "UTF-8";

/* 헤더 기본 스타일 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header_inner {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* 메뉴 버튼 스타일 */
.header_menu {
    order: 1;
}

.menu_btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.menu_btn.on {
    background-color: rgba(0, 0, 0, 0.05);
}

.menu_btn .menu {
    width: 24px;
    height: 24px;
    display: block;
}

/* 네비게이션 스타일 */
.header_nav {
    order: 2;
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav_list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 60px;
}

.nav_item {
    position: relative;
}

.nav_link {
    text-decoration: none;
    color: #333;
    font-size: 24px;
    font-weight: 500;
    font-family: 'BMkkubulimTTF';
    padding: 8px 0;
    transition: color 0.3s ease;
    position: relative;
}

.nav_link.on {
    color: #333;
}

.nav_link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #333;
    transition: width 0.3s ease;
}

.nav_link.on::after {
    width: 100%;
}

.nav_link.active {
    color: #333;
}

.nav_link.active::after {
    width: 100%;
}

/* 심볼 이미지 스타일 */
.header_symbol {
    order: 3;
}

.symbol_img {
    width: 60px;
    height: auto;
    display: block;
}

/* 반응형 디자인 */
@media screen and (max-width: 768px) {
    .header_inner {
        height: 60px;
        padding: 0 15px;
    }
    
    .nav_list {
        gap: 20px;
    }
    
    .nav_link {
        font-size: 14px;
    }
    
    .symbol_img {
        width: 40px;
    }
    
    .menu_btn .menu {
        width: 20px;
        height: 20px;
    }
}

@media screen and (max-width: 480px) {
    .header_inner {
        padding: 0 10px;
    }
    
    .nav_list {
        gap: 15px;
    }
    
    .nav_link {
        font-size: 13px;
    }
    
    .symbol_img {
        width: 35px;
    }
}

/* 스크롤 시 헤더 스타일 변경 */
.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 모바일 메뉴 활성화 시 */
.header.mobile_menu_open {
    background: rgba(255, 255, 255, 0.98);
}

/* 모바일 메뉴 스타일 */
@media screen and (max-width: 768px) {
    .nav_list {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        gap: 0;
    }
    
    .nav_list.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav_item {
        width: 100%;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .nav_item:last-child {
        border-bottom: none;
    }
    
    .nav_link {
        display: block;
        padding: 10px 20px;
        font-size: 16px;
    }
    
    .nav_link::after {
        display: none;
    }
}

/* 접근성 개선 */
.menu_btn:focus {
    outline: none;
}

.nav_link:focus {
    outline: none;
}

