/* ===========================================
   JOE'S BAR (BATROUN) — drinks & hookah menu
   Brand: vintage red + black, Playfair Display / Kaushan Script / Lato
=========================================== */
:root {
  --red:       #d1352b;
  --red-dark:  #9c2620;
  --red-light: #e8574c;
  --black:     #0a0908;
  --bg-soft:   #161311;
  --card:      #1d1815;
  --line:      rgba(209, 53, 43, .28);
  --ink:       #f5f0e8;
  --muted:     rgba(245, 240, 232, .68);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-script:  'Kaushan Script', cursive;
  --font-body:    'Lato', system-ui, sans-serif;
  --header-h: 122px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { background: var(--black); color: var(--ink); overflow-x: hidden; }
body {
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--header-h);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
::selection { background: var(--red); color: #fff; }
.red-text { color: var(--red); }

/* ===========================================
   LOGO
=========================================== */
.logo { display: flex; align-items: center; gap: 8px; }
.logo-star { fill: var(--red); flex: none; }
.logo-word { font-family: var(--font-script); font-size: 20px; color: var(--ink); line-height: 1; }
.foot-badge { display: flex; justify-content: center; margin-bottom: 14px; }
.foot-badge .logo-star { fill: var(--red); }

/* ===========================================
   HEADER — logo row + persistent search & category nav
   Whole header is fixed, so it never scrolls away.
=========================================== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(10, 9, 8, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 28px 10px;
}
.top-bar-place {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.toolbar-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 20px 12px;
}
.search-box {
  position: relative;
  flex: 0 0 auto;
  width: 230px;
  display: flex;
  align-items: center;
}
.search-icon {
  position: absolute;
  left: 12px;
  width: 15px; height: 15px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
  stroke-linecap: round;
  pointer-events: none;
}
.search-box input {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 34px 9px 34px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color .25s, background .25s;
}
.search-box input::placeholder { color: rgba(245, 240, 232, .38); }
.search-box input:focus { border-color: var(--red); background: rgba(209, 53, 43, .08); }
.search-clear {
  position: absolute;
  right: 8px;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.search-clear:hover { color: var(--red-light); }

.catnav { flex: 1; min-width: 0; }
.catnav-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.catnav-track::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 15px;
  white-space: nowrap;
  transition: all .2s ease;
}
.chip:hover { color: var(--ink); border-color: var(--red); }
.chip.active { color: #fff; background: var(--red); border-color: var(--red); }
.chip.dim { opacity: .32; }

@media (max-width: 860px) {
  :root { --header-h: 168px; }
  .top-bar { padding: 10px 18px 8px; }
  .toolbar-row { flex-direction: column; align-items: stretch; gap: 10px; padding: 0 14px 12px; }
  .search-box { width: 100%; }
}

/* ===========================================
   HERO
=========================================== */
.hero {
  position: relative;
  min-height: 86vh;
  padding: 70px 24px 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: var(--black);
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 9, 8, .55) 0%, rgba(10, 9, 8, .82) 60%, rgba(10, 9, 8, .97) 100%),
    linear-gradient(0deg, rgba(20, 8, 6, .5) 0%, transparent 40%);
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1.02;
  letter-spacing: -.01em;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.hero-tagline {
  font-family: var(--font-script);
  font-size: clamp(22px, 2.6vw, 32px);
  color: var(--red-light);
  margin-bottom: 22px;
}
.hero-sub {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 38px;
}
.hero-nav-buttons { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.btn-red {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  color: #fff;
  padding: 16px 30px;
  border-radius: 4px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(209, 53, 43, .3);
  transition: transform .3s, background .3s, box-shadow .3s;
  border: none;
  cursor: pointer;
}
.btn-red:hover { background: var(--red-light); transform: translateY(-2px); box-shadow: 0 14px 38px rgba(209, 53, 43, .4); }
.btn-outline-red {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid rgba(245, 240, 232, .35);
  background: transparent;
  color: var(--ink);
  padding: 16px 30px;
  border-radius: 4px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .3s, background .3s, transform .3s;
}
.btn-outline-red:hover { border-color: var(--red); background: rgba(209, 53, 43, .1); transform: translateY(-2px); }
@media (max-width: 500px) { .hero { padding: 50px 18px 50px; min-height: 74vh; } }

/* ===========================================
   SHARED SECTION HEAD
=========================================== */
.section { padding: 90px 24px 100px; }
@media (max-width: 700px) { .section { padding: 56px 16px 70px; } }
.section-head { max-width: 760px; margin: 0 auto 46px; text-align: center; }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--red);
  margin-bottom: 18px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.1;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-head .kicker { font-family: var(--font-script); font-size: 19px; color: var(--red-light); }

/* ===========================================
   MENU — categories & items
=========================================== */
.menu-wrap { max-width: 940px; margin: 0 auto; }
.no-results { text-align: center; color: var(--muted); font-size: 15px; margin: -14px 0 40px; }

.category { padding: 30px 0 8px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.category:first-of-type { border-top: none; }
.category[hidden] { display: none; }

.category-head { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.cat-photo {
  width: 72px; height: 72px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  border: 2px solid var(--red);
  box-shadow: 0 10px 24px rgba(0,0,0,.45);
}
.cat-photo img { width: 100%; height: 100%; object-fit: cover; }
.cat-heading { display: flex; align-items: baseline; gap: 12px; }
.cat-index { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--red); opacity: .75; }
.category-head h2 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: .01em;
  font-size: 1.55rem;
  text-transform: uppercase;
  color: var(--ink);
}

.item-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.item { display: flex; align-items: baseline; gap: 8px; padding: 9px 0; border-bottom: 1px dashed transparent; }
.item[hidden] { display: none; }
.item-name { font-size: .98rem; color: var(--ink); }
.item-leader { flex: 1; border-bottom: 1.5px dotted var(--line); min-width: 12px; transform: translateY(-3px); }
.item-price { font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: var(--red-light); white-space: nowrap; }

.no-match { grid-column: 1 / -1; font-size: 13px; color: var(--muted); padding: 6px 0 4px; }

@media (max-width: 560px) {
  .item-list { grid-template-columns: 1fr; }
  .cat-photo { width: 60px; height: 60px; }
  .category-head h2 { font-size: 1.28rem; }
}

/* ===========================================
   FOOTER
=========================================== */
footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 46px 24px 26px;
  text-align: center;
}
.foot-tagline { font-family: var(--font-script); color: var(--red-light); font-size: 19px; margin-bottom: 18px; }
.foot-credits {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  padding-bottom: 18px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.foot-credits .sep { color: var(--line); }
.foot-bottom { font-size: 12px; color: rgba(245, 240, 232, .4); }

/* ===========================================
   ACCESSIBILITY
=========================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
