/* Tailwind Custom Configuration */
@layer base {
  :root {
    --zulu-dark: #0f1f0f;
    --zulu-green: #1a3a1a;
    --zulu-yellow: #ffd700;
  }

  body {
    background: linear-gradient(135deg, #0f1f0f 0%, #1a3a1a 50%, #0f1f0f 100%);
    background-attachment: fixed;
  }
}

/* Color Utilities */
.bg-zulu-dark {
  background-color: #0f1f0f;
}

.bg-zulu-green {
  background-color: #1a3a1a;
}

.bg-zulu-yellow {
  background-color: #ffd700;
}

.text-zulu-dark {
  color: #0f1f0f;
}

.text-zulu-green {
  color: #1a3a1a;
}

.text-zulu-yellow {
  color: #ffd700;
}

.border-zulu-yellow {
  border-color: #ffd700;
}

.border-zulu-green {
  border-color: #1a3a1a;
}

/* African Tribal Pattern */
.tribal-pattern {
  background-image: repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(255, 215, 0, 0.1) 10px,
      rgba(255, 215, 0, 0.1) 20px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 10px,
      rgba(255, 215, 0, 0.05) 10px,
      rgba(255, 215, 0, 0.05) 20px
    );
}

/* Glow Shadow Effect */
.shadow-glow {
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4), 0 0 40px rgba(255, 215, 0, 0.2);
}

/* Pulse Animation */
@keyframes pulse-slow {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.02);
  }
}

.animate-pulse-slow {
  animation: pulse-slow 3s ease-in-out infinite;
}

/* Fade In Animation */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fade-in 0.8s ease-out;
}

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

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

/* Shimmer Effect */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.shimmer {
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
  background-size: 1000px 100%;
  animation: shimmer 3s infinite;
}

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

.prose-custom p {
  margin-bottom: 1.25rem;
}

.prose-custom h2 {
  color: #ffd700;
  font-size: 2rem;
  font-weight: bold;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose-custom h3 {
  color: #ffd700;
  font-size: 1.5rem;
  font-weight: bold;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.prose-custom h4 {
  color: #ffd700;
  font-size: 1.25rem;
  font-weight: bold;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

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

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

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

.prose-custom a:hover {
  color: #ffed4e;
}

.prose-custom strong {
  color: #ffd700;
  font-weight: bold;
}

.prose-custom blockquote {
  border-left: 4px solid #ffd700;
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #d1d5db;
}

.prose-custom code {
  background-color: rgba(26, 58, 26, 0.5);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-family: monospace;
  font-size: 0.875rem;
}

.prose-custom pre {
  background-color: rgba(26, 58, 26, 0.5);
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

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

.prose-custom th {
  background-color: rgba(26, 58, 26, 0.5);
  color: #ffd700;
  padding: 0.75rem;
  text-align: left;
  border-bottom: 2px solid #ffd700;
}

.prose-custom td {
  padding: 0.75rem;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.prose-custom img {
  border-radius: 0.5rem;
  margin: 1.5rem 0;
}

/* Responsive Text */
@media (max-width: 768px) {
  .prose-custom h2 {
    font-size: 1.5rem;
  }

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

  .prose-custom {
    font-size: 0.9375rem;
  }
}

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

::-webkit-scrollbar-track {
  background: #0f1f0f;
}

::-webkit-scrollbar-thumb {
  background: #1a3a1a;
  border-radius: 5px;
}

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

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

/* Focus States */
a:focus,
button:focus {
  outline: 2px solid #ffd700;
  outline-offset: 2px;
}

/* Selection */
::selection {
  background-color: #ffd700;
  color: #0f1f0f;
}
