/* Ngombe Indonesia — company site design system */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700;800&family=Work+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg: #f6fbf1;
  --surface: #ffffff;
  --surface-soft: #eef6e6;
  --ink: #1c2317;
  --ink-soft: #51604a;
  --ink-faint: #7c8a73;
  --green: #4c971e;
  --green-deep: #2f5f17;
  --green-bright: #8bc53f;
  --amber: #dd7e1e;
  --amber-deep: #b35f0e;
  --line: #dde9cf;
  --shadow: 0 18px 40px -22px rgba(29, 54, 15, 0.35);
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --maxw: 1180px;
}

/* Theme is a user choice (toggle in the nav, persisted to localStorage),
   not the OS preference — default (no data-theme attribute) always stays
   the light tokens above until the visitor explicitly picks dark. */
:root[data-theme="dark"] {
  --bg: #10150c;
  --surface: #171e10;
  --surface-soft: #1e2714;
  --ink: #edf3e3;
  --ink-soft: #b7c7a8;
  --ink-faint: #85957a;
  --green: #7fcb3b;
  --green-deep: #5fa82a;
  --green-bright: #9fdc57;
  --amber: #f2a454;
  --amber-deep: #d98324;
  --line: #2b3620;
  --shadow: 0 18px 44px -22px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Work Sans', ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: 'Baloo 2', ui-rounded, system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }

.eyebrow {
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-deep);
}

:root[data-theme="dark"] .eyebrow { color: var(--green-bright); }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand img { height: 34px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: block;
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--ink-soft);
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-links a:hover { background: var(--surface-soft); color: var(--ink); }
.nav-links a[aria-current="page"] { background: var(--green); color: #fff; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  border: none;
  background: var(--surface-soft);
  border-radius: 12px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle svg { width: 20px; height: 20px; stroke: var(--ink); }

/* Theme toggle: stays visible at every breakpoint (unlike .nav-links/
   .nav-cta .btn-outline, which hide on mobile) since it's not navigation. */
.theme-toggle {
  display: flex;
  flex-shrink: 0;
  border: none;
  background: var(--surface-soft);
  border-radius: 12px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.theme-toggle svg { width: 19px; height: 19px; stroke: var(--ink-soft); }
.theme-toggle-sun { display: none; }
:root[data-theme="dark"] .theme-toggle-sun { display: block; }
:root[data-theme="dark"] .theme-toggle-moon { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.96rem;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--amber); color: #2a1600; box-shadow: 0 14px 28px -14px color-mix(in srgb, var(--amber) 70%, transparent); }
.btn-primary:hover { background: var(--amber-deep); }

.btn-outline { background: transparent; border-color: var(--green); color: var(--green-deep); }
.btn-outline:hover { background: var(--surface-soft); }

:root[data-theme="dark"] .btn-outline { color: var(--green-bright); border-color: var(--green-bright); }

.btn-sm { padding: 9px 18px; font-size: 0.86rem; }

/* ---------- Hero ---------- */
.hero {
  padding: 56px 0 72px;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  font-weight: 800;
}

.hero .lede {
  margin-top: 18px;
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

.hero .cta-row {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-art {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 6px solid var(--surface);
}

/* hero.jpg is a wide promo banner (logo, tagline, WhatsApp/Instagram bar
   baked into the image) — object-fit:cover inside an organic blob shape
   used to crop that text off at the edges. Showing it at its own aspect
   ratio keeps the whole banner readable instead. */
.hero-art img { width: 100%; height: auto; display: block; }

.hero-tagline {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--green-deep);
  background: var(--surface-soft);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
}

:root[data-theme="dark"] .hero-tagline { color: var(--green-bright); }

/* ---------- Section scaffolding ---------- */
section { padding: 64px 0; }

.section-head {
  max-width: 640px;
  margin: 0 0 40px;
}

.section-head h2 {
  margin-top: 10px;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.section-head p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.divider {
  display: block;
  width: 100%;
  height: 48px;
  color: var(--surface-soft);
}

/* ---------- Menu showcase ---------- */
.flavor-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.flavor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 12px 18px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.flavor:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.flavor .cup {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 14px;
  background: var(--surface-soft);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.flavor .cup img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
}

.flavor span {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* ---------- Feature / value cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--surface-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card .icon svg { width: 24px; height: 24px; stroke: var(--green-deep); }

:root[data-theme="dark"] .feature-card .icon svg { stroke: var(--green-bright); }

.feature-card h3 { font-size: 1.1rem; }
.feature-card p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Panel / soft section ---------- */
.panel {
  background: var(--surface-soft);
  border-radius: var(--radius-lg);
}

/* ---------- Branch / job list items ---------- */
.list-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.list-stack { display: flex; flex-direction: column; gap: 16px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--green-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

:root[data-theme="dark"] .pill { color: var(--green-bright); }

.pill.amber { color: var(--amber-deep); }
:root[data-theme="dark"] .pill.amber { color: var(--amber); }

/* ---------- Steps (how to order) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 28px 24px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -16px;
  left: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  box-shadow: 0 8px 16px -8px color-mix(in srgb, var(--green) 80%, transparent);
}

.step h3 { font-size: 1.02rem; margin-top: 8px; }
.step p { margin-top: 8px; color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- Footer ---------- */
footer {
  background: var(--surface-soft);
  margin-top: 40px;
  padding: 56px 0 28px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 36px;
}

.footer-grid h4 {
  font-size: 0.92rem;
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--ink);
}

.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: var(--ink-soft); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--green-deep); }
:root[data-theme="dark"] .footer-grid a:hover { color: var(--green-bright); }

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--ink-faint);
}

/* ---------- Utility ---------- */
.center { text-align: center; margin-left: auto; margin-right: auto; }
.mt-32 { margin-top: 32px; }
.muted { color: var(--ink-soft); }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }

/* ---------- Full menu (price list) ---------- */
.menu-category {
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  max-width: 760px;
}

.menu-category:last-child { border-bottom: none; }

.menu-category-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.menu-category-head h2 { font-size: 1.5rem; }
.menu-category-head .count { font-size: 0.85rem; color: var(--ink-faint); font-weight: 600; }

.menu-price-list { display: flex; flex-direction: column; margin-top: 14px; }

.menu-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}

.menu-price-row:last-child { border-bottom: none; }

.menu-price-row .name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.97rem;
}

.menu-price-row .badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--amber);
  color: #2a1600;
  text-transform: uppercase;
}

.menu-price-row .badge.fav { background: var(--green); color: #fff; }

.menu-prices {
  display: flex;
  gap: 18px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--green-deep);
  flex-shrink: 0;
}

:root[data-theme="dark"] .menu-prices { color: var(--green-bright); }

.menu-prices .size { display: flex; flex-direction: column; align-items: flex-end; min-width: 44px; }
.menu-prices .size small { font-weight: 600; color: var(--ink-faint); font-size: 0.65rem; text-transform: uppercase; }

.menu-legend {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 18px;
}
.menu-legend span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Guarantee banner ---------- */
.guarantee {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 32px;
}

.guarantee .badge-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.guarantee .badge-circle svg { width: 32px; height: 32px; stroke: #fff; }

@media (max-width: 560px) {
  .guarantee { grid-template-columns: 1fr; text-align: center; }
  .guarantee .badge-circle { margin: 0 auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 420px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  body[data-nav-open] .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    padding: 14px 20px 22px;
    border-bottom: 1px solid var(--line);
    gap: 4px;
  }
  .footer-grid { grid-template-columns: 1fr; }
  .list-item { flex-direction: column; }
}
