@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&family=Noto+Sans:wght@400;500;600;700&family=Yellowtail&display=swap');

:root {
  --cream: #f6eee1;
  --cream-deep: #ede0cb;
  --paper: #fbf6ec;
  --terracotta: #c1603c;
  --terracotta-dark: #a24e30;
  --navy: #1f2b3a;
  --navy-light: #2c3c50;
  --ink: #2b2520;
  --ink-soft: #5c5349;
  --line: #e0d2ba;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(43, 37, 32, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Noto Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  padding-bottom: 76px;
}

h1, h2, h3, .serif {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  margin: 0;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 238, 225, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Yellowtail', cursive;
  font-size: 30px;
  color: var(--ink);
}
.logo .stamp {
  width: 16px;
  height: 16px;
  background: var(--terracotta);
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.logo .stamp svg { width: 10px; height: 10px; stroke: var(--paper); }

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
}
nav.main-nav a:hover, nav.main-nav a.active { color: var(--terracotta); }

.lang-switch {
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 5px 12px;
  color: var(--ink-soft);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle svg { width: 26px; height: 26px; stroke: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background-size: cover;
  background-position: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 16, 12, 0.15) 0%, rgba(20, 16, 12, 0.65) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 28px 56px;
  max-width: 560px;
}
.hero-content .jp {
  font-size: 13px;
  letter-spacing: 0.15em;
  opacity: 0.85;
  margin-bottom: 10px;
}
.hero-content h1 {
  font-size: 44px;
  line-height: 1.15;
  margin-bottom: 14px;
}
.hero-content p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 26px;
  opacity: 0.92;
  max-width: 440px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 13px 26px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.btn-primary { background: var(--terracotta); color: #fff; }
.btn-primary:hover { background: var(--terracotta-dark); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-outline { background: transparent; border: 1.5px solid currentColor; color: inherit; }
.btn svg { width: 16px; height: 16px; }

/* ---------- Section pattern (image left/right + text) ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0;
}
.feature.reverse { direction: rtl; }
.feature.reverse > * { direction: ltr; }
.feature img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.eyebrow {
  color: var(--terracotta);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.feature h2 { font-size: 32px; margin-bottom: 12px; }
.feature p { color: var(--ink-soft); line-height: 1.7; margin-bottom: 22px; font-size: 15.5px; }

/* ---------- Menu strip on home ---------- */
.menu-categories {
  background: var(--cream-deep);
  padding: 60px 0 70px;
}
.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 36px;
}
.section-head h2 { font-size: 32px; margin-bottom: 10px; }
.section-head p { color: var(--ink-soft); font-size: 15px; }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.cat-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: transform 0.15s ease;
}
.cat-card:hover { transform: translateY(-4px); }
.cat-card .ic {
  width: 44px; height: 44px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--cream-deep);
  display: flex; align-items: center; justify-content: center;
}
.cat-card .ic svg { width: 22px; height: 22px; stroke: var(--terracotta); }
.cat-card h3 { font-size: 16px; font-family: 'Noto Sans', sans-serif; font-weight: 700; margin-bottom: 4px; }
.cat-card span { font-size: 12.5px; color: var(--ink-soft); }

