/* JIMMY'S Grill and more — colours taken from the storefront: black sign, light oak slats, white tiles */
:root {
  --char: #1c1b19;
  --char-2: #2a2724;
  --wood: #b98a55;
  --wood-dark: #9a6738;
  --cream: #f6efe3;
  --paper: #fbf7f0;
  --ink: #2a221b;
  --muted: #6f655a;
  --radius: 18px;
  --serif: 'Noto Serif Display', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  padding-bottom: env(safe-area-inset-bottom);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2 { font-family: var(--serif); font-weight: 600; margin: 0; }
.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;
}

/* Hero: the night storefront with its lit sign */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  min-height: min(92dvh, 860px);
  display: grid;
  place-items: center;
  padding: 48px 20px 64px;
  color: var(--cream);
  text-align: center;
  background: url('/img/storefront-night.webp?v=2') center 30% / cover no-repeat, var(--char);
  overflow: hidden;
  isolation: isolate;
}
/* looping close-up of souvlaki on the charcoal; the photo behind it is the fallback */
.hero-video {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%; pointer-events: none;
}
/* dark wash over the video so the logo and buttons stay readable */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(20, 19, 17, 0.4) 0%, rgba(20, 19, 17, 0.62) 70%),
    linear-gradient(180deg, rgba(20, 19, 17, 0.35) 0%, rgba(20, 19, 17, 0.5) 55%, rgba(20, 19, 17, 0.95) 100%);
}
.hero-inner { max-width: 560px; width: 100%; position: relative; }
/* light-oak slats along the bottom of the hero, like the shop's fascia */
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 22px;
  background:
    repeating-linear-gradient(180deg, transparent 0 5px, rgba(0, 0, 0, 0.35) 5px 7px),
    linear-gradient(90deg, #a8773f, #c99a63 30%, #b98a55 60%, #a26f3a);
  opacity: 0.9;
}
.logo { width: min(400px, 82%); height: auto; margin: 0 auto 22px; filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.45)); }
.tagline { font-family: var(--serif); font-size: clamp(1.15rem, 3.6vw, 1.45rem); margin: 0 0 30px; }
.tagline .nw { white-space: nowrap; }
.tagline .sub { display: block; font-family: var(--sans); font-size: 0.95rem; opacity: 0.82; margin-top: 6px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  text-decoration: none; font-weight: 700; border-radius: 999px;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.btn svg { width: 24px; height: 24px; fill: currentColor; flex: none; }
.btn-order {
  background: var(--wood); color: var(--char);
  font-size: 1.3rem; padding: 21px 48px; min-width: min(100%, 350px);
  box-shadow: 0 10px 30px rgba(185, 138, 85, 0.35), inset 0 -3px 0 rgba(0, 0, 0, 0.15);
}
.btn-order:hover, .btn-order:focus-visible { background: #c99a63; transform: translateY(-1px); }
.btn-order.small { font-size: 1.08rem; padding: 16px 32px; min-width: 0; }
.promo {
  display: block;
  margin: 0 auto 18px; max-width: 420px; font-size: 1.02rem; line-height: 1.4; color: var(--cream);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}
.promo svg { display: inline-block; width: 19px; height: 19px; vertical-align: -4px; margin-right: 6px; fill: #e2b57f; }
.promo strong { color: #e2b57f; white-space: nowrap; }
.btn-order { position: relative; }
/* soft ring that pulses out of the order buttons */
.btn-pulse { animation: btn-pulse 2.4s ease-out infinite; }
.btn-pulse:hover, .btn-pulse:focus-visible { animation-play-state: paused; }
@keyframes btn-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(201, 154, 99, 0.6), 0 10px 30px rgba(185, 138, 85, 0.35), inset 0 -3px 0 rgba(0, 0, 0, 0.15); }
  70%  { box-shadow: 0 0 0 16px rgba(201, 154, 99, 0), 0 10px 30px rgba(185, 138, 85, 0.35), inset 0 -3px 0 rgba(0, 0, 0, 0.15); }
  100% { box-shadow: 0 0 0 0 rgba(201, 154, 99, 0), 0 10px 30px rgba(185, 138, 85, 0.35), inset 0 -3px 0 rgba(0, 0, 0, 0.15); }
}
.order-note { font-size: 0.9rem; opacity: 0.8; margin: 12px 0 26px; }
.btn-call {
  color: var(--cream); font-weight: 600; font-size: 1.08rem; padding: 13px 24px;
  border: 1px solid rgba(246, 239, 227, 0.35); background: rgba(246, 239, 227, 0.06);
}
.btn-call:hover, .btn-call:focus-visible { background: rgba(246, 239, 227, 0.14); }
.btn-call svg { width: 20px; height: 20px; }
a:focus-visible { outline: 3px solid var(--wood); outline-offset: 3px; }

main { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Hours / phones / address */
.info {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: -40px; position: relative;
}
.card {
  background: var(--paper); border-radius: var(--radius); padding: 22px 22px 20px;
  box-shadow: 0 10px 30px rgba(42, 34, 27, 0.1); border-top: 4px solid var(--wood);
}
.card h2 { display: flex; align-items: center; gap: 8px; font-size: 1.15rem; margin-bottom: 12px; }
.card h2 svg { width: 20px; height: 20px; fill: var(--wood-dark); }
.card p { margin: 0 0 8px; }
.hours { margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border-bottom: 1px dashed rgba(42, 34, 27, 0.12); }
.hours div:last-child { border-bottom: 0; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-weight: 700; }
.hours .closed { color: var(--muted); font-weight: 600; }
.phones a { display: block; font-size: 1.25rem; font-weight: 700; text-decoration: none; padding: 2px 0; }
.phones a:hover { color: var(--wood-dark); }
.link { color: var(--wood-dark); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* How to order */
.steps { text-align: center; margin: 56px 0 8px; }
.eyebrow {
  margin: 0 0 6px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wood-dark);
}
.steps h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: 28px; }
.steps h2::after {
  content: ''; display: block; width: 64px; height: 3px; margin: 14px auto 0; border-radius: 2px; background: var(--wood);
}
.steps ol { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { background: var(--paper); border-radius: var(--radius); padding: 26px 22px 22px; box-shadow: 0 6px 20px rgba(42, 34, 27, 0.07); }
.step-num {
  display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 50%;
  background: var(--char); color: var(--wood); font-family: var(--serif); font-size: 1.35rem; font-weight: 600;
}
.steps h3 { margin: 0 0 6px; font-size: 1.08rem; }
.steps li p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* QR for desktop visitors */
.qr-block {
  display: none; align-items: center; gap: 28px;
  margin: 28px 0 0; padding: 24px 28px; border-radius: var(--radius);
  background: var(--char); color: var(--cream);
}
.qr-block img { width: 140px; height: 140px; background: #fff; padding: 10px; border-radius: 12px; flex: none; }
.qr-block h2 { font-size: 1.35rem; margin-bottom: 6px; }
.qr-block p { margin: 0; opacity: 0.85; max-width: 460px; }
@media (min-width: 900px) and (hover: hover) { .qr-block { display: flex; } }

/* About */
.about {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center;
  margin: 40px 0 48px;
}
.about img { width: 100%; height: 100%; max-height: 360px; object-fit: cover; border-radius: var(--radius); }
.about h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin-bottom: 10px; }
.about p { color: var(--muted); margin: 0 0 18px; }

/* Google reviews */
.reviews {
  display: flex; align-items: center; gap: 22px; margin: 0 0 56px; padding: 26px 30px;
  border-radius: var(--radius); background: var(--paper); border: 1px solid rgba(185, 138, 85, 0.35);
}
.stars { color: #e0a63a; font-size: 1.5rem; letter-spacing: 2px; flex: none; }
.reviews-text { flex: 1; }
.reviews h2 { font-size: 1.3rem; margin-bottom: 4px; }
.reviews p { margin: 0; color: var(--muted); }
.btn-review { background: var(--char); color: var(--cream); padding: 15px 28px; font-size: 1.02rem; flex: none; }
.btn-review:hover, .btn-review:focus-visible { background: var(--char-2); transform: translateY(-1px); }

/* Footer: the delivery platforms stay deliberately quiet */
footer {
  background: var(--char); color: rgba(246, 239, 227, 0.75);
  text-align: center; padding: 34px 20px 110px; font-size: 0.9rem;
}
.social { display: flex; justify-content: center; gap: 14px; margin-bottom: 16px; }
.social a {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(246, 239, 227, 0.08); color: var(--cream);
}
.social a:hover { background: var(--wood); color: var(--char); }
.social svg { width: 22px; height: 22px; fill: currentColor; }
footer p { margin: 6px 0; }
.powered { font-size: 0.75rem; opacity: 0.55; }
.powered a { color: inherit; }
.platforms {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px;
  margin: 14px 0 10px; font-size: 0.78rem; opacity: 0.7;
}
.platforms a { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
.platforms a:hover { opacity: 1; text-decoration: underline; }
.platforms img { width: 20px; height: 20px; border-radius: 5px; }

/* About: feature checklist */
.features { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; text-align: left; }
.features li { position: relative; padding-left: 30px; color: var(--char-2); }
.features li::before {
  content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--wood) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231c1b19' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.features strong { color: var(--wood-dark); }

/* Delivery-platform links open this first (pure CSS :target, the site runs no JS) */
.pf-modal {
  position: fixed; inset: 0; z-index: 50; display: none;
  place-items: center; padding: 20px;
}
.pf-modal:target { display: grid; }
.pf-backdrop {
  position: absolute; inset: 0; background: rgba(20, 19, 17, 0.72);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.pf-sheet {
  position: relative; width: 100%; max-width: 430px; text-align: center;
  background: var(--paper); color: var(--char); border-radius: 22px;
  padding: 34px 24px 22px; border-top: 5px solid var(--wood);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  animation: pf-in 0.22s ease-out;
}
@keyframes pf-in { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
.pf-sheet h2 { font-size: 1.45rem; margin: 6px 0 12px; }
.pf-sheet p { margin: 0 0 10px; color: var(--char-2); }
.pf-sheet .pf-small { font-size: 0.92rem; color: var(--muted); margin-bottom: 20px; }
.pf-sheet .btn-order { width: 100%; min-width: 0; font-size: 1.08rem; padding: 17px 20px; }
.pf-ext {
  display: block; margin-top: 12px; padding: 12px; border-radius: 999px;
  color: var(--muted); font-weight: 600; text-decoration: none; border: 1px solid rgba(42, 34, 27, 0.18);
}
.pf-ext:hover, .pf-ext:focus-visible { color: var(--char); background: rgba(42, 34, 27, 0.05); }
.pf-close {
  position: absolute; top: 8px; right: 12px; width: 40px; height: 40px; display: grid; place-items: center;
  font-size: 1.7rem; line-height: 1; color: var(--muted); text-decoration: none; border-radius: 50%;
}
.pf-close:hover { background: rgba(42, 34, 27, 0.07); color: var(--char); }
.pf-badge {
  display: inline-block; background: #b7412a; color: #fff; font-weight: 800; font-size: 0.95rem;
  padding: 6px 12px; border-radius: 999px; transform: rotate(-4deg);
}

/* Mobile: an always-visible order bar */
.sticky-order {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  display: flex; gap: 10px; align-items: center;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(28, 27, 25, 0.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.sticky-order .btn-order {
  flex: 1; font-size: 1.04rem; padding: 0 18px; height: 56px; min-width: 0; gap: 8px;
  justify-content: center; white-space: nowrap; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.14);
}
.sticky-order .btn-order svg { width: 21px; height: 21px; }
@media (max-width: 400px) {
  .hero .btn-order { font-size: 1.14rem; padding: 18px 26px; white-space: nowrap; }
  .btn-call { font-size: 0.98rem; padding: 12px 18px; white-space: nowrap; }
}
@media (max-width: 360px) { .sticky-order .btn-order svg { display: none; } }
.btn-call-icon {
  width: 54px; height: 54px; flex: none; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(246, 239, 227, 0.35); color: var(--cream);
}
.btn-call-icon svg { width: 22px; height: 22px; fill: currentColor; }

/* The order bar appears only once the visitor scrolls past the first screen (pure CSS: the site
   runs no JS). Browsers without scroll-driven animations simply keep it visible. */
@supports (animation-timeline: scroll()) {
  .sticky-order {
    animation: sticky-reveal linear both;
    animation-timeline: scroll(root block);
    animation-range: 0 75vh;
  }
  @keyframes sticky-reveal {
    0%, 70% { transform: translateY(110%); opacity: 0; visibility: hidden; }
    100%    { transform: translateY(0);    opacity: 1; visibility: visible; }
  }
}
@media (min-width: 900px) {
  .sticky-order { display: none; }
  footer { padding-bottom: 34px; }
}
@media (max-width: 760px) {
  .info { grid-template-columns: 1fr; margin-top: -32px; }
  .about { grid-template-columns: 1fr; margin-top: 28px; }
  .steps { margin-top: 44px; }
  .steps ol { grid-template-columns: 1fr; }
  .reviews { flex-direction: column; text-align: center; padding: 26px 22px; }
  .btn-review { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn-pulse, .pf-sheet { animation: none; } .hero-video { display: none; } }
