/* ============================================
   Small Town Lanes — shared stylesheet
   Dark, plain, easy to read. The only thing
   carried over from Facebook is the blue accent
   color, since visitors will bounce between this
   site and the Facebook Page. Everything else
   (layout, type, structure) is its own thing, so
   the site reads as Small Town Lanes' own site, not
   a Facebook clone.
   ============================================ */

:root {
  --accent: #2E8FFF;
  --accent-dark: #1877F2;
  --accent-tint: rgba(46, 143, 255, 0.14);
  --accent-tint-border: rgba(46, 143, 255, 0.3);

  --bg: #0E1013;
  --card: #191C20;
  --card-raised: #202329;
  --text: #F2F3F5;
  --text-secondary: #9AA0A8;
  --border: rgba(255, 255, 255, 0.10);
  --border-light: rgba(255, 255, 255, 0.07);

  --font-display: 'Momo Signature', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius: 8px;
  --radius-lg: 12px;

  --sp-01: 0.25rem;
  --sp-02: 0.5rem;
  --sp-03: 0.75rem;
  --sp-04: 1rem;
  --sp-05: 1.5rem;
  --sp-06: 2rem;
  --sp-07: 2.5rem;
  --sp-08: 3rem;

  color-scheme: dark;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.3;
  margin: 0 0 var(--sp-03);
  color: var(--text);
}

h3 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 var(--sp-03);
  color: var(--text);
}

h1 { font-size: clamp(1.6rem, 3.2vw, 2.15rem); }
h2 {
  font-size: 1.2rem;
  padding-bottom: var(--sp-03);
  border-bottom: 4px solid var(--accent);
  display: block;
  width: fit-content;
}
h3 { font-size: 1.05rem; }

p { margin: 0 0 var(--sp-04); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  display: inline-block;
  margin-bottom: var(--sp-02);
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--sp-04);
}

section { padding: var(--sp-07) 0; }

.card {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent-dark);
  color: #fff;
  padding: var(--sp-03) var(--sp-04);
  z-index: 100;
}
.skip-link:focus { left: var(--sp-04); top: var(--sp-04); }

/* ============ Header / Nav ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 16, 19, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border-light);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: var(--sp-03) var(--sp-04);
  gap: var(--sp-04);
}

.brand {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--text);
  white-space: nowrap;
}

.main-nav {
  display: flex;
  gap: var(--sp-05);
  flex-wrap: wrap;
}

.main-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: var(--sp-02) 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: var(--text); text-decoration: none; }
.main-nav a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-02);
}

.btn-header {
  display: inline-flex;
  align-items: center;
  padding: var(--sp-02) var(--sp-04);
  background: var(--accent-dark);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 6px;
  white-space: nowrap;
}
.btn-header:hover { background: var(--accent); color: #fff; text-decoration: none; }

.fb-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--card-raised);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.fb-icon-btn:hover { color: var(--accent); border-color: var(--accent-tint-border); text-decoration: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.3rem;
  padding: var(--sp-02) var(--sp-03);
  border-radius: var(--radius);
}

@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border-light);
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    padding: var(--sp-04);
    border-bottom: 1px solid var(--border-light);
    border-left: 2px solid transparent;
  }
  .main-nav a[aria-current="page"] { border-bottom-color: var(--border-light); border-left-color: var(--accent); }
}

/* ============ Buttons ============ */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-02);
  padding: 0 var(--sp-05);
  height: 44px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  border: none;
}

.btn-primary { background: var(--accent-dark); color: #fff; }
.btn-primary:hover { background: var(--accent); color: #fff; text-decoration: none; }

.btn-secondary { background: var(--card-raised); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--accent-tint-border); color: var(--text); text-decoration: none; }

.btn-facebook { background: var(--accent-tint); color: var(--accent); border: 1px solid var(--accent-tint-border); }
.btn-facebook:hover { background: rgba(46, 143, 255, 0.22); color: var(--accent); text-decoration: none; }

.btn-row { display: flex; gap: var(--sp-03); flex-wrap: wrap; }

/* ============ Hero ============ */
.hero { padding: var(--sp-08) 0 var(--sp-05); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--sp-06);
  align-items: center;
}
@media (max-width: 780px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero-photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  background: var(--card);
}
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; }

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 56ch;
}

/* Simple banner header used on subpages */
.page-banner { padding: var(--sp-07) 0 var(--sp-02); }
.page-banner .hero-sub { margin-bottom: 0; }

/* ============ Info strip ============ */
.info-strip { padding: var(--sp-05) 0; }
.info-strip .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-04);
}
@media (max-width: 700px) {
  .info-strip .wrap { grid-template-columns: 1fr; }
}
.info-item {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: var(--sp-04);
}
.info-item .eyebrow { margin-bottom: var(--sp-02); }
.info-item p { margin: 0; color: var(--text-secondary); }
.info-item a { color: var(--text); font-weight: 600; }
.info-item a:hover { color: var(--accent); }

