/* Bokado - Modern Delivery App Styles */

/* Import Tailwind CSS via CDN in HTML for development */

/* Custom animations and enhancements */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    transform: translateY(0);
  }
  40%, 43% {
    transform: translateY(-20px);
  }
  70% {
    transform: translateY(-10px);
  }
  90% {
    transform: translateY(-4px);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Custom gradient backgrounds */
.gradient-hero {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 25%, #ff1744 50%, #e91e63 75%, #9c27b0 100%);
}

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

/* Enhanced button hover effects */
.btn-primary {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #e55a2b, #e8841a);
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Glass morphism effects */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Card hover animations */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Form input focus effects */
.form-input {
  transition: all 0.3s ease;
}

.form-input:focus {
  transform: scale(1.02);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

/* Loading spinner for future use */
.spinner {
  animation: spin 1s linear infinite;
}

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

/* Mobile responsive enhancements */
@media (max-width: 768px) {
  .mobile-center {
    text-align: center;
  }
  
  .mobile-full {
    width: 100%;
  }
  
  .mobile-text-sm {
    font-size: 0.875rem;
  }
}

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

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #e55a2b, #e8841a);
}

/* Success animations */
.success-bounce {
  animation: bounce 1s ease-in-out;
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Confetti particle base styles */
.confetti {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
}

/* Enhanced shadows */
.shadow-glow {
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
}

/* Text gradient utilities */
.text-gradient-orange {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-green {
  background: linear-gradient(135deg, #10b981, #059669);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section dividers */
.section-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff6b35, #f7931e, transparent);
  margin: 2rem 0;
}

/* Navigation enhancement */
.nav-link {
  position: relative;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Footer enhancements */
.footer-gradient {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

/* Results card special effects */
.results-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(5, 150, 105, 0.05));
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Logo pulse animation */
.logo-pulse {
  animation: pulse 2s infinite;
}

/* Statistics counter animation (for future use) */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.count-animation {
  animation: countUp 0.8s ease-out;
}

/* Custom utilities for better mobile experience */
@media (max-width: 640px) {
  .text-responsive-xl {
    font-size: 2rem;
    line-height: 2.5rem;
  }
  
  .text-responsive-2xl {
    font-size: 2.5rem;
    line-height: 3rem;
  }
  
  .padding-mobile {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}