/* =====================
    햄버거
===================== */
.hamburger {height: 40px; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 6px; cursor: pointer; background: none; border: none; flex-shrink: 0;}
.hamburger img {width: 36px; height: 36px;}

/* =====================
    메가 패널
===================== */

#col-highlight {position: absolute; top: 0; bottom: 0; background: rgba(42, 52, 65, 0.93); pointer-events: none; z-index: 0; width: 0;}
#active-bar {position: absolute; top: 0; height: 2px; background: #b98742; z-index: 2; width: 0; transition: left 0.25s ease, width 0.25s ease;}

#mega-panel-body {position: relative; padding-bottom: 28px;}


@media (max-width:767px) {

#site-header {position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: 76px; background: #374353; transition: background 0.4s ease, box-shadow 0.4s ease;}
.header-inner {margin: 0 auto; height: 100%; display: flex; justify-content: space-between; align-items: center; padding: 0 20px;}

.logo-wrap {flex-shrink: 0; width: 140px; height: 50px; position: relative; display: block;}
.logo-wrap img {position: absolute; top: 50%; left: 0; transform: translateY(-50%); width: 80%; height: auto; transition: opacity 0.4s ease;}
.logo-wrap .logo-white {opacity: 1;}
.logo-wrap .logo-color {opacity: 0;}

.gnb-wrap {display: none;}

/* =====================
    메가 패널
===================== */
#mega-panel {position: fixed; top: 76px; left: 0; right: 0; background: rgba(55,67,83,1); visibility: hidden; opacity: 0; z-index: 999; transition: opacity 0.4s ease-out, visibility 0.4s ease-out;}
#mega-panel.open {visibility: visible; opacity: 1;}

.sub-group {position: absolute; top: 0; bottom: 0; opacity: 0.45; z-index: 1; min-width: 120px; text-align: center; display: flex; flex-direction: column; justify-content: flex-start; padding-top: 22px;}
.sub-group.active { opacity: 1; }

.sub-group ul {list-style: none;}
.sub-group ul li {margin-bottom: 10px;}
.sub-group ul li a {font-size: 14px; color: rgba(255,255,255,0.85); text-decoration: none; font-weight: 500; letter-spacing: 0.02em; display: inline-block; position: relative; padding: 2px 0; white-space: nowrap; transition: color 0.2s;}
.sub-group ul li a::before {content: ''; position: absolute; left: -14px; top: 50%; transform: translateY(-50%) scale(0); width: 5px; height: 5px; border-radius: 50%; background: #b98742; opacity: 0; transition: opacity 0.2s, transform 0.2s;}
.sub-group ul li a:hover {color: #fff; text-decoration: none;}
.sub-group ul li a:hover::before {opacity: 1; transform: translateY(-50%) scale(1);}
 
/* =====================
    전체화면 메뉴
===================== */
#fullmenu {position: fixed; inset: 0; z-index: 2000; background: rgba(55,67,83,1); opacity: 0; pointer-events: none; transition: opacity 0.35s ease; overflow-y: scroll;}
#fullmenu.open {opacity: 1; pointer-events: all;}
.fullmenu-close {position: absolute; top: 24px; right: 40px; width: 48px; height: 48px; cursor: pointer; background: none; border: none;}
.fullmenu-close::before, .fullmenu-close::after {content: ''; position: absolute; top: 50%; left: 50%; width: 28px; height: 2px; background: #fff; border-radius: 2px;}
.fullmenu-close::before {transform: translate(-50%,-50%) rotate(45deg);}
.fullmenu-close::after  {transform: translate(-50%,-50%) rotate(-45deg);}
.fullmenu-close:hover::before,
.fullmenu-close:hover::after {background: #b98742;}
.fullmenu-body {width: 100%; margin: 0 auto; padding: 30px 0;}
.fullmenu-col {width: 100%; margin-top: 50px;padding: 0 30px;}
.fullmenu-col:last-child {border-right: none;}
.col-num {font-size: 13px; color: #b98742; font-weight: 700; letter-spacing: 0.12em; margin-bottom: 10px;}
.col-title {display: block; font-size: 22px; font-weight: 700; color: #fff; text-decoration: none; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.15); transition: color 0.2s;}
.col-title:hover {color: #b98742;}
.fullmenu-col ul {list-style: none;}
.fullmenu-col ul li {margin-bottom: 12px;}
.fullmenu-col ul li a {font-size: 15px; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s;}
.fullmenu-col ul li a:hover {color: #fff;}

}

@media (min-width:768px) and (max-width:1199px) {
    
#site-header {position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: 76px; background: #374353; transition: background 0.4s ease, box-shadow 0.4s ease;}
.header-inner {margin: 0 auto; width: 100%; height: 100%; display: flex; justify-content: space-between; align-items: center; padding: 0 30px;}

.logo-wrap {flex-shrink: 0; width: 120px; height: 50px; position: relative; display: block;}
.logo-wrap img {position: absolute; top: 50%; left: 0; transform: translateY(-50%); width: 120px; height: auto; transition: opacity 0.4s ease;}
.logo-wrap .logo-white {opacity: 1;}
.logo-wrap .logo-color {opacity: 0;}

/* .gnb-wrap {display: none;} */
.gnb-wrap {flex: 1; display: flex; justify-content: flex-end; min-width: 0;}
.gnb {display: flex; list-style: none; height: 76px;}
.gnb > li {height: 100%;}
.gnb > li > a {display: flex; align-items: center; height: 100%; padding: 0 clamp(8px, 1.6vw, 18px); font-size: clamp(14px, 1.6vw, 17px); letter-spacing: 0; color: #fff; text-decoration: none; letter-spacing: 0.04em; white-space: nowrap; font-weight: 600; transition: color 0.4s ease;}
/* 호버된 gnb li 강조 */
.gnb > li.is-active > a {font-weight: 700; background: rgba(42, 52, 65, 0.93); color: #fff !important;}

/* =====================
    메가 패널
===================== */
#mega-panel {position: fixed; top: 76px; left: 0; right: 0; background: rgba(55,67,83,1); visibility: hidden; opacity: 0; z-index: 999; transition: opacity 0.4s ease-out, visibility 0.4s ease-out;}
#mega-panel.open {visibility: visible; opacity: 1;}

.sub-group {position: absolute; top: 0; bottom: 0; opacity: 0.45; z-index: 1; min-width: 120px; text-align: center; display: flex; flex-direction: column; justify-content: flex-start; padding-top: 22px;}
.sub-group.active { opacity: 1; }

.sub-group ul {list-style: none;}
.sub-group ul li {margin-bottom: 10px;}
.sub-group ul li a {font-size: 14px; color: rgba(255,255,255,0.85); text-decoration: none; font-weight: 500; letter-spacing: 0.02em; display: inline-block; position: relative; padding: 2px 0; white-space: nowrap; transition: color 0.2s;}
.sub-group ul li a::before {content: ''; position: absolute; left: -14px; top: 50%; transform: translateY(-50%) scale(0); width: 5px; height: 5px; border-radius: 50%; background: #b98742; opacity: 0; transition: opacity 0.2s, transform 0.2s;}
.sub-group ul li a:hover {color: #fff; text-decoration: none;}
.sub-group ul li a:hover::before {opacity: 1; transform: translateY(-50%) scale(1);}

/* =====================
    전체화면 메뉴
===================== */
#fullmenu {position: fixed; inset: 0; z-index: 2000; background: rgba(55,67,83,1); opacity: 0; pointer-events: none; transition: opacity 0.35s ease; overflow-y: scroll;}
#fullmenu.open {opacity: 1; pointer-events: all;}
.fullmenu-close {position: absolute; top: 24px; right: 40px; width: 48px; height: 48px; cursor: pointer; background: none; border: none;}
.fullmenu-close::before, .fullmenu-close::after {content: ''; position: absolute; top: 50%; left: 50%; width: 28px; height: 2px; background: #fff; border-radius: 2px;}
.fullmenu-close::before {transform: translate(-50%,-50%) rotate(45deg);}
.fullmenu-close::after  {transform: translate(-50%,-50%) rotate(-45deg);}
.fullmenu-close:hover::before,
.fullmenu-close:hover::after {background: #b98742;}
.fullmenu-body {display: flex; flex-wrap: wrap; justify-content: space-between; width: 100%; margin: 0 auto; padding: 120px 0;}
.fullmenu-col {width: 50%; padding: 0 48px;}
.fullmenu-col:nth-child(3), .fullmenu-col:nth-child(4), .fullmenu-col:nth-child(5), .fullmenu-col:nth-child(6) {margin-top: 50px;}
.fullmenu-col:last-child {border-right: none;}
.col-num {font-size: 13px; color: #b98742; font-weight: 700; letter-spacing: 0.12em; margin-bottom: 10px;}
.col-title {display: block; font-size: 22px; font-weight: 700; color: #fff; text-decoration: none; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.15); transition: color 0.2s;}
.col-title:hover {color: #b98742;}
.fullmenu-col ul {list-style: none;}
.fullmenu-col ul li {margin-bottom: 12px;}
.fullmenu-col ul li a {font-size: 15px; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s;}
.fullmenu-col ul li a:hover {color: #fff;}

}

@media (min-width:1200px){

#site-header {position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: 84px; background: #374353; transition: background 0.4s ease, box-shadow 0.4s ease;}
.header-inner {margin: 0 auto; height: 100%; display: flex; align-items: center; padding: 0 80px;}

.logo-wrap {flex-shrink: 0; width: 200px; height: 50px; position: relative; display: block;}
.logo-wrap img {position: absolute; top: 50%; left: 0; transform: translateY(-50%); width: 200px; height: auto; transition: opacity 0.4s ease;}
.logo-wrap .logo-white {opacity: 1;}
.logo-wrap .logo-color {opacity: 0;}

.gnb-wrap {flex: 1; display: flex; justify-content: flex-end;}
.gnb {display: flex; list-style: none; height: 84px;}
.gnb > li {height: 100%;}
.gnb > li > a {display: flex; align-items: center; height: 100%; padding: 0 clamp(30px, 1.6vw, 40px); font-size: clamp(16px, 1.6vw, 22px); color: #fff; text-decoration: none; letter-spacing: 0.04em; white-space: nowrap; font-weight: 600; transition: color 0.4s ease;}

/* 호버된 gnb li 강조 */
.gnb > li.is-active > a {font-weight: 700; background: rgba(42, 52, 65, 0.93); color: #fff !important;}

/* =====================
    메가 패널
===================== */
#mega-panel {position: fixed; top: 84px; left: 0; right: 0; background: rgba(55,67,83,1); visibility: hidden; opacity: 0; z-index: 999; transition: opacity 0.4s ease-out, visibility 0.4s ease-out;}
#mega-panel.open {visibility: visible; opacity: 1;}

.sub-group {position: absolute; top: 0; bottom: 0; opacity: 0.45; z-index: 1; min-width: 120px; text-align: center; display: flex; flex-direction: column; justify-content: flex-start; padding-top: 22px;}
.sub-group.active { opacity: 1; }

.sub-group ul {list-style: none;}
.sub-group ul li {margin-bottom: 10px;}
.sub-group ul li a {font-size: 16px; color: rgba(255,255,255,0.85); text-decoration: none; font-weight: 500; letter-spacing: 0.02em; display: inline-block; position: relative; padding: 2px 0; white-space: nowrap; transition: color 0.2s;}
.sub-group ul li a::before {content: ''; position: absolute; left: -14px; top: 50%; transform: translateY(-50%) scale(0); width: 5px; height: 5px; border-radius: 50%; background: #b98742; opacity: 0; transition: opacity 0.2s, transform 0.2s;}
.sub-group ul li a:hover {color: #fff; text-decoration: none;}
.sub-group ul li a:hover::before {opacity: 1; transform: translateY(-50%) scale(1);}

/* =====================
    전체화면 메뉴
===================== */
#fullmenu {position: fixed; inset: 0; z-index: 2000; background: rgba(55,67,83,1); opacity: 0; pointer-events: none; transition: opacity 0.35s ease;}
#fullmenu.open {opacity: 1; pointer-events: all;}
.fullmenu-close {position: absolute; top: 24px; right: 40px; width: 48px; height: 48px; cursor: pointer; background: none; border: none;}
.fullmenu-close::before, .fullmenu-close::after {content: ''; position: absolute; top: 50%; left: 50%; width: 28px; height: 2px; background: #fff; border-radius: 2px;}
.fullmenu-close::before {transform: translate(-50%,-50%) rotate(45deg);}
.fullmenu-close::after  {transform: translate(-50%,-50%) rotate(-45deg);}
.fullmenu-close:hover::before,
.fullmenu-close:hover::after {background: #b98742;}
.fullmenu-body {display: flex; justify-content: center; width: 1400px; margin: 0 auto; padding: 120px 0;}
.fullmenu-col {flex: 1; padding: 0 36px; border-right: 1px solid rgba(255,255,255,0.1);}
.fullmenu-col:last-child {border-right: none;}
.col-num {font-size: 15px; color: #b98742; font-weight: 700; letter-spacing: 0.12em; margin-bottom: 10px;}
.col-title {display: block; font-size: 24px; font-weight: 700; color: #fff; text-decoration: none; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.15); transition: color 0.2s;}
.col-title:hover {color: #b98742;}
.fullmenu-col ul {list-style: none;}
.fullmenu-col ul li {margin-bottom: 12px;}
.fullmenu-col ul li a {font-size: 18px; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s;}
.fullmenu-col ul li a:hover {color: #fff;}

}