/* ========== RESET / BASE ========== */
* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

/* --- Custom font for punchlines only --- */
@font-face {
  font-family: 'JazShin';
  src: url('../font/JazShinFont1.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Lock page width during intro (extra safety alongside JS) */
html.intro-active, body.intro-active { overflow-x: hidden; }

body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #fff;
  background: #000;
  overflow-x: hidden;
  display: flex;
  flex-direction: column; /* let footer sit at bottom on short pages */
}

/* Allow main to grow and push footer down */
main { flex: 1; }

/* ========== HEADER ========== */
header.site-header {
  position: fixed; top: 0; left: 0; right: 0; height: 62px;
  background: rgba(255,255,255,.92);
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(8px + env(safe-area-inset-top, 0px)) 16px 8px; /* notch-safe */
  z-index: 20000;              /* always above content */
  isolation: isolate;          /* its own stacking context */
}
.header-logo { height: 44px; display: block; }

.hamburger {
  display: flex; flex-direction: column; gap: 5px;
  width: 28px; height: 22px; cursor: pointer; background: none; border: none;
  position: relative; z-index: 20010;  /* above header logo */
  transform: translateZ(0);
  pointer-events: auto; opacity: 1;
}
.hamburger span { height: 3px; background: orange; border-radius: 3px; display: block; }

/* Provide breathing space below fixed header */
.overlay { position: relative; z-index: 2; padding: 0 16px; }
main { padding-top: 78px; }

/* ========== SLIDE-IN MENU + OVERLAY ========== */
.menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.35);
  z-index: 20900; opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.menu-overlay.show { opacity: 1; pointer-events: auto; }

.side-menu {
  position: fixed; top: 0; right: -300px; width: 300px; height: 100%;
  background: orange; padding: calc(60px + env(safe-area-inset-top, 0px)) 20px 20px;
  z-index: 21000; transition: right .34s ease; box-shadow: -12px 0 24px rgba(0,0,0,.25);
  overflow-y: auto;
}
.side-menu.open { right: 0; }

.side-menu ul { list-style: none; position: relative; z-index: 1; }
.side-menu li { margin: 8px 0; }
.side-menu a {
  display: block; padding: 12px 10px; color: #111; text-decoration: none;
  font-weight: 300; font-size: 1.05rem; border-radius: 6px;
}
.side-menu li.active a, .side-menu a:hover { background: #fff; color: orange; }

/* Coming soon items: plain grey text (no boxes) */
.side-menu li.coming-soon {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 10px; border-radius: 6px; background: transparent;
  color: #e9e9e9; opacity: .7; cursor: default; pointer-events: none;
}
.side-menu li.coming-soon .label { color: inherit; font-weight: 300; }
.side-menu li.coming-soon .note { color: #dcdcdc; font-size: .85rem; font-style: italic; }
.side-menu li.coming-soon:hover { background: transparent; color: inherit; }

/* Faint orange, left-half truck graphic at bottom (CSS-only) */
.side-menu::after{
  content:""; position:absolute; bottom:0; left:0; width:100%; height:40%;
  background-image:url('images/truck.png'); background-repeat:no-repeat;
  background-position:left center; background-size:200% auto;
  filter:grayscale(100%) sepia(100%) saturate(500%) hue-rotate(-10deg) brightness(90%);
  opacity:0.12; pointer-events:none; z-index:0;
}

/* ========== INTRO (index only layers) ========== */
#introBg {
  position: fixed; inset: 0; background: orange; z-index: 30000;
  will-change: transform;               /* smoother slide-up */
}
#introLayer {
  position: fixed; inset: 0; z-index: 30005;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  pointer-events: none;
}
.intro-wrap { position: relative; width: 250px; height: 250px; display:flex; align-items:center; justify-content:center; }
.intro-circle { position: absolute; width: 250px; height: 250px; border-radius: 50%; background:#fff; z-index: 0; }
.intro-logo { position: relative; z-index: 1; max-width: 180px; }
.intro-truck { width: 300px; margin-top: 24px; filter: drop-shadow(0 6px 16px rgba(0,0,0,.2)); transform-origin: 50% 100%; }

/* ========== BACKGROUND SLIDESHOW ========== */
.slideshow {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100dvh;
  z-index: -2;
  backface-visibility: hidden;
  will-change: opacity;
}
.slideshow::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(0,0,0,.42); backdrop-filter: blur(4px); z-index: 1;
}
.slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease; z-index: 0;
  backface-visibility: hidden;
}
.slide.show { opacity: 1; }

