/* Custom Styles & Color Grading for Bradford Corner Bar */

@layer utilities {
  .bg-gradient-radial {
    background-image: radial-gradient(circle, var(--tw-gradient-stops));
  }
}

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

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

::-webkit-scrollbar-thumb {
  background: #2a334a;
  border-radius: 9999px;
  border: 2px solid #0c0e14;
}

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

/* Hero Interactive Tabs */
.hero-tab-btn {
  transition: all 0.25s ease;
}

.hero-tab-btn.active-hero-tab {
  background: #f59e0b !important;
  color: #0c0e14 !important;
  font-weight: 700;
  border-color: #f59e0b !important;
  box-shadow: 0 4px 18px -2px rgba(245, 158, 11, 0.45);
}

.hero-tab-btn.inactive-hero-tab {
  background: rgba(15, 23, 42, 0.75);
  color: #94a3b8;
  border-color: rgba(255, 255, 255, 0.08);
}

.hero-tab-btn.inactive-hero-tab:hover {
  background: rgba(30, 41, 59, 0.9);
  color: #f1f5f9;
  border-color: rgba(245, 158, 11, 0.35);
}

/* Glassmorphism surface */
.glass-panel {
  background: rgba(20, 24, 36, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(245, 158, 11, 0.15);
}

/* Floating animation */
@keyframes floatAnimation {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.animate-float {
  animation: floatAnimation 4.5s ease-in-out infinite;
}

@keyframes floatReverse {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(7px);
  }
}

.animate-float-reverse {
  animation: floatReverse 5s ease-in-out infinite;
}

/* Pulsing ambient glow */
@keyframes amberPulse {
  0%, 100% {
    opacity: 0.35;
    transform: scale(1);
  }
  50% {
    opacity: 0.65;
    transform: scale(1.06);
  }
}

.animate-amber-glow {
  animation: amberPulse 6s ease-in-out infinite;
}

/* Text Shimmer Effect */
@keyframes textShimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

.shimmer-text {
  background-size: 200% auto;
  animation: textShimmer 4s linear infinite;
}

/* Hero Zoom animation */
.hero-bg-zoom {
  transition: transform 14s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-bg-zoom:hover {
  transform: scale(1.08);
}

/* Active Menu Tab Pill */
.menu-filter-btn {
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.menu-filter-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  border-color: rgba(245, 158, 11, 0.3);
}

.menu-filter-btn.active {
  background: #f59e0b;
  color: #0c0e14;
  border-color: #f59e0b;
  box-shadow: 0 4px 20px -2px rgba(245, 158, 11, 0.4);
}

/* Active Sauce Item */
.sauce-item.active {
  background: rgba(30, 41, 59, 0.95) !important;
  border-color: #f59e0b !important;
  box-shadow: 0 0 20px -4px rgba(245, 158, 11, 0.35);
}

/* Smooth Image hover scales */
.gallery-item img {
  will-change: transform;
}

/* Modal fade in */
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.animate-fade-in {
  animation: modalFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Menu Card & Image Container Stabilization */
.menu-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  opacity: 1 !important;
  visibility: visible !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease, box-shadow 0.28s ease;
}

.menu-card-img-wrap {
  position: relative;
  width: 100%;
  height: 195px;
  overflow: hidden;
  background-color: #0c0e14;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .menu-card-img-wrap {
    height: 210px;
  }
}

/* Event Cards Visibility & Elegance Guarantee */
#events .grid > div,
.event-card {
  opacity: 1;
  visibility: visible;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease, box-shadow 0.28s ease;
}

/* Selection highlight */
::selection {
  background-color: #f59e0b;
  color: #000;
}