/* ---------- Testimonial / reviews strip ---------- */
.reviews {
  padding: 64px 0;
  text-align: center;
}
.stars { color: var(--terracotta); font-size: 20px; letter-spacing: 3px; margin-bottom: 10px; }
.reviews .score { font-family: 'Playfair Display', serif; font-size: 40px; }
.reviews p.sub { color: var(--ink-soft); margin-top: 6px; font-size: 14px; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy);
  color: #eee5d6;
  padding: 50px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 30px;
}
.footer-grid .logo { color: #fff; }
.footer-grid p { color: #c9bfae; font-size: 14px; line-height: 1.7; margin-top: 10px; }
.footer-grid h4 { font-family: 'Noto Sans', sans-serif; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: #c9bfae; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 18px;
  font-size: 12.5px;
  color: #8f8a7e;
  display: flex;
  justify-content: space-between;
}

/* ---------- Sticky bottom order bar ---------- */
.sticky-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 50;
  background: var(--navy);
  display: flex;
}
.sticky-bar button {
  flex: 1;
  border: none;
  background: transparent;
  color: #eee5d6;
  padding: 16px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 700;
}
.sticky-bar button svg { width: 18px; height: 18px; }
.sticky-bar button.primary { background: var(--terracotta); color: #fff; }
.sticky-bar .divider { width: 1px; background: rgba(255,255,255,0.12); }

/* ---------- Menu page ---------- */
.menu-hero {
  padding: 50px 0 10px;
  text-align: center;
}
.menu-hero .jp { color: var(--terracotta); font-size: 13px; letter-spacing: 0.1em; margin-bottom: 8px; }
.menu-hero h1 { font-size: 38px; margin-bottom: 10px; }
.menu-hero p { color: var(--ink-soft); }

.tabs {
  position: sticky;
  top: 76px;
  z-index: 30;
  background: var(--cream);
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 18px 28px;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab-btn {
  flex: none;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}
.tab-btn.active { background: var(--terracotta); color: #fff; border-color: var(--terracotta); }

.menu-section { max-width: 1120px; margin: 0 auto; padding: 36px 28px 20px; }
.menu-section h2 { font-size: 24px; margin-bottom: 4px; }
.menu-section .section-note { color: var(--ink-soft); font-size: 13.5px; margin-bottom: 20px; }

.item-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.item-card {
  display: flex;
  gap: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  align-items: center;
}
.item-card img {
  width: 84px; height: 84px;
  object-fit: cover;
  border-radius: 10px;
  flex: none;
}
.item-card .info { flex: 1; min-width: 0; }
.item-card .info .top-row { display: flex; justify-content: space-between; gap: 8px; }
.item-card h3 { font-size: 15.5px; font-family: 'Noto Sans', sans-serif; font-weight: 700; }
.item-card .price { font-weight: 700; color: var(--terracotta); font-size: 14.5px; white-space: nowrap; }
.item-card p { margin: 5px 0 10px; font-size: 13px; color: var(--ink-soft); line-height: 1.45; }
.add-btn {
  border: 1.5px solid var(--terracotta);
  color: var(--terracotta);
  background: transparent;
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.add-btn.added { background: var(--terracotta); color: #fff; }
.add-btn svg { width: 13px; height: 13px; }

/* ---------- Cart drawer ---------- */
.overlay {
  position: fixed; inset: 0;
  background: rgba(20,16,12,0.45);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.overlay.open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 400px;
  max-width: 92vw;
  background: var(--paper);
  z-index: 70;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}
.drawer-head h3 { font-size: 20px; }
.drawer-head button { background: none; border: none; }
.drawer-head button svg { width: 22px; height: 22px; }

.drawer-body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.cart-line {
  display: flex; gap: 12px; align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.cart-line img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; }
.cart-line .ci { flex: 1; }
.cart-line .ci .name { font-weight: 700; font-size: 14px; }
.cart-line .ci .unit { font-size: 12px; color: var(--ink-soft); }
.qty {
  display: flex; align-items: center; gap: 8px;
}
.qty button {
  width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--cream);
  font-size: 14px; display: flex; align-items: center; justify-content: center;
}
.empty-cart { text-align: center; color: var(--ink-soft); padding: 60px 10px; font-size: 14px; }
.empty-cart svg { width: 40px; height: 40px; stroke: var(--line); margin-bottom: 12px; }

.drawer-foot {
  border-top: 1px solid var(--line);
  padding: 18px 22px 22px;
}
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink-soft); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.04em; }
.field select, .field input {
  width: 100%;
  padding: 11px 12px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--cream);
  font-size: 14px;
  font-family: inherit;
}
.total-row {
  display: flex; justify-content: space-between;
  font-weight: 700; font-size: 16px;
  margin: 14px 0 16px;
}
.drawer-foot .btn { width: 100%; justify-content: center; padding: 14px; font-size: 15px; }
.drawer-foot .btn:disabled { opacity: 0.45; pointer-events: none; }

/* ---------- Modal (reservation / confirmation) ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(20,16,12,0.5);
  z-index: 80; display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--paper);
  border-radius: 18px;
  max-width: 440px; width: 100%;
  padding: 30px 26px;
  max-height: 88vh; overflow-y: auto;
}
.modal h3 { font-size: 22px; margin-bottom: 6px; }
.modal .sub { color: var(--ink-soft); font-size: 13.5px; margin-bottom: 20px; }
.modal .btn { width: 100%; justify-content: center; margin-top: 6px; }
.modal .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-close { float: right; background: none; border: none; }
.modal-close svg { width: 20px; height: 20px; }

.success {
  text-align: center;
  padding: 10px 0 4px;
}
.success .check {
  width: 64px; height: 64px; border-radius: 50%;
  background: #e9f3ea; color: #3f8a4c;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.success .check svg { width: 30px; height: 30px; }
.success h3 { margin-bottom: 8px; }
.success p { color: var(--ink-soft); font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.success .order-id { font-size: 13px; color: var(--ink-soft); background: var(--cream-deep); border-radius: 8px; padding: 10px; margin-bottom: 18px; }

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  nav.main-nav { display: none; }
  .nav-toggle { display: block; }
  .feature { grid-template-columns: 1fr; gap: 26px; padding: 50px 0; }
  .feature img { height: 260px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .item-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 32px; }
  .menu-hero h1 { font-size: 30px; }
  .tabs { top: 76px; }
}
