/* ==========================================================================
   ReBAR LV — Arts District Dive Bar
   Grungy, raw, unapologetic. Cheap drinks, good times.
   ========================================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Special+Elite&family=Source+Code+Pro:wght@400;600&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --black: #0a0a0a;
  --dark: #141414;
  --darker: #1a1a1a;
  --charcoal: #222;
  --gray-dark: #333;
  --gray: #555;
  --gray-light: #888;
  --gray-lighter: #aaa;
  --cream: #e8dcc8;
  --white: #f0ece4;
  --yellow: #2ec4b6;
  --yellow-dim: #25a99d;
  --red: #c0392b;
  --red-dark: #922b21;
  --green: #5a8a4a;
  --neon-pink: #ff2d7b;
  --neon-blue: #00d4ff;

  --font-display: 'Bebas Neue', Impact, sans-serif;
  --font-body: 'Special Elite', 'Courier New', monospace;
  --font-mono: 'Source Code Pro', monospace;

  --max-width: 1200px;
  --header-height: 70px;
  --radius: 2px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--black);
  color: var(--cream);
  line-height: 1.7;
  padding-bottom: 42px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

a {
  color: var(--yellow);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--neon-pink);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.1;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

ul { list-style: none; }

/* --- Utility --- */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Tape / Sticker Decorations --- */
.tape-label {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.15em;
  padding: 0.2em 0.8em;
  transform: rotate(-2deg);
  box-shadow: 2px 2px 0 rgba(0,0,0,0.3);
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 2px solid var(--yellow);
  backdrop-filter: blur(8px);
  height: var(--header-height);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-logo img {
  height: 45px;
  width: auto;
}

.main-nav ul {
  display: flex;
  gap: 0.5rem;
}

.main-nav a {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  color: var(--cream);
  padding: 0.5rem 0.8rem;
  text-transform: uppercase;
  position: relative;
  transition: color var(--transition);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: width var(--transition), left var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--yellow);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
  left: 0;
}

.main-nav a:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--cream);
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 1px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.3) contrast(1.2) saturate(0.7);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.5) 0%,
    rgba(10, 10, 10, 0.2) 40%,
    rgba(10, 10, 10, 0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: calc(var(--header-height) + 2rem) 2rem 2rem;
}

.hero-logo {
  max-width: 500px;
  margin: 0 auto 2rem;
  animation: flickerIn 2s ease forwards;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--yellow);
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
  animation: slideUp 1s ease 0.5s both;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--gray-lighter);
  max-width: 500px;
  margin: 0 auto 2rem;
  animation: slideUp 1s ease 0.8s both;
}

.hero-specials {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  animation: slideUp 1s ease 1.1s both;
}

.special-badge {
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  padding: 0.4em 1em;
  transform: rotate(-1deg);
  box-shadow: 3px 3px 0 rgba(0,0,0,0.4);
  transition: transform var(--transition);
}

.special-badge:nth-child(2) { transform: rotate(1.5deg); }
.special-badge:nth-child(3) { transform: rotate(-0.5deg); }

.special-badge:hover {
  transform: rotate(0deg) scale(1.05);
}

.hero-cta {
  margin-top: 2.5rem;
  animation: slideUp 1s ease 1.4s both;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.7em 2em;
  border: 2px solid var(--yellow);
  color: var(--yellow);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn:hover,
.btn:focus-visible {
  background: var(--yellow);
  color: var(--black);
  box-shadow: 0 0 20px rgba(46, 196, 182, 0.3);
}

.btn:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 4px;
}

.btn--filled {
  background: var(--yellow);
  color: var(--black);
}

.btn--filled:hover {
  background: var(--white);
  border-color: var(--white);
}

.btn--red {
  border-color: var(--red);
  color: var(--red);
}

.btn--red:hover {
  background: var(--red);
  color: var(--white);
}

/* --- Section Styles --- */
.section {
  padding: 5rem 0;
}

.section--dark {
  background: var(--dark);
}

.section--darker {
  background: var(--darker);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title h2 {
  display: inline-block;
  position: relative;
}

.section-title h2::before {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--yellow);
}

.section-title .subtitle {
  display: block;
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--gray-light);
  margin-top: 1rem;
  text-transform: none;
}

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

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

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.1);
  border: 3px solid var(--charcoal);
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(46, 196, 182, 0.2);
  pointer-events: none;
}

