/* Yelaixiang BBQ — night BBQ theme */
:root {
  --bg: #120d0b;
  --bg-2: #1b1411;
  --card: #221915;
  --line: rgba(243, 230, 200, 0.12);
  --text: #f3e6c8;
  --muted: #bfae92;
  --fire: #e2361c;
  --fire-2: #ff7a1a;
  --gold: #d9a441;
  --radius: 14px;
  --wrap: 1200px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --head: 'Oswald', 'Inter', sans-serif;
  --zh: 'Noto Serif SC', 'Songti SC', serif;
  --kr: 'Noto Sans KR', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
h2 { font-size: clamp(30px, 4vw, 46px); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: 13px; font-weight: 600; color: var(--gold); margin-bottom: 12px; }
.accent { color: var(--fire-2); }
.zh-sub { font-family: var(--zh); font-size: .55em; color: var(--gold); margin-left: .3em; vertical-align: middle; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; transition: transform .15s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn-fire { background: linear-gradient(135deg, var(--fire), var(--fire-2)); color: #fff; box-shadow: 0 6px 22px rgba(226, 54, 28, .35); }
.btn-fire:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(226, 54, 28, .5); }
.btn-ghost { border: 1.5px solid rgba(243, 230, 200, .45); color: var(--text); }
.btn-ghost:hover { background: rgba(243, 230, 200, .1); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, box-shadow .25s; }
.site-header.scrolled { background: rgba(18, 13, 11, .94); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-icon { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-zh { font-family: var(--zh); font-weight: 900; font-size: 22px; letter-spacing: .06em; color: #fff; }
.brand-en { font-family: var(--head); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.brand-kr { font-family: var(--kr); letter-spacing: 0; text-transform: none; color: var(--muted); margin-left: 4px; }
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--text); opacity: .9; }
.nav a:hover { color: var(--fire-2); }
.header-call { padding: 10px 20px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: 120px 0 80px; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 60%; transform: scale(1.04); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,13,11,.95) 0%, rgba(18,13,11,.75) 45%, rgba(18,13,11,.35) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(18,13,11,0) 30%); }
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero h1 { font-size: clamp(40px, 6vw, 76px); max-width: 760px; text-transform: uppercase; font-weight: 700; }
.hero-zh { display: block; font-family: var(--zh); font-weight: 900; text-transform: none; font-size: .9em; color: transparent; background: linear-gradient(180deg, #ffd27a, var(--fire-2) 55%, var(--fire)); -webkit-background-clip: text; background-clip: text; letter-spacing: .08em; margin-bottom: .1em; }
.hero-lead { font-size: 19px; max-width: 560px; color: #e9dcc0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 22px; }
.hero-status { font-size: 15px; color: var(--muted); display: flex; align-items: center; gap: 8px; min-height: 1.5em; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #8a7a66; display: inline-block; }
.dot-open { background: #4cd964; box-shadow: 0 0 0 4px rgba(76, 217, 100, .2); }

/* Embers */
.embers { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.embers i { position: absolute; bottom: -10px; width: 5px; height: 5px; border-radius: 50%; background: var(--fire-2); box-shadow: 0 0 10px 2px rgba(255, 122, 26, .8); opacity: 0; animation: rise 9s linear infinite; }
.embers i:nth-child(1) { left: 55%; animation-delay: 0s; }
.embers i:nth-child(2) { left: 62%; animation-delay: 1.4s; width: 3px; height: 3px; }
.embers i:nth-child(3) { left: 70%; animation-delay: 2.6s; }
.embers i:nth-child(4) { left: 78%; animation-delay: 3.8s; width: 4px; height: 4px; }
.embers i:nth-child(5) { left: 85%; animation-delay: 5s; width: 3px; height: 3px; }
.embers i:nth-child(6) { left: 66%; animation-delay: 6.2s; }
.embers i:nth-child(7) { left: 90%; animation-delay: 7.1s; width: 4px; height: 4px; }
.embers i:nth-child(8) { left: 74%; animation-delay: 8s; width: 3px; height: 3px; }
@keyframes rise { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: .9; } 100% { transform: translate(-60px, -90vh); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .embers { display: none; } html { scroll-behavior: auto; } }

/* Sections */
.section { padding: 100px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head p:last-child { color: var(--muted); }

/* About */
.about { background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-photo { border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.45); border: 1px solid var(--line); }
.about-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-text p { color: #e3d5ba; }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.facts li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.facts strong { display: block; font-family: var(--head); font-weight: 600; font-size: 17px; color: var(--fire-2); letter-spacing: .02em; }
.facts span { font-size: 14px; color: var(--muted); }

/* Popular */
.popular { background: radial-gradient(ellipse at top, #2a1a12 0%, var(--bg-2) 60%); }
.dish-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.dish { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.dish:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.45); border-color: rgba(255,122,26,.45); }
.dish-img { aspect-ratio: 1 / 1; overflow: hidden; }
.dish-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.dish-img img.pos-top { object-position: center 15%; }
.dish:hover .dish-img img { transform: scale(1.06); }
.dish-body { padding: 16px 18px 18px; }
.dish h3 { font-size: 20px; margin-bottom: 4px; }
.dish h3 .zh { font-family: var(--zh); font-size: 15px; color: var(--gold); margin-left: 4px; font-weight: 700; }
.dish p { font-size: 14px; color: var(--muted); margin: 0; }

/* Gallery */
.gallery { background: var(--bg); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; grid-auto-flow: dense; }
.gallery-grid figure { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-grid figure:hover img { transform: scale(1.05); }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }

/* Visit */
.visit { background: var(--bg-2); border-top: 1px solid var(--line); }
.visit-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.hours { width: 100%; border-collapse: collapse; margin: 8px 0 10px; font-size: 16px; }
.hours th, .hours td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.hours th { font-weight: 500; }
.hours td { text-align: right; color: #e3d5ba; }
.hours tr.closed td { color: var(--fire-2); font-weight: 600; }
.hours tr.today { background: rgba(255,122,26,.12); }
.hours tr.today th, .hours tr.today td { font-weight: 700; color: #fff; }
.hours tr.today th::after { content: var(--today-label, 'Today'); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; background: var(--fire); color: #fff; border-radius: 999px; padding: 2px 8px; margin-left: 8px; vertical-align: 2px; }
.holiday-note { font-size: 14px; color: var(--muted); }
.contact-lines { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.contact-lines p { margin: 0; }
.contact-lines .label { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 4px; }
.contact-lines a { text-decoration: none; font-weight: 600; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.visit-media { display: grid; gap: 16px; }
.storefront { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center top; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: var(--card); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.3) contrast(1.05); }

/* Footer */
.site-footer { background: #0b0807; padding: 64px 0 28px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h3 { font-size: 15px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.site-footer a { text-decoration: none; color: var(--text); }
.brand-footer { margin-bottom: 14px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; }


/* Language switch */
.lang { display: inline-flex; border: 1px solid rgba(243, 230, 200, .3); border-radius: 999px; padding: 3px; gap: 2px; }
.lang button { background: none; border: 0; color: var(--muted); font: 600 13px/1 var(--font); padding: 7px 10px; border-radius: 999px; cursor: pointer; }
.lang button:hover { color: var(--text); }
.lang button.active { background: var(--text); color: var(--bg); }
.lang-mobile { display: none; }

/* Chinese / Korean text */
html[lang="zh-Hans"] body { font-family: 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif; }
html[lang="ko"] body { font-family: 'Inter', 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; }
html[lang="zh-Hans"] h1, html[lang="zh-Hans"] h2, html[lang="zh-Hans"] .dish h3, html[lang="zh-Hans"] .facts strong { font-family: var(--zh); font-weight: 900; letter-spacing: .02em; }
html[lang="ko"] h1, html[lang="ko"] h2, html[lang="ko"] .dish h3, html[lang="ko"] .facts strong { font-family: var(--kr); font-weight: 700; letter-spacing: -.01em; }
html[lang="zh-Hans"] .hero h1, html[lang="ko"] .hero h1 { text-transform: none; line-height: 1.25; }
html[lang="ko"] .hero h1 { font-size: clamp(36px, 5.2vw, 68px); }
html[lang="zh-Hans"] .eyebrow, html[lang="ko"] .eyebrow { letter-spacing: .08em; }

/* Responsive */
@media (max-width: 1100px) {
  .nav { gap: 20px; }
  .dish-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; order: 3; }
  .header-call { order: 2; }
  .nav { position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(18,13,11,.98); border-bottom: 1px solid var(--line); max-height: 0; overflow: hidden; transition: max-height .3s; }
  .nav a { padding: 16px 24px; border-top: 1px solid var(--line); }
  .nav.open { max-height: 400px; }
  .lang-desktop { order: 1; }
  .site-header:has(.nav.open) { background: rgba(18,13,11,.98); }
  .about-grid, .visit-grid { grid-template-columns: 1fr; gap: 40px; }
  .dish-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .section { padding: 72px 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .header-row { gap: 12px; height: 68px; }
  .nav { top: 68px; }
  .brand-icon { width: 38px; height: 38px; }
  .brand-zh { font-size: 18px; }
  .brand-en { font-size: 11px; letter-spacing: .12em; }
  .brand-kr { display: none; }
  .header-call { padding: 8px 16px; font-size: 14px; }
  .lang-desktop { display: none; }
  .lang-mobile { display: inline-flex; align-self: flex-start; margin: 14px 16px 18px; }
  .hero { padding: 110px 0 60px; }
  .hero-lead { font-size: 17px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-shade { background: linear-gradient(0deg, rgba(18,13,11,.97) 0%, rgba(18,13,11,.7) 55%, rgba(18,13,11,.45) 100%); }
  .facts { grid-template-columns: 1fr; }
  .dish-body { padding: 12px 14px 14px; }
  .dish h3 { font-size: 17px; }
  .dish h3 .zh { display: block; margin: 2px 0 0; }
  .dish p { font-size: 13px; }
  .gallery-grid { grid-auto-rows: 140px; gap: 10px; }
  .contact-lines { grid-template-columns: 1fr; }
  .visit-actions .btn { flex: 1 1 auto; }
  .footer-grid { grid-template-columns: 1fr; }
}
