﻿@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700&display=swap');

/* =========================
   Theme / Variables
========================= */
:root{
  --bg: #FAFAF8;
  --text: #141414;
  --muted: #5A5A5A;

  --cherry: #8B1E2D;
  --gold: #C8A24A;
  --sage: #7E927F;

  --radius: 18px;
  --radius-lg: 26px;

  --max: 1120px;
  --frame: 1120px;
  --pad: clamp(16px, 3vw, 28px);

  --font: "Comfortaa", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Responsive type scaling */
  --scale: 1;
  --base: calc(16px * var(--scale));
  --small: calc(13px * var(--scale));
  --btn: calc(14px * var(--scale));

  --h1: clamp(calc(34px * var(--scale)), 4.4vw, calc(56px * var(--scale)));
  --h2: clamp(calc(20px * var(--scale)), 2.8vw, calc(34px * var(--scale)));

  --line: 1.55;
  --line-tight: 1.2;
}

/* =========================
   Base
========================= */
*{ box-sizing:border-box; }
html, body{ height:100%; }

html{
  background: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* HARD FIX: bamboo wallpaper behind EVERYTHING */
html::before{
  content:"";
  position: fixed;
  inset: 0;
  background: url("Images/background.png") center/cover no-repeat;
  z-index: -9999;
  pointer-events: none;
}

/* Make bamboo LIGHTER */
html::after{
  content:"";
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,.55); /* lighter bamboo */
  z-index: -9998;
  pointer-events: none;
}

body{
  margin:0;
  font-family: var(--font);
  font-weight: 300;
  color: var(--text);
  line-height: var(--line);
  background: transparent !important; /* important: no white page layer */
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; }

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

/* =========================
   Header (sticky)
========================= */
.header,
.site-header{
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(250,250,248,.65);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(231,227,221,.55);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--cherry);
  box-shadow: 0 10px 24px rgba(139,30,45,.25);
}

.brand-title strong{
  display:block;
  font-weight: 500;
  letter-spacing: .2px;
}

.brand-title span{
  display:block;
  color: var(--muted);
  font-weight: 300;
  font-size: 12px;
  margin-top: 2px;
}

/* Center nav */
.nav{
  display:flex;
  align-items:center;
  gap: 18px;
  flex: 1;
  justify-content:center;
  white-space: nowrap;
}

.nav a{
  font-weight: 400;
  color: rgba(20,20,20,.85);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(231,227,221,.75);
  background: rgba(255,255,255,.45);
  transition: background .15s ease, box-shadow .15s ease;
}

.nav a:hover{
  background: rgba(255,255,255,.65);
  box-shadow: 0 6px 16px rgba(20,20,20,.08);
}

.nav a[aria-current="page"]{
  background: rgba(255,255,255,.75);
  border-color: rgba(231,227,221,.95);
  font-weight: 500;
}

/* Right-side actions */
.header-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap: 10px;
  min-width: 180px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(231,227,221,.85);
  background: rgba(255,255,255,.55);
  font-weight: 500;
  cursor:pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(20,20,20,.10);
}

.btn-primary{
  background: var(--cherry);
  border-color: rgba(139,30,45,.30);
  color: #fff;
}

.btn-primary:hover{
  box-shadow: 0 14px 30px rgba(139,30,45,.22);
}

/* =========================
   Sections / Titles
========================= */
section{
  padding: 14px 0 22px; /* tighter overall spacing */
}

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.section-head p{
  max-width: 70ch;
  color: var(--muted);
  font-weight: 300;
  margin: 6px 0 0;
}

.section-title{
  margin: 0;
  font-size: var(--h2);
  font-weight: 300;
  letter-spacing: 1px;
  line-height: var(--line-tight);
}

.anchor{ scroll-margin-top: 110px; }

