/* =========================================================
   Amy's Turo-Turo — Stylesheet
   Palette:
     --green-deep   #1B512D  (banana-leaf green, header/footer/dark sections)
     --yellow-sign  #FFC72C  (jeepney-sign yellow, headlines & accents)
     --red-sauce    #C8102E  (sawsawan red, calls to action)
     --cream-paper  #FFF8E7  (page background, like butcher paper)
     --cream-card   #F3E8CF  (slightly deeper paper for cards)
     --ink          #2B2118  (near-black brown, body text)
   Type:
     Display: 'Baloo 2' — thick, rounded, hand-painted signboard feel
     Body:    'Work Sans' — plain, legible, gets out of the way
   ========================================================= */

:root {
  --green-deep: #1b512d;
  --green-deeper: #123a20;
  --yellow-sign: #ffc72c;
  --red-sauce: #c8102e;
  --cream-paper: #fff8e7;
  --cream-card: #f3e8cf;
  --ink: #2b2118;
  --ink-soft: #5a4c3c;
  --radius-s: 6px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream-paper);
  color: var(--ink);
  font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.55;
}

h1, h2, h3, .signboard {
  font-family: 'Baloo 2', 'Work Sans', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 0.5em;
  color: var(--green-deep);
}

a {
  color: var(--red-sauce);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

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

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Accessible focus ring everywhere */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--red-sauce);
  outline-offset: 2px;
}

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

/* ---------------------------------------------------------
   Header / Nav
   --------------------------------------------------------- */
.site-header {
  background: var(--green-deep);
  border-bottom: 6px solid var(--yellow-sign);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--yellow-sign);
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  transform: rotate(-1.5deg);
}
.brand:hover { text-decoration: none; }
.brand .stick { color: var(--red-sauce); font-size: 1.2em; }

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--cream-paper);
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-s);
  display: inline-block;
}
.site-nav a:hover, .site-nav a[aria-current="page"] {
  background: var(--yellow-sign);
  color: var(--green-deeper);
  text-decoration: none;
}

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */
.hero {
  background: var(--green-deep);
  color: var(--cream-paper);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.hero-signboard {
  background: var(--yellow-sign);
  color: var(--green-deeper);
  display: inline-block;
  padding: 10px 22px;
  transform: rotate(-2deg);
  border-radius: var(--radius-s);
  box-shadow: 6px 6px 0 var(--green-deeper);
  font-family: 'Baloo 2', sans-serif;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  margin: 0 0 22px;
}

.hero p.lede {
  font-size: 1.15rem;
  max-width: 46ch;
  color: #fdf6e3;
}

.hero-swipe {
  display: inline-block;
  height: 10px;
  width: 90px;
  background: var(--red-sauce);
  border-radius: 999px;
  margin: 6px 0 22px;
}

.btn {
  display: inline-block;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 12px 28px;
  border-radius: var(--radius-s);
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--red-sauce);
  color: #fff;
}
.btn-primary:hover { background: #a90d24; text-decoration: none; }
.btn-outline {
  background: transparent;
  border: 2px solid var(--yellow-sign);
  color: var(--yellow-sign);
}
.btn-outline:hover { background: var(--yellow-sign); color: var(--green-deeper); text-decoration: none; }

.hero-hours {
  background: var(--green-deeper);
  border: 2px dashed var(--yellow-sign);
  border-radius: var(--radius-s);
  padding: 18px 22px;
  font-size: 0.98rem;
}
.hero-hours dt { color: var(--yellow-sign); font-weight: 700; margin-top: 8px; }
.hero-hours dt:first-child { margin-top: 0; }
.hero-hours dd { margin: 0 0 4px; color: #fdf6e3; }

@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------
   Section headings
   --------------------------------------------------------- */
.section {
  padding: 56px 0;
}
.section h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
}
.section .section-intro {
  max-width: 60ch;
  color: var(--ink-soft);
}

/* ---------------------------------------------------------
   Menu teaser (home page) — three hand-varied picks, not identical cards
   --------------------------------------------------------- */
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 32px;
}
@media (max-width: 760px) {
  .teaser-grid { grid-template-columns: 1fr; }
}

