/* ============ Kedai Laris Bali — stylesheet ============
   Palette:
   --green-900  #0B3D24  (dark green)
   --green-700  #14532D  (deep culinary green)
   --green-600  #166534  (hover green)
   --cream      #FFF8E7  (warm cream background)
   --yellow     #F4B942  (warm yellow accent)
   --ink        #1F2937  (neutral dark text)
   --ink-soft   #4B5563  (secondary text)
   ====================================================== */

:root {
  --green-900: #0B3D24;
  --green-700: #14532D;
  --green-600: #166534;
  --green-500: #1a7a3d;
  --cream: #FFF8E7;
  --yellow: #F4B942;
  --yellow-soft: #FBE5B3;
  --ink: #1F2937;
  --ink-soft: #4B5563;
  --white: #FFFFFF;
  --line: #E5DCC6;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(11, 61, 36, 0.10);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--green-700); }
a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Skip link --- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 200;
  background: var(--green-900);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

/* --- Header / nav --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green-900);
  color: var(--cream);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  color: var(--cream);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}
.brand-text { white-space: nowrap; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle .bar {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-list {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 500;
  padding: 6px 2px;
}
.nav-list a:hover { color: var(--yellow); }
.nav-list a:focus-visible { outline-color: var(--yellow); }
.nav-cta {
  background: var(--yellow);
  color: var(--green-900) !important;
  padding: 9px 18px !important;
  border-radius: 30px;
  font-weight: 700;
}
.nav-cta:hover { background: #e8a72f; color: var(--green-900) !important; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 30px;
  border: 2px solid transparent;
  text-align: center;
  transition: transform 0.12s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn-lg { padding: 16px 34px; font-size: 1.1rem; }
.btn-primary {
  background: var(--green-700);
  color: var(--white);
}
.btn-primary:hover { background: var(--green-600); transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: var(--green-700);
  border-color: var(--green-700);
}
.btn-secondary:hover { background: var(--yellow-soft); }

/* --- Hero --- */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(244, 185, 66, 0.18), transparent 60%),
    linear-gradient(180deg, var(--green-900), var(--green-700));
  color: var(--cream);
  padding: 64px 0 72px;
}
.hero-inner {
  display: grid;
  gap: 40px;
  align-items: center;
}
.hero-copy { max-width: 600px; }
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--yellow);
  background: rgba(244, 185, 66, 0.14);
  border: 1px solid rgba(244, 185, 66, 0.4);
  padding: 6px 14px;
  border-radius: 30px;
  margin: 0 0 18px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.12;
  margin: 0 0 16px;
  color: var(--white);
}
.hero-sub { font-size: 1.12rem; color: #DCEBDD; margin: 0 0 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.hero .btn-secondary { color: var(--cream); border-color: rgba(255,255,255,0.6); }
.hero .btn-secondary:hover { background: rgba(255,255,255,0.10); }
.halal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 600;
  color: var(--yellow-soft);
}
.badge-icon { color: var(--yellow); }

.hero-media {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
}
.hero-img {
  width: 100%;
  height: clamp(420px, 60vw, 560px);
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  box-shadow: var(--shadow);
  border: 2px solid rgba(255,255,255,0.08);
}

/* --- Sections --- */
.section { padding: clamp(44px, 6vw, 64px) 0; }
section[id] { scroll-margin-top: 84px; }
.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green-600);
  margin: 0 0 8px;
}
.section h2 {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--green-900);
}
.section-lead {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 720px;
  margin: 0 0 32px;
}

/* Tighten gaps between paired sections on desktop */
.gallery { padding-top: clamp(24px, 4vw, 40px); }
.order { padding-top: clamp(28px, 5vw, 48px); }
.location { padding-top: clamp(28px, 5vw, 48px); }
.trust { padding-top: clamp(28px, 5vw, 48px); }
@media (max-width: 767px) {
  .gallery, .order, .location, .trust { padding-top: 36px; }
}

