/* ═══════════════════════════════════════════
   CHINA CHEAT SHEET — Shared Navigation CSS
   Mobile-first, fully responsive
═══════════════════════════════════════════ */

:root {
  --red: #C8352A;
  --gold: #D4A843;
  --ink: #1A1410;
  --paper: #F7F3EE;
  --cream: #EDE8E0;
  --mist: #8B7D6B;
  --white: #FFFFFF;
}

/* ── NAVBAR ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(26,20,16,0.10);
  border-bottom: 2px solid var(--red);
  transition: padding 0.3s;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4rem;
  height: 68px;
  max-width: 1400px;
  margin: 0 auto;
}

/* ── LOGO ── */
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--red);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}
.nav-logo span { color: var(--ink); }

/* ── DESKTOP LINKS ── */
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--red); }
.nav-links a.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* ── CTA BUTTON ── */
.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 0.55rem 1.3rem;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
  border-bottom: none !important;
}
.nav-cta:hover {
  background: #a82820;
  transform: translateY(-1px);
}

/* ── HAMBURGER BUTTON ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: none;
  border: 1.5px solid rgba(26,20,16,0.2);
  border-radius: 4px;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU OVERLAY ── */
.nav-mobile {
  display: none;
  position: fixed;
  top: 68px;
  left: 0; right: 0;
  background: var(--white);
  box-shadow: 0 8px 32px rgba(26,20,16,0.15);
  z-index: 999;
  padding: 1.5rem 2rem 2rem;
  border-top: 1px solid var(--cream);
  flex-direction: column;
  gap: 0;
}
.nav-mobile.open { display: flex; }

.nav-mobile a {
  text-decoration: none;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 1rem 0;
  border-bottom: 1px solid var(--cream);
  display: block;
  transition: color 0.2s;
}
.nav-mobile a:hover, .nav-mobile a.active { color: var(--red); }
.nav-mobile a:last-child { border-bottom: none; }

.nav-mobile-cta {
  margin-top: 1.2rem;
  background: var(--red);
  color: var(--white) !important;
  text-align: center;
  padding: 0.9rem;
  border-radius: 3px;
  font-weight: 600;
  border-bottom: none !important;
}
.nav-mobile-cta:hover { background: #a82820; }

/* ══════════════════════════════════
   RESPONSIVE BREAKPOINTS
══════════════════════════════════ */

@media (max-width: 900px) {
  .nav-inner { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}

@media (max-width: 480px) {
  .nav-logo { font-size: 1.15rem; }
}
