/* Escort Fire & Safety - Custom Stylesheet */

:root {
  --primary-fire: #d32f2f;
  --primary-dark: #b71c1c;
  --primary-light: #ef5350;
  --accent-amber: #ffa000;
  --accent-gold: #ffc107;
  --dark-bg: #111827;
  --dark-card: #1f2937;
  --text-primary: #1f2937;
  --text-muted: #6b7280;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: var(--primary-fire);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Gradient Text */
.text-gradient-fire {
  background: linear-gradient(135deg, #e53e3e 0%, #dd6b20 50%, #d69e2e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-fire-gradient {
  background: linear-gradient(135deg, #b71c1c 0%, #d32f2f 50%, #e53e3e 100%);
}

.bg-dark-gradient {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

/* Fire Pulse Animation */
@keyframes fire-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(211, 47, 47, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(211, 47, 47, 0);
  }
}

.animate-fire-pulse {
  animation: fire-pulse 2s infinite;
}

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

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

/* Badge Styles for Fire Classes */
.class-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.8rem;
  color: white;
  margin-right: 4px;
}
.class-a { background-color: #2563eb; } /* Blue for Trash/Wood */
.class-b { background-color: #dc2626; } /* Red for Liquids */
.class-c { background-color: #eab308; color: #1e293b; } /* Yellow for Electrical */
.class-d { background-color: #9333ea; } /* Purple for Metals */
.class-k { background-color: #16a34a; } /* Green for Kitchen Fats */

/* Custom Card Hover Effect */
.product-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Tab active state */
.tab-btn.active {
  background-color: var(--primary-fire);
  color: white;
  border-color: var(--primary-fire);
}

/* Modal styles */
.modal-backdrop {
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
}

/* Toast notification styling */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  padding: 16px 20px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  border-left: 4px solid var(--primary-fire);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Custom Glassmorphism */
.glass-panel {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-dark {
  background: rgba(30, 41, 59, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
