#main-header {
    position: fixed; top: 0; width: 100%; height: 80px;
    z-index: 1000; transition: all 0.3s ease;
    background: transparent; /* 초기값 투명 */
}

/* 스크롤 시 추가될 클래스 */
#main-header.scrolled {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-inner {
    max-width: 1200px; margin: 0 auto; display: flex;
    justify-content: space-between; align-items: center; height: 100%;
}

.gnb ul { display: flex; list-style: none; }
.gnb ul li { margin-left: 30px; }
.gnb ul li a { text-decoration: none; color: #333; font-weight: 500; }

/* 햄버거 버튼 스타일 (기본 숨김) */
.m-menu-btn { display: none; font-size: 30px; cursor: pointer; }

@media (max-width: 1024px) {
    .m-menu-btn { display: block; }
    .gnb {
        position: fixed; top: 0; right: -100%; width: 70%; height: 100vh;
        background: #fff; transition: 0.3s; padding: 100px 40px;
        box-shadow: -10px 0 20px rgba(0,0,0,0.1);
    }
    .gnb.active { right: 0; }
    .gnb ul { flex-direction: column; }
    .gnb ul li { margin: 20px 0; }
}