/* === MIDDLE KINGDOM · SHARED STYLES === */

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

/* ─── TOKENS ──────────────────────────────── */
:root {
  --red:       #C0392B;
  --red-dark:  #922B21;
  --red-light: #FAEAE8;
  --gold:      #C9962A;
  --gold-light:#FBF3E0;
  --ink:       #1A1209;
  --ink-mid:   #3D2E1A;
  --mist:      #F5F1EB;
  --mist-dark: #E8E0D4;
  --white:     #FFFDF9;
  --text:      #2C1F0F;
  --muted:     #6B5744;
  --nav-h:     64px;
}

/* ─── RESET ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--white); color: var(--text); overflow-x: hidden; }
a { text-decoration: none; }
img { display: block; width: 100%; object-fit: cover; }

/* ─── NAV (bulletproof) ───────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  height: var(--nav-h);
  background: #FFFDF9;
  border-bottom: 3px solid #C0392B;
  display: flex;
  align-items: center;
  padding: 0 2.5rem;
  gap: 2rem;
}
.site-nav__links {
  display: flex;
  list-style: none;
  height: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
}
.site-nav__links::-webkit-scrollbar { display: none; }
.site-nav__links li { display: flex; }
.site-nav__links a {
  display: flex;
  align-items: center;
  padding: 0 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #2C1F0F !important;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
  transition: color 0.15s, border-color 0.15s;
}
.site-nav__links a:hover { color: #C0392B !important; }
.site-nav__links a.active { color: #C0392B !important; border-bottom-color: #C0392B; }

/* ─── HERO ────────────────────────────────── */
.page-hero {
  margin-top: var(--nav-h);
  background: var(--ink);
  padding: 64px 2.5rem 56px;
  position: relative;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
}
.page-hero__inner { max-width: 1100px; margin: 0 auto; width: 100%; position: relative; z-index: 2; }
.page-hero__eyebrow { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem; }
.page-hero__title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3rem); color: #FFFDF9; line-height: 1.1; margin-bottom: 0.75rem; }
.page-hero__title em { font-style: italic; color: var(--gold); }
.page-hero__sub { font-size: 0.95rem; color: rgba(255,253,249,0.5); line-height: 1.75; max-width: 520px; }
.page-hero__deco { position: absolute; right: 4rem; top: 50%; transform: translateY(-50%); font-size: 10rem; line-height: 1; color: rgba(201,150,42,0.06); font-family: serif; pointer-events: none; user-select: none; }

/* ─── CONTENT WRAPPER ─────────────────────── */
.page-body { max-width: 1100px; margin: 0 auto; padding: 56px 2.5rem 80px; }

/* ─── TYPE ────────────────────────────────── */
.eyebrow { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin-bottom: 0.4rem; }
.section-heading { font-family: 'Playfair Display', serif; font-size: clamp(1.4rem, 2.5vw, 2rem); color: var(--ink); line-height: 1.2; margin-bottom: 0.75rem; }
.section-sub { font-size: 0.93rem; line-height: 1.8; color: var(--muted); max-width: 600px; margin-bottom: 2rem; }
.redline { width: 36px; height: 2px; background: var(--red); margin-bottom: 1.25rem; }

/* ─── GRID ────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }

/* ─── CARD ────────────────────────────────── */
.card { background: var(--white); border: 1px solid var(--mist-dark); padding: 1.5rem; transition: border-color 0.2s, box-shadow 0.2s; }
.card:hover { border-color: var(--gold); box-shadow: 0 4px 20px rgba(26,18,9,0.06); }
.card--dark { background: var(--ink); border: 1px solid rgba(255,255,255,0.07); padding: 1.75rem; }
.card--mist { background: var(--mist); border: none; padding: 1.5rem; }

/* ─── IMAGE CARD ──────────────────────────── */
.img-card { position: relative; overflow: hidden; border-radius: 2px; }
.img-card img { height: 220px; transition: transform 0.4s ease; }
.img-card:hover img { transform: scale(1.04); }
.img-card__body { padding: 1.1rem 1.25rem; background: var(--white); border: 1px solid var(--mist-dark); border-top: none; }
.img-card__label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--red); margin-bottom: 0.3rem; }
.img-card__title { font-family: 'Playfair Display', serif; font-size: 1.05rem; color: var(--ink); margin-bottom: 0.35rem; }
.img-card__desc { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }

/* ─── HERO IMG OVERLAY CARD ───────────────── */
.dest-card { position: relative; overflow: hidden; border-radius: 2px; cursor: pointer; }
.dest-card img { height: 280px; transition: transform 0.5s ease; }
.dest-card:hover img { transform: scale(1.05); }
.dest-card--tall img { height: 380px; }
.dest-card__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,18,9,0.88) 0%, rgba(26,18,9,0.1) 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; }
.dest-card__region { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.3rem; }
.dest-card__name { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: white; margin-bottom: 0.35rem; }
.dest-card__desc { font-size: 0.8rem; color: rgba(255,255,255,0.65); line-height: 1.5; }

/* ─── LISTS ───────────────────────────────── */
.arrow-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.arrow-list li { display: flex; align-items: baseline; gap: 8px; font-size: 0.87rem; color: var(--muted); line-height: 1.65; }
.arrow-list li::before { content: '→'; color: var(--gold); font-size: 0.72rem; flex-shrink: 0; }
.arrow-list--light li { color: rgba(255,253,249,0.65); }

