/* ===== CHINA EXPLORER — Design System ===== */
/* Palette: Ink Navy · Forbidden Red · Jade · Gold · Cream */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Inter:wght@300;400;500;600&family=Noto+Serif:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --ink:        #1a1f2e;
  --navy:       #1e2d4a;
  --red:        #c0392b;
  --red-dark:   #962d22;
  --jade:       #2e7d6b;
  --gold:       #c9993d;
  --cream:      #faf6f0;
  --warm-white: #fff9f4;
  --mist:       #e8e2d9;
  --smoke:      #6b7280;

  --display:    'Playfair Display', Georgia, serif;
  --body:       'Inter', system-ui, sans-serif;
  --serif:      'Noto Serif', Georgia, serif;

  --r-sm:  .5rem;
  --r-md:  1rem;
  --r-lg:  1.5rem;
  --shadow: 0 4px 24px rgba(26,31,46,.10);
  --shadow-lg: 0 12px 48px rgba(26,31,46,.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  font-size: 1rem;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--mist); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* ===== HEADER / NAV ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(30,45,74,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,153,61,.25);
}

.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2rem;
}

.logo {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--warm-white);
  text-decoration: none;
  letter-spacing: -.02em;
}
.logo span { color: var(--gold); }

.nav-links {
  display: flex; gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: rgba(255,249,244,.75);
  text-decoration: none;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color .2s;
}
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: var(--red);
  color: var(--warm-white) !important;
  padding: .45rem 1.1rem;
  border-radius: var(--r-sm);
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--red-dark) !important; color: var(--warm-white) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--warm-white); border-radius: 2px; transition: .3s; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse 60% 50% at 80% 40%, rgba(192,57,43,.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 70%, rgba(46,125,107,.12) 0%, transparent 50%);
}

/* Ink-brush stroke decoration */
.hero-ink {
  position: absolute; right: 0; top: 0; bottom: 0; width: 45%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 800'%3E%3Cellipse cx='400' cy='400' rx='320' ry='380' fill='rgba(201,153,61,0.06)'/%3E%3Cellipse cx='380' cy='380' rx='260' ry='300' fill='rgba(192,57,43,0.05)'/%3E%3C/svg%3E") center/cover no-repeat;
  opacity: .8;
}

/* Vertical Chinese characters decoration */
.hero-hanzi {
  position: absolute; right: 6%; top: 50%; transform: translateY(-50%);
  font-family: var(--serif);
  font-size: 5rem;
  color: rgba(201,153,61,.12);
  writing-mode: vertical-rl;
  letter-spacing: .2em;
  user-select: none;
  line-height: 1;
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 8rem 2rem 4rem;
  max-width: 800px;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(201,153,61,.15);
  border: 1px solid rgba(201,153,61,.4);
  border-radius: 2rem;
  padding: .35rem 1rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before { content: ''; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.8)} }

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  color: var(--warm-white);
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: 1.2rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
  position: relative;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,249,244,.65);
  font-weight: 300;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
}

.btn-primary {
  background: var(--red);
  color: var(--warm-white);
  padding: .85rem 2.2rem;
  border-radius: var(--r-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: transform .2s, box-shadow .2s, background .2s;
  box-shadow: 0 4px 20px rgba(192,57,43,.4);
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(192,57,43,.5); }

.btn-secondary {
  background: transparent;
  color: var(--warm-white);
  padding: .85rem 2.2rem;
  border-radius: var(--r-sm);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  border: 1.5px solid rgba(255,249,244,.3);
  transition: border-color .2s, background .2s;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

/* Scroll indicator */
.scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  color: rgba(255,249,244,.4);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  animation: bounce 2.5s ease-in-out infinite;
}
.scroll-hint svg { width: 18px; height: 18px; }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--ink);
  border-top: 3px solid var(--gold);
}
.stats-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4,1fr);
  divide-x: 1px solid rgba(255,249,244,.08);
}
.stat-item {
  padding: 1.8rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(255,249,244,.08);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: .8rem;
  color: rgba(255,249,244,.5);
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: .3rem;
  display: block;
}

/* ===== SECTION COMMONS ===== */
section { padding: 6rem 2rem; }

.section-inner { max-width: 1200px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 3.5rem; }

.eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .8rem;
}

h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: .8rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--smoke);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Divider with motif */
.divider {
  display: flex; align-items: center; gap: 1rem;
  margin: 0 auto 1.5rem;
  width: fit-content;
}
.divider::before, .divider::after {
  content: '';
  width: 40px; height: 1px;
  background: var(--mist);
}
.divider-motif { color: var(--gold); font-size: 1.1rem; }

/* ===== VISA SECTION ===== */
.visa-section { background: var(--warm-white); }

