/* GIS 헤더 CSS */

.gis-header {
    display: block;
    width: 100%;
    height: 37px;
    background-color: #212f3c;
    box-sizing: border-box;
    margin: 0;
}

/* 헤더 네비게이션 리스트 */
.gis-header-nav {
    display: flex;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
    justify-content: flex-end;
    align-items: center;
}

/* 헤더 네비게이션 아이템 */
.gis-header-nav-item {
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

/* 헤더 네비게이션 링크 */
.gis-header-nav-link {
    display: block;
    width: 150px;
    height: 37px;
    line-height: 37px;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 18px;
    font-weight: 500;
    white-space: nowrap;
    transition: background-color 0.3s ease;
    border: none;
    background: none;
    cursor: pointer;
    font-family: Arial, sans-serif;
    text-align: center;
}

/* EN 버튼 스타일 */
.gis-header-nav-link-en {
    width: 90px !important;
    font-size: 14px;
    font-weight: 600;
    background-color: #0066cc !important;
    padding: 0 !important;
}

/* 드롭다운 메뉴 */
.gis-header-dropdown {
    position: absolute;
    top: 37px;
    left: 0;
    width: 150px;
    background-color: #0e2a45;
    list-style: none;
    margin: 0;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

/* 드롭다운 아이템 */
.gis-header-dropdown-item {
    margin: 0;
    padding: 0;
}

/* 드롭다운 링크 */
.gis-header-dropdown-link {
    display: block;
    padding: 14px 10px;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 400;
    white-space: normal;
    word-wrap: break-word;
    transition: all 0.3s ease;
    border: none;
    background: none;
    cursor: pointer;
    font-family: Arial, sans-serif;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

/* 드롭다운 링크 호버 */
.gis-header-dropdown-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #4db8ff !important;
}

/* 호버 시 드롭다운 표시 */
.gis-header-nav-item:not(.gis-header-nav-item-en):hover .gis-header-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* EN 버튼 드롭다운 숨김 */
.gis-header-nav-item-en .gis-header-dropdown {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
}