/* ─── TAGS ────────────────────────────────── */
.tag { display: inline-block; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; border-radius: 2px; }
.tag--red   { background: var(--red-light); color: var(--red); }
.tag--gold  { background: var(--gold-light); color: #7A5A0A; }
.tag--green { background: #E6F4EA; color: #1E6E3A; }
.tag--warn  { background: rgba(192,57,43,0.1); border: 1px solid rgba(192,57,43,0.3); color: #922B21; }
.tag--ok    { background: rgba(30,110,58,0.1); border: 1px solid rgba(30,110,58,0.3); color: #1E6E3A; }

/* ─── FACT STRIP ──────────────────────────── */
.fact-strip { background: var(--red); overflow-x: auto; scrollbar-width: none; white-space: nowrap; display: flex; }
.fact-strip::-webkit-scrollbar { display: none; }
.fact-item { display: inline-flex; align-items: center; gap: 10px; padding: 18px 28px; border-right: 1px solid rgba(255,255,255,0.15); flex-shrink: 0; }
.fact-item span { font-size: 0.8rem; color: rgba(255,255,255,0.85); }
.fact-item strong { color: white; font-weight: 600; }

/* ─── BANNER ──────────────────────────────── */
.banner { padding: 1.25rem 1.75rem; border-radius: 2px; margin-bottom: 2rem; }
.banner--green { background: rgba(30,110,58,0.08); border: 1px solid rgba(30,110,58,0.25); }
.banner--amber { background: rgba(201,150,42,0.09); border: 1px solid rgba(201,150,42,0.3); }
.banner--red   { background: rgba(192,57,43,0.08); border: 1px solid rgba(192,57,43,0.25); }
.banner__label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.35rem; }
.banner--green .banner__label { color: #1E6E3A; }
.banner--amber .banner__label { color: #7A5A0A; }
.banner--red   .banner__label { color: var(--red); }
.banner__title { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--ink); margin-bottom: 0.4rem; }
.banner__body  { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }

/* ─── TABLE ───────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.87rem; }
.data-table td, .data-table th { padding: 0.8rem 1rem; border-bottom: 1px solid var(--mist-dark); text-align: left; }
.data-table th { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); background: var(--mist); }
.data-table td:last-child { color: var(--ink); font-weight: 500; }

/* ─── SPACING ─────────────────────────────── */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* ─── DARK SECTION ────────────────────────── */
.dark-section { background: var(--ink); padding: 3rem 2.5rem; }
.dark-section .eyebrow { color: var(--gold); }
.dark-section .section-heading { color: #FFFDF9; }
.dark-section .section-sub { color: rgba(255,253,249,0.5); }
.dark-section__inner { max-width: 1100px; margin: 0 auto; }

/* ─── FOOTER ──────────────────────────────── */
.site-footer { background: var(--ink); padding: 3rem 2.5rem 2rem; border-top: 1px solid rgba(255,255,255,0.06); }
.site-footer__inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; align-items: start; }
.site-footer__brand p { font-size: 0.83rem; color: rgba(255,255,255,0.3); line-height: 1.7; margin-top: 0.5rem; }
.site-footer__logo { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--gold); }
.site-footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem 1rem; list-style: none; }
.site-footer__nav a { font-size: 0.78rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.08em; transition: color 0.15s; }
.site-footer__nav a:hover { color: var(--gold); }
.site-footer__copy { max-width: 1100px; margin: 2.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.06); font-size: 0.72rem; color: rgba(255,255,255,0.2); }

/* ─── SCROLLBAR ───────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--mist); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 2px; }

/* ─── ANIMATIONS ──────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.fade-up   { animation: fadeUp 0.55s ease both; }
.fade-up-2 { animation: fadeUp 0.55s 0.1s ease both; }
.fade-up-3 { animation: fadeUp 0.55s 0.2s ease both; }

/* ─── MOBILE ──────────────────────────────── */
@media (max-width: 860px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .page-body { padding: 40px 1.25rem 60px; }
  .page-hero { padding: 48px 1.25rem 40px; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .site-footer__nav { grid-template-columns: repeat(2, 1fr); }
  .site-nav { padding: 0 1rem; gap: 0; }
  .site-nav__links a { padding: 0 0.6rem; font-size: 0.72rem; }
  .dark-section { padding: 2.5rem 1.25rem; }
}

/* food page */
.food-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 3rem;
}
.food-card {
  border: 1px solid #E8E0D4;
  border-radius: 2px;
  overflow: hidden;
  background: #FFFDF9;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.food-card:hover {
  box-shadow: 0 6px 24px rgba(26,18,9,0.1);
  transform: translateY(-3px);
}
.food-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}
.food-card__body {
  padding: 1.25rem;
  flex: 1;
}
.food-card__meta { display:flex; align-items:center; gap:8px; margin-bottom:0.4rem; flex-wrap:wrap; }
.food-card__name { font-family:"Playfair Display",serif; font-size:1.05rem; color:#1A1209; font-weight:700; }
.food-card__sub { font-size:0.72rem; color:#6B5744; margin-bottom:0.5rem; font-style:italic; }
.food-card__desc { font-size:0.83rem; color:#6B5744; line-height:1.65; }
.food-card--featured { grid-column: span 1; }
.food-card--featured img { height: 260px; }
@media (max-width: 860px) {
  .food-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .food-grid { grid-template-columns: 1fr; }
}

