/* header / skin_3 — 메뉴형 */

.section-header-skin-3 {
    position: relative;
    width: 100%;
    z-index: 1000;
}

.section-header-skin-3.section-header--sticky {
    position: sticky;
    top: 0;
}

/* 스크롤시 숨김 — 위로 슬라이드 */
.section-header-skin-3[data-hide-on-scroll="1"] {
    transition: transform 0.3s ease;
}
.section-header-skin-3.section-header--hide {
    transform: translateY(-100%);
}

.section-header-skin-3 .section-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--inner-width);
    margin: 0 auto;
    height: 72px;
}

/* 로고 */
.section-header-skin-3 .section-header__logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.section-header-skin-3 .section-header__logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.section-header-skin-3 .section-header__logo-text {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* PC 메뉴 */
.section-header-skin-3 .section-header__menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.section-header-skin-3 .section-header__menu-link {
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
    transition: opacity 0.15s ease;
}

.section-header-skin-3 .section-header__menu-link:hover {
    opacity: 0.7;
}

/* 햄버거 버튼 — PC에서는 숨김 */
.section-header-skin-3 .section-header__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: #111111;
}

.section-header-skin-3 .section-header__hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background-color: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.section-header-skin-3 .section-header__hamburger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.section-header-skin-3 .section-header__hamburger.is-open span:nth-child(2) {
    opacity: 0;
}
.section-header-skin-3 .section-header__hamburger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* 모바일 드롭다운 패널 — PC에서는 항상 숨김 */
.section-header-skin-3 .section-header__panel {
    display: none;
}

/* 반응형 */
@media (max-width: 1024px) {
    .section-header-skin-3 .section-header__inner {
        height: 60px;
    }
}

@media (max-width: 767px) {
    /* PC 메뉴 숨기고 햄버거 노출 */
    .section-header-skin-3 .section-header__menu {
        display: none;
    }
    .section-header-skin-3 .section-header__hamburger {
        display: flex;
    }
    /* 드롭다운 패널 — 본문 위에 덮이도록 절대배치 */
    .section-header-skin-3 .section-header__panel {
        display: flex;
        flex-direction: column;
        row-gap: 20px;
        padding: 16px 20px 24px;
        background-color: #ffffff;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1001;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    }
    .section-header-skin-3 .section-header__panel[hidden] {
        display: none;
    }
    .section-header-skin-3 .section-header__panel .section-header__menu-link {
        display: block;
    }
}
