/* ==============================================================================
   Dink Bar & Restaurant - Custom CSS Stylesheet (Responsive Mobile & PC)
   ============================================================================== */

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(229, 184, 105, 0.4), inset 0 0 10px rgba(229, 184, 105, 0.2);
  }
  50% {
    box-shadow: 0 0 25px rgba(229, 184, 105, 0.8), inset 0 0 15px rgba(229, 184, 105, 0.4);
  }
}

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-scale-up {
  animation: scaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.bg-grid-pattern {
  background-size: 30px 30px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

/* ==============================================================================
   Menu Filter Tabs
   ============================================================================== */

.menu-tab-btn {
  background: rgba(30, 35, 51, 0.9);
  border: 1px solid rgba(71, 85, 105, 0.6);
  color: #cbd5e1;
}

.menu-tab-btn:hover {
  border-color: #e5b869;
  color: #ffffff;
}

.menu-tab-btn.active {
  background: linear-gradient(135deg, #e5b869, #d97706);
  border-color: #fef08a;
  color: #0b0d13;
  box-shadow: 0 4px 15px rgba(229, 184, 105, 0.35);
}

/* ==============================================================================
   Interactive Table Seats (Touch Friendly & Responsive)
   ============================================================================== */

.seat-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  user-select: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* 1. Dining Table Seat (T1 - T20) */
.table-seat {
  height: 44px;
  border-radius: 12px;
  background: rgba(30, 35, 51, 0.95);
  border: 1.5px solid rgba(16, 185, 129, 0.5); /* Green for Available */
  color: #34d399;
  font-size: 0.8rem;
}

@media (min-width: 640px) {
  .table-seat {
    height: 48px;
    font-size: 0.85rem;
  }
}

.table-seat:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.table-seat:active:not(:disabled) {
  transform: scale(0.96);
}

/* 2. VIP Sofa Seat (S1 - S7) */
.sofa-seat {
  height: 46px;
  border-radius: 12px;
  background: rgba(40, 47, 69, 0.95);
  border: 1.5px solid rgba(229, 184, 105, 0.6);
  color: #f3d291;
  font-size: 0.78rem;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .sofa-seat {
    height: 52px;
    font-size: 0.85rem;
    border-radius: 14px;
  }
}

.sofa-seat:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: #e5b869;
  background: rgba(229, 184, 105, 0.2);
  box-shadow: 0 4px 15px rgba(229, 184, 105, 0.3);
}

.sofa-seat:active:not(:disabled) {
  transform: scale(0.96);
}

/* 3. Bar Counter Stool Seat (B1 - B5) */
.bar-seat {
  height: 44px;
  border-radius: 12px;
  background: rgba(26, 40, 65, 0.95);
  border: 1.5px solid rgba(56, 189, 248, 0.5); /* Cyan for Bar */
  color: #38bdf8;
  font-size: 0.8rem;
}

@media (min-width: 640px) {
  .bar-seat {
    height: 48px;
    font-size: 0.85rem;
  }
}

.bar-seat:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.15);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.25);
}

.bar-seat:active:not(:disabled) {
  transform: scale(0.96);
}

/* Selected State */
.seat-btn.selected {
  background: linear-gradient(135deg, #e5b869, #d97706) !important;
  border-color: #fef08a !important;
  color: #0b0d13 !important;
  transform: scale(1.06) translateY(-2px) !important;
  box-shadow: 0 0 20px rgba(229, 184, 105, 0.8), inset 0 0 8px rgba(255, 255, 255, 0.6) !important;
  z-index: 10;
}

/* Reserved / Booked State */
.seat-btn.booked {
  background: rgba(58, 11, 20, 0.5) !important;
  border-color: rgba(239, 68, 68, 0.4) !important;
  color: #f87171 !important;
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  text-decoration: line-through;
}

.seat-btn.booked:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #0b0d13;
}

::-webkit-scrollbar-thumb {
  background: #282f45;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #e5b869;
}
