/* RESET */
* { box-sizing: border-box; margin: 0; padding: 0; }

/* visually hidden for screen readers */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* BODY & BACKGROUND: grain + tint using grain.jpg */
body.bar-body {
  font-family: 'Open Sans', sans-serif;
  background: url("background.jpg") center center / cover no-repeat;
  color: #eee;
  overflow-x: hidden;
}
body.bar-body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center,
    rgba(0,0,0,0) 50%,
    rgba(0,0,0,0.7) 100%);
  z-index: 1;
}

/* OFF-CANVAS NAV */
.nav-toggle {
  position: fixed; top: 20px; left: 20px; z-index: 50;
  background: rgba(0,0,0,0.6); color: #0ff;
  border: none; padding: .5rem; font-size: 1.5rem; border-radius: 4px;
  cursor: pointer;
}
.offcanvas {
  position: fixed; top: 0; left: -250px;
  width: 250px; height: 100%;
  background: rgba(17,17,17,0.85); backdrop-filter: blur(8px);
  padding-top: 100px; /* pushed down for no overlap */
  transition: left .3s; z-index: 40;
  box-shadow: 4px 0 16px rgba(0,0,0,0.7);
}
.offcanvas.open { left: 0; }
.offcanvas ul { list-style: none; }
.offcanvas a {
  display: block;
  padding: 1rem 1.5rem;
  line-height: 1.6;
  color: #0ff;
  text-decoration: none;
}
.offcanvas a:hover,
.offcanvas a:focus {
  background: rgba(0,255,255,0.1);
  outline: none;
  box-shadow: inset 0 0 0 3px rgba(0,255,255,0.4);
}

/* HERO & OVERLAY */
.video-hero {
  position: relative; height: 75vh; overflow: hidden;
}
.video-hero video {
  position: absolute; top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  transform: translate(-50%,-50%); object-fit: cover;
}
.video-hero .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,50,0.3));
}

/* NEON LOGO TEXT */
.logo-text {
  font-family: 'Orbitron', sans-serif;
  color: #0ff; font-size: 3rem; letter-spacing: 2px;
  text-shadow: 0 0 8px #0ff, 0 0 16px #008, 0 0 24px #0ff;
  animation: flicker 3s infinite;
}
@keyframes flicker {
  0%,19.9%,22%,62.9%,64%,100% { opacity:1 }
  20%,21%,63%,63.5%       { opacity:0.5 }
}

/* TAGLINE */
.hero-text {
  position: relative; z-index:1; text-align: center;
  top: 50%; transform: translateY(-50%);
}
.tagline {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem; color: #0ff;
  text-shadow: 0 0 4px rgba(0,0,0,0.7);
  margin-top: .5rem;
}

/* SECTION HEADERS */
.section {
  background: rgba(0,0,0,0.4);
  border-radius: 8px;
  padding: 3rem 2rem;
  position: relative;
}
.section h2 {
  font-family: 'Orbitron', sans-serif;
  color: #0ff; text-align: center;
  margin-bottom: 1rem;
}
.section.events-section h2::after {
  content: '';
  display: block;
  margin: .5rem auto 0;
  width: 0; height: 2px; background: #0ff;
  animation: grow-underline 1s ease-out forwards;
}
@keyframes grow-underline {
  to { width: 50px; }
}

/* EVENTS CAROUSEL – center on screen */
.carousel {
  display: flex;
  justify-content: center; /* center the inner “slides-container” */
  position: relative;
  margin-bottom: 1rem;
}

/* wrap all the .slide items in a .slides-container */
.slides-container {
  display: flex;
  gap: 1rem;
  touch-action: pan-x;        /* only horizontal swipes—no vertical bounce */
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overflow-x: auto;           /* allow horizontal scrolling on mobile */
  padding: 0 1rem;
}

/* each slide */
.slides-container .slide {
  flex: 0 0 auto;
  min-width: 220px;
  background: #111;
  padding: 1rem;
  border: 1px solid #0ff;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  scroll-snap-align: center;
  text-align: center;
  color: #fff;
  font-size: 1rem;
}

/* ─── Hide carousel arrows on all devices ─── */
.carousel-control {
  display: none !important;
}

/* already hiding scroll-hint, so we leave that */
.scroll-hint {
  display: none;
}

/* By default, dots container is visible */
.carousel-dots {
  text-align: center;
  margin-top: 0.5rem;
}
.carousel-dots .dot {
  background: #555;
  border: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 4px;
  display: inline-block;
  cursor: pointer;
  transition: background .2s;
  outline: none;
  touch-action: manipulation; /* prevent unintended vertical scroll */
}
.carousel-dots .dot:focus {
  outline: none;
}
.carousel-dots .dot.active {
  background: #0ff;
}

/* Hide dots on desktop (≥768px) */
@media (min-width: 768px) {
  .carousel-dots {
    display: none;
  }
}

