/* ========================================================
   BAR NORTE SUR - DESIGN SYSTEM & CUSTOM STYLES
   ======================================================== */

@tailwind base;
@tailwind components;
@tailwind utilities;

/* Base smooth scrolling and styling */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: #1F2937;
  background-color: #FAF9F6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #111418;
}
::-webkit-scrollbar-thumb {
  background: #2E3540;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #D9822B;
}

/* Radial Glow Backgrounds */
.bg-radial-glow {
  background: radial-gradient(circle at 50% 30%, rgba(217, 130, 43, 0.25) 0%, rgba(26, 30, 36, 0.8) 70%, #1A1E24 100%);
}

/* Subtle Hero Zoom Animation */
@keyframes subtleZoom {
  0% { transform: scale(1.0); }
  50% { transform: scale(1.04); }
  100% { transform: scale(1.0); }
}

.animate-subtle-zoom {
  animation: subtleZoom 24s ease-in-out infinite;
}

/* Slow spin for vinyl/record */
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-spin-slow {
  animation: spinSlow 8s linear infinite;
}

/* Audio Visualizer Bars */
@keyframes soundbar1 {
  0%, 100% { height: 4px; }
  50% { height: 14px; }
}
@keyframes soundbar2 {
  0%, 100% { height: 12px; }
  50% { height: 5px; }
}
@keyframes soundbar3 {
  0%, 100% { height: 7px; }
  50% { height: 16px; }
}

.animate-bar-1 {
  animation: soundbar1 0.8s ease-in-out infinite alternate;
}
.animate-bar-2 {
  animation: soundbar2 0.7s ease-in-out infinite alternate;
}
.animate-bar-3 {
  animation: soundbar3 0.9s ease-in-out infinite alternate;
}

/* Modal Entrance */
@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.animate-modal-in {
  animation: modalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Bento Card Hover Transitions */
.menu-item {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}

.menu-item:hover {
  transform: translateY(-4px);
}

/* Active filter state */
.filter-btn.active {
  background-color: #D9822B !important;
  color: #FFFFFF !important;
  border-color: #D9822B !important;
  box-shadow: 0 0 20px -3px rgba(217, 130, 43, 0.5) !important;
}

/* Toast entrance */
.toast-show {
  transform: translateY(0) !important;
  opacity: 1 !important;
}

/* Focus styles for accessibility */
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid #D9822B;
  outline-offset: 2px;
}
