/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ===== TOKENS ===== */
:root {
  /* Colors — drawn from the real signage */
  --green-deep:    #1b3a2d;
  --green-mid:     #2d5a40;
  --green-light:   #3d7a56;
  --gold:          #c9a84c;
  --gold-light:    #e8c96a;
  --cream:         #f5f0e6;
  --cream-dark:    #ece5d4;
  --cream-card:    #faf7f0;
  --ink:           #1a1a18;
  --ink-mid:       #3d3d38;
  --ink-soft:      #6b6b60;
  --white:         #ffffff;
  --red-accent:    #c0392b;

  /* Type */
  --font-display: 'Noto Serif SC', 'Songti SC', serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Layout */
  --max-w: 1100px;
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;

  /* Transitions */
  --ease: all 0.3s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul { list-style: none; }

/* ===== NAV ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green-deep);
  border-bottom: 2px solid var(--gold);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-6);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  gap: 1px;
}

.logo-img {
  height: 48px;
  aspect-ratio: 1/1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}
.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: var(--ease);
  padding: var(--sp-1) 0;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}
.lang-toggle button {
  padding: var(--sp-1) var(--sp-3);
  font-size: var(--text-xs);
  font-family: var(--font-body);
  color: rgba(255,255,255,0.6);
  transition: var(--ease);
  font-weight: 500;
}
.lang-toggle button.active {
  background: var(--gold);
  color: var(--green-deep);
  font-weight: 600;
}
.lang-toggle button:hover:not(.active) { color: var(--white); background: rgba(255,255,255,0.08); }

/* Mobile nav toggle */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  transition: var(--ease);
  border-radius: 2px;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-menu {
  display: none;
  background: var(--green-deep);
  border-top: 1px solid rgba(201,168,76,0.2);
  padding: var(--sp-4) var(--sp-6);
}
.nav-mobile-menu.open { display: block; }
.nav-mobile-menu a {
  display: block;
  color: rgba(255,255,255,0.85);
  font-size: var(--text-lg);
  font-weight: 500;
  padding: var(--sp-3) 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: var(--ease);
}
.nav-mobile-menu a:last-child { border-bottom: none; }
.nav-mobile-menu a:hover, .nav-mobile-menu a[aria-current="page"] { color: var(--gold); padding-left: var(--sp-2); }

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--green-deep);
  border-top: 2px solid var(--gold);
  color: rgba(255,255,255,0.6);
  padding: var(--sp-8) var(--sp-6);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
}
.footer-inner .zh-name { font-family: var(--font-display); color: var(--gold); font-size: var(--text-sm); }
.footer-inner p { font-size: var(--text-xs); }
.footer-inner p a { color: var(--gold); }

/* ===== SHARED SECTION ===== */
.section-label {
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-mid);
  font-weight: 600;
  margin-bottom: var(--sp-2);
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  background: var(--green-deep);
  color: var(--white);
  font-size: var(--text-base);
  font-weight: 600;
  padding: var(--sp-4) var(--sp-8);
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: var(--ease);
  letter-spacing: 0.01em;
}
.btn-primary:hover { background: var(--green-mid); transform: translateY(-1px); }
.btn-primary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
}
.btn-whatsapp:hover { background: #1fb555; }

.btn-call {
  background: var(--cream-card);
  color: var(--ink);
  border: 2px solid var(--cream-dark);
}
.btn-call:hover { border-color: var(--green-mid); background: var(--cream); }

/* ===== zh / en toggle ===== */
.zh { display: none; }
body.lang-zh .zh { display: block; }
body.lang-zh .en-text { display: none; }
body.lang-zh .zh-text { display: block; }
.zh-text { display: none; }

/* ===== INDEX — HERO ===== */
/* 64px = nav height, ~68px = hours-strip height */
.hero {
  background: var(--green-deep);
  height: calc(100vh - 64px - 68px);
  min-height: 340px;
  max-height: 800px;
  position: relative;
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center;
  opacity: 0.55;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(27,58,45,0.3) 0%, rgba(27,58,45,0.85) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--sp-16) var(--sp-6) var(--sp-12);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  min-height: inherit;
  justify-content: flex-end;
}
.hero-logo-zh {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5rem);
  color: var(--gold);
  line-height: 1;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-2);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--white);
  font-weight: 600;
  margin-bottom: var(--sp-3);
}
.hero-tagline {
  color: rgba(255,255,255,0.75);
  font-size: var(--text-lg);
  margin-bottom: var(--sp-8);
  font-weight: 300;
}
.hero-cta { margin-bottom: var(--sp-2); }
.hero-cta .btn-primary {
  background: var(--gold);
  color: var(--green-deep);
  border-color: var(--gold);
  font-size: var(--text-lg);
  padding: var(--sp-4) var(--sp-10);
}
.hero-cta .btn-primary:hover { background: var(--gold-light); }
.hero-note { font-size: var(--text-xs); color: rgba(255,255,255,0.45); margin-top: var(--sp-2); }

