/* ============================================
   SANBAO CHICKEN RICE — Menu Page Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Mitr:wght@200;300;400;500;600;700&family=Noto+Serif+Thai:wght@400;600;700;800;900&family=Playfair+Display:wght@400;600;700&display=swap');

:root {
  --cream: #FDF8F0;
  --cream-dark: #F5EDE0;
  --cream-medium: #FAF6EF;
  --warm-beige: #EDE4D3;

  --maroon: #6B1C1C;
  --maroon-dark: #4A1010;
  --maroon-deep: #3A0A0A;

  --gold: #C5A55A;
  --gold-light: #D4B96E;
  --gold-warm: #B8943F;
  --gold-dark: #9A7A30;
  --gold-shimmer: linear-gradient(135deg, #D4B96E 0%, #C5A55A 30%, #E8D49A 50%, #C5A55A 70%, #B8943F 100%);

  --jade: #1B5E3B;
  --forest: #0D3B23;

  --text-dark: #2C1810;
  --text-medium: #5A3E2B;
  --text-light: #8B7355;
  --text-on-maroon: #FDF8F0;

  --font-thai: 'Mitr', sans-serif;
  --font-thai-serif: 'Mitr', sans-serif;
  --font-display: 'Playfair Display', serif;

  --shadow-soft: 0 2px 16px rgba(44, 24, 16, 0.06);
  --shadow-md: 0 4px 24px rgba(44, 24, 16, 0.1);
  --shadow-lg: 0 8px 40px rgba(44, 24, 16, 0.14);
  --shadow-gold: 0 4px 20px rgba(197, 165, 90, 0.25);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 900px;
}

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

html { scroll-behavior: smooth; font-size: 22px; }

body {
  font-family: var(--font-thai);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

.anim { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.anim.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   CHINESE CORNER ORNAMENTS (reusable)
   ============================================ */
.chinese-border {
  position: relative;
}

.chinese-border::before,
.chinese-border::after,
.chinese-border .corner-bl,
.chinese-border .corner-br {
  content: '';
  position: absolute;
  width: 32px;
  height: 32px;
  border-color: var(--gold);
  border-style: solid;
  border-width: 0;
  z-index: 2;
}

.chinese-border::before {
  top: 12px; left: 12px;
  border-top-width: 2px; border-left-width: 2px;
}

.chinese-border::after {
  top: 12px; right: 12px;
  border-top-width: 2px; border-right-width: 2px;
}

.corner-bl {
  position: absolute !important;
  bottom: 12px !important; left: 12px !important;
  border-bottom-width: 2px !important; border-left-width: 2px !important;
}

.corner-br {
  position: absolute !important;
  bottom: 12px !important; right: 12px !important;
  border-bottom-width: 2px !important; border-right-width: 2px !important;
}

/* ============================================
   HERO HEADER
   ============================================ */