.visa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.visa-highlight {
  background: linear-gradient(135deg, var(--navy) 0%, var(--ink) 100%);
  border-radius: var(--r-lg);
  padding: 3rem;
  color: var(--warm-white);
  position: relative;
  overflow: hidden;
}
.visa-highlight::before {
  content: '240';
  position: absolute; right: -1rem; bottom: -2rem;
  font-family: var(--display);
  font-size: 12rem;
  font-weight: 900;
  color: rgba(201,153,61,.08);
  line-height: 1;
  pointer-events: none;
}
.visa-badge {
  background: var(--gold);
  color: var(--ink);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: var(--r-sm);
  display: inline-block;
  margin-bottom: 1.5rem;
}
.visa-highlight h3 {
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.visa-highlight p { color: rgba(255,249,244,.7); font-size: .95rem; line-height: 1.8; margin-bottom: 1.5rem; }

.visa-points { list-style: none; display: flex; flex-direction: column; gap: .75rem; }
.visa-points li {
  display: flex; align-items: flex-start; gap: .75rem;
  font-size: .9rem; color: rgba(255,249,244,.8);
}
.visa-points li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .1rem;
}

.visa-cards { display: flex; flex-direction: column; gap: 1rem; }

.visa-card {
  background: var(--warm-white);
  border: 1.5px solid var(--mist);
  border-radius: var(--r-md);
  padding: 1.5rem;
  display: flex; gap: 1.2rem; align-items: flex-start;
  transition: border-color .2s, box-shadow .2s;
}
.visa-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }

.visa-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--cream), var(--mist));
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.visa-card-body h4 {
  font-weight: 700; font-size: .95rem;
  color: var(--ink); margin-bottom: .35rem;
}
.visa-card-body p { font-size: .85rem; color: var(--smoke); line-height: 1.6; }

/* ===== DESTINATIONS ===== */
.destinations-section { background: var(--cream); }

.dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.dest-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--warm-white);
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
  text-decoration: none;
  color: inherit;
  display: flex; flex-direction: column;
}
.dest-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.dest-img {
  height: 200px;
  position: relative;
  overflow: hidden;
}
.dest-img-inner {
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform .5s ease;
}
.dest-card:hover .dest-img-inner { transform: scale(1.06); }

.dest-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,31,46,.7) 0%, transparent 50%);
}

.dest-rank {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--red);
  color: var(--warm-white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: 2rem;
}

.dest-province {
  position: absolute; bottom: .8rem; left: 1rem;
  color: rgba(255,249,244,.7);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dest-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.dest-body h3 {
  font-family: var(--display);
  font-size: 1.25rem; font-weight: 700;
  color: var(--ink); margin-bottom: .5rem;
}
.dest-body p { font-size: .875rem; color: var(--smoke); line-height: 1.7; flex: 1; }
.dest-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.dest-tag {
  background: var(--cream);
  color: var(--smoke);
  font-size: .7rem;
  padding: .2rem .6rem;
  border-radius: 2rem;
  border: 1px solid var(--mist);
  font-weight: 500;
}

/* Featured card (large) */
.dest-card.featured {
  grid-column: span 2;
}
.dest-card.featured .dest-img { height: 280px; }

/* ===== FOOD SECTION ===== */
.food-section {
  background: var(--ink);
  color: var(--warm-white);
}
.food-section h2 { color: var(--warm-white); }
.food-section .section-desc { color: rgba(255,249,244,.6); }
.food-section .eyebrow { color: var(--gold); }

.food-tabs {
  display: flex; gap: .5rem; justify-content: center;
  margin-bottom: 2.5rem; flex-wrap: wrap;
}
.food-tab {
  background: transparent;
  border: 1.5px solid rgba(255,249,244,.15);
  color: rgba(255,249,244,.6);
  padding: .5rem 1.3rem;
  border-radius: 2rem;
  font-size: .85rem; font-weight: 500;
  cursor: pointer;
  transition: all .2s;
  font-family: var(--body);
}
.food-tab.active, .food-tab:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--warm-white);
}

.food-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.food-card {
  background: rgba(255,249,244,.05);
  border: 1px solid rgba(255,249,244,.08);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.food-card:hover { border-color: rgba(201,153,61,.4); transform: translateY(-3px); }

.food-emoji {
  height: 120px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
  background: rgba(255,249,244,.03);
  border-bottom: 1px solid rgba(255,249,244,.06);
}
.food-card-body { padding: 1rem 1.2rem; }
.food-card-body h4 { font-weight: 600; font-size: .95rem; margin-bottom: .35rem; }
.food-card-body .city-tag {
  font-size: .72rem; color: var(--gold);
  font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: .4rem;
}
.food-card-body p { font-size: .82rem; color: rgba(255,249,244,.5); line-height: 1.6; }

/* ===== TRANSPORT SECTION ===== */
.transport-section { background: var(--warm-white); }

.transport-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.transport-card {
  background: var(--cream);
  border-radius: var(--r-md);
  padding: 2rem;
  border: 1.5px solid var(--mist);
  transition: border-color .2s, box-shadow .2s;
}
.transport-card:hover { border-color: var(--jade); box-shadow: var(--shadow); }

.t-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--jade), #1a5c4e);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}
.transport-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .6rem; }
.transport-card p { font-size: .875rem; color: var(--smoke); line-height: 1.75; margin-bottom: 1rem; }

