/* ══ Nhà Hàng Truyền Thống — Shared Styles ══
   Màu accent: Amber #b45309 — ấm cúng, hoài cổ, gia đình
   Để đổi màu thương hiệu: sửa --accent, --accent-h, --accent-light trong :root
*/
:root {
  --bg:           #faf8f5;   /* Nền tổng thể */
  --surface:      #fff;      /* Card, panel, modal */
  --dark:         #0e0b06;   /* Footer background */
  --dark2:        #1a1309;   /* Dark section (hero, about) */

  --border:       #e8dece;   /* Border mặc định */
  --border-light: #f0e8da;   /* Divider, border nhẹ */

  --text:         #1c1710;   /* Text chính */
  --text-2:       #7a6a55;   /* Text phụ, label, meta */
  --text-3:       #a89a82;   /* Text mờ, placeholder */

  --accent:       #b45309;   /* Amber — button CTA, link active */
  --accent-h:     #92400e;   /* Hover của accent */
  --accent-light: #fef3c7;   /* Background nhạt của accent */
  --accent-mid:   #d97706;   /* Accent trung gian */

  --warm:         #f8f2e8;   /* Background ấm nhẹ */
  --warm2:        #ede5d5;   /* Background ấm đậm */

  --danger:       #e24b4a;

  --sans: 'DM Sans', sans-serif;

  --bs-body-font-family: var(--sans);
  --bs-body-bg: var(--bg);
  --bs-body-color: var(--text);
  --bs-border-color: var(--border);
}

/* ── Reset & Base ── */
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb { background: var(--warm2); border-radius: 4px; }
img { display: block; }
a { text-decoration: none; }

/* ── Layout ── */
.wd-container { max-width: 1100px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 80px); }
.sec-pad { padding: clamp(72px, 10vw, 128px) 0; }

