/* ============================================================
   Betty's Food Truck — Main Stylesheet (matches live site)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700;800&family=Montserrat:wght@700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:      #E05A2B;
  --orange-dark: #c44e22;
  --navy:        #1a2a6c;
  --navy-dark:   #0d1545;
  --black:       #111111;
  --blue-side:   #1a3a8c;
  --gray-bg:     #f0f2f8;
  --text-dark:   #1a1a2e;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  background: #f0f2f8;
  /* Blue side-border effect matching the live site */
  background: linear-gradient(90deg,
    #1a3a8c 0px,
    #1a3a8c 8px,
    #f0f2f8 8px,
    #f0f2f8 calc(100% - 8px),
    #1a3a8c calc(100% - 8px),
    #1a3a8c 100%
  );
  min-height: 100vh;
}

/* ---- REMOVE side-borders on actual body content ---- */
.page-content {
  background: #f0f2f8;
  margin: 0 8px;
}

a { text-decoration: none; color: inherit; }
button { border: none; cursor: pointer; background: none; font-family: inherit; }
img { display: block; max-width: 100%; }

/* ================================================================
   HEADER / NAV
   ================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--black);
  display: flex;
  align-items: center;
  padding: 0 20px;
  height: 90px;
  gap: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Logo */
.header-logo {
  flex: 0 0 auto;
  height: 76px;
  width: auto;
  display: block;
}
.header-logo img {
  height: 76px;
  width: auto;
}

/* Desktop nav links — centered */
.header-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav-link {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 10px;
  white-space: nowrap;
  transition: color 0.15s;
}
.nav-link:hover { color: var(--orange); }
.nav-link.active { text-decoration: underline; text-underline-offset: 4px; }

/* ORDER ONLINE button */
.nav-order-btn {
  background: var(--orange);
  color: #fff !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 4px;
  white-space: nowrap;
  margin-left: 14px;
  display: inline-block;
  transition: background 0.15s;
}
.nav-order-btn:hover { background: var(--orange-dark); }

