/* ==========================================================================
   FITGO CLUB - DESIGN SYSTEM & CUSTOM STYLES
   Paleta: Fresh Mint Emerald (#10B981, #059669), Electric Lime (#84CC16),
           Deep Slate (#0F172A, #1E293B), Crisp White (#FFFFFF)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --primary-emerald: #10B981;
  --primary-dark: #059669;
  --accent-lime: #84CC16;
  --accent-gold: #F59E0B;
  --dark-slate: #0F172A;
  --card-dark: #1E293B;
  --light-bg: #F8FAFC;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #0F172A;
  background-color: #FAFAF9;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Outfit', sans-serif;
}

/* Glassmorphism Classes */
.glass-nav {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.glass-dark {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Glowing Pulse & Neon Accents */
@keyframes pulseEmerald {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
}

.pulse-open {
  animation: pulseEmerald 2s infinite ease-in-out;
}

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}

.float-animation {
  animation: floatSlow 6s ease-in-out infinite;
}

/* Smooth Image Zoom & Card Transitions */
.food-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.food-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(16, 185, 129, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

.food-card:hover .food-img {
  transform: scale(1.06);
}

.food-img {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #F1F5F9;
}

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

::-webkit-scrollbar-thumb:hover {
  background: #10B981;
}

/* Drawer Transitions */
.drawer-backdrop {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.active {
  transform: translateX(0);
}

/* Badge Pop Animation */
@keyframes badgeBounce {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.badge-bounce {
  animation: badgeBounce 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Modal Transitions */
.modal-overlay {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  transform: scale(0.92) translateY(12px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

/* Category Filter Tabs Scroll on Mobile */
.scroll-touch {
  -webkit-overflow-scrolling: touch;
}

/* Custom Checkbox / Radio styling */
.custom-radio:checked + label {
  border-color: #10B981;
  background-color: #ECFDF5;
  color: #065F46;
  font-weight: 600;
}
