/* =============================================================
   한스브릿지 — 공통 NAV 스타일 (모든 페이지 공통)
   v10 — 2026.04.30 — Intro 메뉴 포함, 폰트·간격 통일
   ============================================================= */

/* ── 데스크톱 NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 160;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: rgba(13, 27, 42, 0.92);
  border-bottom: 1px solid rgba(72, 100, 128, 0.3);
}
.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  letter-spacing: 3px;
  color: #F5F7FA;
  text-decoration: none;
}
.logo span { color: #E8610A; }

nav ul {
  list-style: none;
  display: flex;
  gap: 36px;
  align-items: center;
  margin: 0;
  padding: 0;
}
nav ul li a {
  color: #B8C4CF;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1px;
  transition: color 0.2s;
  font-family: inherit;
}
nav ul li a:hover { color: #E8610A; }
nav ul li a.active { color: #E8610A; }

/* 문의하기 CTA 버튼 */
.nav-cta {
  background: #E8610A !important;
  color: #FFFFFF !important;
  padding: 10px 24px !important;
  border-radius: 2px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  transition: background 0.2s !important;
}
.nav-cta:hover {
  background: #FF7A1A !important;
  color: #FFFFFF !important;
}

/* FactoPin 로고 메뉴 */
.fp-nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
  font-size: 20px;
}
.fp-nav-logo .fp-pin { color: #E8610A !important; }

/* ── 햄버거 버튼 ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 210;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #B8C4CF;
  transition: all 0.3s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 드로어 헤더(브랜드) ── */
.drawer-brand-item {
  display: none;
  border-bottom: 1px solid rgba(72, 100, 128, 0.25) !important;
  padding-bottom: 20px !important;
  margin-bottom: 8px;
}
.drawer-brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: 3px;
  color: rgba(245, 247, 250, 0.28);
  pointer-events: none;
}
.drawer-brand span { color: rgba(232, 97, 10, 0.28); }

/* ── 오버레이 ── */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 140;
}
.nav-overlay.open { display: block; }

/* ============================================================
   모바일 (≤768px) — 햄버거 드로어
   ============================================================ */
@media (max-width: 768px) {
  nav { padding: 16px 20px; }

  .hamburger { display: flex; }

  nav ul {
    position: fixed;
    top: 0; right: -100%;
    height: 100vh;
    width: 280px;
    background: #1A2D42;
    flex-direction: column;
    padding: 24px 24px 32px;
    gap: 0;
    transition: right 0.3s;
    z-index: 200;
    overflow-y: auto;
  }
  nav ul.open { right: 0; }

  nav ul li { width: 100%; }
  nav ul li a {
    display: block;
    padding: 16px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(72, 100, 128, 0.25);
    color: #F5F7FA;
  }
  nav ul li:last-child a { border-bottom: none; }

  .drawer-brand-item { display: block; }
  .fp-nav-logo { font-size: 22px !important; }

  /* 드로어 안의 문의하기 CTA — 일반 메뉴 항목과 통일하되 오렌지 강조 */
  .nav-cta {
    display: block !important;
    margin-top: 16px;
    padding: 14px 20px !important;
    text-align: center;
    border-radius: 4px !important;
    font-size: 15px !important;
    border-bottom: none !important;
  }
}
