/* =====================================================
   Beijing House Restaurant — style.css
   ===================================================== */

:root {
  --crimson: #A8152A;
  --crimson-dark: #7D0F1E;
  --gold: #C49A1A;
  --ink: #1C1917;
  --ink-soft: #2C2724;
  --cream: #FBF8F3;
  --white: #FFFFFF;
  --text: #2C2724;
  --muted: #6B6460;
  --border: #E8E0D5;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', serif;
  line-height: 1.15;
}

img { max-width: 100%; }

/* ── NAVBAR ── */
#mainNav {
  padding: 1rem 0;
  background: transparent;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}
#mainNav.scrolled {
  background: var(--ink);
  padding: 0.6rem 0;
  box-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.brand-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: 0.01em;
}
#mainNav .navbar-brand img {
  border-radius: 4px;
  background: #fff;
  padding: 2px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.navbar-toggler {
  border-color: rgba(255,255,255,0.5);
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
#mainNav .nav-link {
  color: rgba(255,255,255,0.88);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
#mainNav .nav-link:hover { color: #fff; }
.btn-nav-cta {
  display: inline-block;
  padding: 0.5rem 1.1rem;
  background: var(--crimson);
  color: #fff;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-nav-cta:hover { background: var(--crimson-dark); color: #fff; }

@media (max-width: 991px) {
  #mainNav { background: var(--ink); }
  #navMenu { padding-bottom: 1rem; }
  #mainNav .nav-link { padding: 0.6rem 0; }
  .btn-nav-cta { margin-top: 0.5rem; }
}

/* ── HERO ── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: url('img/hero.webp') center/cover no-repeat;
  display: flex;
  align-items: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(20,10,8,0.72) 0%,
    rgba(20,10,8,0.45) 55%,
    rgba(20,10,8,0.1) 100%
  );
}
#hero .container { position: relative; z-index: 2; height: 100%; }
.hero-content { padding-top: 4rem; }
.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  border-left: 3px solid var(--crimson);
  padding-left: 0.75rem;
}
.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  color: #fff;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.hero-title em {
  font-style: italic;
  color: #f5c99a;
}
.hero-sub {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 440px;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-hero-primary {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--crimson);
  color: #fff;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: background 0.2s, transform 0.2s;
}
.btn-hero-primary:hover { background: var(--crimson-dark); transform: translateY(-1px); color: #fff; }
.btn-hero-ghost {
  display: inline-block;
  padding: 0.85rem 2rem;
  border: 1.5px solid rgba(255,255,255,0.6);
  color: #fff;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.btn-hero-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.1); color: #fff; }
.hero-promo {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  text-align: center;
  background: var(--crimson);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.6rem 1rem;
}

/* ── STATS ── */
#stats { background: var(--ink); }
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 2rem 1.5rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.stat-lbl {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
@media (max-width: 767px) {
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .stat-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-item:nth-child(even) { border-right: none; }
}

/* ── SECTION HELPERS ── */
.sec-white { background: var(--white); padding: 90px 0; }
.sec-cream { background: var(--cream); padding: 90px 0; }
.sec-ink   { background: var(--ink);   padding: 90px 0; }
.sec-hdr { margin-bottom: 2.5rem; }
.sec-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 0.6rem;
}
.sec-eyebrow-light {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.sec-title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  color: var(--ink-soft);
  margin: 0;
}
.sec-title-light {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  color: #fff;
  margin-bottom: 1.2rem;
}

/* ── FEATURED DISHES ── */
#featured .sec-hdr { margin-bottom: 0.5rem; }
.feat-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  height: 100%;
  transition: transform 0.25s, box-shadow 0.25s;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.12); }
.feat-img {
  height: 220px;
  background-size: cover;
  background-position: center;
}
.feat-body {
  padding: 1.4rem 1.5rem 1.6rem;
}
.feat-body h3 {
  font-size: 1.25rem;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}
.feat-body p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.feat-price {
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
  color: var(--crimson);
}

