/* Custom styles for George Burger */

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

.fade-in {
  animation: fadeIn 0.3s ease-out;
}

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

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: #dc2626;
  border-radius: 4px;
}

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

/* Button hover effects */
.category-btn {
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.category-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.category-btn.active {
  border-color: #dc2626;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* Menu item cards */
.menu-item-card {
  transition: all 0.3s ease;
  border-left: 4px solid #dc2626;
}

.menu-item-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-left-color: #f59e0b;
}

/* Cart styles */
.cart-item {
  transition: all 0.3s ease;
  border-left: 3px solid #10b981;
}

.cart-item:hover {
  background-color: #f9fafb;
}

/* Form inputs */
input[type="text"], input[type="tel"] {
  transition: all 0.3s ease;
}

input[type="text"]:focus, input[type="tel"]:focus {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
  outline: none;
}

/* Checkbox styles */
input[type="checkbox"] {
  accent-color: #dc2626;
}

/* Modal styles */
.modal-backdrop {
  backdrop-filter: blur(4px);
}

/* Quantity buttons */
.quantity-btn {
  transition: all 0.2s ease;
}

.quantity-btn:hover {
  transform: scale(1.1);
}

.quantity-btn:active {
  transform: scale(0.95);
}

/* Order button */
#place-order {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

#place-order:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
}

#place-order:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* WhatsApp button */
#send-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

#send-whatsapp:hover {
  background: linear-gradient(135deg, #128c7e, #25d366);
  transform: translateY(-2px);
}

/* Price highlighting */
.price-highlight {
  background: linear-gradient(135deg, #dc2626, #f59e0b);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .category-btn {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
  }
  
  .container {
    padding: 0.5rem;
  }
  
  .grid {
    gap: 1rem;
  }
}

/* Loading animation */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid #f3f3f3;
  border-radius: 50%;
  border-top-color: #dc2626;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Success animation */
.success-checkmark {
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #10b981;
  position: relative;
}

.success-checkmark::after {
  content: '';
  position: absolute;
  left: 8px;
  top: 4px;
  width: 6px;
  height: 12px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}