.hero-header {
  background: var(--maroon);
  padding: 3rem 1.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(197, 165, 90, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

/* Chinese corner ornaments on hero */
.hero-header .corner { position: absolute; width: 48px; height: 48px; z-index: 2; }
.hero-header .corner--tl { top: 16px; left: 16px; border-top: 2.5px solid var(--gold); border-left: 2.5px solid var(--gold); }
.hero-header .corner--tr { top: 16px; right: 16px; border-top: 2.5px solid var(--gold); border-right: 2.5px solid var(--gold); }
.hero-header .corner--bl { bottom: 16px; left: 16px; border-bottom: 2.5px solid var(--gold); border-left: 2.5px solid var(--gold); }
.hero-header .corner--br { bottom: 16px; right: 16px; border-bottom: 2.5px solid var(--gold); border-right: 2.5px solid var(--gold); }

.hero-brand {
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s var(--ease);
}

.hero-logo {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.hero-title {
  font-family: var(--font-thai-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-on-maroon);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.hero-tagline {
  font-family: var(--font-thai-serif);
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--gold-shimmer);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
  line-height: 1.4;
}

/* ============================================
   HERO IMAGE (big food photo)
   ============================================ */
.hero-food {
  padding: 2rem 0 0;
  background: var(--cream);
  display: flex;
  justify-content: center;
}

.hero-food-img {
  max-width: 600px;
  width: 90%;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s var(--ease);
}

.hero-food-img:hover {
  transform: scale(1.02);
}

/* ============================================
   PRICE HIDDEN (Coming Soon)
   ============================================ */
.price-hidden {
  position: relative;
  overflow: hidden;
}

.price-hidden .price-tag-value,
.price-hidden .extra-item-price,
.price-hidden .drink-price-badge {
  filter: blur(6px);
  user-select: none;
  pointer-events: none;
}

.price-hidden::after {
  content: 'เร็วๆ นี้';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(253, 248, 240, 0.6);
  backdrop-filter: blur(2px);
  font-family: var(--font-thai);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--maroon);
  border-radius: inherit;
  z-index: 5;
  letter-spacing: 0.05em;
}

/* ============================================
   MENU SECTION
   ============================================ */
.menu-section {
  padding: 2.5rem 0;
  background: var(--cream);
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Menu Card */
.menu-card {
  background: var(--cream-medium);
  border-radius: 16px;
  border: 1.5px solid rgba(197, 165, 90, 0.2);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease);
}

.menu-card:hover {
  box-shadow: var(--shadow-md);
}

.menu-card-header {
  text-align: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1.5px solid rgba(197, 165, 90, 0.2);
}

.menu-card-title {
  font-family: var(--font-thai-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.menu-card-title-icon {
  font-size: 1.2rem;
}

/* Menu Item */
.menu-item {
  margin-bottom: 1.5rem;
}

.menu-item:last-child {
  margin-bottom: 0;
}

.menu-item-name {
  font-family: var(--font-thai-serif);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 0.15rem;
}

.menu-item-name-en {
  font-family: var(--font-thai);
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 0.75rem;
}

.menu-item-img {
  width: 100%;
  max-width: 240px;
  margin: 0 auto 0.75rem;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease);
}

.menu-item-img:hover {
  transform: scale(1.03);
}

/* Price Tags */
.price-row {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.price-tag {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--cream);
  border: 1px solid rgba(197, 165, 90, 0.25);
  border-radius: 10px;
  padding: 0.4rem 0.75rem;
  min-width: 72px;
  transition: all 0.3s var(--ease);
}

.price-tag:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.price-tag-label {
  font-size: 0.72rem;
  color: var(--text-medium);
  font-weight: 500;
}

.price-tag-label-en {
  font-size: 0.6rem;
  color: var(--text-light);
  margin-bottom: 0.15rem;
}

.price-tag-value {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--maroon);
  line-height: 1;
}

.price-tag-suffix {
  font-size: 0.8rem;
}

/* Divider */
.menu-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 165, 90, 0.3), transparent);
  margin: 1.25rem 0;
}

/* Extras list */
.extras-title {
  font-family: var(--font-thai-serif);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 0.5rem;
}

.extras-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.extra-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0.75rem;
  background: var(--cream);
  border-radius: 8px;
  border: 1px solid rgba(197, 165, 90, 0.12);
  transition: all 0.25s var(--ease);
}

.extra-item:hover {
  border-color: rgba(197, 165, 90, 0.3);
  background: rgba(197, 165, 90, 0.05);
}

.extra-item-name {
  font-size: 0.82rem;
  color: var(--text-dark);
  font-weight: 500;
}

.extra-item-name-en {
  font-size: 0.65rem;
  color: var(--text-light);
}

.extra-item-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--maroon);
}

/* ============================================
   DRINKS CARD
   ============================================ */
.drinks-grid {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.drink-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--cream);
  border: 1px solid rgba(197, 165, 90, 0.2);
  border-radius: 12px;
  padding: 0.75rem;
  flex: 1;
  max-width: 140px;
  transition: all 0.3s var(--ease);
}

.drink-item:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.drink-price-badge {
  background: var(--maroon);
  color: var(--text-on-maroon);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  margin-bottom: 0.4rem;
  display: inline-block;
}

.drink-price-suffix {
  font-size: 0.65rem;
}

.drink-name {
  font-family: var(--font-thai-serif);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text-dark);
  margin-bottom: 0.1rem;
}

.drink-name-en {
  font-size: 0.65rem;
  color: var(--text-light);
}

.drinks-img {
  width: 100%;
  max-width: 200px;
  margin: 0 auto 1rem;
  border-radius: 12px;
}

.drinks-info {
  text-align: center;
}

.drinks-info-title {
  font-family: var(--font-thai-serif);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-dark);
  margin-bottom: 0.15rem;
}

