@charset "utf-8";

/* ============================================
   WRAP / CONTAINER
   ============================================ */
#wrap {
  overflow: hidden;
}

#container {
  display: block;
}

/* ============================================
   HEADER
   ============================================ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: var(--header-h);
  background: transparent;
  transition: background-color 0.2s, box-shadow 0.2s;
}

#header.is-fixed {
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

#header .header-inner {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 var(--edge-gap);
}

#header .logo {
  flex-shrink: 0;
}

#header .logo img {
  display: block;
  width: 134px;
  height: 23px;
}

@media (max-width: 1280px) {
  :root {
    --edge-gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 60px;
    --edge-gap: 20px;
  }

  #header .logo img {
    width: 112px;
    height: 19px;
  }
}

/* ============================================
   GNB
   ============================================ */
.gnb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 45px;
  align-items: center;
}

.gnb > li {
  flex-shrink: 0;
}

.gnb .gnb-link {
  display: block;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.32px;
  white-space: nowrap;
  color: var(--color-text);
  transition: color 0.2s;
}

.gnb .gnb-link:hover,
.gnb .gnb-link.is-active {
  color: var(--color-primary);
}

/* 준비중 메뉴 — 클릭 불가 */
.gnb .gnb-link.is-disabled {
  color: rgba(0, 0, 0, 0.25);
  cursor: default;
  pointer-events: none;
}

@media (max-width: 1280px) {
  .gnb {
    gap: 28px;
  }

  .gnb .gnb-link {
    font-size: 15px;
  }
}

@media (max-width: 1024px) {
  .gnb {
    position: fixed;
    top: var(--header-h);
    left: 0;
    transform: none;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    width: 100%;
    padding: 10px 0 20px;
    background: #fff;
    border-top: 1px solid var(--color-border);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s, visibility 0.2s;
  }

  .gnb.is-open {
    visibility: visible;
    opacity: 1;
  }

  .gnb .gnb-link {
    padding: 16px var(--edge-gap);
    font-size: 16px;
  }
}

/* ============================================
   HEADER UTIL
   ============================================ */
.header-util {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-left: auto;
}

.btn-menu {
  display: none;
  position: relative;
  width: 24px;
  height: 24px;
}

.btn-menu span {
  position: absolute;
  left: 2px;
  width: 20px;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.2s, opacity 0.2s;
}

.btn-menu span:nth-child(1) { top: 6px; }
.btn-menu span:nth-child(2) { top: 11px; }
.btn-menu span:nth-child(3) { top: 16px; }

.btn-menu.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.btn-menu.is-open span:nth-child(2) { opacity: 0; }
.btn-menu.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1024px) {
  .btn-menu {
    display: block;
  }
}