/* ===== INDEX — HOURS ===== */
.hours-strip {
  background: var(--ink);
  padding: var(--sp-5) var(--sp-6);
}
.hours-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
}
.hours-pill {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: var(--sp-2) var(--sp-5);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.8);
  white-space: nowrap;
}
.hours-pill.closed { border-color: rgba(192,57,43,0.4); }
.hours-pill .day { font-weight: 500; color: var(--white); }
.hours-pill .time { color: rgba(255,255,255,0.6); }
.hours-pill .closed-label { color: var(--red-accent); font-weight: 600; }
.hours-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green-light); flex-shrink: 0; }
.hours-pill.closed .dot { background: var(--red-accent); }

/* ===== INDEX — PHOTO STRIP ===== */
.photo-strip {
  padding: 32px 24px;
  background: var(--cream);
}
.photo-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.photo-row {
  display: grid;
  gap: 24px;
}
.photo-row.row-1 {
  grid-template-columns: 1fr;
}
.photo-row.row-1 img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}
.photo-row.row-2 {
  grid-template-columns: 1fr 1fr;
}
.photo-row.row-2 img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

@media (max-width: 640px) {
  .photo-row.row-1 img { 
    height: 150px;
    width: 350px;
  }
  .photo-row.row-2 img {
    height: 150px;
    width: 150px;
  }
}

/* ===== INDEX — INFO STRIP ===== */
.info-strip {
  background: var(--cream-dark);
  border-top: 1px solid rgba(0,0,0,0.06);
  padding: var(--sp-8) var(--sp-6);
}
.info-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-8);
  align-items: flex-start;
  justify-content: space-between;
}
.info-address { flex: 1; min-width: 200px; }
.info-address h3 { font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-soft); font-weight: 600; margin-bottom: var(--sp-2); }
.info-address p { color: var(--ink-mid); font-size: var(--text-sm); line-height: 1.7; }
.info-address a { color: var(--green-mid); font-weight: 500; font-size: var(--text-sm); display: inline-flex; align-items: center; gap: var(--sp-1); margin-top: var(--sp-2); transition: var(--ease); }
.info-address a:hover { color: var(--green-deep); }

.info-platforms { flex: 1; min-width: 200px; }
.info-platforms h3 { font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-soft); font-weight: 600; margin-bottom: var(--sp-3); }
.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  border: 1px solid var(--cream-dark);
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-mid);
  transition: var(--ease);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.platform-badge:hover { border-color: var(--green-light); transform: translateY(-1px); }

/* ===== MENU PAGE — HERO ===== */
.menu-hero {
  background: var(--green-deep);
  padding: var(--sp-12) var(--sp-6) var(--sp-10);
  text-align: center;
  border-bottom: 3px solid var(--gold);
}
.menu-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: var(--sp-2);
}
.menu-hero .zh-subtitle {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--gold);
  letter-spacing: 0.1em;
}

/* ===== MENU — CATEGORY PILLS ===== */
.menu-nav {
  background: var(--white);
  border-bottom: 1px solid var(--cream-dark);
  position: sticky;
  top: 64px;
  z-index: 50;
}
.menu-nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-6);
  display: flex;
  gap: var(--sp-2);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.menu-nav-inner::-webkit-scrollbar { display: none; }
.menu-pill {
  flex-shrink: 0;
  padding: var(--sp-3) var(--sp-5);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-soft);
  border-bottom: 3px solid transparent;
  transition: var(--ease);
  white-space: nowrap;
}
.menu-pill:hover, .menu-pill.active { color: var(--green-deep); border-bottom-color: var(--gold); }