.drinks-info-sub {
  font-size: 0.72rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.drinks-info-detail {
  font-size: 0.75rem;
  color: var(--text-medium);
  line-height: 1.6;
}

.drinks-info-detail strong {
  color: var(--text-dark);
}

/* ============================================
   PROMO BANNER
   ============================================ */
.promo-banner {
  margin: 0 auto 2rem;
  max-width: var(--max-width);
  padding: 0 1.5rem;
}

.promo-card {
  background: var(--maroon);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.promo-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(197, 165, 90, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

/* Chinese corner ornaments on promo */
.promo-card .corner { position: absolute; width: 28px; height: 28px; z-index: 2; }
.promo-card .corner--tl { top: 10px; left: 10px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.promo-card .corner--tr { top: 10px; right: 10px; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); }
.promo-card .corner--bl { bottom: 10px; left: 10px; border-bottom: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.promo-card .corner--br { bottom: 10px; right: 10px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); }

.promo-left {
  position: relative;
  z-index: 1;
  flex: 1;
}

.promo-badge {
  display: inline-block;
  background: var(--gold-shimmer);
  background-size: 200% auto;
  color: var(--maroon-dark);
  font-family: var(--font-thai-serif);
  font-weight: 800;
  font-size: 1rem;
  padding: 0.3rem 1rem;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  animation: shimmer 3s linear infinite;
}

.promo-title {
  font-family: var(--font-thai-serif);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-on-maroon);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.promo-desc {
  font-size: 0.78rem;
  color: rgba(253, 248, 240, 0.7);
  line-height: 1.6;
}

.promo-right {
  position: relative;
  z-index: 1;
  text-align: center;
  flex-shrink: 0;
}

.promo-combo-label {
  font-family: var(--font-thai-serif);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-on-maroon);
  margin-bottom: 0.15rem;
}

.promo-combo-label-en {
  font-size: 0.7rem;
  color: rgba(253, 248, 240, 0.6);
  margin-bottom: 0.25rem;
}

.promo-price {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  background: var(--gold-shimmer);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
  line-height: 1;
}

.promo-price-suffix {
  font-size: 1.5rem;
}

/* ============================================
   SECRETS / TIPS SECTION
   ============================================ */
.secrets-section {
  padding: 2rem 0 2.5rem;
  background: var(--cream);
}

.secrets-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.secrets-title {
  font-family: var(--font-thai-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
}

.secrets-title em {
  font-style: normal;
  color: var(--maroon);
}

.secrets-divider {
  width: 60px;
  height: 2.5px;
  background: var(--gold-shimmer);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

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

.secret-card {
  text-align: center;
  background: var(--cream-medium);
  border-radius: 14px;
  border: 1px solid rgba(197, 165, 90, 0.15);
  padding: 1.25rem 1rem;
  transition: all 0.3s var(--ease);
}

.secret-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(197, 165, 90, 0.3);
}

.secret-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.secret-title {
  font-family: var(--font-thai-serif);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--maroon);
  margin-bottom: 0.35rem;
}

.secret-desc {
  font-size: 0.72rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--maroon);
  color: var(--text-on-maroon);
  padding: 2rem 0 1.25rem;
  text-align: center;
  position: relative;
}

.site-footer .corner { position: absolute; width: 36px; height: 36px; z-index: 2; }
.site-footer .corner--tl { top: 12px; left: 12px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.site-footer .corner--tr { top: 12px; right: 12px; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); }
.site-footer .corner--bl { bottom: 12px; left: 12px; border-bottom: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.site-footer .corner--br { bottom: 12px; right: 12px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); }

.footer-logo {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  margin: 0 auto 0.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.footer-brand {
  font-family: var(--font-thai-serif);
  font-weight: 700;
  font-size: 1rem;
  color: var(--gold-light);
  margin-bottom: 0.25rem;
}

.footer-tagline {
  font-size: 0.78rem;
  color: rgba(253, 248, 240, 0.6);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.footer-link {
  font-size: 0.8rem;
  color: rgba(253, 248, 240, 0.75);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.25s var(--ease);
}

.footer-link:hover {
  color: var(--gold-light);
}

.footer-copy {
  font-size: 0.68rem;
  color: rgba(253, 248, 240, 0.4);
  border-top: 1px solid rgba(197, 165, 90, 0.15);
  padding-top: 0.75rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .hero-title { font-size: 1.6rem; }
  .hero-tagline { font-size: 1.3rem; }
  .hero-logo { width: 52px; height: 52px; }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .secrets-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .promo-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .promo-price {
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.3rem; }
  .hero-tagline { font-size: 1.1rem; }

  .price-row { gap: 0.35rem; }
  .price-tag { min-width: 60px; padding: 0.3rem 0.5rem; }
  .price-tag-value { font-size: 1.1rem; }

  .drinks-grid {
    gap: 0.5rem;
  }

  .drink-item {
    padding: 0.5rem;
  }

  .container {
    padding: 0 1rem;
  }
}
