/* ==========================================================================
   Variabel brand: ganti bagian ini saja untuk menyesuaikan warna & font.
   Font ada di folder fonts/ (huruf Latin saja, ketebalan sesuai @font-face di bawah).
   Kalau font diganti, ubah juga <link rel="preload"> di index.html.
   ========================================================================== */
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces.woff2") format("woff2");
  font-weight: 600 700;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
/* Font cadangan selebar font asli, supaya teks tidak pindah baris saat font selesai dimuat.
   Angkanya hanya cocok untuk font di atas: kalau font diganti, hapus blok ini. */
@font-face {
  font-family: "Fraunces Fallback";
  src: local("Georgia Bold"), local("Noto Serif Bold");
  font-weight: 600 700;
  size-adjust: 93.17%;
  ascent-override: 104.97%;
  descent-override: 27.37%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Plus Jakarta Sans Fallback";
  src: local("Arial"), local("Roboto");
  font-weight: 400 500;
  size-adjust: 104.02%;
  ascent-override: 99.79%;
  descent-override: 21.34%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Plus Jakarta Sans Fallback";
  src: local("Arial Bold"), local("Roboto Bold");
  font-weight: 600 700;
  size-adjust: 97.85%;
  ascent-override: 106.08%;
  descent-override: 22.69%;
  line-gap-override: 0%;
}

:root {
  --font-display: "Fraunces", "Fraunces Fallback", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", "Plus Jakarta Sans Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --bg: #fbf4e6;
  --surface: #fffaf0;
  --ink: #2a1a10;
  --muted: #76604f;
  --line: #e8d9bd;
  --accent: #b4401b;
  --accent-ink: #fff8ee;
  --accent-soft: #f6dcc4;
  --gold: #e8a92d;

  --radius: 20px;
  --maxw: 1080px;
}

/* ---------- Dasar ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
section[id] { scroll-margin-top: 1rem; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.4rem;
  border: 2px solid transparent; border-radius: 999px;
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; text-align: center;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-small { min-height: 44px; padding: .55rem 1.1rem; font-size: .9375rem; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #983512; }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-light { background: var(--accent-ink); color: var(--accent); }
.btn-light:hover { background: #fff; }

/* ---------- Header ---------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; }
.brand { font: 700 1.375rem/1 var(--font-display); letter-spacing: -.01em; text-decoration: none; }

/* ---------- 1. Hero ---------- */
.hero { display: grid; gap: 2rem; padding-block: 1.5rem 3.5rem; }
.eyebrow {
  display: inline-block; margin-bottom: 1rem; padding: .3rem .8rem;
  background: var(--accent-soft); color: var(--accent); border-radius: 999px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .02em;
}
.hero h1 {
  font: 700 clamp(2.25rem, 9vw, 4rem)/1.05 var(--font-display);
  letter-spacing: -.02em; text-wrap: balance;
}
.lead { margin-top: 1rem; max-width: 34rem; color: var(--muted); font-size: 1.0625rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-art {
  position: relative; width: min(100%, 26rem); margin-inline: auto;
  border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden;
  aspect-ratio: 960 / 1040; background: var(--accent-soft);
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.sticker {
  position: absolute; right: 1rem; bottom: 1rem; transform: rotate(-6deg);
  padding: .5rem .95rem; background: var(--gold); color: var(--ink);
  border-radius: 999px; font-size: .875rem; font-weight: 700;
  box-shadow: 0 4px 14px rgba(42, 26, 16, .2);
}

/* ---------- 2. Menu ---------- */
.menu { padding-block: 3.5rem; border-top: 1px solid var(--line); }
.section-head { max-width: 34rem; margin-bottom: 2rem; }
.section-head h2 { font: 700 clamp(1.75rem, 6vw, 2.5rem)/1.1 var(--font-display); letter-spacing: -.015em; }
.section-head p { margin-top: .5rem; color: var(--muted); }
.dishes { display: grid; gap: 1rem; }
.dish {
  display: grid; grid-template-columns: 96px 1fr; gap: 1rem; align-items: start; align-content: start;
  padding: .75rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.dish img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; }
.dish-title { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; }
.dish h3 { font: 600 1.125rem/1.25 var(--font-display); }
.chip {
  padding: .1rem .6rem; background: var(--gold); color: var(--ink);
  border-radius: 999px; font-size: .75rem; font-weight: 700;
}
.dish-body p { margin-top: .25rem; color: var(--muted); font-size: .9375rem; line-height: 1.5; }
.dish-body .price { margin-top: .5rem; color: var(--accent); font-weight: 700; }

@media (min-width: 640px) {
  .dishes { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .dish { grid-template-columns: 1fr; padding: .75rem .75rem 1.25rem; }
  .dish img { aspect-ratio: 4 / 3; }
  .dish-body { padding-inline: .5rem; }
}
@media (min-width: 1000px) {
  .dishes { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- 3. Ajakan WhatsApp ---------- */
.cta { padding-block: 1rem 3rem; }
.cta-box {
  padding: clamp(2rem, 7vw, 3.5rem); background: var(--accent); color: var(--accent-ink);
  border-radius: calc(var(--radius) * 1.4); text-align: center;
}
.cta-box h2 { font: 700 clamp(1.75rem, 6vw, 2.5rem)/1.1 var(--font-display); letter-spacing: -.015em; text-wrap: balance; }
.cta-box p { max-width: 30rem; margin: .75rem auto 1.5rem; opacity: .92; }

/* ---------- Blok penutup ---------- */
.more {
  margin-bottom: 3rem; padding: 1.25rem 1rem; text-align: center; text-wrap: balance;
  border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); font-weight: 500;
}

/* ---------- Footer tipis ---------- */
.foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem;
  padding-block: 1.25rem 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem;
}
.foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.foot .btn-ghost { border-width: 1.5px; }
.foot-link { padding-block: .6rem; }
.foot-link:hover { color: var(--ink); }

/* ---------- Layar lebar ---------- */
@media (min-width: 860px) {
  .hero { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 3rem; padding-block: 2.5rem 5rem; }
  .hero-art { width: 100%; margin-inline: 0; }
  .menu { padding-block: 5rem; }
}
