@import 'reset.css';
@import 'common.css';

/* header */
#header{
  position: fixed;
  top: -70px;
  left: 0;
  width: 100%;
  z-index: 2;
	transition: top 2s 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
#header.is-active{
  top: 0;
}

.header-inner{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 1820px;
  margin: auto;
  padding: 0 50px;
  font-size: 16px;
  letter-spacing: 0.06em;
  line-height: 1.2;
  font-weight: 400;
  color: #000;
  transition: background 0.3s ease-in-out;
}
.header .logo{
  margin-top: -2px;
  padding: 28px 0;
  transition: padding 0.3s ease-in-out
}
.header .nav-area .nav-list{
  display: flex;
  gap: 30px;
}
.header .nav-area .nav-item{
  width: 130px;
  padding:28px 0;
  transition: padding 0.3s ease-in-out;
}
.header .nav-area a{
  display: block;
  font-size: 18px;
  letter-spacing: 0.06em;
  font-weight: 400;
}

.header .nav-area .sub-menu-box{
  display: none;
  padding: 40px 0 16px;

}
.header .nav-area .sub-menu-box .sub-wrap { 
  display: contents;
}
.header .nav-area .sub-menu-box ul { 
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.header .nav-area .sub-menu-box a { 
  font-size: 14px;
  white-space: nowrap;
}
.header .btn-menu {
  width: 20px;
}
.header.is-scroll {
  background: rgba(255, 255, 255, 0.50);
  backdrop-filter: blur(10px);
}
.header.is-scroll .nav-item {
  padding: 44px 0;
}
.header.is-scroll .logo {
  padding: 44px 0;
}

/* GNB 모바일 모달 */
.header .allmenu-btn { display:none; }
.header .allmenu-wrap { display:none;}
.gnb-modal{
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  z-index: 5;
  color: #fff;
  transform: translateX(-100%);
  transition: transform 450ms cubic-bezier(0.51, 0.01, 0.2, 1);
}
.gnb-modal.is-open{
  transform: translateX(0);
}
.gnb-modal::before{
  position: absolute;
  inset: 0;
  background: url("/assets/images/common/m_side_bg.png");
  background-size: 100%;
  pointer-events: none;
  z-index: -1;
  content: '';
}
.gnb-modal .head {
  display: flex;
  justify-content: space-between;
  padding: 28px 20px;
  }
.gnb-modal .head .side-logo {
  display: block;
  filter: invert(1);
  width: 123px;
}
.gnb-modal .btn-close{
  width: 16px;
  height: 16px;
}
.gnb-modal .nav {
  padding: 60px 20px;
  overflow-y: auto;
}
.gnb-modal .nav-item {
  padding: 17px 0;
  font-size: 22px;
  line-height: 1.1;
}
.gnb-modal .nav-item > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.gnb-modal .nav-item:has(.sub-nav-box) > a::after {
  width: 17px;
  height: 10px;
  background: url("/assets/images/common/m_ic_expand.png") no-repeat;
  background-size: 100%;
  content: '';
}
.gnb-modal .sub-nav-box {
  display: none;
}
.gnb-modal .sub-nav-list {
  padding-top: 24px;
}
.gnb-modal .sub-nav-item {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.1;
}
.gnb-modal .sub-nav-item + .sub-nav-item {
  padding-top: 20px;
}
.gnb-modal .addr {
  margin-top: auto;
  padding: 30px 20px 35px;
  color: #999;
  font-size: 13px;
  line-height: 1.5;
  border-top: 1px solid #33333381;
}
.gnb-modal .addr p{
  padding-bottom: 4px;
}

/* footer */
#footer{
  position: relative;
  padding: 60px 0;
  background-color: #000001;
  color: #fff;
  overflow: hidden;
}
.footer-inner{
  position: relative;
  width: 100%;
  max-width: 1820px;
  margin: auto;
  padding: 0 50px;
}
.footer-cont{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.footer .top-btn { 
  position: absolute;
  top: 0;
  right: 20px;
  width: 42px;
  height: 42px;
}
.footer .footer-nav .nav-list{
  display: flex;
  gap: 30px;
}
.footer .footer-nav a{
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #fff;
  transition: opacity 0.3s;
}
.footer .footer-address{
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-style: normal;
  line-height: 1.5;
  text-align: center;
  color: #999;
}
.footer .footer-address a{ color: inherit; }
.footer .group-sub{
  font-size: 12px;
  line-height: 1.5;
  color: #999;
}

/* ── nav-auth (로그인/로그아웃 버튼) ─── */
.header .nav-area .nav-auth{
  display: flex;
  align-items: center;
  gap: 0;
}
.header .nav-area .nav-logout-btn span,
.header .nav-area .nav-logout-btn{
  font-size: 18px;
  letter-spacing: 0.06em;
  font-weight: 400;
  color: inherit;
}
/* footer 카피라이트 */
.footer-copy{
  font-size: 12px;
  color: #666;
  letter-spacing: 0.02em;
}