/* ── Reveal animation ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }

/* ── Section header ── */
.eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 500; color: var(--accent); text-transform: uppercase; letter-spacing: 1.4px; margin-bottom: 14px; }
.eyebrow::before, .eyebrow::after { content: ''; width: 16px; height: 1px; background: var(--accent); }
.sec-title { font-size: clamp(26px, 3.8vw, 44px); font-weight: 600; color: var(--text); line-height: 1.1; letter-spacing: -.8px; margin-bottom: 14px; }
.sec-title em { color: var(--accent); font-style: italic; font-weight: 300; }
.sec-sub { font-size: 15px; font-weight: 300; color: var(--text-2); line-height: 1.75; max-width: 520px; margin: 0 auto; }
.sec-dark .sec-title { color: #fff; }
.sec-dark .sec-sub { color: rgba(255,255,255,.38); }
.sec-dark .eyebrow { color: #fbbf24; }
.sec-dark .eyebrow::before, .sec-dark .eyebrow::after { background: #fbbf24; }

/* ── Navigation ── */
#nav { position: fixed; top: 0; left: 0; right: 0; z-index: 500; background: rgba(250,248,245,.95); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); transition: all .3s; }
#nav.transparent { background: transparent; border-color: transparent; }
#nav.transparent .logo { color: #fff; }
#nav.transparent .logo span { color: #fbbf24; }
#nav.transparent .nav-links a { color: rgba(255,255,255,.65); }
#nav.transparent .nav-cta { background: #fff; color: var(--dark); }
#nav.transparent .nav-hamburger span { background: rgba(255,255,255,.8); }
.nav-inner { height: 64px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 17px; font-weight: 600; color: var(--text); letter-spacing: -.4px; display: flex; align-items: center; gap: 8px; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 13.5px; color: var(--text-2); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-cta { font-size: 13px; font-weight: 500; background: var(--accent); color: #fff; padding: 9px 22px; border-radius: 8px; border: none; cursor: pointer; transition: all .2s; font-family: var(--sans); }
.nav-cta:hover { background: var(--accent-h); color: #fff; transform: translateY(-1px); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; border: none; background: transparent; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text-2); border-radius: 2px; transition: all .3s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile { position: fixed; inset: 0; background: rgba(250,248,245,.98); backdrop-filter: blur(12px); z-index: 490; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.nav-mobile.open { opacity: 1; pointer-events: auto; }
.nav-mobile a { font-size: 22px; font-weight: 500; color: var(--text-2); transition: color .2s; }
.nav-mobile a:hover { color: var(--accent); }
.nav-mobile .nm-cta { font-size: 15px; background: var(--accent); color: #fff; padding: 13px 36px; border-radius: 9px; margin-top: 8px; }
@media (max-width: 768px) { .nav-links, .nav-cta { display: none; } .nav-hamburger { display: flex; } }

/* ── Page hero (sub-pages) ── */
.page-hero { padding: calc(64px + clamp(48px,6vw,80px)) 0 clamp(48px,6vw,72px); background: var(--dark2); text-align: center; }
.ph-eyebrow { font-size: 11px; font-weight: 500; color: var(--accent-mid); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; }
.ph-title { font-size: clamp(32px, 4.5vw, 58px); font-weight: 600; color: #fff; line-height: 1.1; letter-spacing: -1px; margin-bottom: 14px; }
.ph-title em { color: #fbbf24; font-style: italic; font-weight: 300; }
.ph-sub { font-size: clamp(14px, 1.4vw, 17px); font-weight: 300; color: rgba(255,255,255,.45); max-width: 500px; margin: 0 auto; }

/* ── Buttons ── */
.btn-accent { font-size: 14px; font-weight: 500; background: var(--accent); color: #fff; padding: 12px 26px; border-radius: 9px; border: none; cursor: pointer; font-family: var(--sans); transition: all .2s; display: inline-block; }
.btn-accent:hover { background: var(--accent-h); transform: translateY(-1px); color: #fff; }
.btn-ghost { font-size: 14px; font-weight: 400; background: transparent; color: var(--text-2); padding: 12px 26px; border-radius: 9px; border: 1px solid var(--border); cursor: pointer; font-family: var(--sans); transition: all .2s; display: inline-block; }
.btn-ghost:hover { background: var(--warm); color: var(--text); }
.btn-white { font-size: 14px; font-weight: 500; background: #fff; color: var(--dark); padding: 12px 26px; border-radius: 9px; border: none; cursor: pointer; font-family: var(--sans); transition: all .2s; display: inline-block; }
.btn-white:hover { background: var(--warm); transform: translateY(-1px); }

/* ── Menu tab filter ── */
.menu-tab { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.mt-btn { font-size: 13px; font-weight: 400; padding: 8px 20px; border-radius: 20px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); cursor: pointer; transition: all .18s; font-family: var(--sans); }
.mt-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.mt-btn:hover:not(.active) { border-color: var(--accent-mid); color: var(--accent); }

/* ── Food card (unique class) ── */
.food-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: transform .28s cubic-bezier(.16,1,.3,1), box-shadow .28s, border-color .28s; }
.food-card:hover { transform: translateY(-6px); box-shadow: 0 20px 52px rgba(180,83,9,.1); border-color: transparent; }
.food-card:hover .fc-img { transform: scale(1.06); }
.fc-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform .5s ease; }
.fc-body { padding: 16px 18px; }
.fc-cat { font-size: 11px; font-weight: 500; color: var(--accent); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.fc-name { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; letter-spacing: -.3px; }
.fc-desc { font-size: 13px; font-weight: 300; color: var(--text-2); line-height: 1.6; margin-bottom: 10px; }
.fc-price { font-size: 15px; font-weight: 600; color: var(--accent); }
.fc-badge { font-size: 10px; background: var(--accent); color: #fff; padding: 2px 8px; border-radius: 8px; margin-left: 6px; }
.food-item-hidden { display: none; }

/* ── Gallery masonry ── */
.gallery-masonry { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 12px; }
.gm-item { overflow: hidden; border-radius: 12px; }
.gm-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; display: block; }
.gm-item:hover img { transform: scale(1.05); }
.gm-item--wide { grid-column: span 2; }
.gm-item--tall { grid-row: span 2; }
.gm-item:nth-child(1) { grid-column: span 2; height: 280px; }
.gm-item:nth-child(2) { height: 280px; }
.gm-item:nth-child(3) { height: 220px; }
.gm-item:nth-child(4) { height: 220px; }
.gm-item:nth-child(5) { grid-column: span 2; height: 220px; }
@media (max-width: 768px) {
  .gallery-masonry { grid-template-columns: 1fr 1fr; }
  .gm-item:nth-child(1), .gm-item:nth-child(5) { grid-column: span 2; }
}
@media (max-width: 480px) {
  .gallery-masonry { grid-template-columns: 1fr; }
  .gm-item:nth-child(1), .gm-item:nth-child(5) { grid-column: span 1; }
}

/* ── Feature box ── */
.feature-box { padding: 28px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; height: 100%; transition: box-shadow .28s, transform .28s; }
.feature-box:hover { box-shadow: 0 10px 32px rgba(0,0,0,.07); transform: translateY(-4px); }
.fb-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-light); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.fb-title { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.fb-desc { font-size: 13px; font-weight: 300; color: var(--text-2); line-height: 1.7; }

/* ── Story grid ── */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sg-item { border-radius: 12px; overflow: hidden; }
.sg-item img { width: 100%; height: 200px; object-fit: cover; display: block; transition: transform .5s ease; }
.sg-item:hover img { transform: scale(1.04); }
.sg-item:nth-child(2) { margin-top: 24px; }
.sg-item:nth-child(4) { margin-top: 24px; }

/* ── Review card ── */
.rv { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 24px; height: 100%; }
.rv-stars { color: #f59e0b; font-size: 13px; letter-spacing: 2px; margin-bottom: 14px; }
.rv-text { font-size: 13.5px; font-weight: 300; color: var(--text-2); line-height: 1.75; margin-bottom: 18px; font-style: italic; }
.rv-foot { display: flex; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--border-light); }
.rv-av { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.rv-name { font-size: 13px; font-weight: 500; color: var(--text); }
.rv-role { font-size: 11.5px; color: var(--text-3); }

/* ── CTA section ── */
.cta-sec { background: var(--accent); padding: clamp(64px, 9vw, 100px) 0; text-align: center; position: relative; overflow: hidden; }
.cta-sec::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,0,0,.12) 0%, transparent 55%); }
.cta-title { font-size: clamp(26px, 4vw, 50px); font-weight: 600; color: #fff; line-height: 1.1; margin-bottom: 12px; letter-spacing: -.8px; position: relative; }
.cta-sub { font-size: 15px; font-weight: 300; color: rgba(255,255,255,.7); margin-bottom: 28px; position: relative; }

/* ── Footer ── */
footer { background: var(--dark); }
.ft-logo { font-size: 18px; font-weight: 600; color: #fff; letter-spacing: -.4px; margin-bottom: 12px; }
.ft-logo span { color: #fbbf24; }
.ft-desc { font-size: 13px; font-weight: 300; color: rgba(255,255,255,.35); line-height: 1.7; max-width: 240px; margin-bottom: 20px; }
.ft-socials { display: flex; gap: 8px; }
.ft-soc { width: 33px; height: 33px; border-radius: 8px; border: 1px solid rgba(255,255,255,.09); color: rgba(255,255,255,.35); display: flex; align-items: center; justify-content: center; font-size: 12px; cursor: pointer; transition: all .15s; text-decoration: none; }
.ft-soc:hover { border-color: rgba(255,255,255,.28); color: rgba(255,255,255,.8); }
.ft-col-title { font-size: 11px; font-weight: 600; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 14px; }
.ft-links { display: flex; flex-direction: column; gap: 9px; }
.ft-links a { font-size: 13px; font-weight: 300; color: rgba(255,255,255,.35); transition: color .15s; }
.ft-links a:hover { color: rgba(255,255,255,.75); }
.ft-bottom { background: #080604; border-top: 1px solid rgba(255,255,255,.04); }
.ft-copy { font-size: 12px; font-weight: 300; color: rgba(255,255,255,.18); }

/* ── Forms ── */
.form-label { font-size: 12px; font-weight: 500; color: var(--text-2); margin-bottom: 5px; display: block; }
.form-control, .form-select { font-family: var(--sans); font-size: 14px; font-weight: 300; color: var(--text); border: 1px solid var(--border); border-radius: 8px; padding: .5rem .75rem; transition: border-color .15s, box-shadow .15s; background: var(--surface); }
.form-control:focus, .form-select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(180,83,9,.1); outline: none; color: var(--text); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* ── Zalo float button ── */
.zf { position: fixed; bottom: 26px; right: 26px; z-index: 400; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.zf-tip { font-size: 12px; background: var(--dark); color: rgba(255,255,255,.75); padding: 6px 12px; border-radius: 6px; opacity: 0; transform: translateX(6px); transition: all .2s; pointer-events: none; white-space: nowrap; border: 1px solid rgba(255,255,255,.08); }
.zf:hover .zf-tip { opacity: 1; transform: none; }
.zf-btn { width: 48px; height: 48px; border-radius: 50%; background: #0068FF; display: flex; align-items: center; justify-content: center; border: none; font-size: 22px; box-shadow: 0 4px 18px rgba(0,104,255,.38); transition: transform .2s; cursor: pointer; }
.zf-btn:hover { transform: scale(1.09); }