/* SCROLL HINT — hide it completely */
.scroll-hint {
  display: none;
}

/* DRINK FILTERS */
.drink-filters {
  text-align: center; margin-bottom: 1rem;
}
.drink-filters button {
  background: #111; color: #0ff;
  border: none; border-radius: 4px;
  padding: .5rem 1rem; margin: 0 .5rem;
  cursor: pointer; transition: background .05s;
}
.drink-filters button:hover { background: #0cc; }
.drink-filters button.active {
  background: #0ff; color: #000;
}

/* DRINK GRID */
.drink-grid {
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: center;
}
.menu-item {
  background: rgba(255,255,255,0.05);
  border-radius: 8px; overflow: hidden;
  width: 250px; display: flex; flex-direction: column;
  opacity: 1; transition: opacity .3s ease, box-shadow .15s, transform .15s;
}
.menu-item.featured {
  border: 2px solid #0ff;
  box-shadow: 0 0 12px rgba(0,255,255,0.6);
  position: relative;
}
.featured-badge {
  position: absolute;
  top: 8px; left: 8px;
  background: #0ff; color: #000;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem; border-radius: 4px;
  font-weight: bold;
}
.menu-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,255,255,0.2);
}
.menu-item img {
  width: 100%; height: 180px; object-fit: cover;
}
.menu-item-content {
  padding: 1rem; flex-grow: 1;
  display: flex; flex-direction: column; justify-content: space-between;
}
.menu-item h3 { color: #fff; margin-bottom: 0.5rem; }
.menu-item p  { color: #ccc; font-size: 0.9rem; }

/* PDF BUTTON (no change) */
.pdf-btn {
  position: fixed;
  bottom: 120px;
  right: 20px;
  background: #0ff;
  color: #000;
  padding: .75rem 1rem;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  transition: background .2s;
  z-index: 150; /* make sure it's above footer */
}
.pdf-btn:hover {
  background: #0cc;
}

/* BOOKING FORM */
.booking-form {
  max-width: 500px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 1rem;
}
.booking-form input,
.booking-form textarea {
  width: 100%; padding: .75rem;
  border: none; border-radius: 4px; font-size: 1rem;
}
.booking-form button {
  width: 100%; padding: .75rem;
  background: #0ff; color: #000;
  border: none; border-radius: 4px;
  font-weight: bold; cursor: pointer;
  transition: background .2s;
}
.booking-form button:hover { background: #0cc; }
.form-success {
  text-align: center; color: #0ff; margin-top: 1rem;
  font-weight: bold; font-size: 1rem;
}

/* BACK TO TOP — align it with the PDF button (left side) */
#back-to-top {
  position: fixed;
  bottom: 120px;    /* same vertical offset as .pdf-btn */
  left: 20px;       /* align on the left instead of right */
  background: #0ff;
  color: #000;
  border: none;
  padding: .75rem;
  font-size: 1.25rem;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s;
  z-index: 200;     /* sit above everything else, including footer */
}
#back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

/* STICKY FOOTER LAYOUT */
.social-footer {
  background: rgba(17,17,17,0.9);
  left: 0; width: 100%;
  /* Only sticky on desktop, not on mobile */
}
@media (min-width: 768px) {
  .social-footer {
    position: sticky;
    bottom: 0;
    z-index: 100;
  }
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1000px; margin: 0 auto; padding: .75rem 1rem;
}
.footer-left  { flex:1; text-align: left; }
.footer-center{ flex:1; text-align: center; }
.footer-right { flex:1; text-align: right; }
.footer-address {
  color: #ccc; font-size: 0.9rem;
}
.footer-center p {
  margin: 0; color: #ccc; font-size: 0.75rem;
}
.footer-right a svg {
  vertical-align: middle; transition: transform .3s, fill .3s;
}
.footer-right a:hover svg {
  transform: scale(1.2); fill: #0cc;
}

.lang-switch {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 60;
  background: rgba(0,0,0,0.6);
  border-radius: 4px;
  overflow: hidden;
}
.lang-switch button {
  background: none;
  border: none;
  color: #0ff;
  padding: .5rem 1rem;
  cursor: pointer;
  font-weight: bold;
}
.lang-switch button.active {
  background: #0ff;
  color: #000;
}

/* larger icons on big screens */
@media (min-width: 1200px) {
  .footer-right a svg { width: 32px; height: 32px; }
}
.footer-right a {
  display: inline-block;
  margin-left: 1rem;
}
.footer-right .social-icon {
  width: 24px;
  height: 24px;
  fill: #0ff;
  transition: transform .3s, fill .3s;
  vertical-align: middle;
}
.footer-right a:hover .social-icon {
  fill: #0cc;
  transform: scale(1.2);
}

/* Adjust scroll-hint on small screens */
@media (max-width: 768px) {
  .scroll-hint {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.15);
  }
}
