/* DAPUR LAUT SERANG - style.css
   Design tokens & base (bagian 11 dokumen master) */

:root {
  --oc-blue:  #0077B6;
  --navy:     #0A2E4D;
  --teal:     #00B4D8;
  --terra:    #E76F51;
  --wa:       #25D366;
  --wa-dark:  #1DA851;
  --canvas:   #F8F9FA;
  --surface:  #FFFFFF;
  --text:     #102A33;
  --muted:    #5B6B73;
  --border:   #E3E8EC;

  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 3px rgba(16,42,51,.08);
  --shadow-md: 0 6px 18px rgba(16,42,51,.10);
  --shadow-lg: 0 16px 40px rgba(16,42,51,.14);

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --header-h: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.25; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }

p { margin: 0 0 1em; }
a { color: var(--oc-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container { width: min(1140px, 92%); margin: 0 auto; }

main { min-height: 60vh; }

section { padding: 56px 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head p { color: var(--muted); margin: 0; }
.section-head .link { font-weight: 600; white-space: nowrap; }

.text-center { text-align: center; }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius-pill);
  font: inherit; font-weight: 700; font-size: 16px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--oc-blue); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #00649b; box-shadow: var(--shadow-md); }

.btn-wa { background: var(--wa); color: #fff; box-shadow: var(--shadow-sm); }
.btn-wa:hover { background: var(--wa-dark); box-shadow: var(--shadow-md); color: #fff; }

.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-ghost { background: transparent; color: var(--oc-blue); border-color: var(--oc-blue); }
.btn-ghost:hover { background: var(--oc-blue); color: #fff; }

.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* Badges & chips */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; line-height: 1;
  padding: 6px 12px; border-radius: var(--radius-pill);
}
.badge-verified { background: rgba(37,211,102,.12); color: #128C4A; }
.badge-kategori { background: rgba(0,119,182,.10); color: var(--oc-blue); }
.badge-wilayah { background: rgba(16,42,51,.08); color: var(--muted); }
.badge-terra { background: rgba(231,111,81,.12); color: #B04A31; }

/* Forms */
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; color: var(--navy); }
.field input,
.field select,
.field textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius-md);
  font: inherit; font-size: 16px; color: var(--text); background: var(--surface);
  transition: border-color .12s ease, box-shadow .12s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--oc-blue);
  box-shadow: 0 0 0 3px rgba(0,119,182,.15);
}

/* Utilities */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.rows { display: grid; gap: 16px; }

.stack-8 { margin-top: 8px; } .stack-16 { margin-top: 16px; }
.stack-24 { margin-top: 24px; } .stack-40 { margin-top: 40px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}