.teaser-item {
  text-align: center;
}
.teaser-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 14px;
  background: var(--cream-card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.teaser-item:nth-child(2) .teaser-icon { transform: rotate(-4deg); }
.teaser-item:nth-child(3) .teaser-icon { transform: rotate(4deg); }
.teaser-item h3 { margin-bottom: 4px; font-size: 1.15rem; }
.teaser-item p { color: var(--ink-soft); margin: 0; font-size: 0.95rem; }

/* ---------------------------------------------------------
   Menu board (foods.php)
   --------------------------------------------------------- */
.menu-board {
  background: var(--cream-card);
  border-radius: var(--radius-s);
  padding: 8px 0;
}

.menu-category {
  padding: 28px 32px;
  border-bottom: 1px dashed #c9b98f;
}
.menu-category:last-child { border-bottom: none; }

.menu-category h3 {
  font-size: 1.4rem;
  border-bottom: 3px solid var(--red-sauce);
  display: inline-block;
  padding-bottom: 4px;
  margin-bottom: 18px;
}

.menu-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}
.menu-row + .menu-row { border-top: 1px dotted #c9b98f; }

.menu-row .item-name {
  font-weight: 700;
  color: var(--ink);
}
.menu-row .item-desc {
  color: var(--ink-soft);
  font-size: 0.92rem;
  display: block;
  margin-top: 2px;
}
.menu-row .item-price {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  color: var(--red-sauce);
  white-space: nowrap;
  font-size: 1.1rem;
}
.item-unavailable .item-name { color: var(--ink-soft); }
.item-unavailable .item-price::after {
  content: " (sold out)";
  font-family: 'Work Sans', sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--ink-soft);
}

.menu-empty {
  padding: 40px 32px;
  color: var(--ink-soft);
  text-align: center;
}

/* ---------------------------------------------------------
   About page
   --------------------------------------------------------- */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 760px) {
  .about-layout { grid-template-columns: 1fr; }
}

.photo-frame {
  border: 3px dashed var(--green-deep);
  border-radius: var(--radius-s);
  padding: 10px;
  background: var(--cream-card);
}
.photo-frame .placeholder {
  aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(45deg, #e9dcbc, #e9dcbc 10px, #f3e8cf 10px, #f3e8cf 20px);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
  text-align: center;
  padding: 20px;
}

.value-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.value-list li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 14px;
}
.value-list li::before {
  content: "•";
  color: var(--red-sauce);
  font-size: 1.6rem;
  position: absolute;
  left: 0;
  top: -6px;
}

/* ---------------------------------------------------------
   Contact page
   --------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 760px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.contact-card {
  background: var(--cream-card);
  border-radius: var(--radius-s);
  padding: 28px;
}
.contact-card h3 {
  margin-top: 0;
}
.contact-card dt { font-weight: 700; margin-top: 14px; }
.contact-card dd { margin: 2px 0 0; color: var(--ink-soft); }

form.contact-form {
  display: grid;
  gap: 16px;
}
.field label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 2px solid #d8c79c;
  border-radius: var(--radius-s);
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  color: var(--ink);
}
.field textarea { min-height: 130px; resize: vertical; }

.alert {
  padding: 14px 18px;
  border-radius: var(--radius-s);
  margin-bottom: 20px;
  font-weight: 600;
}
.alert-success {
  background: #e4f2e6;
  border: 2px solid var(--green-deep);
  color: var(--green-deeper);
}
.alert-error {
  background: #fbe6e6;
  border: 2px solid var(--red-sauce);
  color: #7a0c1c;
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.site-footer {
  background: var(--green-deeper);
  color: #cfe3d3;
  padding: 32px 0;
  margin-top: 40px;
  font-size: 0.92rem;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer a { color: var(--yellow-sign); }