.about-text p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

.about-text .highlight {
  color: var(--yellow);
  font-weight: 600;
}

/* --- Specials / Deals Section --- */
.deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.deal-card {
  background: var(--charcoal);
  border: 1px solid var(--gray-dark);
  padding: 2rem;
  position: relative;
  transition: border-color var(--transition);
}

.deal-card:hover {
  border-color: var(--yellow);
}

.deal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--yellow);
}

.deal-price {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--yellow);
  line-height: 1;
}

.deal-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0.5rem 0;
  color: var(--white);
  letter-spacing: 0.1em;
}

.deal-desc {
  color: var(--gray-light);
  font-size: 0.95rem;
}

.mystery-machine-icon {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.3em;
}

/* --- Hours Section --- */
.hours-banner {
  background: var(--yellow);
  color: var(--black);
  text-align: center;
  padding: 2rem;
}

.hours-banner h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.hours-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.hours-item {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.05em;
}

.hours-item span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  margin-top: 0.2rem;
  opacity: 0.7;
}

/* --- Menu Page Styles --- */
.menu-section {
  padding: 5rem 0 3rem;
}

.menu-header {
  text-align: center;
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 2rem;
  background: var(--dark);
  border-bottom: 3px solid var(--yellow);
}

.menu-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.menu-nav a {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  padding: 0.4em 1.2em;
  border: 1px solid var(--gray-dark);
  color: var(--cream);
  transition: all var(--transition);
}

.menu-nav a:hover,
.menu-nav a.active {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}

.menu-category {
  margin-bottom: 3rem;
}

.menu-category-title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--yellow);
  border-bottom: 2px solid var(--gray-dark);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
}

.menu-category-note {
  font-size: 0.85rem;
  color: var(--gray-light);
  margin-top: -1rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.8rem 1rem;
  margin-bottom: 0.5rem;
  border-bottom: none;
  border: 1px solid rgba(46, 196, 182, 0.15);
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(46, 196, 182, 0.2), inset 0 0 8px rgba(46, 196, 182, 0.03);
  background: rgba(46, 196, 182, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.menu-item:hover {
  transform: scale(1.02);
  box-shadow: 0 0 16px rgba(46, 196, 182, 0.45), 0 0 30px rgba(46, 196, 182, 0.15), inset 0 0 12px rgba(46, 196, 182, 0.05);
  background: rgba(46, 196, 182, 0.06);
  border-color: rgba(46, 196, 182, 0.35);
}

.menu-item:last-child {
  margin-bottom: 0;
}

.menu-item-info {
  flex: 1;
  padding-right: 1rem;
}

.menu-item-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: 0.05em;
}

.menu-item-desc {
  font-size: 0.85rem;
  color: var(--gray-light);
  margin-top: 0.2rem;
  line-height: 1.4;
}

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

.menu-item-tags {
  display: inline-flex;
  gap: 0.3rem;
  margin-left: 0.5rem;
}

.menu-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 0.1em 0.4em;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.menu-tag--vegan {
  background: var(--green);
  color: var(--white);
}

.menu-tag--veggie {
  background: #6a9f5a;
  color: var(--white);
}

.menu-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

/* --- Drink menu specific --- */
.drink-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.5rem;
}

.drink-item {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  margin-bottom: 0.5rem;
  border-bottom: none;
  border: 1px solid rgba(46, 196, 182, 0.15);
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(46, 196, 182, 0.2), inset 0 0 8px rgba(46, 196, 182, 0.03);
  background: rgba(46, 196, 182, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.drink-item:hover {
  transform: scale(1.02);
  box-shadow: 0 0 16px rgba(46, 196, 182, 0.45), 0 0 30px rgba(46, 196, 182, 0.15), inset 0 0 12px rgba(46, 196, 182, 0.05);
  background: rgba(46, 196, 182, 0.06);
  border-color: rgba(46, 196, 182, 0.35);
}

.drink-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--white);
}

.drink-detail {
  font-size: 0.8rem;
  color: var(--gray-light);
}

.drink-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--yellow);
}

.beer-list {
  columns: 2;
  column-gap: 2rem;
}

