:root {
  --red: #a0262b;
  --red-dark: #7a1c20;
  --gold: #c9973f;
  --gold-light: #e8c887;
  --cream: #fff8f0;
  --ink: #2a1a15;
  --ink-soft: #5a453e;
  --border: #ecdfd2;
  --radius: 10px;
  --max-width: 1140px;
  --shadow: 0 6px 24px rgba(80, 20, 20, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
}

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; }

h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; margin: 0 0 0.4em; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 240, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand-logo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-en { font-family: Georgia, serif; font-weight: bold; font-size: 1.1rem; color: var(--red); }
.brand-zh { font-size: 0.75rem; color: var(--gold); letter-spacing: 0.1em; }

.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.main-nav a:hover { color: var(--red); }
.nav-phone {
  background: var(--red);
  color: #fff !important;
  padding: 8px 14px;
  border-radius: 999px;
}
.nav-phone:hover { background: var(--red-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); display: block; }

/* Hero */
.hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(40, 10, 10, 0.55), rgba(40, 10, 10, 0.75));
}
.hero-content { position: relative; z-index: 1; padding: 32px 20px; max-width: 720px; }
.hero-content h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 0.1em; }
.hero-zh { font-size: 1.4rem; color: var(--gold-light); margin: 0 0 0.6em; letter-spacing: 0.15em; }
.hero-tagline { font-size: 1.1rem; margin-bottom: 0.6em; color: #f4e9dc; }
.hero-hours { font-size: 0.95rem; margin-bottom: 1.6em; color: var(--gold-light); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 0.15s ease, background 0.15s ease;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: #2a1a15; }
.btn-primary:hover { background: var(--gold-light); }
.btn-secondary { background: #fff; color: var(--red); }
.btn-secondary:hover { background: var(--cream); }
.btn-outline { border-color: rgba(255,255,255,0.7); color: #fff; }
.btn-disabled { opacity: 0.6; cursor: not-allowed; pointer-events: none; }

/* Sections */
.section { padding: 64px 0; }
.section h2 {
  font-size: 2rem;
  color: var(--red);
  text-align: center;
  margin-bottom: 0.6em;
}

.about-text {
  max-width: 700px;
  margin: 0 auto 36px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.gallery-wide { grid-column: span 4; height: 320px; }

/* Menu */
.menu-legend { text-align: center; color: var(--ink-soft); margin-bottom: 24px; }

.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 30px;
}
.menu-tab {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--ink-soft);
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
}
.menu-tab:hover { border-color: var(--gold); }
.menu-tab.active { background: var(--red); border-color: var(--red); color: #fff; }

.menu-panel { display: none; }
.menu-panel.active { display: block; animation: fadein 0.2s ease; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

.menu-panel-note {
  text-align: center;
  color: var(--ink-soft);
  font-style: italic;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 28px;
}
.menu-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
}
.menu-item-code { color: var(--gold); font-weight: 700; font-size: 0.85rem; min-width: 34px; }
.menu-item-main { flex: 1; }
.menu-item-en { font-weight: 600; }
.menu-item-zh { color: var(--ink-soft); font-size: 0.85rem; margin-left: 6px; }
.spicy-flag { color: var(--red); margin-left: 4px; }
.menu-item-price { font-weight: 700; color: var(--red); white-space: nowrap; }

/* Mala pot special layout */
.malapot-note { text-align: center; font-weight: 600; color: var(--red); margin-bottom: 20px; }
.malapot-baskets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 30px;
}
.malapot-basket {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.malapot-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.malapot-groups h4 { color: var(--red); margin-bottom: 10px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.chip-list li {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.85rem;
}

/* Combos */
.combo-block { margin-top: 60px; }
.combo-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  margin-bottom: 28px;
}
.combo-card h3 { color: var(--red); text-align: center; }
.combo-pricing { text-align: center; font-weight: 700; margin-bottom: 8px; }
.combo-subtitle, .combo-note { text-align: center; color: var(--ink-soft); font-size: 0.9rem; margin: 4px 0; }
.combo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 28px;
  margin-top: 20px;
}
.combo-item { display: flex; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--border); font-size: 0.92rem; }
.combo-item .n { color: var(--gold); font-weight: 700; min-width: 22px; }
.combo-choices { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }

/* Location */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.location-info h2 { text-align: left; }
.addr, .phones { font-size: 1.05rem; margin-bottom: 20px; }
.phones a { color: var(--red); font-weight: 700; text-decoration: none; }
.hours h3 { color: var(--red); font-size: 1.1rem; }
.hours-value { color: var(--ink); font-weight: 700; font-size: 1.05rem; margin: 4px 0; }
.service-types { color: var(--gold); font-weight: 600; font-size: 0.95rem; margin: 0; }
.location-map { min-height: 320px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.location-map iframe { height: 100%; min-height: 320px; }

/* Footer */
.site-footer { background: var(--red-dark); color: #f4e9dc; padding: 40px 0; text-align: center; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; margin-bottom: 10px; }
.footer-logo { width: 32px; height: 32px; border-radius: 50%; }
.footer-copy { opacity: 0.7; font-size: 0.85rem; margin-top: 10px; }

/* Responsive */
@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery-wide { grid-column: span 2; height: 220px; }
  .location-grid { grid-template-columns: 1fr; }
  .malapot-groups { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    display: none;
    gap: 16px;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .menu-grid, .combo-grid { grid-template-columns: 1fr; }
  .hero { min-height: 72vh; }
}
