
:root {
  --primary: #0077B6;
  --primary-dark: #005A8C;
  --secondary: #48CAE4;
  --dark: #0A1F35;
  --light: #EFF6FF;
  --accent: #50C878;
  --accent-dark: #3DAF6A;
}

/* Modern animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Modern scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Hero section with modern gradient */
.hero {
  background: linear-gradient(135deg, rgba(0,95,140,0.92) 0%, rgba(80,200,120,0.35) 50%, rgba(72,202,228,0.88) 100%),
              url('http://static.photos/food/1200x630/10') center/cover no-repeat;
  backdrop-filter: blur(2px);
}

/* Modern card hover effect */
.custom-food-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  will-change: transform;
  animation: fadeIn 0.6s ease-out forwards;
  opacity: 0;
}

.custom-food-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 25px -5px rgba(0, 119, 182, 0.15), 0 10px 10px -5px rgba(72, 202, 228, 0.1);
}

/* Modern button styles */
.btn-primary {
  background: var(--primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px rgba(0, 119, 182, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 119, 182, 0.3);
}

/* Modern form inputs */
.input-modern {
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.input-modern:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.25);
}

/* Animation delays for cards */
.custom-food-card:nth-child(1) { animation-delay: 0.1s; }
.custom-food-card:nth-child(2) { animation-delay: 0.2s; }
.custom-food-card:nth-child(3) { animation-delay: 0.3s; }
.custom-food-card:nth-child(4) { animation-delay: 0.4s; }
.custom-food-card:nth-child(5) { animation-delay: 0.5s; }
.custom-food-card:nth-child(6) { animation-delay: 0.6s; }

/* Modern footer styling */
custom-footer {
  background: var(--dark);
  color: white;
}

/* Floating animation for featured items */
.float-animation {
  animation: float 6s ease-in-out infinite;
}

/* Shimmer animation for sky blue glow */
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.shimmer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.shimmer-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(72, 202, 228, 0.15), transparent);
  animation: shimmer 5s ease-in-out infinite;
}

/* Emerald accent glow */
.emerald-glow {
  box-shadow: 0 0 20px rgba(80, 200, 120, 0.15);
}
