/* ==========================================================================
   Billiards Plus — shared stylesheet
   Dark "black felt + neon blue" pool-hall theme
   ========================================================================== */

:root {
  --bg:        #0c0d11;
  --bg-2:      #14161d;
  --panel:     #171922;
  --panel-2:   #1e2130;
  --line:      #2a2e3d;
  --ink:       #ece7db;   /* cream text, like the menu */
  --ink-soft:  #b7b3aa;
  --muted:     #8b8a86;
  --blue:      #3b8dff;   /* neon accent */
  --blue-dim:  #2f6fd0;
  --glow:      rgba(59, 141, 255, 0.55);
  --red:       #d43a3a;
  --gold:      #f0a828;
  --radius:    14px;
  --wrap:      1120px;
  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Barlow", -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 50% -200px, rgba(59,141,255,0.10), transparent 70%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.012) 0 2px, transparent 2px 6px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 0 0 .5em;
  text-transform: uppercase;
}

.wrap { width: min(var(--wrap), 92vw); margin-inline: auto; }

.accent { color: var(--blue); }
.center { text-align: center; }

/* ---------- Top bar / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 11, 15, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-head);
  text-transform: uppercase;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.brand:hover { text-decoration: none; }
.brand .cue-ball {
  display: inline-grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #cfcabd 70%, #a8a396);
  color: #111;
  font-weight: 700;
  font-size: .95rem;
  box-shadow: 0 0 0 2px #000 inset, 0 2px 6px rgba(0,0,0,.5);
}
.brand b { color: var(--blue); }

/* Transparent logo with a soft neon-blue glow */
.brand-logo {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 0 6px rgba(59,141,255,.6)) drop-shadow(0 1px 2px rgba(0,0,0,.6));
}
.site-footer .brand-logo { height: 62px; }
@media (max-width: 520px) { .brand-logo { height: 40px; } }

.nav-links {
  display: flex;
  gap: .35rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  display: block;
  padding: .45rem .8rem;
  color: var(--ink-soft);
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .95rem;
  border-radius: 8px;
}
.nav-links a:hover { color: var(--ink); background: var(--panel-2); text-decoration: none; }
.nav-links a.active { color: #fff; background: var(--blue-dim); }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line);
  color: var(--ink); border-radius: 8px;
  padding: .4rem .6rem; font-size: 1.1rem; cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .75rem 1.5rem;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: var(--blue);
  color: #08131f;
  font-weight: 600;
  box-shadow: 0 0 18px var(--glow);
}
.btn-primary:hover { box-shadow: 0 0 28px var(--glow); }
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--blue); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 5rem 0;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,9,13,.55) 0%, rgba(8,9,13,.72) 55%, rgba(8,9,13,.96) 100%),
    var(--hero-img, none);
  background-size: cover;
  background-position: center;
  z-index: -1;
}
.hero h1 {
  font-size: clamp(2.8rem, 8vw, 6rem);
  margin-bottom: .2em;
  text-shadow: 0 0 30px rgba(0,0,0,.8);
}
.hero h1 b { color: var(--blue); text-shadow: 0 0 24px var(--glow); }
.hero .tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.5rem);
  color: var(--ink);
  max-width: 40ch;
  margin: 0 auto 1.8rem;
  letter-spacing: .03em;
}
.hero-logo {
  width: min(600px, 88%);
  margin: 0 auto 1.6rem;
  filter: drop-shadow(0 0 30px rgba(59,141,255,.55)) drop-shadow(0 8px 22px rgba(0,0,0,.65));
}
.hero .est {
  font-family: var(--font-head);
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--blue);
  font-size: .85rem;
  margin-bottom: 1rem;
}
.hero-cta { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* Page banner (interior pages) */
.page-banner {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-banner::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,9,13,.6), rgba(8,9,13,.92)),
    var(--hero-img, none);
  background-size: cover; background-position: center;
  z-index: -1;
}
.page-banner h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); }
.page-banner p { color: var(--ink-soft); max-width: 55ch; margin: .5rem auto 0; }

/* ---------- Sections ---------- */
section { padding: 4rem 0; }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.section-head .rule {
  width: 70px; height: 3px; background: var(--blue);
  margin: .8rem auto 0; border-radius: 3px;
  box-shadow: 0 0 12px var(--glow);
}
.section-head p { color: var(--ink-soft); max-width: 60ch; margin: 1rem auto 0; }

.alt-bg { background: var(--bg-2); }

/* ---------- Feature cards ---------- */
.grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: transform .15s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--blue-dim); }
.card .icon {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--panel-2); color: var(--blue);
  font-size: 1.4rem; margin-bottom: .9rem;
  border: 1px solid var(--line);
}
.card h3 { font-size: 1.25rem; }
.card p { color: var(--ink-soft); margin: 0; }

/* ---------- Split feature (image + text) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.split.reverse .split-img { order: 2; }
.split-img img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  width: 100%; height: 100%; object-fit: cover;
  max-height: 440px;
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
}
.split-text h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.split-text p { color: var(--ink-soft); }

/* ---------- Menu ---------- */
.menu-note {
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 auto 3rem;
}
.menu-note b { color: var(--ink); }