/* --- Menu --- */
.menu { background: var(--cream); }
.menu-grid {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.menu-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 16px 18px 22px;
  box-shadow: 0 2px 8px rgba(11, 61, 36, 0.05);
}
.menu-card--feature {
  border-color: rgba(20, 83, 45, 0.4);
  background: linear-gradient(180deg, var(--white), #F6F9EF);
}
.menu-badge {
  position: absolute;
  top: -9px;
  left: 14px;
  background: var(--yellow);
  color: var(--green-900);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 20px;
}
.menu-dot {
  position: absolute;
  left: 10px;
  top: 26px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #CBDCC5;
}
.menu-name { display: block; font-weight: 700; color: var(--green-900); font-size: 1.05rem; margin-bottom: 4px; }
.menu-desc { color: var(--ink-soft); font-size: 0.92rem; }
.menu-cta { text-align: center; }

/* --- Gallery --- */
.gallery { background: linear-gradient(180deg, var(--cream), #FFF3D6); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.gallery-item { margin: 0; }
.gallery-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* --- Why --- */
.why { background: var(--cream); }
.why-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--yellow);
  border-radius: var(--radius-sm);
  padding: 20px 18px;
}
.why-card h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--green-900); }
.why-card p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* --- Catering --- */
.catering {
  background: var(--green-700);
  color: var(--cream);
  text-align: center;
}
.catering .section-kicker { color: var(--yellow); }
.catering h2 { color: var(--white); }
.catering .section-lead { color: #DCEBDD; margin-left: auto; margin-right: auto; }
.catering-actions { margin-top: 8px; }
.catering .btn-primary { background: var(--yellow); color: var(--green-900); }
.catering .btn-primary:hover { background: #e8a72f; }

/* --- Order --- */
.order { background: var(--cream); }
.order-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 900px;
}
.order-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px 12px;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px 20px;
  text-align: left;
  text-decoration: none;
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.order-card:hover { border-color: var(--green-500); transform: translateY(-2px); box-shadow: var(--shadow); }
.order-card:hover .order-arrow { transform: translateX(3px); }
.order-brand {
  grid-column: 1 / -1;
  display: block;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--green-900);
  margin-bottom: 2px;
}
.order-label { color: var(--ink-soft); font-size: 0.95rem; }
.order-arrow {
  justify-self: end;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green-600);
  transition: transform 0.15s ease;
}

/* --- Location --- */
.location { background: linear-gradient(180deg, var(--cream), #FFF3D6); }
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.location-copy {
  font-size: 1.15rem;
  color: var(--ink);
  max-width: 560px;
  margin: 0 0 22px;
}
.location-media { max-width: 420px; justify-self: center; }
.location-media img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* --- Trust --- */
.trust { background: var(--cream); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.trust-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px;
}
.trust-card h3 { margin: 0 0 8px; color: var(--green-900); }
.trust-card p { color: var(--ink-soft); margin: 0 0 12px; }
.legal-list { margin: 0; font-size: 0.95rem; }
.legal-list div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.legal-list div:last-child { border-bottom: none; }
.legal-list dt { font-weight: 600; color: var(--ink); flex-shrink: 0; }
.legal-list dd { margin: 0; text-align: right; color: var(--ink-soft); word-break: break-word; overflow-wrap: anywhere; min-width: 0; }
.trust-halal {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px;
  text-align: center;
}
.trust-halal img {
  margin: 0 auto 12px;
  max-width: 520px;
  width: 100%;
}
.legal-note { color: var(--ink-soft); margin: 0; font-size: 0.93rem; }

/* --- Final CTA --- */
.final-cta { background: var(--green-900); color: var(--cream); text-align: center; }
.final-cta h2 { color: var(--white); }
.final-cta p { color: #DCEBDD; max-width: 600px; margin: 0 auto 24px; font-size: 1.05rem; }

/* --- Footer --- */
.site-footer { background: var(--green-900); color: #DCEBDD; padding: 48px 0 20px; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  padding-bottom: 28px;
}
.footer-brand { font-size: 1.15rem; font-weight: 700; color: var(--white); margin: 0 0 4px; }
.footer-heading { font-weight: 700; color: var(--yellow); margin: 0 0 8px; }
.site-footer p { margin: 0 0 6px; }
.site-footer a { color: var(--yellow-soft); }
.site-footer a:hover { color: var(--yellow); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 16px;
  color: #B9C9Bc;
  font-size: 0.9rem;
}

/* --- Responsive --- */
@media (min-width: 768px) {
  .hero-inner { grid-template-columns: 1.2fr 0.8fr; }
}

@media (max-width: 767px) {
  .nav-toggle { display: block; }
  .nav-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--green-900);
    padding: 10px 20px 20px;
    border-top: 1px solid rgba(255,255,255,0.12);
    display: none;
  }
  .nav-list.open { display: flex; }
  .nav-list li { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-list li:last-child { border-bottom: none; }
  .nav-list a { display: block; padding: 14px 4px; }
  .nav-cta { margin-top: 8px; text-align: center; }
  .hero { padding: 40px 0 48px; }
  .hero-actions .btn { width: 100%; }
  .hero-img { height: clamp(340px, 78vw, 460px); }
  .section { padding: 48px 0; }
  .location-grid { grid-template-columns: 1fr; gap: 24px; }
  .location-media { max-width: 100%; }
  .location-media img { height: 300px; }
}

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