/* Warung Bambu Kuning — tampilan pengunjung. PHP + CSS, tanpa JavaScript. */
:root {
  --green: #1f4d36;
  --gold: #e8b923;
  --ink: #1d2d24;
  --muted: #59665d;
  --paper: #ffffff;
  --cream: #f7f8f3;
  --line: #e3e8e0;
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.22; letter-spacing: -.025em; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; left: 18px; top: -60px; z-index: 100; background: #fff; padding: 10px 16px; }
.skip-link:focus { top: 10px; }

/* Navigasi bersih tanpa skrip eksternal. */
.nav { z-index: 30; position: sticky; top: 0; background: #fff; border-bottom: 1px solid var(--line); }
.nav-inner { min-height: 82px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 13px; color: var(--green); text-decoration: none; font-size: 23px; font-weight: 800; letter-spacing: -.055em; white-space: nowrap; }
.brand-mark { width: 12px; height: 35px; border-radius: 3px; background: var(--gold); box-shadow: 5px 0 0 -2px var(--green); }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 3vw, 35px); }
.nav-links a { font-size: 15px; font-weight: 650; text-decoration: none; color: #4f5c53; transition: color .15s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--green); }
.nav-links a.active { box-shadow: inset 0 -2px var(--gold); padding-block: 10px; }
.nav-links .nav-cta { padding: 12px 18px; border-radius: 8px; color: #fff; background: var(--green); }
.nav-links .nav-cta:hover { color: #fff; background: #143a28; }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { display: flex; align-items: center; gap: 10px; list-style: none; padding: 9px 13px; border: 1px solid #cbd9ce; border-radius: 8px; color: var(--green); font-weight: 700; cursor: pointer; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav nav { position: absolute; right: 0; top: calc(100% + 10px); width: min(290px, 85vw); padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 14px 35px #152a1f23; }
.mobile-nav nav a { display: block; padding: 12px 13px; color: var(--green); font-weight: 650; text-decoration: none; border-radius: 6px; }
.mobile-nav nav a:hover, .mobile-nav nav a[aria-current="page"] { background: #edf2ea; }

/* Spanduk ditampilkan seluruhnya pada rasio gambar asli. */
.banner-section { padding: 28px 0 25px; background: #fff; }
.banner-original { width: 100%; height: auto; object-fit: contain; border-radius: 6px; border: 1px solid #f5d7e8; }

/* Sambutan — judul proporsional, tanpa ikon/teks dekoratif. */
.welcome-section { padding: 42px 0 46px; background: var(--cream); border-block: 1px solid #edf0e8; }
.welcome-grid { display: grid; grid-template-columns: minmax(0, 1.26fr) minmax(290px, .74fr); align-items: center; gap: clamp(36px, 6vw, 90px); }
.welcome-copy h1 { max-width: 600px; font-size: clamp(32px, 3.45vw, 48px); font-weight: 780; letter-spacing: -.045em; color: var(--green); }
.welcome-copy p { max-width: 620px; margin-top: 15px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.welcome-links { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 25px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 11px 20px; min-height: 45px; border: 1px solid transparent; border-radius: 8px; font-size: 15px; font-weight: 700; text-align: center; text-decoration: none; transition: color .2s, border-color .2s, background .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn.solid { background: var(--green); color: #fff; }
.btn.solid:hover { background: #143a28; }
.btn.outline { background: #fff; border-color: #c7d2c5; color: var(--green); }
.btn.outline:hover { border-color: var(--green); }
.welcome-search { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 23px; }
.welcome-search label { display: block; font-weight: 750; color: var(--ink); font-size: 16px; margin-bottom: 13px; }
.search-field { display: flex; gap: 8px; }
.search-field input { flex: 1; min-width: 0; width: 100%; min-height: 46px; background: #fff; border: 1px solid #cbd5c9; border-radius: 7px; padding: 10px 12px; color: var(--ink); font-size: 15px; }
.search-field input::placeholder { color: #828e84; }
.search-field button { min-width: 74px; border: 0; border-radius: 7px; background: var(--green); color: #fff; font-weight: 700; padding-inline: 15px; }
.search-field button:hover { background: #143a28; }

/* Menu pilihan yang dapat difilter lewat URL/PHP, bukan JavaScript. */
.sec { padding: 76px 0; }
.featured-section { background: #fff; }
.section-top { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.section-heading { color: var(--green); font-size: clamp(29px, 3vw, 39px); font-weight: 780; letter-spacing: -.04em; }
.section-top p { color: var(--muted); font-size: 16px; margin-top: 9px; }
.more-link { display: inline-flex; align-items: center; gap: 9px; flex: none; color: var(--green); font-size: 15px; font-weight: 750; text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 5px; }
.more-link:hover { color: #306f49; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin: 27px 0 23px; }
.filter-chip { display: inline-flex; padding: 8px 17px; min-height: 40px; align-items: center; justify-content: center; border: 1px solid #d6e1d4; border-radius: 8px; background: #fff; color: var(--green); font-size: 14px; font-weight: 650; text-decoration: none; transition: background .15s, border-color .15s; }
.filter-chip:hover { border-color: var(--green); background: #f5f8f3; }
.filter-chip.active { background: var(--green); border-color: var(--green); color: #fff; }
.favorite-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.favorite-card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; }
.favorite-card:hover { transform: translateY(-3px); border-color: #bdd0be; box-shadow: 0 12px 30px #102b1916; }
.favorite-card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.favorite-photo { aspect-ratio: 1.28 / 1; display: grid; place-items: center; overflow: hidden; background: #f0f2eb; }
.favorite-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.favorite-card:hover .favorite-photo img { transform: scale(1.035); }
.dish-emoji { font-size: 64px; }
.favorite-content { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 18px 18px 19px; }
.favorite-category { font-size: 14px; color: var(--muted); }
.favorite-content h3 { margin: 7px 0 14px; font-size: 18px; font-weight: 730; line-height: 1.4; }
.favorite-price { font-size: 17px; font-weight: 800; color: var(--green); margin-top: auto; }
.empty { padding: 30px 0; color: var(--muted); }
.empty a { color: var(--green); font-weight: 700; }

/* Profil singkat, jam buka, dan alamat. */
.story-section { background: var(--cream); border-block: 1px solid #edf0e8; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(310px, .8fr); gap: clamp(35px, 7vw, 95px); align-items: start; }
.story-copy .about { margin: 22px 0 20px; }
.about p { color: var(--muted); font-size: 16px; line-height: 1.9; margin-bottom: 14px; }
.amenities { display: flex; flex-wrap: wrap; gap: 9px; margin: 20px 0 22px; }
.amenities span, .chips span { display: inline-block; padding: 8px 13px; border: 1px solid #d5dfd2; background: white; border-radius: 7px; font-size: 14px; color: var(--green); }
.story-copy > .more-link { margin-top: 9px; }
.hours { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 26px 29px; }
.hours h3 { font-size: 25px; color: var(--green); margin-bottom: 13px; }
.hours ul { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.hours li:last-child { border: 0; padding-bottom: 0; }
.hours li b { text-align: right; color: var(--green); font-weight: 700; }
.hours p { color: var(--muted); }
.location-section { background: #fff; }
.location-section > .wrap > .section-heading { margin-bottom: 27px; }
.location-grid {
    display: grid;
    grid-template-columns: 20% minmax(0, 1fr);
    gap: 20px;
}

.location-info {
    min-height: 300px;
}

.mapbox,
.mapbox iframe {
    min-height: 550px;
}
.location-info { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 29px; min-height: 280px; display: flex; flex-direction: column; align-items: flex-start; }
.location-info h3 { color: var(--green); font-size: 23px; }
.location-info p { color: var(--muted); font-size: 16px; line-height: 1.8; margin: 14px 0 26px; }
.location-info .btn { margin-top: auto; }
.mapbox { background: #edf0e9; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-height: 280px; }
.mapbox iframe { display: block; width: 100%; height: 100%; min-height: 280px; border: 0; }
.map-empty { min-height: 280px; display: grid; place-items: center; padding: 24px; color: var(--muted); text-align: center; }

/* Halaman daftar menu dan tentang: fungsi lama tetap dipertahankan. */
.page-banner { padding: 53px 0; background: var(--cream); border-bottom: 1px solid var(--line); }
.page-banner h1 { font-size: clamp(34px, 4vw, 49px); color: var(--green); }
.page-banner p { margin-top: 9px; color: var(--muted); font-size: 16px; }
.tools { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 15px; }
.tabs { display: flex; flex-wrap: wrap; gap: 9px; }
.tabs a { white-space: nowrap; padding: 9px 14px; background: white; color: var(--green); border: 1px solid #d3ded0; border-radius: 8px; font-size: 14px; font-weight: 700; text-decoration: none; }
.tabs a:hover { border-color: var(--green); }
.tabs a.on { color: white; background: var(--green); border-color: var(--green); }
.search input { padding: 10px 13px; border: 1px solid #cad6c8; border-radius: 8px; min-width: 240px; font-size: 15px; }
.menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 35px; }
.group-title { font-size: 24px; color: var(--green); margin: 34px 0 10px; }
.dish { display: flex; align-items: flex-start; gap: 14px; border-bottom: 1px solid var(--line); padding: 17px 0; }
.dish .ph { flex: none; width: 86px; height: 86px; background: var(--cream); border-radius: 9px; display: grid; place-items: center; overflow: hidden; font-size: 30px; }
.dish .ph img { width: 100%; height: 100%; object-fit: cover; }
.dish .tx { flex: 1; min-width: 0; }
.dish h3 { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 17px; }
.dish p { margin-top: 5px; color: var(--muted); font-size: 14px; }
.dish .pr { white-space: nowrap; color: var(--green); font-size: 16px; font-weight: 750; }
.badge { font-size: 13px; font-weight: 700; background: #f7edc5; color: #675313; padding: 3px 8px; border-radius: 5px; }
.badge.out { background: #e9e9e9; color: #575757; }
.dish.sold { opacity: .6; }
.dish.sold img { filter: grayscale(1); }
.two { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(310px, .85fr); gap: 55px; align-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 12px; }

/* Footer ringkas tanpa tulisan dekoratif kecil. */
.site-footer { background: #183f2c; color: #fff; padding: 44px 0 18px; }
.footer-grid { display: flex; justify-content: space-between; gap: 45px; }
.footer-logo { color: white; font-size: 23px; font-weight: 800; text-decoration: none; letter-spacing: -.035em; }
.footer-grid p { color: #d2dfd4; margin-top: 12px; max-width: 485px; font-size: 15px; }
.footer-links { display: grid; grid-template-columns: repeat(2, max-content); gap: 12px 26px; align-content: start; }
.footer-links a { color: #e2eee4; text-decoration: none; font-size: 15px; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid #ffffff26; padding-top: 17px; margin-top: 34px; color: #cfddcf; font-size: 14px; }

@media (max-width: 1000px) {
  .nav-links { gap: 17px; }
  .welcome-grid { gap: 32px; }
  .favorite-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .nav-inner { min-height: 72px; }
  .nav-links { display: none; }
  .mobile-nav { display: block; }
  .welcome-grid, .story-grid, .location-grid, .two { grid-template-columns: 1fr; }
  .welcome-grid { gap: 30px; }
  .welcome-search { max-width: 560px; }
  .favorite-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .location-grid { gap: 15px; }
  .menu { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; gap: 27px; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 30px); }
  .nav-inner { min-height: 65px; }
  .brand { font-size: 20px; gap: 11px; }
  .brand-mark { height: 30px; width: 10px; }
  .mobile-nav summary { padding: 7px 10px; font-size: 14px; }
  .banner-section { padding: 16px 0 17px; }
  .banner-original { border-radius: 3px; }
  .welcome-section { padding: 29px 0 33px; }
  .welcome-copy h1 { font-size: clamp(29px, 7.7vw, 39px); }
  .welcome-copy p { font-size: 15px; margin-top: 13px; }
  .welcome-links { gap: 9px; margin-top: 19px; }
  .btn { min-height: 43px; padding: 10px 14px; font-size: 14px; }
  .welcome-search { padding: 17px; }
  .search-field input { font-size: 14px; }
  .sec { padding: 53px 0; }
  .section-heading { font-size: 29px; }
  .section-top { align-items: start; flex-direction: column; }
  .section-top p { font-size: 15px; }
  .filter-bar { gap: 8px; margin: 23px 0 19px; }
  .filter-chip { padding: 7px 12px; font-size: 14px; }
  .favorite-grid { gap: 11px; }
  .favorite-photo { aspect-ratio: 1 / 1; }
  .favorite-content { padding: 12px; }
  .favorite-category { font-size: 13px; }
  .favorite-content h3 { font-size: 15px; margin: 5px 0 10px; }
  .favorite-price { font-size: 15px; }
  .dish-emoji { font-size: 46px; }
  .hours, .location-info { padding: 22px; }
  .hours li { font-size: 14px; }
  .location-info { min-height: 210px; }
  .mapbox, .mapbox iframe, .map-empty { min-height: 240px; }
  .page-banner { padding: 37px 0; }
  .tools { align-items: stretch; }
  .search, .search input { width: 100%; min-width: 0; }
  .dish { gap: 10px; }
  .dish .ph { width: 69px; height: 69px; }
  .dish h3 { font-size: 15px; }
  .dish p { font-size: 13px; }
  .dish .pr { font-size: 14px; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, max-content)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