.menu-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3.5rem;
  align-items: start;
}
.menu-block { margin-bottom: 2.5rem; break-inside: avoid; }
.menu-block:last-child { margin-bottom: 0; }
.menu-block > h2 {
  display: flex; align-items: center; gap: .8rem;
  font-size: 1.9rem; color: var(--ink);
  margin-bottom: .2rem;
}
.menu-block > h2::after {
  content: ""; flex: 1; height: 2px;
  background: linear-gradient(90deg, var(--blue), transparent);
}
.price-head {
  display: grid;
  grid-template-columns: 1fr 68px 68px;
  gap: .5rem;
  font-family: var(--font-head);
  font-style: italic;
  font-size: .8rem;
  color: var(--blue);
  text-align: right;
  padding: .4rem 0 .3rem;
  border-bottom: 1px solid var(--line);
}
.price-head span:first-child { text-align: left; visibility: hidden; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li {
  display: grid;
  grid-template-columns: 1fr 68px 68px;
  gap: .5rem;
  align-items: baseline;
  padding: .5rem 0;
  border-bottom: 1px dotted rgba(255,255,255,.08);
}
.menu-list .item { font-weight: 500; position: relative; }
.menu-list .cash, .menu-list .list {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-family: var(--font-head);
  letter-spacing: .02em;
}
.menu-list .cash { color: var(--ink); }
.menu-list .list { color: var(--muted); }
.menu-list li .desc { display: block; font-size: .82rem; color: var(--muted); font-weight: 400; }

.menu-block.specials {
  border: 1px solid var(--blue-dim);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  box-shadow: 0 0 24px rgba(59,141,255,.18) inset, 0 0 20px rgba(59,141,255,.12);
  background: linear-gradient(180deg, rgba(59,141,255,.06), transparent);
}

/* ---------- Gallery ---------- */
.gallery {
  columns: 3;
  column-gap: 1rem;
}
.gallery figure {
  margin: 0 0 1rem;
  break-inside: avoid;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
  cursor: pointer;
}
.gallery img { width: 100%; transition: transform .4s ease, filter .3s ease; }
.gallery figure:hover img { transform: scale(1.06); filter: brightness(1.08); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.4rem .9rem .7rem;
  font-family: var(--font-head);
  text-transform: uppercase; letter-spacing: .04em;
  font-size: .9rem;
  color: #fff;
  background: linear-gradient(0deg, rgba(0,0,0,.85), transparent);
  opacity: 0; transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
}
.gallery figure:hover figcaption { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(4,5,8,.92);
  display: none;
  place-items: center;
  padding: 4vw;
}
.lightbox.open { display: grid; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 10px; box-shadow: 0 0 60px rgba(0,0,0,.8); }
.lightbox .close {
  position: absolute; top: 18px; right: 24px;
  font-size: 2.4rem; color: #fff; cursor: pointer; line-height: 1;
  background: none; border: none;
}

/* ---------- Info / contact ---------- */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td {
  text-align: left; padding: .7rem .3rem;
  border-bottom: 1px solid var(--line);
}
.hours-table th { font-family: var(--font-head); font-weight: 500; letter-spacing: .03em; color: var(--ink); }
.hours-table td { text-align: right; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.hours-table tr.today th, .hours-table tr.today td { color: var(--blue); }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.contact-list .ic { color: var(--blue); font-size: 1.3rem; width: 1.5rem; text-align: center; }
.contact-list a { color: var(--ink); }

.map-embed {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  background:
    linear-gradient(rgba(8,9,13,.2), rgba(8,9,13,.2)),
    var(--panel-2);
  display: grid; place-items: center;
  color: var(--muted);
  text-align: center;
  padding: 2rem;
}

/* ---------- CTA strip ---------- */
.cta-strip {
  text-align: center;
  background:
    linear-gradient(rgba(8,9,13,.86), rgba(8,9,13,.86)),
    var(--hero-img, var(--panel));
  background-size: cover; background-position: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-strip h2 { font-size: clamp(1.8rem, 5vw, 3rem); }
.cta-strip p { color: var(--ink-soft); margin-bottom: 1.6rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: #08090c;
  border-top: 1px solid var(--line);
  padding: 3rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
}
.site-footer h4 { color: var(--ink); font-size: 1.05rem; }
.site-footer p, .site-footer li { color: var(--muted); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: .25rem 0; }
.site-footer a { color: var(--ink-soft); }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  text-align: center; color: var(--muted); font-size: .85rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; right: 0; left: 0;
    flex-direction: column;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    padding: .5rem 6vw 1rem;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .7rem .4rem; }
  .split, .info-grid, .menu-columns { grid-template-columns: 1fr; }
  .split.reverse .split-img { order: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery { columns: 2; }
}
@media (max-width: 520px) {
  .gallery { columns: 1; }
  .brand { font-size: 1.1rem; }
}
