/* =========================================================================
   Pete's Eats Pinellas — style.css
   Warm, appetizing, mobile-first. No framework, plain CSS.
   ========================================================================= */

:root {
  --cream: #fff9f0;
  --cream-2: #fdf1df;
  --ink: #2b2118;
  --ink-soft: #5a4a39;
  --orange: #e8590c;
  --orange-deep: #c2410c;
  --amber: #f2a33c;
  --line: #eadbc4;
  --deep: #201a14;
  --deep-2: #2b231b;
  --white: #ffffff;
  --shadow: 0 8px 30px rgba(43, 33, 24, 0.10);
  --shadow-lg: 0 18px 50px rgba(43, 33, 24, 0.16);
  --radius: 16px;
  --maxw: 1140px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
a { color: var(--orange-deep); }
img { max-width: 100%; display: block; }
ul { padding-left: 1.2rem; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
section { padding: 72px 0; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.02rem;
  border: 2px solid transparent;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(232,89,12,.35); }
.btn-primary:hover { background: var(--orange-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-amber { background: var(--amber); color: #3a2a12; }
.btn-amber:hover { background: #e89a2b; }
.btn-sm { padding: 9px 18px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

/* ---------- Top bar (NAP strip) ---------- */
.topbar {
  background: var(--deep);
  color: #f3e7d2;
  font-size: .9rem;
  padding: 8px 0;
}
.topbar .container { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; align-items: center; }
.topbar a { color: var(--amber); text-decoration: none; font-weight: 700; white-space: nowrap; }
.topbar a:hover { text-decoration: underline; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 249, 240, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  display: grid; place-items: center; color: #fff; font-family: "Fraunces", serif;
  font-size: 1.25rem; font-weight: 800; box-shadow: var(--shadow);
}
.brand-name { font-family: "Fraunces", serif; font-weight: 800; font-size: 1.15rem; line-height: 1.1; }
.brand-sub { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav a:hover { color: var(--orange-deep); }
.nav .nav-cta { background: var(--orange); color: #fff; padding: 9px 18px; border-radius: 999px; }
.nav .nav-cta:hover { background: var(--orange-deep); color: #fff; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--ink); line-height: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  color: #fff; padding: 0;
}
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-inner {
  position: relative; max-width: var(--maxw); margin: 0 auto; padding: 120px 20px;
  min-height: 600px; display: flex; flex-direction: column; justify-content: center;
}
.hero h1 { color: #fff; max-width: 15ch; text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.hero p.lead { color: #fdf1e0; max-width: 56ch; font-size: 1.18rem; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.hero-flags { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 24px; }
.flag {
  background: rgba(0,0,0,.38); border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(4px); padding: 6px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600;
}

/* ---------- Section headers ---------- */
.eyebrow {
  display: inline-block; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-deep); font-weight: 800; margin-bottom: 10px;
}
.center { text-align: center; }
.center .container { max-width: 760px; }

/* ---------- Cards (vendors / features) ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.vendor-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.vendor-card .thumb { aspect-ratio: 4/3; overflow: hidden; }
.vendor-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.vendor-card:hover .thumb img { transform: scale(1.05); }
.vendor-card .body { padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.vendor-card .body h3 { margin: 0; font-size: 1.2rem; }
.vendor-card .tag { font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; color: var(--orange-deep); font-weight: 800; }
.vendor-card .note { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.vendor-card .slot {
  border: 2px dashed var(--orange); border-radius: 8px; color: var(--orange-deep);
  padding: 10px; font-size: .88rem; text-align: center; background: #fff5ea; margin-top: auto;
}

.feature-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.feature-card h3 { margin-top: 0; }
.feature-card .ic { font-size: 1.9rem; margin-bottom: 10px; display: block; }

/* ---------- Split / two-col ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; height: auto; }
.split .pic { position: relative; }
.tint { background: var(--cream-2); }

/* ---------- NAP / contact blocks ---------- */
.contact-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.contact-card ul { list-style: none; padding: 0; margin: 0; }
.contact-card li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.contact-card .ic { color: var(--orange-deep); font-size: 1.2rem; line-height: 1.4; }
.contact-card a.phone { color: var(--ink); font-size: 1.15rem; font-weight: 800; text-decoration: none; }
.contact-card a.phone:hover { color: var(--orange-deep); }

/* ---------- Map ---------- */
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 440px; border: 0; display: block; }

/* ---------- Forms ---------- */
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.form .field { margin-bottom: 18px; }
.form label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .95rem; }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; color: var(--ink); background: #fff; transition: border-color .12s ease, box-shadow .12s ease;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(232,89,12,.18);
}
.form textarea { min-height: 120px; resize: vertical; }
.form .req { color: var(--orange-deep); }
.form .hint { font-size: .85rem; color: var(--ink-soft); margin-top: 4px; }
.hp-field { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }
.alert {
  border-radius: 10px; padding: 14px 18px; margin-bottom: 22px; font-weight: 600;
}
.alert-success { background: #e9f7ea; color: #1d5b26; border: 1px solid #bfe3c4; }
.alert-error { background: #fdeaea; color: #8f1f1f; border: 1px solid #f3c2c2; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: counter(step);
  width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; margin-bottom: 14px;
}

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--orange-deep), var(--orange)); color: #fff; text-align: center; }
.cta-band h2, .cta-band p { color: #fff; }
.cta-band p { max-width: 60ch; margin: 0 auto 8px; }

/* ---------- FAQ ---------- */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-bottom: 14px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 800; font-size: 1.05rem; }
.faq details[open] summary { margin-bottom: 10px; color: var(--orange-deep); }
.faq .a { color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: #d9cbb4; padding: 56px 0 0; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.site-footer h4 { color: #fff; margin-bottom: 14px; }
.site-footer a { color: #e8c78a; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .nap strong { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: .85rem;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center;
}

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 120px 20px; }
.notfound h1 { font-size: 6rem; color: var(--orange); }

/* ---------- Breadcrumb-ish / misc ---------- */
.page-hero { background: linear-gradient(135deg, var(--cream-2), var(--cream)); border-bottom: 1px solid var(--line); }
.page-hero .container { padding: 56px 20px 48px; }
.muted { color: var(--ink-soft); }
.tagline { font-size: 1.12rem; color: var(--ink-soft); max-width: 64ch; }

/* ---------- Buttons in lists / misc ---------- */
.big-phone a { font-size: 1.6rem; font-weight: 800; color: var(--orange-deep); text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; right: 20px; left: 20px;
    background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; box-shadow: var(--shadow-lg); align-items: stretch; }
  .nav-toggle { display: inline-block; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
  .hero-inner { padding: 84px 20px; min-height: 480px; }
  .topbar .container { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
  .vendor-card:hover .thumb img { transform: none; }
}
/* Print: keep it simple */
@media print {
  .topbar, .site-header, .map-wrap, .site-footer, .btn, form { display: none; }
}

/* ---------- Photo hero on interior pages ---------- */
.page-hero--photo { position: relative; overflow: hidden; border-bottom: none; }
.page-hero--photo .page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.page-hero--photo .page-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(32,26,20,.42), rgba(32,26,20,.68));
}
.page-hero--photo .container { position: relative; padding: 92px 20px 80px; }
.page-hero--photo .eyebrow { color: #ffd8a8; }
.page-hero--photo h1 { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.page-hero--photo .tagline { color: #fdf1e0; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.page-hero--photo .tagline strong { color: #fff; }
.page-hero--photo .tagline a { color: #ffd8a8; }
@media (max-width: 720px) {
  .page-hero--photo .container { padding: 64px 20px 56px; }
}
