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

:root {
  --primary: #ea580c;
  --primary-dark: #c2410c;
  --primary-light: #fff7ed;
  --accent: #f59e0b;
  --text-dark: #1c1917;
  --text-muted: #78716c;
  --bg-warm: #fcfbf9;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-warm);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #ea580c;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c2410c;
}

/* Glassmorphism effects */
.glass-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(234, 88, 12, 0.08);
}

.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 158, 11, 0.15);
}

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

.animate-float {
  animation: softFloat 4s ease-in-out infinite;
}

/* Pulsing badge */
@keyframes pulseSubtle {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.04);
  }
}

.pulse-badge {
  animation: pulseSubtle 2.5s infinite ease-in-out;
}

/* Custom Hero Glow Background */
.hero-glow {
  background: radial-gradient(circle at 70% 30%, rgba(249, 115, 22, 0.18) 0%, rgba(253, 186, 116, 0.08) 40%, transparent 70%),
              radial-gradient(circle at 10% 70%, rgba(245, 158, 11, 0.12) 0%, transparent 60%);
}

/* Product Card Styling */
.product-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px -4px rgba(234, 88, 12, 0.12), 0 4px 12px rgba(0,0,0,0.04);
}

.product-card .img-zoom {
  transition: transform 0.5s ease;
}

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

/* Badge colors */
.badge-baked {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: white;
}

.badge-fresh {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.badge-special {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  color: white;
}

.badge-drink {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: white;
}

.badge-snack {
  background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
  color: white;
}

/* Cart slide-over transition */
.cart-drawer-overlay {
  transition: opacity 0.3s ease;
}

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

/* Notification toast */
#toastNotification {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

/* Button pulse on cart count update */
@keyframes cartBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

.cart-bounce {
  animation: cartBounce 0.3s ease-in-out;
}