/* ============ Cards grid ============ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-04);
}

.card-grid .card { padding: var(--sp-05); }
.card-grid .card h3 { color: var(--accent); }
.card-grid .card p { color: var(--text-secondary); margin-bottom: 0; }

/* ============ Facebook callout ============ */
.fb-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-04);
  flex-wrap: wrap;
  padding: var(--sp-05);
  background: var(--accent-tint);
  border: 1px solid var(--accent-tint-border);
  border-radius: var(--radius-lg);
}
.fb-callout-text { display: flex; align-items: center; gap: var(--sp-04); }
.fb-callout h3 { margin: 0 0 2px; }
.fb-callout p { margin: 0; color: var(--text-secondary); }

/* ============ Photo grid ============ */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--sp-03);
}
.photo-strip .frame {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--card);
  border: 1px solid var(--border-light);
}
.photo-strip .frame img { width: 100%; height: 100%; object-fit: cover; }

/* ============ Facebook feed widget ============
   Left un-themed on purpose (it's embedded FB
   content, styled by Facebook) so it reads as a
   distinct embed, not part of our own layout. */
.fb-widget-section { background: var(--card); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: var(--sp-05); }
.fb-widget-wrap {
  width: 100%;
  overflow-x: auto;
  display: flex;
  justify-content: center;
  margin-top: var(--sp-04);
}
.fb-widget-wrap .fb-page { max-width: 100%; }

/* ============ External listing links (auctions page) ============ */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-04);
}
.listing-card {
  padding: var(--sp-05);
  display: flex;
  flex-direction: column;
  gap: var(--sp-02);
}
.listing-card h3 { margin-bottom: 0; color: var(--accent); }
.listing-card p { color: var(--text-secondary); margin-bottom: var(--sp-02); }
.listing-card .btn-secondary { align-self: flex-start; }

/* ============ CTA card (centered) ============ */
.cta-card { padding: var(--sp-06); text-align: center; }
.cta-card h2, .cta-card .hero-sub { margin-left: auto; margin-right: auto; }
.cta-card .btn-row { justify-content: center; }

/* ============ Divider ============ */
.divider {
  height: 1px;
  background: var(--border-light);
  border: none;
  margin: 0;
}

/* Checkered-flag divider, a nod to the bowling alley's own
   checkerboard floor (and a literal checkered flag for the
   auction side of the site). Purely decorative flourish. */
.checker-divider {
  height: 22px;
  background-image: conic-gradient(var(--text) 25%, transparent 0 50%, var(--text) 0 75%, transparent 0);
  background-size: 22px 22px;
  opacity: 0.9;
}

/* ============ Until Then badge ============ */
.until-then-badge {
  width: 84px;
  height: 84px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 50%;
  padding: 6px;
}
.until-then-badge img { width: 100%; height: 100%; object-fit: contain; }

.hero-title-row {
  display: flex;
  align-items: center;
  gap: var(--sp-04);
  margin-bottom: var(--sp-03);
}
.hero-title-row h1 { margin-bottom: 0; }

/* ============ Menu page ============ */
.menu-section h2 { color: var(--accent); }
.menu-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 var(--sp-06);
}
@media (max-width: 700px) {
  .menu-columns { grid-template-columns: 1fr; }
}
.menu-list { list-style: none; margin: 0 0 var(--sp-06); padding: 0; }
.menu-list li {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-04);
  padding: var(--sp-03) 0;
  border-bottom: 1px solid var(--border-light);
}
.menu-list li:last-child { border-bottom: none; }
.menu-list .item-name { font-weight: 600; }
.menu-list .item-desc { color: var(--text-secondary); font-size: 0.9rem; display: block; font-weight: 400; }
.menu-list .item-price {
  white-space: nowrap;
  font-weight: 600;
  color: var(--accent);
  padding-left: var(--sp-03);
  flex-shrink: 0;
}
.menu-note {
  font-size: 0.9rem;
  color: var(--text-secondary);
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: var(--sp-04) var(--sp-05);
}

.wing-pricing {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-02);
  margin: 0 0 var(--sp-06);
  padding: 0;
  list-style: none;
}
.wing-pricing li {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: var(--sp-02) var(--sp-04);
  font-size: 0.9rem;
}
.wing-pricing .item-price { color: var(--accent); font-weight: 600; }

/* ============ Hours table ============ */
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: var(--sp-03) 0; border-bottom: 1px solid var(--border-light); }
.hours-table td:last-child { text-align: right; color: var(--text-secondary); }

/* ============ Map ============ */
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.map-frame iframe { width: 100%; height: 340px; border: 0; display: block; filter: invert(90%) hue-rotate(180deg); }

/* ============ Footer ============ */
.site-footer {
  background: var(--card);
  border-top: 1px solid var(--border-light);
  padding: var(--sp-06) 0 var(--sp-05);
  margin-top: var(--sp-06);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-05);
  margin-bottom: var(--sp-05);
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-grid h3 { font-size: 0.95rem; color: var(--text); }
.footer-grid p, .footer-grid a { color: var(--text-secondary); font-size: 0.9rem; }
.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: var(--sp-04);
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-02);
}