/* ===== MENU — SECTIONS ===== */
.menu-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--sp-8) var(--sp-6) var(--sp-16);
}
.menu-section { margin-bottom: var(--sp-12); }
.menu-section-header {
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-3);
  border-bottom: 2px solid var(--cream-dark);
}
.menu-section-header h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--green-deep);
  font-weight: 700;
}
.menu-section-header .zh-cat {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--gold);
  font-weight: 400;
}
.menu-items { display: flex; flex-direction: column; gap: 0; }
.menu-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.menu-item:last-child { border-bottom: none; }
.menu-item-name {
  font-size: var(--text-base);
  color: var(--ink);
  font-weight: 400;
  flex: 1;
  line-height: 1.4;
}
.menu-item-name .zh-name {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--ink-soft);
  margin-top: 2px;
}
.menu-item-note {
  font-size: var(--text-xs);
  color: var(--ink-soft);
  font-style: italic;
  display: block;
}
.menu-item-price {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--green-deep);
  white-space: nowrap;
  flex-shrink: 0;
}
.menu-item-price.market { color: var(--ink-soft); font-weight: 400; font-size: var(--text-sm); }
.badge-popular {
  display: inline-block;
  background: var(--gold);
  color: var(--green-deep);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: var(--sp-2);
  vertical-align: middle;
}

.menu-sticky-cta {
  position: fixed;
  bottom: var(--sp-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: 80;
  pointer-events: none;
}
.menu-sticky-cta a {
  pointer-events: all;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--green-deep);
  color: var(--white);
  font-weight: 600;
  font-size: var(--text-base);
  padding: var(--sp-4) var(--sp-8);
  border-radius: 100px;
  box-shadow: 0 4px 20px rgba(27,58,45,0.4);
  transition: var(--ease);
  border: 2px solid var(--gold);
}
.menu-sticky-cta a:hover { background: var(--green-mid); transform: translateY(-2px); }

/* ===== ORDER PAGE ===== */
.order-hero {
  background: var(--green-deep);
  padding: var(--sp-12) var(--sp-6) var(--sp-10);
  text-align: center;
  border-bottom: 3px solid var(--gold);
}
.order-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: var(--sp-2);
}
.order-hero .zh-subtitle { font-family: var(--font-display); font-size: var(--text-xl); color: var(--gold); }

.order-main {
  max-width: 700px;
  margin: 0 auto;
  padding: var(--sp-12) var(--sp-6) var(--sp-16);
}

.order-cta-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-bottom: var(--sp-12);
}
.order-cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  padding: var(--sp-8) var(--sp-6);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--ease);
  min-height: 140px;
}
.order-cta-card.whatsapp {
  background: #25D366;
  color: var(--white);
}
.order-cta-card.whatsapp:hover { background: #1db954; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.3); }
.order-cta-card.call {
  background: var(--cream-card);
  border: 2px solid var(--cream-dark);
  color: var(--ink);
}
.order-cta-card.call:hover { border-color: var(--green-mid); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.order-cta-card .icon {
  font-size: 2rem;
  line-height: 1;
}
.order-cta-card .cta-label {
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.2;
}
.order-cta-card .cta-sub {
  font-size: var(--text-sm);
  opacity: 0.75;
}

.order-divider {
  border: none;
  border-top: 2px solid var(--cream-dark);
  margin: var(--sp-10) 0;
}

.hours-table { width: 100%; margin-bottom: var(--sp-12); }
.hours-table caption {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  font-weight: 600;
  text-align: left;
  padding-bottom: var(--sp-4);
}
.hours-table tr { border-bottom: 1px solid var(--cream-dark); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: var(--sp-3) var(--sp-2); font-size: var(--text-base); }
.hours-table .day-col { color: var(--ink); font-weight: 500; width: 55%; }
.hours-table .time-col { color: var(--ink-mid); text-align: right; }
.hours-table .closed-row td { color: var(--red-accent); }
.hours-table .closed-row .day-col { font-weight: 600; }

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--cream-dark);
  margin-bottom: var(--sp-4);
}
.map-embed iframe { display: block; width: 100%; height: 300px; border: none; }
.map-caption { font-size: var(--text-sm); color: var(--ink-soft); }
.map-caption strong { color: var(--ink); }

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .hero-content { padding: var(--sp-10) var(--sp-4) var(--sp-8); }
  .info-inner { flex-direction: column; gap: var(--sp-6); }
  .order-cta-group { grid-template-columns: 1fr; }
  .menu-section-header { flex-direction: column; gap: var(--sp-1); }
  .footer-inner { flex-direction: column; gap: var(--sp-2); text-align: center; }
  .order-cta-card { min-height: 120px; padding: var(--sp-6); }
}



/* ===== FOCUS / A11Y ===== */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}