/* Oklahoma Blood Donors - Custom Styles */
:root {
  --primary: oklch(0.547 0.213 27.325);
  --primary-hover: oklch(0.497 0.213 27.325);
  --primary-rgb: 185, 28, 28;
}

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

/* Theme transitions */
body {
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Dark mode */
.dark {
  color-scheme: dark;
}
.dark body,
.dark {
  background-color: #0a0a0a;
  color: #fafafa;
}

/* Hero video overlay */
.hero-video-overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.6), rgba(0,0,0,0.75));
}

/* Scrolling marquee */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.animate-marquee {
  animation: marquee 20s linear infinite;
}

/* FAQ accordion */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-answer.open {
  max-height: 500px;
}

/* Category filter buttons */
.category-btn {
  transition: all 0.2s ease;
}
.category-btn.active {
  background-color: var(--primary);
  color: white;
}

/* Card hover effects */
.location-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.location-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

/* Blog card hover */
.blog-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* Step indicator animation */
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.25rem;
}

/* Mobile nav overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 280px;
  background: white;
  z-index: 50;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 1.5rem;
}
.dark .mobile-nav {
  background: #1a1a1a;
}
.mobile-nav.open {
  transform: translateX(0);
}

/* QR code container */
.qr-container {
  background: white;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: inline-block;
}

/* Schedule form */
.schedule-form input,
.schedule-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.dark .schedule-form input,
.dark .schedule-form select {
  background: #1f2937;
  border-color: #374151;
  color: #f9fafb;
}
.schedule-form input:focus,
.schedule-form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

/* Emoji bounce animation */
@keyframes bounce-subtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.emoji-bounce {
  animation: bounce-subtle 2s ease-in-out infinite;
}

/* Fade in animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Stats counter */
.stat-number {
  font-variant-numeric: tabular-nums;
}

/* Print styles */
@media print {
  .no-print { display: none !important; }
  body { background: white !important; color: black !important; }
}
