/*
Theme Name:  Zilla Catering
Theme URI:   https://zillacatering.ca
Description: Custom WordPress theme for Zilla Catering (BBQZilla · PastaZilla · SaladZilla). Italian-red palette, white background, centered hamburger nav, dark footer with admin-editable settings. Built for the Zilla Page Editor plugin.
Version:     1.0.0
Author:      Zilla Catering
License:     GPL2
Text Domain: zilla-catering
*/

/* ════════════════════════════════════════════
   RESET & BASE
════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', sans-serif;
  font-size: 17px;
  background: #ffffff;
  color: #181818;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ════════════════════════════════════════════
   STICKY HEADER
   3-column grid: Logo | ☰ Hamburger | Actions
   Hamburger is always centered — never shifts
════════════════════════════════════════════ */
#zilla-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: #ffffff;
  border-bottom: 3px solid #181818;
  width: 100vw;           /* always full viewport — never constrained by WP */
  margin-left: 0 !important;
  transition: box-shadow 0.3s;
}
#zilla-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.12);
}

.zilla-header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* logo | burger | actions */
  align-items: center;
  padding: 0 56px;
  height: 72px;
}

/* ── LOGO (left column) ── */
.zilla-logo {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.zilla-logo img {
  height: 42px;
  width: auto;
  display: block;
}
.zilla-logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.14em;
  color: #181818;
  line-height: 1;
  white-space: nowrap;
}
.zilla-logo-text .zt { color: #C0181C; }

/* ── HAMBURGER (center column — always visible, always centered) ── */
.zilla-hamburger {
  justify-self: center;
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px;
  line-height: 0;
}
.zilla-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #181818;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.zilla-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.zilla-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.zilla-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── HEADER ACTION BUTTONS (right column) ── */
.zilla-header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.zilla-get-quote-btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
  background: #C0181C;
  padding: 12px 24px;
  border: 2px solid #C0181C;
  text-decoration: none;
  white-space: nowrap;
  display: inline-block;
  transition: background 0.22s, border-color 0.22s;
  flex-shrink: 0;
}
.zilla-get-quote-btn:hover {
  background: #9a0f12;
  border-color: #9a0f12;
  color: #fff;
}

/* ════════════════════════════════════════════
   DRAWER MENU
   Slides down from header, full width
════════════════════════════════════════════ */
#zilla-drawer {
  position: fixed;
  top: 72px;
  left: 0; right: 0;
  background: #ffffff;
  border-bottom: 2px solid #e8e8e8;
  box-shadow: 0 12px 32px rgba(0,0,0,0.10);
  z-index: 9998;
  /* Hidden by default */
  display: none;
  flex-direction: column;
  transform: translateY(-6px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
#zilla-drawer.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Nav list inside drawer */
#zilla-drawer ul {
  list-style: none;
  margin: 0; padding: 0;
}
#zilla-drawer li {
  border-bottom: 1px solid #f2f2f2;
}
#zilla-drawer li:last-child { border-bottom: none; }
#zilla-drawer a:not(.zilla-get-quote-btn) {
  display: block;
  padding: 18px 56px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #555555;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
}
#zilla-drawer a:not(.zilla-get-quote-btn):hover,
#zilla-drawer a.current-menu-item {
  background: #fdf5f5;
  color: #C0181C;
}
/* CTA button inside drawer */
.zilla-drawer-cta {
  margin: 20px 56px 24px;
  text-align: center;
  display: block;
}

/* ════════════════════════════════════════════
   CONTENT AREA
   Offset for fixed header height
════════════════════════════════════════════ */
#zilla-content {
  padding-top: 72px;
}
/* Pages with full-bleed hero handle their own top padding */
body.has-hero #zilla-content {
  padding-top: 0;
}

/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
#zilla-footer {
  background: #181818;
  padding: 72px 56px 36px;
}
.zilla-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
}

