/* ============================================
   ReBAR Las Vegas — Neon-Lit Grit
   Downtown dive bar energy meets clean design
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Quicksand:wght@400;500;600;700&display=swap');

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --neon-yellow: #f5e642;
  --neon-yellow-dim: rgba(245, 230, 66, 0.15);
  --neon-pink: #ff2d6b;
  --neon-pink-dim: rgba(255, 45, 107, 0.15);
  --neon-blue: #00d4ff;
  --bg-black: #0a0a0a;
  --bg-deep: #0e0e0e;
  --bg-card: #151515;
  --bg-card-hover: #1c1c1c;
  --border: #222;
  --border-light: #2e2e2e;
  --text: #e0ddd5;
  --text-muted: #8a8880;
  --text-dim: #5a5850;
  --heading: 'Bebas Neue', sans-serif;
  --body: 'Quicksand', sans-serif;
  --glow-yellow: 0 0 30px rgba(245, 230, 66, 0.25), 0 0 60px rgba(245, 230, 66, 0.08);
  --glow-pink: 0 0 30px rgba(255, 45, 107, 0.25), 0 0 60px rgba(255, 45, 107, 0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--bg-black);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--neon-yellow); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--neon-pink); }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---- Noise texture overlay ---- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.03;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ---- Top Bar ---- */
.top-bar {
  background: #050505;
  border-bottom: 1px solid var(--border);
  padding: 7px 0;
  font-size: 0.82rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-info { color: var(--text-muted); }
.top-bar-info a { color: var(--text-muted); }
.top-bar-info a:hover { color: var(--neon-yellow); }

.social-links { display: flex; gap: 18px; align-items: center; }
.social-links a {
  color: var(--text-dim);
  font-size: 1.05rem;
  transition: color 0.3s, transform 0.3s, filter 0.3s;
}
.social-links a:hover {
  color: var(--neon-yellow);
  transform: scale(1.2);
  filter: drop-shadow(0 0 6px rgba(245,230,66,0.5));
}

/* ---- Navigation ---- */
.main-nav {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--neon-yellow);
  box-shadow: 0 2px 30px rgba(245,230,66,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.main-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo img { height: 44px; padding: 10px 0; }

.nav-links { display: flex; list-style: none; gap: 0; }

.nav-links li a {
  display: block;
  padding: 20px 22px;
  color: var(--text);
  font-family: var(--heading);
  font-size: 1.15rem;
  letter-spacing: 2px;
  transition: 0.3s;
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--neon-pink);
  box-shadow: var(--glow-pink);
  transition: width 0.3s;
}

.nav-links li a:hover::after,
.nav-links li a.active::after { width: 70%; }
.nav-links li a:hover { color: var(--neon-yellow); }

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  padding: 10px;
  background: none;
  border: none;
}
.hamburger span {
  width: 26px; height: 2px;
  background: var(--neon-yellow);
  border-radius: 1px;
  transition: 0.3s;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  height: 90vh;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero-bar.jpg') center/cover no-repeat;
  filter: brightness(0.3) saturate(0.7) contrast(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(245,230,66,0.06) 0%, transparent 60%),
    linear-gradient(to bottom, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.55) 50%, var(--bg-black) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 20px;
  animation: fadeUp 1s ease-out;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-logo {
  max-width: 420px;
  margin: 0 auto 24px;
  filter: drop-shadow(0 0 40px rgba(245,230,66,0.15));
}

.hero-tagline {
  font-family: var(--heading);
  font-size: 1.8rem;
  color: var(--neon-yellow);
  letter-spacing: 6px;
  margin-bottom: 8px;
  text-shadow: 0 0 30px rgba(245,230,66,0.35);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  letter-spacing: 0.5px;
}

.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 40px;
  font-family: var(--heading);
  font-size: 1.1rem;
  letter-spacing: 3px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  text-align: center;
}

.btn-primary {
  background: var(--neon-yellow);
  color: #000;
}
.btn-primary:hover {
  background: #fff;
  color: #000;
  box-shadow: var(--glow-yellow);
}

.btn-outline {
  border: 2px solid var(--neon-yellow);
  color: var(--neon-yellow);
  background: transparent;
}
.btn-outline:hover {
  background: var(--neon-yellow);
  color: #000;
}

/* ---- Section Styles ---- */
section { padding: 90px 0; }