/* Cart */
.nav-cart {
  color: #fff;
  font-size: 0.9rem;
  margin-left: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  cursor: pointer;
}
.nav-cart svg { width: 22px; height: 22px; fill: #fff; }
.cart-badge {
  background: var(--orange);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  border-radius: 50%;
  width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  margin-left: 2px;
}
.cart-badge.hidden { display: none; }

/* Hamburger — MOBILE ONLY */
.hamburger-btn {
  display: none;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  margin-left: 12px;
  padding: 4px 8px;
}

/* ================================================================
   MOBILE NAV OVERLAY
   ================================================================ */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.nav-overlay.open { opacity: 1; pointer-events: all; }

.slide-nav {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 280px;
  background: var(--black);
  z-index: 400;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 0;
}
.slide-nav.open { transform: translateX(0); }

.slide-nav-header {
  background: var(--navy-dark);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.slide-nav-header img { height: 54px; width: auto; }
.nav-close-btn {
  color: #fff;
  font-size: 1.3rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
}

.slide-nav-links { flex: 1; padding: 8px 0; }
.slide-nav-links a {
  display: block;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.15s;
}
.slide-nav-links a:hover { background: rgba(255,255,255,0.06); }
.slide-nav-links a.active { color: var(--orange); }

.slide-nav-order-btn {
  background: var(--orange);
  color: #fff;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 16px 24px;
  margin: 12px 20px 24px;
  border-radius: 6px;
  display: block;
  transition: background 0.15s;
}
.slide-nav-order-btn:hover { background: var(--orange-dark); }

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 82vh;
  min-height: 480px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%; height: 100%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: #fff;
}
.hero-title {
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 10px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.hero-city {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  margin-bottom: 4px;
}
.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  margin-bottom: 28px;
}
.hero-cta {
  background: var(--orange);
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 13px 32px;
  border-radius: 4px;
  transition: background 0.15s, transform 0.1s;
  display: inline-block;
}
.hero-cta:hover { background: var(--orange-dark); transform: translateY(-1px); }

/* ================================================================
   SIGNATURE BITES
   ================================================================ */
.signature-section {
  background: #fff;
  padding: 50px 20px 60px;
}
.signature-section h2 {
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 40px;
}
.bites-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.bite-card { text-align: center; }
.bite-img-wrap {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  margin: 0 auto 14px;
  max-width: 280px;
  background: #eee;
}
.bite-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.bite-card:hover .bite-img-wrap img { transform: scale(1.06); }
.bite-name {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

/* ================================================================
   INFO / WHERE TO FIND US
   ================================================================ */
.info-section {
  background: var(--orange);
  padding: 50px 30px 50px;
}
.info-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.info-left h2 {
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}
.info-cuisines { margin-bottom: 20px; }
.info-cuisines h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.cuisine-list {
  font-size: 0.93rem;
  color: var(--text-dark);
  font-weight: 600;
}
.info-address {
  font-size: 0.93rem;
  color: var(--text-dark);
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.info-address svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.info-phone {
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.info-phone svg { width: 18px; height: 18px; flex-shrink: 0; }

.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
  margin-bottom: 20px;
}
.hours-col h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.hours-col table { border-collapse: collapse; font-size: 0.85rem; color: var(--text-dark); }
.hours-col td { padding: 1px 0; }
.hours-col td:first-child { padding-right: 12px; white-space: nowrap; }

.info-right { position: relative; }
.info-map {
  width: 100%;
  aspect-ratio: 4/3;
  border: 0;
  border-radius: 4px;
}

/* ================================================================
   REVIEWS  ("Hear The Buzz")
   ================================================================ */
.reviews-section {
  background: #f5f6fa;
  padding: 60px 24px;
  text-align: center;
}
.reviews-section h2 {
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 32px;
}
.review-card { max-width: 780px; margin: 0 auto 36px; }
.review-stars { font-size: 1.6rem; color: var(--navy); margin-bottom: 14px; }
.review-text {
  font-size: 0.97rem;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 8px;
}
.review-author { font-size: 0.9rem; font-weight: 700; color: var(--text-dark); }

.review-leave-btn {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 0.97rem;
  padding: 11px 28px;
  border-radius: 4px;
  margin-top: 8px;
  transition: background 0.15s;
}
.review-leave-btn:hover { background: var(--orange-dark); }

/* ================================================================
   FACEBOOK SECTION
   ================================================================ */
.facebook-section {
  background: var(--orange);
  padding: 50px 24px 60px;
  text-align: center;
}
.facebook-section h2 {
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 24px;
}
.fb-embed-wrap {
  max-width: 500px;
  margin: 0 auto;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fb-placeholder {
  padding: 30px;
  text-align: center;
}
.fb-placeholder p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 14px;
}
.fb-follow-btn {
  background: #1877f2;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 22px;
  border-radius: 4px;
  display: inline-block;
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: #111;
  padding: 28px 24px;
  text-align: center;
}
.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 14px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  transition: background 0.15s, transform 0.1s;
}
.footer-social a:hover { background: var(--orange-dark); transform: scale(1.08); }
.footer-social svg { width: 22px; height: 22px; fill: #fff; }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 10px;
}
.footer-links a {
  color: #aaa;
  font-size: 0.82rem;
}
.footer-links a:hover { color: #fff; }

.footer-copy {
  font-size: 0.8rem;
  color: #555;
}

/* ================================================================
   PAGE BANNER (for inner pages: Gallery, Catering, etc.)
   ================================================================ */
.page-banner {
  background: linear-gradient(180deg, #1a2a6c 0%, #0d1545 100%);
  padding: 55px 24px 55px;
  text-align: center;
}
.page-banner h1 {
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
}
.page-banner p {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  margin-top: 8px;
}

/* ================================================================
   FORM PAGES
   ================================================================ */
.form-page {
  background: var(--gray-bg);
  padding: 50px 24px 80px;
}
.form-card {
  background: #fff;
  border-radius: 4px;
  padding: 38px 36px;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}
.form-card h2 {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-card > p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 28px;
}
.inquiry-form .form-group {
  margin-bottom: 18px;
}
.inquiry-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: none;
  margin-bottom: 6px;
}
.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d0d4de;
  border-radius: 4px;
  font-size: 0.93rem;
  font-family: inherit;
  color: var(--text-dark);
  background: #fff;
  transition: border-color 0.15s;
}
.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  outline: none;
  border-color: var(--navy);
}
.inquiry-form textarea { min-height: 110px; resize: vertical; }
.form-submit-btn {
  background: var(--orange);
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 32px;
  border-radius: 4px;
  width: 100%;
  margin-top: 8px;
  transition: background 0.15s;
}
.form-submit-btn:hover { background: var(--orange-dark); }

/* ================================================================
   GALLERY PAGE
   ================================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: #fff;
}
.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  background: #1a2a3a;
  border: 2px solid #fff;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.gallery-item:hover img { transform: scale(1.04); }

/* ================================================================
   CART MODAL
   ================================================================ */
.cart-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 500;
  display: none;
  align-items: flex-end;
  justify-content: flex-end;
}
.cart-modal-overlay.open {
  display: flex;
}
.cart-modal {
  background: #fff;
  width: 100%;
  max-width: 420px;
  height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 20px rgba(0,0,0,0.18);
}
.cart-modal-header {
  background: var(--navy);
  color: #fff;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
}
.cart-close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}
.cart-items { flex: 1; padding: 16px; }
.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}
.cart-item-name { flex: 1; font-size: 0.9rem; font-weight: 600; color: var(--text-dark); }
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 6px;
}
.qty-btn {
  width: 26px; height: 26px;
  border: 1px solid #ddd;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  background: #f5f5f5;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.1s;
}
.qty-btn:hover { background: #e0e0e0; }
.cart-item-price { font-weight: 700; color: var(--navy); font-size: 0.92rem; white-space: nowrap; }

.cart-empty {
  text-align: center;
  padding: 48px 24px;
  color: #999;
  font-size: 0.95rem;
}

.cart-footer {
  padding: 16px 20px;
  border-top: 2px solid #eee;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 14px;
}
.checkout-btn {
  display: block;
  text-align: center;
  background: #2e7d32;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px;
  border-radius: 4px;
  transition: background 0.15s;
}
.checkout-btn:hover { background: #1b5e20; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 900px) {
  .header-nav { display: none; }
  .nav-order-btn { display: none; }
  .hamburger-btn { display: block; }

  /* Show cart on mobile header */
  .nav-cart { margin-left: auto; }

  .bites-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .info-inner { grid-template-columns: 1fr; }
  .info-map { aspect-ratio: 16/9; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hours-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .bites-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .form-card { padding: 24px 18px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  body { background: #f0f2f8; }
}

/* ================================================================
   TOAST NOTIFICATION
   ================================================================ */
#toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--navy);
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  white-space: nowrap;
}
#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