/* ── MENU SECTION ── */
#menu { padding-bottom: 80px; }
#menu .sec-hdr { margin-bottom: 2rem; }
.menu-tabs-bar {
  background: var(--ink);
  position: sticky;
  top: 66px;
  z-index: 100;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.menu-tabs-bar::-webkit-scrollbar { display: none; }
.menu-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  padding: 0 1rem;
  margin: 0;
  list-style: none;
}
.menu-tab {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.9rem 1.1rem;
  white-space: nowrap;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.menu-tab:hover { color: #fff; }
.menu-tab.active {
  color: #fff;
  border-bottom-color: var(--crimson);
}
.menu-tab-content {
  padding-top: 2.5rem;
}
.mi-list { margin-bottom: 1rem; }
.mi {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.mi:last-child { border-bottom: none; }
.mi span:first-child { flex: 1; color: var(--text); }
.mp {
  font-family: 'DM Serif Display', serif;
  font-size: 0.95rem;
  color: var(--crimson);
  white-space: nowrap;
  flex-shrink: 0;
}
.mi-highlight .mp { color: var(--crimson-dark); font-weight: 700; }
.mi-cat {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--crimson);
  display: inline-block;
}
.menu-note {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 1.5rem;
  padding: 0.75rem 1rem;
  background: var(--cream);
  border-left: 3px solid var(--crimson);
  border-radius: 0 4px 4px 0;
}
.menu-callout {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: #fdf2f0;
  border: 1px solid #f3cbc7;
  border-radius: 6px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ── SUSHI SECTION ── */
.sec-sushi {
  background: linear-gradient(135deg, #0f0c09 0%, #1e1410 50%, #180c0f 100%);
  padding: 90px 0;
}
.sushi-text {
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}
.sushi-perks {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}
.sushi-perks li {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  padding: 0.3rem 0;
  padding-left: 1.4rem;
  position: relative;
}
.sushi-perks li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.65rem;
  top: 0.42rem;
}
.btn-sushi-cta {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--crimson);
  color: #fff;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-sushi-cta:hover { background: var(--crimson-dark); color: #fff; }
.sushi-img-block {
  position: relative;
  display: inline-block;
  width: 100%;
}
.sushi-badge {
  position: absolute;
  bottom: -16px;
  right: 24px;
  background: var(--gold);
  color: var(--ink);
  text-align: center;
  padding: 1rem 1.25rem;
  border-radius: 6px;
  line-height: 1.2;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── GALLERY ── */
#gallery .sec-hdr { padding-bottom: 2rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 280px);
}
.gal-item {
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.gal-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.3s;
}
.gal-item:hover::after { background: rgba(0,0,0,0.35); }
.gal-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 0.75rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.gal-item:hover .gal-label { transform: translateY(0); }
@media (max-width: 767px) {
  .gallery-grid {
    grid-template-columns: repeat(2,1fr);
    grid-template-rows: repeat(4,200px);
  }
}

/* ── ABOUT ── */
.about-body {
  color: rgba(255,255,255,0.76);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.ag-item {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.ag-icon { color: var(--gold); font-size: 0.7rem; }
.about-img-wrap {
  position: relative;
}
.about-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  background: var(--crimson);
  color: #fff;
  border-radius: 8px;
  padding: 1.1rem 1.3rem;
  text-align: center;
  line-height: 1.25;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.ab-num {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  line-height: 1;
}
.ab-text {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-top: 0.2rem;
}

/* ── LOCATION ── */
.loc-block {
  margin-bottom: 2rem;
}
.loc-block h5 {
  font-family: 'DM Serif Display', serif;
  font-size: 1rem;
  color: var(--crimson);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
}
.loc-block p {
  color: var(--text);
  margin: 0;
  line-height: 1.7;
}
.loc-block a { color: var(--crimson); text-decoration: none; font-weight: 600; }
.loc-block a:hover { text-decoration: underline; }
.hours-tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.hours-tbl td {
  padding: 0.3rem 0;
  color: var(--text);
}
.hours-tbl td:first-child { width: 55%; font-weight: 500; }
.hours-tbl td:last-child { color: var(--muted); }
.hours-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.5rem;
  font-style: italic;
}

/* ── FOOTER ── */
#footer {
  background: var(--ink);
  padding: 2.5rem 0;
}
.footer-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1rem;
  color: #fff;
}
.footer-addr {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-top: 0.2rem;
}
.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.2rem 1.25rem;
}
.footer-nav a {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover { color: #fff; }
.footer-social a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--gold); }
.powered-link {
  display: inline-block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
  margin-bottom: 0.25rem;
}
.powered-link:hover { color: var(--gold); }
.powered-link strong { color: rgba(255,255,255,0.7); }
.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  margin: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
  .sec-white, .sec-cream, .sec-ink, .sec-sushi { padding: 60px 0; }
  .about-badge { top: -10px; left: -10px; }
}

@media (max-width: 575px) {
  .hero-title { font-size: 2.4rem; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .feat-img { height: 180px; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); grid-template-rows: repeat(4,180px); }
  .about-grid { grid-template-columns: 1fr; }
  .sushi-badge { display: none; }
}