/* Brand column */
.zilla-footer-brand {}
.zilla-footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  text-decoration: none;
}
.zilla-footer-logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
}
.zilla-footer-logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 0.12em;
  color: #ffffff;
  line-height: 1;
}
.zilla-footer-logo-text .fz { color: #C0181C; }
.zilla-footer-tagline {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.32);
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 280px;
}
.zilla-footer-contact p {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.42);
  margin-bottom: 8px;
  line-height: 1.5;
}
.zilla-footer-contact a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}
.zilla-footer-contact a:hover { color: #C0181C; }
.zilla-footer-social {
  display: flex;
  gap: 14px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.zilla-footer-social a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
  text-decoration: none;
  transition: color 0.2s;
}
.zilla-footer-social a:hover { color: #C0181C; }

/* Nav columns */
.zilla-footer-col h5 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.24);
  margin-bottom: 20px;
}
.zilla-footer-col ul { list-style: none; padding: 0; margin: 0; }
.zilla-footer-col li { margin-bottom: 12px; }
.zilla-footer-col a {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.42);
  text-decoration: none;
  transition: color 0.2s;
}
.zilla-footer-col a:hover { color: #C0181C; }

/* Footer bottom bar */
.zilla-footer-bottom {
  max-width: 1280px;
  margin: 52px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.18);
}
.zilla-footer-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.zilla-footer-badge {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 5px 14px;
  color: rgba(255,255,255,0.26);
}

/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .zilla-header-inner { padding: 0 32px; }
  #zilla-footer { padding: 56px 32px 28px; }
  .zilla-footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  #zilla-drawer a:not(.zilla-get-quote-btn) { padding: 16px 32px; }
  .zilla-drawer-cta { margin: 16px 32px 20px; }
}
@media (max-width: 640px) {
  .zilla-header-inner { padding: 0 20px; }
  .zilla-logo-text { display: none; }   /* show only logo image on tiny screens */
  .zilla-get-quote-btn { padding: 11px 16px; font-size: 11px; letter-spacing: 0.12em; }
  #zilla-footer { padding: 48px 20px 24px; }
  .zilla-footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .zilla-footer-bottom { flex-direction: column; text-align: center; }
  #zilla-drawer a:not(.zilla-get-quote-btn) { padding: 16px 20px; }
  .zilla-drawer-cta { margin: 14px 20px 18px; }
}

/* ════════════════════════════════════════════
   PAGE CONTENT STYLES  (from zilla-shared.css)
   All page-specific CSS lives here so the
   plugin-managed pages inherit it automatically
   via wp_head() — no separate file needed.
════════════════════════════════════════════ */

:root {
  --red:        #C0181C;
  --red-dk:     #9A0F12;
  --red-lt:     #E02428;
  --red-wash:   #FFF0F0;
  --red-pale:   #FDF5F5;
  --green:      #237226;
  --green-lt:   #2E9433;
  --green-pale: #EFF7EF;
  --ink:        #181818;
  --dark:       #2D2D2D;
  --mid:        #555555;
  --muted:      #888888;
  --border:     #DEDEDE;
  --border-lt:  #EFEFEF;
  --offwhite:   #F6F4F1;
  --cream:      #FAF8F5;
  --white:      #FFFFFF;
  --body-lg:    18px;
  --body-md:    16px;
  --body-sm:    15px;
  --label:      12px;
}

/* ── SHARED LAYOUT ── */
.page-wrap  { max-width: 1280px; margin: 0 auto; padding: 0 56px; }
.section-lg { padding: 100px 56px; }
.section-md { padding: 72px 56px; }

/* ── TYPOGRAPHY ── */
.kicker {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 800; letter-spacing: 0.44em;
  text-transform: uppercase; color: var(--red);
  display: block; margin-bottom: 16px;
}
.kicker.green { color: var(--green); }
.kicker.white { color: rgba(255,255,255,0.5); }

.big-h {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 6.5vw, 88px);
  letter-spacing: 0.04em; color: var(--ink); line-height: 0.95;
  margin-bottom: 18px;
}
.big-h.white { color: var(--white); }

