/* Custom animations and overrides */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

/* Keyframe animations */
@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 animation class */
.parallax-float {
  animation: parallaxFloat 6s ease-in-out infinite;
}

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

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

/* Emerald theme colors and gradients */
.emerald-gradient {
  background: linear-gradient(135deg, #065f46 0%, #dc2626 100%);
}

.emerald-glow {
  animation: emeraldGlow 3s ease-in-out infinite;
}

.gold-border {
  border: 2px solid #fbbf24;
  position: relative;
}

.gold-border::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #fbbf24, #f59e0b, #fbbf24);
  background-size: 400% 400%;
  animation: goldShimmer 3s ease infinite;
  z-index: -1;
  border-radius: inherit;
}

/* Oak texture pattern */
.oak-texture {
  background-image: radial-gradient(circle at 25% 25%, #92400e 2px, transparent 2px),
    radial-gradient(circle at 75% 75%, #a16207 1px, transparent 1px);
  background-size: 40px 40px;
  background-color: #78350f;
}

/* Clover pattern */
.clover-pattern {
  background-image: radial-gradient(circle at 20% 20%, #10b981 3px, transparent 3px),
    radial-gradient(circle at 80% 80%, #059669 2px, transparent 2px);
  background-size: 60px 60px;
  background-color: #064e3b;
}

/* Prose styling for readability */
.prose {
  line-height: 1.7;
  color: #374151;
}

.prose h1,
.prose h2,
.prose h3 {
  color: #065f46;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

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

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

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

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.prose th,
.prose td {
  border: 1px solid #d1d5db;
  padding: 0.75rem;
  text-align: left;
}

.prose th {
  background-color: #f3f4f6;
  font-weight: 600;
}

/* Custom button styles */
.btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: 2px solid #fbbf24;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #065f46;
  padding: 1rem 2rem;
  border: 2px solid #065f46;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #065f46;
  color: white;
}

/* Mobile navigation */
.mobile-menu {
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.mobile-menu.active {
  transform: translateX(0);
}

/* Responsive utilities */
@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }
}

@media (min-width: 1024px) {
  .mobile-nav {
    display: none;
  }
}

/* Ambient glow effects */
.ambient-glow {
  position: relative;
}

.ambient-glow::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
  z-index: -1;
  border-radius: inherit;
}
