/* ============================================================
   Fed Eatery Food Truck — Main Stylesheet
   Palette: sun-washed cream, warm wood, fresh green, coral/salmon
   ============================================================ */

:root {
  --cream:    #F5EFE0;
  --tan:      #E8D9BC;
  --wood:     #8B6443;
  --wood-dark:#5C3D1E;
  --green:    #4A7C59;
  --green-light:#6BAF7E;
  --coral:    #D4614B;
  --coral-light:#E8856F;
  --charcoal: #2C2C2C;
  --gray:     #6B6B6B;
  --white:    #FFFFFF;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --max-w: 1100px;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,.10);
}

/* ---- Reset / Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@400;500;600&display=swap');

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
}
h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ============================================================
   NAV
   ============================================================ */
.site-nav {
  background: var(--wood-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: .02em;
}
.nav-logo span { color: var(--coral-light); }
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  color: var(--tan);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--coral-light); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 680px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--wood-dark);
    flex-direction: column;
    gap: 0;
    padding: .5rem 0 1rem;
    text-align: center;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .75rem 1rem; font-size: 1rem; }
}

/* ============================================================
   HOURS STRIP
   ============================================================ */
.hours-strip {
  background: var(--green);
  color: var(--white);
  text-align: center;
  padding: .6rem 1rem;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .02em;
}
.hours-strip strong { color: var(--cream); }
.hours-strip a {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--wood-dark);
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .35;
}
.hero-content {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem 1.5rem;
  color: var(--white);
}
.hero-eyebrow {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--coral-light);
  margin-bottom: .75rem;
}
.hero h1 { color: var(--cream); margin-bottom: 1rem; max-width: 680px; }
.hero-sub {
  font-size: 1.15rem;
  color: var(--tan);
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .85rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .2s;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,.2); }
.btn-primary {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
}
.btn-primary:hover { background: var(--coral-light); border-color: var(--coral-light); }
.btn-secondary {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}
.btn-secondary:hover { background: rgba(255,255,255,.12); }
.btn-outline-wood {
  background: transparent;
  color: var(--wood-dark);
  border-color: var(--wood);
}
.btn-outline-wood:hover { background: var(--wood-dark); color: var(--cream); }
.btn-green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-green:hover { background: var(--green-light); border-color: var(--green-light); }
.btn-large {
  padding: 1.1rem 2.2rem;
  font-size: 1.05rem;
}
.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   SECTIONS — shared
   ============================================================ */
.section { padding: 4rem 1.5rem; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-label {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: .5rem;
}
.section-title { color: var(--wood-dark); margin-bottom: 1rem; }
.section-lead {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 680px;
  margin-bottom: 2rem;
}
.section--cream { background: var(--cream); }
.section--tan   { background: var(--tan); }
.section--wood  { background: var(--wood-dark); color: var(--cream); }
.section--wood .section-title { color: var(--cream); }
.section--wood .section-lead  { color: var(--tan); }
.section--wood .section-label { color: var(--coral-light); }

/* ============================================================
   FEATURED ITEMS GRID
   ============================================================ */
.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.item-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.item-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.13); }
.item-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--tan);
}
.item-card-body { padding: 1.25rem; }
.item-card-body h3 { color: var(--wood-dark); margin-bottom: .3rem; font-size: 1.15rem; }
.item-card-desc { font-size: .9rem; color: var(--gray); margin-bottom: .75rem; }
.item-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--coral);
}

/* ============================================================
   ATMOSPHERE STRIP
   ============================================================ */
.atmosphere {
  background: var(--wood-dark);
  color: var(--cream);
  padding: 4rem 1.5rem;
}
.atmosphere-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.atmosphere-img {
  border-radius: var(--radius);
  width: 100%;
  height: 360px;
  object-fit: cover;
}
.atmosphere-text .section-label { color: var(--coral-light); }
.atmosphere-text h2 { color: var(--cream); margin-bottom: 1rem; }
.atmosphere-text p { color: var(--tan); margin-bottom: 1.25rem; }
.atmosphere-perks {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-bottom: 1.5rem;
}
.atmosphere-perks li {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--tan);
  font-size: .95rem;
}
.perk-icon { color: var(--coral-light); font-size: 1.1rem; flex-shrink: 0; }

@media (max-width: 720px) {
  .atmosphere-inner { grid-template-columns: 1fr; }
  .atmosphere-img { height: 240px; }
}

/* ============================================================
   ORDER CTA STRIP
   ============================================================ */
.order-strip {
  background: var(--coral);
  color: var(--white);
  text-align: center;
  padding: 3.5rem 1.5rem;
}
.order-strip h2 { color: var(--white); margin-bottom: .75rem; font-size: clamp(1.6rem,4vw,2.2rem); }
.order-strip p { color: rgba(255,255,255,.85); margin-bottom: 1.75rem; font-size: 1.05rem; }
.order-strip .btn-secondary { border-color: rgba(255,255,255,.7); }
.delivery-links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-top: 1.25rem;
}
.delivery-link {
  background: rgba(255,255,255,.18);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.4);
  border-radius: var(--radius);
  padding: .55rem 1.1rem;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: background .2s;
}
.delivery-link:hover { background: rgba(255,255,255,.3); }

/* ============================================================
   MENU PAGE
   ============================================================ */
.menu-hero {
  background: var(--wood-dark);
  padding: 3.5rem 1.5rem 2.5rem;
  text-align: center;
}
.menu-hero h1 { color: var(--cream); }
.menu-hero p  { color: var(--tan); margin-top: .75rem; font-size: 1.05rem; }