.beer-list .menu-item {
  break-inside: avoid;
}

/* --- Events Page --- */
.events-list {
  max-width: 800px;
  margin: 0 auto;
}

.event-card {
  background: var(--charcoal);
  border-left: 4px solid var(--yellow);
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: border-color var(--transition);
}

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

.event-day {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--yellow);
  letter-spacing: 0.1em;
}

.event-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  margin: 0.3rem 0;
}

.event-time {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--neon-blue);
}

.event-desc {
  margin-top: 0.5rem;
  color: var(--gray-lighter);
  font-size: 0.95rem;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info-block {
  margin-bottom: 2rem;
}

.contact-info-block h3 {
  color: var(--yellow);
  margin-bottom: 0.8rem;
  font-size: 1.5rem;
}

.contact-info-block p,
.contact-info-block a {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  display: block;
}

.contact-form {
  background: var(--charcoal);
  padding: 2.5rem;
  border: 1px solid var(--gray-dark);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
  color: var(--cream);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem;
  background: var(--dark);
  border: 1px solid var(--gray-dark);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 2px rgba(46, 196, 182, 0.2);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.map-container {
  width: 100%;
  height: 350px;
  border: 2px solid var(--gray-dark);
  margin-top: 2rem;
  filter: grayscale(0.7) contrast(1.1) invert(0.95) hue-rotate(180deg);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Social Links --- */
.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.social-links a {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--cream);
  letter-spacing: 0.1em;
  padding: 0.3em 0;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}

.social-links a:hover {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}

.social-links a:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

/* --- Footer --- */
.site-footer {
  background: var(--dark);
  border-top: 3px solid var(--yellow);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h3 {
  font-size: 1.3rem;
  color: var(--yellow);
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.footer-col p,
.footer-col a {
  font-size: 0.9rem;
  color: var(--gray-lighter);
  display: block;
  margin-bottom: 0.3rem;
}

.footer-col a:hover {
  color: var(--yellow);
}

.footer-col a:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-dark);
  font-size: 0.85rem;
  color: var(--gray);
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  padding: calc(var(--header-height) + 3rem) 0 3rem;
  background: var(--dark);
  text-align: center;
  border-bottom: 3px solid var(--yellow);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 40px,
    rgba(46, 196, 182, 0.02) 40px,
    rgba(46, 196, 182, 0.02) 41px
  );
  pointer-events: none;
}

.page-hero h1 {
  color: var(--yellow);
  position: relative;
}

.page-hero .subtitle {
  color: var(--gray-lighter);
  font-size: 1.1rem;
  margin-top: 0.5rem;
  position: relative;
}

/* --- 404 Page --- */
.four-oh-four {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-height);
}

.four-oh-four h1 {
  font-size: clamp(6rem, 15vw, 12rem);
  color: var(--yellow);
  line-height: 0.9;
  text-shadow: 4px 4px 0 var(--red);
}

.four-oh-four p {
  font-size: 1.3rem;
  margin: 1rem 0 2rem;
  color: var(--gray-lighter);
}

/* --- Press / Featured --- */
.press-banner {
  text-align: center;
  padding: 2rem;
  background: var(--darker);
}

.press-banner img {
  max-width: 300px;
  margin: 0 auto;
  opacity: 0.8;
  filter: grayscale(1);
  transition: all var(--transition);
}

.press-banner img:hover {
  opacity: 1;
  filter: grayscale(0);
}

.press-banner p {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 0.5rem;
}

/* --- WiFi Banner --- */
.wifi-banner {
  background: var(--charcoal);
  text-align: center;
  padding: 1.5rem;
  border-top: 1px solid var(--gray-dark);
  border-bottom: 1px solid var(--gray-dark);
}

.wifi-banner p {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--gray-lighter);
}

.wifi-banner strong {
  color: var(--yellow);
}

/* --- Merch Section --- */
.merch-callout {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, var(--dark) 0%, var(--charcoal) 100%);
  border: 1px solid var(--gray-dark);
  margin: 2rem 0;
}

.merch-callout h3 {
  color: var(--yellow);
  margin-bottom: 0.5rem;
}

.merch-callout p {
  color: var(--gray-lighter);
  margin-bottom: 1.5rem;
}

