/* Custom Animations and Styles */

/* Pulsating CTA Animation */
@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(196, 30, 58, 0.5);
  }
  50% {
    box-shadow: 0 0 40px rgba(196, 30, 58, 0.8), 0 0 60px rgba(196, 30, 58, 0.4);
  }
}

.cta-pulse {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Parallax Effect Base */
.parallax {
  transition: transform 0.1s ease-out;
  will-change: transform;
}

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

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

::-webkit-scrollbar-track {
  background: #2d1810;
}

::-webkit-scrollbar-thumb {
  background: #d4af37;
  border-radius: 6px;
}

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

/* Hover Effects */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

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

/* Card Shine Effect */
@keyframes card-shine {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

.card-shine {
  background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.1) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: card-shine 3s ease-in-out infinite;
}

/* Prose Styling for Readability */
.prose {
  color: #e5e7eb;
  line-height: 1.75;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
  color: #d4af37;
  font-weight: 700;
  margin-top: 1.5em;
  margin-bottom: 0.75em;
}

.prose h1 {
  font-size: 2.25em;
  line-height: 1.2;
}

.prose h2 {
  font-size: 1.875em;
  line-height: 1.3;
}

.prose h3 {
  font-size: 1.5em;
  line-height: 1.4;
}

.prose p {
  margin-bottom: 1.25em;
}

.prose a {
  color: #d4af37;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.prose a:hover {
  color: #c41e3a;
}

.prose strong {
  color: #ffffff;
  font-weight: 600;
}

.prose ul,
.prose ol {
  margin-top: 1em;
  margin-bottom: 1em;
  padding-left: 1.5em;
}

.prose li {
  margin-bottom: 0.5em;
}

.prose blockquote {
  border-left: 4px solid #d4af37;
  padding-left: 1em;
  font-style: italic;
  color: #9ca3af;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .prose {
    font-size: 0.95rem;
  }

  .prose h1 {
    font-size: 1.875em;
  }

  .prose h2 {
    font-size: 1.5em;
  }

  .prose h3 {
    font-size: 1.25em;
  }
}

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

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

/* Focus Styles for Accessibility */
a:focus,
button:focus {
  outline: 2px solid #d4af37;
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .no-print {
    display: none !important;
  }
}
