/* Custom animations and overrides */
@keyframes parallaxFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes emeraldGlow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.6);
  }
}

@keyframes goldShimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* Parallax elements */
.parallax-float {
  animation: parallaxFloat 6s ease-in-out infinite;
}

.parallax-slow {
  animation: parallaxFloat 8s ease-in-out infinite reverse;
}

/* Marquee animation */
.marquee {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: inline-block;
  animation: marqueeScroll 30s linear infinite;
}

/* Emerald theme colors and effects */
.emerald-glow {
  animation: emeraldGlow 3s ease-in-out infinite;
}

.gold-shimmer {
  background: linear-gradient(90deg, #d4af37 0%, #ffd700 50%, #d4af37 100%);
  background-size: 200% 100%;
  animation: goldShimmer 2s ease-in-out infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Custom throne-inspired shapes */
.throne-shape {
  clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
}

.emerald-gradient {
  background: linear-gradient(135deg, #064e3b 0%, #10b981 50%, #d4af37 100%);
}

.forest-gold-gradient {
  background: linear-gradient(45deg, #1f2937 0%, #064e3b 30%, #10b981 60%, #d4af37 100%);
}

/* Prose styling for readability */
.prose {
  max-width: 100%;
  line-height: 1.7;
  color: #374151;
  font-size: 1.1rem;
}

.prose h2 {
  color: #064e3b;
  font-weight: 700;
  font-size: 2rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #d4af37;
  position: relative;
}

.prose h2::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 20%;
  height: 2px;
  background: linear-gradient(90deg, #10b981, #d4af37);
}

.prose h3 {
  color: #10b981;
  font-weight: 600;
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose p {
  margin-bottom: 1.5rem;
  text-align: justify;
}

.prose ul,
.prose ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.prose li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.prose ul li::marker {
  color: #10b981;
}

.prose ol li::marker {
  color: #d4af37;
  font-weight: 600;
}

.prose table {
  width: 100%;
  margin: 2rem 0;
  border-collapse: collapse;
  overflow-x: auto;
  display: block;
  white-space: nowrap;
}

.prose table thead {
  background: linear-gradient(135deg, #064e3b, #10b981);
}

.prose table th {
  color: white;
  font-weight: 600;
  padding: 1rem;
  text-align: left;
  border: 1px solid #d4af37;
}

.prose table td {
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  background: rgba(255, 255, 255, 0.8);
}

.prose table tr:nth-child(even) td {
  background: rgba(16, 185, 129, 0.05);
}

.prose blockquote {
  border-left: 4px solid #d4af37;
  background: rgba(16, 185, 129, 0.1);
  padding: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #064e3b;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 2rem 0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.prose strong {
  color: #064e3b;
  font-weight: 700;
}

.prose em {
  color: #10b981;
}

/* Responsive prose adjustments */
@media (max-width: 768px) {
  .prose {
    font-size: 1rem;
  }

  .prose h2 {
    font-size: 1.75rem;
    margin-top: 2rem;
  }

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

  .prose table {
    font-size: 0.9rem;
  }

  .prose ul,
  .prose ol {
    padding-left: 1.5rem;
  }
}

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

body {
  overflow: auto;
}

/* Mobile burger menu */
.burger-menu {
  background: rgba(6, 78, 59, 0.95) !important;
  backdrop-filter: blur(10px);
}

/* Responsive container */
.container-custom {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container-custom {
    padding: 0 2rem;
  }
}

/* Custom button styles */
.btn-emerald {
  background: linear-gradient(135deg, #10b981, #064e3b);
  border: 2px solid #d4af37;
  transition: all 0.3s ease;
}

.btn-emerald:hover {
  background: linear-gradient(135deg, #064e3b, #10b981);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.btn-gold {
  background: linear-gradient(135deg, #d4af37, #ffd700);
  border: 2px solid #10b981;
  color: #064e3b;
  transition: all 0.3s ease;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #ffd700, #d4af37);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}