.intro-text {
  font-size: 19px; font-weight: 300; color: var(--mid);
  line-height: 1.8; max-width: 600px;
}
.intro-text strong { color: var(--red); font-weight: 700; }
.intro-text.wide   { max-width: 780px; }

/* ── BUTTONS ── */
.btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px; font-weight: 800; letter-spacing: 0.2em;
  text-transform: uppercase; text-decoration: none; padding: 15px 38px;
  display: inline-block; transition: all 0.25s; border: 2px solid transparent;
  cursor: pointer;
}
.btn-red   { background: var(--red);   color: var(--white); border-color: var(--red); }
.btn-red:hover { background: var(--red-dk); border-color: var(--red-dk); transform: translateY(-2px); }
.btn-green { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-green:hover { background: #1a5a1d; border-color: #1a5a1d; transform: translateY(-2px); }
.btn-ink   { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ink:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--red); border-color: var(--white); }
.btn-white:hover { background: transparent; color: var(--white); }
.btn-ghost-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-ghost-white:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

/* ── CARDS ── */
.card {
  background: var(--white); border: 1px solid var(--border); padding: 36px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.card:hover { border-color: var(--red); box-shadow: 5px 5px 0 var(--red); transform: translate(-2px,-2px); }
.card.green:hover { border-color: var(--green); box-shadow: 5px 5px 0 var(--green); }

.card-kicker {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 800; letter-spacing: 0.4em;
  text-transform: uppercase; color: var(--red); margin-bottom: 10px;
}
.card-kicker.green { color: var(--green); }
.card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px; letter-spacing: 0.05em; color: var(--ink);
  margin-bottom: 12px; line-height: 1;
}
.card p { font-size: var(--body-sm); font-weight: 300; color: var(--mid); line-height: 1.75; }
.tag-list { list-style: none; margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--border); padding: 5px 13px;
  color: var(--mid); background: var(--offwhite); transition: all 0.2s;
}
.card:hover .tag-list li { border-color: var(--red); color: var(--red); background: var(--red-wash); }
.card.green:hover .tag-list li { border-color: var(--green); color: var(--green); background: var(--green-pale); }

/* ── PRICE STAMP ── */
.price-stamp {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 58px; letter-spacing: 0.05em;
  color: var(--white); padding: 16px 32px; line-height: 1; flex-shrink: 0;
  display: inline-block;
}
.price-stamp small {
  display: block; font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 800; letter-spacing: 0.32em;
  color: rgba(255,255,255,0.6); text-transform: uppercase; margin-top: 3px;
}
.price-stamp.red   { background: var(--red); }
.price-stamp.green { background: var(--green); }

/* ── DARK SECTION ── */
.dark-section { background: var(--ink); }
.dark-section .big-h      { color: var(--white); }
.dark-section .kicker     { color: rgba(255,255,255,0.4); }
.dark-section .intro-text { color: rgba(255,255,255,0.55); }

/* ── CTA BANNER ── */
.cta-banner { background: var(--red); padding: 80px 56px; text-align: center; }
.cta-banner .big-h    { color: var(--white); margin-bottom: 16px; }
.cta-banner .intro-text { color: rgba(255,255,255,0.72); margin: 0 auto 38px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-note { margin-top: 22px; font-size: 14px; color: rgba(255,255,255,0.45); letter-spacing: 0.08em; }

/* ── RESPONSIVE (page content) ── */
@media (max-width: 1024px) {
  .section-lg { padding: 72px 32px; }
  .section-md { padding: 52px 32px; }
  .page-wrap  { padding: 0 32px; }
  .cta-banner { padding: 64px 32px; }
}
@media (max-width: 768px) {
  .section-lg { padding: 60px 20px; }
  .section-md { padding: 44px 20px; }
  .page-wrap  { padding: 0 20px; }
  .cta-banner { padding: 52px 20px; }
}