/* --- Gallery Page --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  display: block;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--gray-dark);
  aspect-ratio: 4 / 3;
  transition: border-color var(--transition);
}

.gallery-item:hover {
  border-color: var(--yellow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
  transition: transform var(--transition), filter var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: saturate(1) contrast(1.1);
}

/* --- Animations --- */
@keyframes flickerIn {
  0% { opacity: 0; }
  10% { opacity: 0.3; }
  15% { opacity: 0.1; }
  25% { opacity: 0.5; }
  30% { opacity: 0.3; }
  50% { opacity: 0.7; }
  60% { opacity: 0.5; }
  100% { opacity: 1; }
}

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

/* --- Responsive --- */
@media (max-width: 900px) {
  .menu-two-col {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .beer-list {
    columns: 1;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--dark);
    border-left: 2px solid var(--yellow);
    padding: calc(var(--header-height) + 2rem) 2rem 2rem;
    transition: right var(--transition);
    z-index: 999;
  }

  .main-nav.is-open {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav a {
    display: block;
    padding: 1rem 0;
    font-size: 1.5rem;
    border-bottom: 1px solid var(--gray-dark);
  }

  .main-nav a::after {
    display: none;
  }

  .hero-logo {
    max-width: 300px;
  }

  .hero-specials {
    flex-direction: column;
    align-items: center;
  }

  .special-badge {
    transform: none !important;
  }

  .hours-grid {
    flex-direction: column;
    gap: 1rem;
  }

  .deals-grid {
    grid-template-columns: 1fr;
  }

  .menu-nav {
    gap: 0.5rem;
  }

  .menu-nav a {
    font-size: 0.9rem;
    padding: 0.3em 0.8em;
  }

  .drink-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 998;
}

.nav-overlay.is-visible {
  display: block;
}

/* --- Sparkle/Confetti Effect --- */
.menu-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.deal-card {
  overflow: hidden;
  cursor: pointer;
}

.sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  pointer-events: none;
  animation: sparkle-burst 3s ease-out forwards;
  z-index: 5;
}

.sparkle--diamond {
  width: 8px;
  height: 8px;
  border-radius: 1px;
  transform: rotate(45deg);
}

.sparkle--star {
  width: 4px;
  height: 4px;
  box-shadow: 0 0 6px 2px currentColor;
}

@keyframes sparkle-burst {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  30% {
    opacity: 1;
    transform: translate(var(--tx), var(--ty)) scale(1.2) rotate(180deg);
  }
  70% {
    opacity: 0.6;
    transform: translate(calc(var(--tx) * 1.3), calc(var(--ty) * 1.3 + 20px)) scale(0.8) rotate(360deg);
  }
  100% {
    opacity: 0;
    transform: translate(calc(var(--tx) * 1.5), calc(var(--ty) * 1.5 + 40px)) scale(0) rotate(540deg);
  }
}

.menu-item.sparkle-active,
.deal-card.sparkle-active {
  box-shadow: 0 0 20px rgba(46, 196, 182, 0.6), 0 0 40px rgba(46, 196, 182, 0.2), inset 0 0 15px rgba(46, 196, 182, 0.08);
  border-color: rgba(46, 196, 182, 0.5);
  background: rgba(46, 196, 182, 0.08);
}

/* --- Promo Notice --- */
.promo-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  background: var(--red);
  color: var(--white);
  padding: 0.8rem 1.5rem;
  border: 2px solid var(--red-dark);
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  position: relative;
  transform: rotate(-0.4deg);
  margin: 1.25rem 0;
}

.promo-notice::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 6px,
    rgba(0,0,0,0.08) 6px,
    rgba(0,0,0,0.08) 12px
  );
  pointer-events: none;
}

.promo-notice-label {
  background: var(--black);
  color: var(--red);
  padding: 0.2rem 0.7rem;
  font-size: 0.8rem;
  font-family: var(--font-display);
  letter-spacing: 0.2em;
  border: 1px solid var(--red-dark);
  white-space: nowrap;
}

.promo-notice-text {
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: 0.05em;
}

.promo-notice--menu {
  transform: rotate(0);
  margin: 0 0 1.5rem 0;
  border-radius: 2px;
}

@media (max-width: 600px) {
  .promo-notice {
    flex-direction: column;
    text-align: center;
    transform: none;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