/* ========== TRUCK + PUNCHLINES LAYOUT (HOME) ========== */
.truck-punchlines-shell {
  display: grid; grid-template-rows: 1fr auto auto 1fr;
  min-height: 56vh; margin: 16px 0;
  position: relative; z-index: 3000; /* below header, above bg */
}
.truck-punchlines-wrapper { display: contents; }

.truck-display {
  grid-row: 2;
  display: flex; justify-content: center; align-items: flex-end;
  position: relative; /* anchor for steam */
}
#truckDisplay {
  max-width: 160px; width: 100%; height: auto; display: block;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.25));
  transform-origin: 50% 100%;
  position: relative; z-index: 1; /* keep truck above steam */
}

/* --- Cooking steam --- */
.steam{
  position:absolute;
  bottom: 18px;
  left:50%;
  transform:translateX(-50%);
  width:220px;
  height:160px;
  pointer-events:none;
  z-index:0;
}
.steam span{
  position:absolute; bottom:0; left:50%;
  width:18px; height:18px; border-radius:50%;
  background: radial-gradient(closest-side, rgba(255,255,255,0.85), rgba(255,255,255,0.0) 70%);
  filter: blur(1.2px); opacity:0; transform: translateX(-50%) scale(0.7);
}
.steam.active span { animation: steamRise 3.6s linear infinite; }
.steam span:nth-child(1){ animation-delay: 0.0s }
.steam span:nth-child(2){ animation-delay: 0.6s }
.steam span:nth-child(3){ animation-delay: 1.2s }
.steam span:nth-child(4){ animation-delay: 1.8s }
.steam span:nth-child(5){ animation-delay: 2.4s }
.steam span:nth-child(6){ animation-delay: 3.0s }
.steam span:nth-child(odd){ width:16px; height:16px; filter:blur(1px) }
.steam span:nth-child(even){ width:20px; height:20px; filter:blur(1.6px) }

@keyframes steamRise{
  0%   { opacity:0; transform: translate(-50%, 0)       scale(0.7); }
  8%   { opacity:.65; }
  40%  { transform: translate(calc(-50% - 10px), -60px) scale(0.95); }
  70%  { transform: translate(calc(-50% + 14px), -115px) scale(1.10); opacity:.35; }
  100% { transform: translate(calc(-50% - 8px), -160px) scale(1.20); opacity:0; }
}

@media (prefers-reduced-motion: reduce){
  .steam span{ animation: none; opacity: .25; }
}

/* Punchlines */
.punchlines { grid-row: 3; display: flex; align-items: center; justify-content: center; text-align: center; margin: 0; padding: 0; }
#punchline {
  font-weight: 300; font-style: normal;
  font-size: clamp(36px, 9vw, 84px);
  line-height: 1.15; letter-spacing: .3px; opacity: 1;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
}
/* === Apply custom font only to punchlines === */
.punchlines #punchline {
  font-family: 'JazShin', 'Roboto', Arial, sans-serif;
}