.t-tip {
  background: rgba(46,125,107,.08);
  border-left: 3px solid var(--jade);
  padding: .75rem 1rem;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: .8rem;
  color: var(--jade);
  font-weight: 500;
}

/* ===== HOTEL SECTION ===== */
.hotel-section { background: var(--cream); }

.hotel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.hotel-card {
  background: var(--warm-white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--mist);
  transition: transform .3s, box-shadow .3s;
}
.hotel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.hotel-img-wrap {
  height: 170px;
  background: linear-gradient(135deg, var(--navy), var(--ink));
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}
.hotel-tier {
  position: absolute; top: .8rem; right: .8rem;
  background: var(--gold);
  color: var(--ink);
  font-size: .65rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .25rem .6rem;
  border-radius: 2rem;
}

.hotel-body { padding: 1.4rem; }
.hotel-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: .3rem; }
.hotel-city { font-size: .75rem; color: var(--red); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .6rem; }
.hotel-body p { font-size: .83rem; color: var(--smoke); line-height: 1.65; margin-bottom: 1rem; }
.hotel-price {
  font-size: .88rem; font-weight: 600; color: var(--jade);
}
.hotel-price span { font-size: .75rem; font-weight: 400; color: var(--smoke); }

/* ===== AD PLACEHOLDERS ===== */
.ad-banner {
  background: var(--mist);
  border: 2px dashed rgba(107,114,128,.3);
  border-radius: var(--r-md);
  min-height: 90px;
  display: flex; align-items: center; justify-content: center;
  color: var(--smoke);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin: 0 auto 3rem;
  max-width: 728px;
  text-align: center;
}
.ad-banner-in-content {
  margin: 2.5rem 0;
  min-height: 250px;
  max-width: 100%;
}

/* ===== TIPS SECTION ===== */
.tips-section {
  background: linear-gradient(135deg, var(--navy), var(--ink));
  color: var(--warm-white);
}
.tips-section h2 { color: var(--warm-white); }
.tips-section .eyebrow { color: var(--gold); }

.tips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.tip-card {
  background: rgba(255,249,244,.06);
  border: 1px solid rgba(255,249,244,.1);
  border-radius: var(--r-md);
  padding: 1.8rem;
  display: flex; gap: 1.2rem;
  transition: border-color .2s;
}
.tip-card:hover { border-color: rgba(201,153,61,.4); }
.tip-num {
  font-family: var(--display);
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(201,153,61,.3);
  line-height: 1;
  flex-shrink: 0;
  min-width: 2rem;
}
.tip-content h4 { font-weight: 600; font-size: 1rem; margin-bottom: .4rem; }
.tip-content p { font-size: .875rem; color: rgba(255,249,244,.6); line-height: 1.7; }

/* ===== FOOTER ===== */
footer {
  background: #0f1520;
  color: rgba(255,249,244,.5);
  padding: 4rem 2rem 2rem;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand .logo { display: block; margin-bottom: 1rem; font-size: 1.3rem; }
.footer-brand p { font-size: .85rem; line-height: 1.8; max-width: 260px; }
footer h4 { color: var(--warm-white); font-size: .85rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1rem; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
footer ul a { color: rgba(255,249,244,.5); text-decoration: none; font-size: .875rem; transition: color .2s; }
footer ul a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,249,244,.08);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .8rem;
  max-width: 1200px; margin: 0 auto;
}
.footer-bottom a { color: rgba(255,249,244,.5); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .dest-grid { grid-template-columns: repeat(2,1fr); }
  .dest-card.featured { grid-column: span 2; }
  .food-grid { grid-template-columns: repeat(2,1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  section { padding: 4rem 1.2rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; inset: 0; top: 64px;
    background: rgba(26,31,46,.98);
    padding: 2rem;
    gap: 1.5rem;
    z-index: 99;
  }
  .nav-links.open a { font-size: 1.1rem; }
  .hero h1 { font-size: 2.5rem; }
  .stats-inner { grid-template-columns: repeat(2,1fr); }
  .visa-grid { grid-template-columns: 1fr; }
  .dest-grid { grid-template-columns: 1fr; }
  .dest-card.featured { grid-column: span 1; }
  .transport-grid { grid-template-columns: 1fr; }
  .hotel-grid { grid-template-columns: 1fr; }
  .tips-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
  .hero-hanzi { display: none; }
}

@media (max-width: 480px) {
  .stats-inner { grid-template-columns: repeat(2,1fr); }
  .food-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions a { width: 100%; text-align: center; }
}