.section-header { text-align: center; margin-bottom: 60px; }

.section-title {
  font-family: var(--heading);
  font-size: 3rem;
  letter-spacing: 4px;
  color: var(--text);
  margin-bottom: 0;
}

.section-title span { color: var(--neon-yellow); }

.section-accent {
  display: block;
  width: 60px;
  height: 2px;
  background: var(--neon-pink);
  box-shadow: var(--glow-pink);
  margin: 16px auto 0;
}

/* ---- Specials ---- */
.specials-section { background: var(--bg-deep); }

.specials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.special-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px 20px;
  text-align: center;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

.special-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-yellow), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.special-card:hover::before { opacity: 1; }
.special-card:hover { border-color: var(--border-light); transform: translateY(-2px); }

.special-price {
  font-family: var(--heading);
  font-size: 3rem;
  color: var(--neon-yellow);
  text-shadow: var(--glow-yellow);
  line-height: 1;
}

.special-name {
  font-family: var(--heading);
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin: 10px 0 6px;
  color: var(--text);
}

.special-desc { color: var(--text-muted); font-size: 0.85rem; }

/* ---- About ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  border: 1px solid var(--border);
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--neon-yellow);
  opacity: 0.2;
  pointer-events: none;
}

.about-text h3 {
  font-family: var(--heading);
  font-size: 2rem;
  color: var(--neon-yellow);
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.85;
}

.info-list { list-style: none; margin-top: 24px; }

.info-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 0.95rem;
}

.info-list li i { color: var(--neon-yellow); width: 20px; text-align: center; }

/* ---- Press ---- */
.press-section {
  background: var(--bg-deep);
  text-align: center;
}