/* ========== (1) CTA BAR ========== */
.cta-bar{
  display:flex; gap:12px; justify-content:center; align-items:center;
  margin: 10px auto 18px; padding: 0 10px; flex-wrap: wrap;
}
.btn{
  appearance:none; border:none; cursor:pointer; text-decoration:none;
  padding: 12px 16px; border-radius: 10px; font-size: 1rem; transition: background .25s, transform .06s;
}
.btn:active{ transform: translateY(1px); }
.btn-primary{ background: orange; color:#fff; }
.btn-primary:hover{ background:#ffb84d; }
.btn-secondary{ background: rgba(255,255,255,.12); color:#fff; border:1px solid rgba(255,255,255,.28); }
.btn-secondary:hover{ background: rgba(255,255,255,.2); }

/* ========== (2) MINI SCHEDULE ========== */
.mini-schedule{
  max-width: 1000px; margin: 0 auto 18px; padding: 0 10px;
}
.mini-schedule h2{
  font-weight: 400; text-align:center; margin-bottom: 8px;
}
.mini-schedule-list{
  list-style:none; display:grid; gap:6px;
  grid-template-columns: repeat(2, minmax(0,1fr));
}
@media (min-width: 880px){
  .mini-schedule-list{ grid-template-columns: repeat(4, minmax(0,1fr)); }
}
.mini-item{
  background: rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  padding: 10px 12px;
  display:flex; flex-direction:column; gap:4px;
  min-height: 64px;
}
.mini-item .mini-day{ font-weight: 400; opacity:.95; }
.mini-item .mini-row{ font-weight:300; font-size:.98rem; opacity:.95; }
.mini-item.today{ outline: 2px solid orange; outline-offset: 2px; }
.mini-schedule-cta{ text-align:center; margin-top: 8px; }
.mini-link{ color: orange; text-decoration: underline; }

/* ========== (3) FEATURED DISHES ========== */
.featured{ padding: 10px 0 8px; }
.featured h2{ font-weight: 400; text-align: center; margin-bottom: 10px; }
.featured-grid{
  max-width: 1100px; margin: 0 auto; padding: 0 10px;
  display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
}
@media (max-width: 900px){ .featured-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .featured-grid{ grid-template-columns: 1fr; } }

.dish{
  background: rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.16);
  border-radius: 12px; overflow:hidden;
  display:flex; flex-direction: column;
}
.dish-media{
  background: rgba(0,0,0,.2);
}
.dish-media img{
  width:100%; height:auto; display:block;
}
.dish.no-image .dish-media{ display:none; }
.dish-body{ padding: 12px; display:flex; flex-direction:column; gap:8px; }
.dish-body h3{ font-weight: 400; }
.badges{ display:flex; gap:6px; }
.badge{ display:inline-flex; align-items:center; justify-content:center; width:28px; height:28px; border-radius: 50%; background: rgba(255,255,255,.2); }
.badge-vegan{ background: rgba(76,175,80,.25); }
.badge-veg{ background: rgba(139,195,74,.25); }
.badge-spicy{ background: rgba(255,87,34,.25); }
.badge-halal{ background: rgba(255,193,7,.25); }
.dish-link{ color: orange; text-decoration: underline; align-self:flex-start; }

/* ========== RECENT EVENTS – CAROUSEL (with peek) ========== */
.events { padding: 16px 0 10px; }
.events h2 { font-weight: 400; text-align: center; margin-bottom: 14px; }

.events-carousel{
  position: relative;
  max-width: 1200px;
  margin: 0 auto 10px;
  overflow: hidden;                 /* hide overflow but allow peeks via slide width */
  border-radius: 12px;
  isolation: isolate;
}
.carousel-track{
  display: flex; gap: 14px;
  will-change: transform;
  transition: transform .45s ease;
  padding: 0 10px;                  /* a tiny padding so peeks don't touch edges */
}
.carousel-track img{
  display: block;
  width: 84vw;                      /* wide on mobile, shows peeks */
  max-width: 960px;                 /* clamps on desktop */
  flex: 0 0 auto;                   /* do not shrink */
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  user-select: none;
  -webkit-user-drag: none;
}
@media (min-width: 1100px){
  .carousel-track img{ width: 86%; } /* show subtle peeks on large screens */
}

.carousel-btn{
  position: absolute; top: 50%; transform: translateY(-50%);
  border: none; background: rgba(0,0,0,.35); color:#fff;
  width: 40px; height: 48px; border-radius: 10px;
  cursor: pointer; z-index: 2;
  backdrop-filter: blur(2px);
}
.carousel-btn:hover{ background: rgba(0,0,0,.5); }
.carousel-btn.prev{ left: 8px; }
.carousel-btn.next{ right: 8px; }

.events-cta { text-align: center; margin-top: 8px; }
.events-cta .mini-link { color: orange; text-decoration: underline; }

/* ========== REVIEWS (HOME) ========== */
.reviews { padding: 24px 0 12px; }
.reviews h2 { font-weight: 400; text-align: center; margin-bottom: 12px; }
.review-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px; max-width: 1200px; margin: 0 auto;
}
.review-box {
  background: rgba(255,255,255,.12); border-radius: 12px; padding: 14px; min-height: 140px;
  opacity: 0; transform: translateY(20px); transition: all .6s ease; line-height: 1.5;
}
.review-box .stars { display: block; margin-top: 8px; letter-spacing: 1px; color: gold; }
.review-box .review-source { display: block; margin-top: 6px; font-size: .88rem; opacity: .9; }
.review-box.show { opacity: 1; transform: translateY(0); }

/* ========== FOOTER ========== */
footer.site-footer {
  background: orange; text-align: center; padding: 14px 10px; color: #fff;
  margin-top: auto;
}
.footer-icons img { width: 24px; height: 24px; margin: 0 6px; vertical-align: middle; }
.footer-copy { margin-top: 8px; font-size: .88rem; color: #fff; }

/* ========== ABOUT PAGE BOX ========== */
.aboutus-container{
  background: rgba(255,255,255,0.85);
  color: #111;
  padding: 30px;
  border-radius: 12px;
  max-width: 1000px;
  width: min(1000px, calc(100% - 40px));
  margin: 40px auto;
  line-height: 1.8;
}
@media (max-width: 600px){
  .aboutus-container{
    padding: 20px;
    margin: 24px auto;
    width: min(1000px, calc(100% - 32px));
  }
}

/* === Schedule table hard reset (ensure full Location text shows) === */
.schedule table { display: table !important; table-layout: auto !important; }
.schedule thead { display: table-header-group !important; }
.schedule tbody { display: table-row-group !important; }
.schedule tr    { display: table-row !important; height: auto !important; }
.schedule th,
.schedule td{
  display: table-cell !important;
  vertical-align: top !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  line-height: 1.4 !important;
  overflow: visible !important;
  white-space: normal !important;
  text-overflow: clip !important;
  word-break: normal !important;
}
.schedule .loc-col .loc-text{
  display: inline-block;
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  overflow: visible;
  text-overflow: clip;
}

/* ---------- ONLY THESE LINES CHANGE THE RECENT EVENTS CAROUSEL ---------- */
/* flush & square corners (kept) */
.events-carousel { border-radius: 0 !important; }
.carousel-track { gap: 0 !important; padding: 0 !important; }
.carousel-track img { border-radius: 0 !important; box-shadow: none !important; margin: 0 !important; }

/* full-bleed, centered current slide, portrait width, height sync with Featured */
.events-carousel{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.carousel-track img{
  height: var(--eventsH, 360px);    /* set by JS to match Featured card */
  width: 60vw;                      /* portrait-ish width on mobile */
  max-width: none;
  object-fit: cover; object-position: center;
}
@media (min-width: 1100px){
  .carousel-track img{ width: 42vw; } /* narrower on desktop so it feels portrait */
}

/* ➜ NEW: make non-active slides lighter (not transparent) */
.carousel-track img { filter: brightness(0.65); transition: filter .28s ease; }
.carousel-track img.active { filter: brightness(1); }

@font-face {
  font-family: 'JazShin';
  src: url('../font/JazShinFont1.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* Apply JazShin font to all main page titles */
.page-title,
.menu-header h1,
.full-heading,
.sub-heading-cn,
.gallery-header h1,
.contact-header h1,
.stories .story-head,
.schedule h2,
.index-section h2 {
  font-family: 'JazShin', 'Roboto', sans-serif !important;
  letter-spacing: 1px;
}

/* --- JazShin font for titles only --- */
@font-face {
  font-family: 'JazShin';
  src: url('../font/JazShinFont1.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* Apply to page section titles */
.page-title,
.contact-wrap h1,
.gallery-header h1 {
  font-family: 'JazShin', 'Roboto', sans-serif !important;
  letter-spacing: 1px;
}

/* Force original font for selected headings */
.original-font {
  font-family: 'Roboto', sans-serif !important;
  letter-spacing: normal;
}