/* =========================
   Remove ALL “white section panels”
   (only bamboo background + your images)
========================= */
.panel,
.card,
.hero-card,
.service-bar,
.hero-logo-card,
.explore-menu-visual,
.menu-only-wrap,
.location-frame{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.card:hover{
  transform: none;
  box-shadow: none;
}

/* =========================
   Hero (index top area)
========================= */
.hero{
  padding: 16px 0 0; /* tighter */
}

/* optional layout use left card + right visual */
.hero-shell{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
  align-items: start;
}

/* Support BOTH spellings so don’t break HTML */
.hero-title,
.hero-tittle{
  font-size: var(--h1);
  line-height: 1.05;
  font-weight: 300;
  margin: 0 0 10px;
  letter-spacing: 1.5px;
}

.hero-subtitle,
.hero-sub{
  margin: 0 0 14px;
  opacity: .75;
  color: var(--muted);
  font-weight: 300;
  max-width: 62ch;
}

/* If you still show service pills, keep them readable */
.service-text{
  color: rgba(20,20,20,.75);
  font-weight: 300;
  font-size: 14px;
}

/* Your hero photo / logo strip container */
.hero-logo-container,
.hero-photo{
  width: 100%;
  max-width: var(--frame);
  margin: 0 auto;
  overflow: visible;
}

/* Keep rounded photo clip, but NO white frame around it */
.hero-photo{
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: 8px; /* smaller gap under hero image */
}

.hero-photo img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* ==============================
   WELCOME SECTION
============================== */
.welcome-section{
  width: 100%;
  max-width: var(--frame);
  margin: -8px auto 0; /* pulls welcome closer to hero image */
  text-align: center;
}

/* If your HTML uses welcome-wrap */
.welcome-wrap{
  width: min(var(--frame), 100%);
  margin-left: auto;
  margin-right: auto;
}

.welcome-visual{
  width: 100%;
  margin: 10px auto 0; /* tighter */
  padding: 0;          /* remove extra “border spacing” */
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.welcome-bg{
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.welcome-img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Overlay text */
.welcome-overlay{
  position: absolute;
  inset: 0;
  display:flex;
  flex-direction: column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding: clamp(10px, 1.6vw, 26px); /* slightly tighter */
}

/* red frame behind text (SMALLER) */
.welcome-overlay::before{
  content:"";
  position:absolute;
  width: min(60%, 640px);      /* was 70%, 820px */
  height: min(48%, 300px);     /* was 56%, 360px */
  background: rgba(139, 30, 45, 0.68); /* keep your same red */
  border-radius: 20px;         /* slightly smaller radius */
  z-index: 0;
}

/* text above + force it to stay inside the frame */
.welcome-overlay > *{
  position: relative;
  z-index: 1;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.55);
  max-width: min(52%, 560px);  /* NEW: keeps text inside the red frame */
}

.welcome-overlay h2{
  font-size: clamp(14px, 1.6vw, 22px);  /* slightly smaller to guarantee fit */
  font-weight: 600;
  letter-spacing: 2px;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.welcome-overlay p{
  font-size: clamp(11px, 0.9vw, 14px);  /* slightly smaller to guarantee fit */
  font-weight: 400;
  max-width: 48ch;                      /* tighter */
  margin: 0 auto 6px;
  line-height: 1.45;
}

/* Highlight cuisine words (HTML: <span class="tag vietnamese">Vietnamese</span>) */
.welcome-overlay .tag{
  display:inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 2px;
  color: #fff;
  text-shadow: none;
}
.welcome-overlay .tag.vietnamese{ background: rgba(0, 140, 80, .88); }
.welcome-overlay .tag.chinese{   background: rgba(170, 0, 0, .88); }
.welcome-overlay .tag.thai{      background: rgba(230, 160, 0, .92); color:#2b1a00; }

.welcome-overlay strong{ font-weight: 700; }

.welcome-overlay .service-line,
.service-strong{
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 10px;
  font-size: clamp(10px, 0.9vw, 13px);
}

/* Hours BIGGER */
.welcome-overlay .hours,
.hours{
  font-size: clamp(13px, 1.1vw, 16px);  /* was 10px–12px */
  margin-top: 8px;
  opacity: .95;
}
/* ===========================
   MOBILE SAFE FIT (WELCOME)
   keeps ALL text inside frame
=========================== */

/* Frame scales with viewport instead of % of container */
.welcome-overlay::before{
  width: min(88vw, 640px);
  height: min(46vw, 300px);
}

/* Text block can never be wider than the red frame */
.welcome-overlay > *{
  max-width: min(78vw, 560px);
}

/* Extra-tight rules for small screens */
@media (max-width: 520px){
  .welcome-overlay{
    padding: 10px;
  }

  .welcome-overlay::before{
    width: min(92vw, 520px);
    height: min(58vw, 280px);
    border-radius: 16px;
  }

  .welcome-overlay > *{
    max-width: min(86vw, 420px);
  }

  .welcome-overlay h2{
    font-size: clamp(13px, 4vw, 18px);
    letter-spacing: 1px;     /* big fix: prevents overflow */
    margin-bottom: 6px;
  }

  .welcome-overlay p{
    font-size: clamp(11px, 3.2vw, 13px);
    line-height: 1.35;
    max-width: 38ch;         /* tighter so it never spills */
    margin-bottom: 6px;
  }

  .welcome-overlay .service-line,
  .service-strong{
    font-size: clamp(10px, 2.8vw, 12px);
    letter-spacing: 0.10em;
    margin-top: 8px;
  }

  .welcome-overlay .hours,
  .hours{
    font-size: clamp(12px, 3.2vw, 14px); /* bigger but still safe */
    margin-top: 6px;
  }

  /* tags shrink slightly so the line doesn't wrap weird */
  .welcome-overlay .tag{
    padding: 1px 7px;
    font-size: 0.92em;
  }
}

/* ===========================
   EXPLORE THE MENUS
   (Match Hero Size Exactly)
=========================== */

.explore-menu-visual{
  width: min(var(--frame), 100%);
  margin: 12px auto 0;      /* small gap */
  padding: 0;               /* remove extra padding */
  background: transparent;  /* no white layer */
  border: none;
  box-shadow: none;
}

.explore-menu-visual img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);  /* same rounding as hero */
  object-fit: cover;
}
.section-head,
.explore-head{
  width: min(var(--frame), 100%);
  margin-left: auto;
  margin-right: auto;
}

.section-title{
  margin-left: 0;
}

/* =========================
   Menu page (images / PDF-style pages)
========================= */
.menu-only{
  padding: 16px 16px 26px;
}

.menu-desktop{
  display: grid;
  gap: 14px;
}
.menu-mobile{
  display: none;
}

.menu-desktop img,
.menu-mobile img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

/* Switch on small screens */
@media (max-width: 820px){
  .menu-desktop{ display: none; }
  .menu-mobile{ display: grid; gap: 12px; }
}

/* =========================
   Locations (BIG like hero/menu + centered)
   KEEP ONLY THIS LOCATIONS SECTION
========================= */

.locations-stack{
  display: grid;
  gap: 28px;
}

/* Center the whole location section to match hero/menu width */
.location-card{
  width: min(var(--frame), 100%);
  margin: 0 auto 90px;
  padding: 0; /* match your other sections */
}

/* Layout: photo left, info right (desktop), stack (mobile) */
.location-frame{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}

@media (min-width: 980px){
  .location-frame{
    grid-template-columns: 1.55fr 0.45fr; /* same style you had when it looked right */
    gap: 18px;
  }
}

/* Photo area: full width of its column, no shrinking */
.location-media{
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
}

/* If you have TWO photos stacked, keep them full width with spacing */
.location-media img{
  width: 100%;
  height: auto;
  display: block;
}

.location-media img + img{
  margin-top: 12px;
}

/* Right column text */
.location-side{
  padding: 0;
}

.location-side-title{
  font-size: 18px;
  font-weight: 500;
  margin: 2px 0 6px;
}

.location-side-sub{
  font-size: 13px;
  opacity: .75;
  line-height: 1.45;
  margin: 0 0 12px;
}

/* Buttons stay on the RIGHT (your request) */
.location-side-actions,
.location-actions,
.location-buttons{
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 12px;
}

.location-side-actions .btn,
.location-actions .btn,
.location-buttons .btn{
  width: auto;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
}


/* =========================
   Footer
========================= */
.footer{
  background: transparent;
  border-top: 1px solid rgba(231,227,221,.55);
}

.footer-inner{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
  align-items:start;
}

.footer h4{
  margin: 0 0 10px 0;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: .5px;
}

.footer p, .footer a{
  margin: 0;
  color: rgba(20,20,20,.75);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.6;
}

.footer .small{
  margin-top: 10px;
  color: rgba(20,20,20,.55);
}

@media (max-width: 900px){
  .footer-inner{ grid-template-columns: 1fr; }
}

/* =========================
   Responsive (global)
========================= */
@media (max-width: 980px){
  .hero-shell{ grid-template-columns: 1fr; }

  .header-inner{
    flex-wrap: wrap;
    gap: 10px;
  }

  .brand{ min-width: unset; }

  .nav{
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    order: 3;
  }

  .header-actions{
    margin-left: auto;
  }
}

@media (max-width: 520px){
  .nav a{ padding: 7px 9px; font-size: 14px; }
  .btn{ height: 38px; padding: 0 14px; }
}

@media (max-width: 900px){ :root{ --scale: .94; } }
@media (max-width: 600px){ :root{ --scale: .88; } }
@media (max-width: 420px){ :root{ --scale: .82; } }
/* =========================
   LOCATIONS ONLY: BREAK OUT OF 1120px CONTAINER
   -> makes the whole locations block full width + centered
========================= */

.locations-stack{
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0;
}

/* now we can make each location card BIG */
.location-card{
  width: min(1500px, 96vw);
  margin: 0 auto 90px;
  padding: 0;
}

/* keep same layout but bigger photo column */
@media (min-width: 980px){
  .location-frame{
    grid-template-columns: 1.8fr 0.55fr; /* bigger photo */
    gap: 22px;
  }
}

/* images stay normal */
.location-media img{
  width: 100%;
  height: auto;
  display: block;
}
/* LOCATIONS: CENTER THE BIG BLOCK (FINAL) */
.locations-stack{
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0;
}

.location-card{
  width: min(1500px, 96vw);
  margin: 0 auto 90px;
}

/* LOCATION BUTTONS — LEFT aligned, clean reset */

.location-side-actions,
.location-actions,
.location-buttons{
  display: flex;
  justify-content: flex-start;   /* LEFT */
  gap: 10px;
  margin-top: 14px;
}
/* =========================
   MOBILE SAFETY PATCH
========================= */

@media (max-width: 768px){

  html, body{
    overflow-x: hidden;
  }

  .container{
    width: 100%;
    max-width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }

  .header{
    position: sticky;
    top: 0;
  }

  .header-inner{
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .brand,
  .header-actions,
  .nav{
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .nav{
    flex-wrap: wrap;
    gap: 8px;
  }

  .nav a{
    padding: 7px 10px;
    font-size: 13px;
  }

  .hero,
  section{
    padding-top: 10px;
    padding-bottom: 16px;
  }

  .hero-shell,
  .location-frame,
  .footer-inner{
    grid-template-columns: 1fr !important;
  }

  .hero-photo,
  .hero-photo img,
  .explore-menu-visual img,
  .welcome-bg,
  .welcome-img,
  .location-media,
  .location-media img{
    border-radius: 16px;
  }

  .welcome-section{
    margin-top: 0;
  }

  .welcome-overlay{
    padding: 12px;
  }

  .welcome-overlay::before{
    width: min(90vw, 500px);
    height: auto;
    min-height: 180px;
    max-height: 72%;
    border-radius: 16px;
  }

  .welcome-overlay > *{
    max-width: min(82vw, 420px);
  }

  .welcome-overlay h2{
    font-size: clamp(13px, 4vw, 18px);
    letter-spacing: 1px;
    line-height: 1.2;
  }

  .welcome-overlay p{
    font-size: clamp(11px, 3.2vw, 13px);
    line-height: 1.35;
    max-width: 34ch;
  }

  .locations-stack{
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .location-card{
    width: 100%;
    max-width: 100%;
    margin: 0 auto 36px;
  }

  .location-side-actions,
  .location-actions,
  .location-buttons{
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .btn{
    max-width: 100%;
  }
}

/* extra-small phones */
@media (max-width: 480px){

  :root{
    --scale: .84;
  }

  .brand-title strong{
    font-size: 14px;
  }

  .brand-title span{
    font-size: 11px;
  }

  .nav a{
    font-size: 12px;
    padding: 6px 8px;
  }

  .btn{
    height: 36px;
    padding: 0 12px;
    font-size: 13px;
  }

  .welcome-overlay::before{
    width: 90vw;
    min-height: 170px;
  }

  .section-head{
    margin-bottom: 8px;
  }
}