.press-badge {
  max-width: 550px;
  margin: 0 auto;
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.press-badge::before {
  content: '';
  position: absolute;
  inset: -1px;
  border: 1px solid var(--neon-yellow);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.press-badge:hover::before { opacity: 0.3; }

/* ---- Events ---- */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: 0.3s;
}

.event-card:hover {
  border-color: var(--neon-pink);
  transform: translateY(-2px);
}

.event-card.past-event { display: none; }

.event-date-badge {
  background: linear-gradient(135deg, var(--neon-pink), #b01848);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.event-date-badge .day {
  font-family: var(--heading);
  font-size: 2.4rem;
  line-height: 1;
}

.event-date-badge .month-year {
  font-family: var(--heading);
  font-size: 0.95rem;
  letter-spacing: 2px;
  opacity: 0.9;
}

.event-details { padding: 20px; }

.event-details h3 {
  font-family: var(--heading);
  font-size: 1.3rem;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.event-time {
  color: var(--neon-yellow);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.event-details p { color: var(--text-muted); font-size: 0.9rem; }

.event-recurring {
  background: var(--bg-card);
  border: 2px solid var(--neon-yellow);
  box-shadow: var(--glow-yellow);
  padding: 32px;
  text-align: center;
  margin-bottom: 48px;
}

.event-recurring h3 {
  font-family: var(--heading);
  font-size: 1.6rem;
  color: var(--neon-yellow);
  letter-spacing: 3px;
  margin-bottom: 6px;
}

.event-recurring p { color: var(--text-muted); }

.no-events-msg {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

/* ---- Menu Page ---- */
.page-hero {
  background: var(--bg-deep);
  padding: 50px 0 35px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-hero .section-title { margin-bottom: 8px; }
.page-hero p { color: var(--text-muted); font-size: 1rem; }

.menu-nav {
  background: rgba(15,15,15,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  position: sticky;
  top: 65px;
  z-index: 100;
}

.menu-nav-links {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  list-style: none;
}

.menu-nav-links a {
  padding: 6px 16px;
  font-family: var(--heading);
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  color: var(--text-dim);
  border: 1px solid var(--border);
  transition: 0.3s;
}

.menu-nav-links a:hover,
.menu-nav-links a.active {
  background: var(--neon-yellow);
  color: #000;
  border-color: var(--neon-yellow);
}

.menu-section { padding: 60px 0 30px; }
.menu-section:nth-child(even) { background: var(--bg-deep); }

.menu-category-title {
  font-family: var(--heading);
  font-size: 2.2rem;
  letter-spacing: 4px;
  color: var(--neon-yellow);
  text-align: center;
  margin-bottom: 6px;
  text-shadow: 0 0 25px rgba(245,230,66,0.15);
}

.menu-category-subtitle {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.88rem;
  margin-bottom: 36px;
}

.menu-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
  gap: 4px 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.menu-item {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.menu-item-name {
  font-family: var(--heading);
  font-size: 1.15rem;
  letter-spacing: 1px;
  color: var(--text);
}

.menu-item-dots {
  flex: 1;
  border-bottom: 1px dotted var(--text-dim);
  min-width: 16px;
  margin-bottom: 5px;
  opacity: 0.5;
}

.menu-item-price {
  font-family: var(--heading);
  font-size: 1.15rem;
  color: var(--neon-yellow);
  white-space: nowrap;
}

.menu-item-desc {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-top: 3px;
  line-height: 1.5;
}

.menu-item-mods {
  color: var(--text-dim);
  font-size: 0.78rem;
  margin-top: 3px;
  font-style: italic;
}

.menu-badge {
  display: inline-block;
  font-size: 0.6rem;
  padding: 1px 5px;
  border-radius: 2px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 4px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.badge-vegan { background: #2a6e2a; color: #c4f0c4; }
.badge-vegetarian { background: #3d6e2a; color: #d4f0c4; }
.badge-new { background: var(--neon-pink); color: #fff; }

.menu-note {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 18px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  max-width: 800px;
  margin: 30px auto 0;
}

.menu-note strong { color: var(--neon-pink); }

.menu-drinks-list {
  max-width: 800px;
  margin: 0 auto;
  list-style: none;
}

.menu-drinks-list li {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  padding: 4px 0;
}

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  font-family: var(--heading);
  font-size: 1.6rem;
  letter-spacing: 3px;
  color: var(--neon-yellow);
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.contact-item i {
  color: var(--neon-yellow);
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
  margin-top: 3px;
}

.contact-item h4 {
  font-family: var(--heading);
  letter-spacing: 1px;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.map-container {
  border: 1px solid var(--border);
  overflow: hidden;
  height: 100%;
  min-height: 420px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: grayscale(0.5) brightness(0.8) contrast(1.2);
  transition: filter 0.4s;
}

.map-container:hover iframe {
  filter: grayscale(0) brightness(1) contrast(1);
}

/* ---- Footer ---- */
.site-footer {
  background: #050505;
  border-top: 1px solid var(--neon-yellow);
  box-shadow: 0 -2px 40px rgba(245,230,66,0.04);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img { height: 40px; margin-bottom: 14px; }
.footer-brand p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; }

.footer-heading {
  font-family: var(--heading);
  font-size: 1.2rem;
  letter-spacing: 2px;
  color: var(--neon-yellow);
  margin-bottom: 16px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--text-muted); font-size: 0.88rem; }
.footer-links a:hover { color: var(--neon-yellow); }

.footer-hours li {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-social { display: flex; gap: 18px; margin-top: 16px; }
.footer-social a {
  color: var(--text-dim);
  font-size: 1.15rem;
  transition: 0.3s;
}
.footer-social a:hover {
  color: var(--neon-yellow);
  filter: drop-shadow(0 0 6px rgba(245,230,66,0.5));
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.82rem;
}

.wifi-banner {
  background: var(--neon-yellow);
  color: #000;
  text-align: center;
  padding: 10px 16px;
  font-family: var(--heading);
  font-size: 1.05rem;
  letter-spacing: 2px;
}

.wifi-banner span { font-family: var(--body); font-size: 0.9rem; letter-spacing: 0; }

/* ---- Scroll Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .menu-items { grid-template-columns: 1fr; }
  .hero { height: 75vh; }
  .section-title { font-size: 2.4rem; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(10,10,10,0.98);
    flex-direction: column;
    border-bottom: 1px solid var(--neon-yellow);
  }
  .nav-links.active { display: flex; }
  .nav-links li a {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
  }
  .hero-logo { max-width: 280px; }
  .hero-tagline { font-size: 1.4rem; letter-spacing: 3px; }
  .footer-grid { grid-template-columns: 1fr; }
  .specials-grid { grid-template-columns: 1fr 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .top-bar .container { justify-content: center; text-align: center; }
  section { padding: 60px 0; }
}

@media (max-width: 480px) {
  .specials-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-tagline { font-size: 1.1rem; }
  .section-title { font-size: 2rem; }
}