.menu-nav-bar {
  background: var(--tan);
  border-bottom: 2px solid var(--wood);
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}
.menu-nav-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  gap: 0;
  padding: 0 1rem;
}
.menu-tab {
  display: inline-block;
  padding: .9rem 1.25rem;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--wood-dark);
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.menu-tab:hover,
.menu-tab.active {
  color: var(--coral);
  border-bottom-color: var(--coral);
}

.menu-section { padding: 3rem 1.5rem; }
.menu-section:nth-child(even) { background: var(--tan); }
.menu-section-inner { max-width: var(--max-w); margin: 0 auto; }
.menu-section h2 {
  color: var(--wood-dark);
  margin-bottom: 1.5rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--tan);
}
.menu-section:nth-child(even) h2 { border-bottom-color: var(--cream); }

.menu-items { display: flex; flex-direction: column; gap: 1rem; }
.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .5rem 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.menu-item:last-child { border-bottom: none; }
.menu-item-name { font-family: var(--font-display); font-size: 1.05rem; color: var(--wood-dark); font-weight: 600; }
.menu-item-desc { font-size: .88rem; color: var(--gray); margin-top: .2rem; grid-column: 1; }
.menu-item-price { font-weight: 700; color: var(--coral); font-size: 1rem; white-space: nowrap; align-self: start; }
.menu-note {
  font-size: .82rem;
  font-style: italic;
  color: var(--gray);
  margin-top: .5rem;
  grid-column: 1 / -1;
}
.menu-add-on {
  font-size: .85rem;
  color: var(--gray);
  margin-top: 1.25rem;
  padding-top: .75rem;
  border-top: 1px solid rgba(0,0,0,.1);
}
.menu-add-on strong { color: var(--wood-dark); }

/* ============================================================
   FIND US PAGE
   ============================================================ */
.find-hero {
  background: var(--wood-dark);
  padding: 3.5rem 1.5rem 2.5rem;
  text-align: center;
}
.find-hero h1 { color: var(--cream); }
.find-hero p  { color: var(--tan); margin-top: .75rem; }

.find-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  padding: 3rem 1.5rem;
}
@media (max-width: 720px) {
  .find-grid { grid-template-columns: 1fr; }
}

.find-block h3 { color: var(--wood-dark); margin-bottom: .75rem; }
.find-block p  { color: var(--gray); font-size: .95rem; }
.find-detail {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .85rem;
  font-size: .95rem;
  color: var(--charcoal);
}
.find-detail-icon { color: var(--coral); flex-shrink: 0; margin-top: .1rem; font-size: 1.1rem; }

.hours-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.hours-table td { padding: .4rem 0; color: var(--charcoal); }
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--wood-dark); }
.hours-table tr.closed td { color: var(--gray); }
.hours-table tr.closed td:last-child { font-weight: 400; }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-wrap iframe { width: 100%; height: 340px; border: none; display: block; }

.seating-callout {
  background: var(--tan);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
}
.seating-callout h4 { color: var(--wood-dark); margin-bottom: .4rem; }
.seating-callout p { color: var(--gray); font-size: .9rem; }

/* ============================================================
   ORDER PAGE
   ============================================================ */
.order-hero {
  background: var(--wood-dark);
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}
.order-hero h1 { color: var(--cream); }
.order-hero p  { color: var(--tan); margin-top: .75rem; max-width: 560px; margin-left: auto; margin-right: auto; }

.phone-cta-block {
  background: var(--coral);
  text-align: center;
  padding: 3.5rem 1.5rem;
}
.phone-cta-block h2 { color: var(--white); font-size: clamp(1.5rem,4vw,2rem); margin-bottom: .5rem; }
.phone-number-link {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: .02em;
  margin: .5rem 0 1.25rem;
  transition: opacity .2s;
}
.phone-number-link:hover { opacity: .85; }
.phone-cta-block p { color: rgba(255,255,255,.85); font-size: .95rem; }

.delivery-section {
  background: var(--cream);
  padding: 3.5rem 1.5rem;
  text-align: center;
}
.delivery-section h2 { color: var(--wood-dark); margin-bottom: .5rem; }
.delivery-section p  { color: var(--gray); margin-bottom: 2rem; }
.delivery-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  max-width: 700px;
  margin: 0 auto;
}
.delivery-card {
  background: var(--white);
  border: 2px solid var(--tan);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  min-width: 180px;
  flex: 1;
  text-align: center;
  box-shadow: var(--shadow);
  transition: border-color .2s, transform .2s;
}
.delivery-card:hover { border-color: var(--green); transform: translateY(-2px); }
.delivery-card-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--wood-dark);
  margin-bottom: .35rem;
}
.delivery-card p { font-size: .82rem; color: var(--gray); margin-bottom: 1rem; }

.order-hours-note {
  background: var(--tan);
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.order-hours-note h3 { color: var(--wood-dark); margin-bottom: .5rem; }
.order-hours-note p  { color: var(--gray); font-size: .95rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--wood-dark);
  color: var(--tan);
  padding: 2.5rem 1.5rem 1.5rem;
  text-align: center;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: .5rem;
}
.footer-logo span { color: var(--coral-light); }
.footer-tagline { font-size: .88rem; color: var(--tan); margin-bottom: 1.5rem; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.footer-links a {
  color: var(--tan);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color .2s;
}
.footer-links a:hover { color: var(--coral-light); }
.footer-meta {
  font-size: .78rem;
  color: var(--wood);
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1rem;
  margin-top: .5rem;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
