/* Custom CSS for Animations & Styling */

/* Hide scrollbar for carousel */
.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Pulse Glow Animation */
@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
  }
  50% {
    box-shadow: 0 0 40px rgba(251, 191, 36, 0.8), 0 0 60px rgba(251, 191, 36, 0.4);
  }
}

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

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

.floating-element {
  animation: floating 3s ease-in-out infinite;
}

/* 3D Category Buttons */
.category-3d {
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(0deg);
  transition: all 0.3s ease;
}

.category-3d:hover {
  transform: perspective(1000px) rotateX(5deg) translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Glow Effect */
.glow-effect {
  box-shadow: 0 0 30px rgba(251, 191, 36, 0.3);
}

/* Tribal Text Effect */
.tribal-text {
  text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.3), -1px -1px 0px rgba(251, 191, 36, 0.5);
}

/* CTA Banner Animation */
@keyframes slide-up {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cta-banner-animate {
  animation: slide-up 0.5s ease-out;
}

/* Parallax Effect for Sections */
@keyframes parallax-scroll {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 100%;
  }
}

/* Prose Styling for Readability */
.prose-custom {
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.95);
}

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

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

.prose-custom h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

.prose-custom h2 {
  font-size: 2rem;
  line-height: 1.3;
}

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

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

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

.prose-custom a {
  color: #fbbf24;
  text-decoration: underline;
  transition: color 0.3s ease;
}

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

.prose-custom strong {
  color: #fbbf24;
  font-weight: 700;
}

.prose-custom code {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.9em;
}

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

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

/* Table Styling */
table {
  border-collapse: collapse;
}

/* Details Summary Cursor */
details summary {
  cursor: pointer;
  user-select: none;
}

details summary::-webkit-details-marker {
  display: none;
}

details summary::marker {
  display: none;
}

/* Responsive Image Adjustments */
img {
  max-width: 100%;
  height: auto;
}

/* Marquee Animation (Alternative Option) */
@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee {
  animation: marquee 30s linear infinite;
}

/* Tilt Effect (Alternative Option) */
@keyframes tilt {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(1deg);
  }
  75% {
    transform: rotate(-1deg);
  }
}

.tilt-effect {
  animation: tilt 2s ease-in-out infinite;
}

/* Particle Background (CSS Pattern Alternative) */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 20% 50%, rgba(251, 191, 36, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(15, 122, 95, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(251, 191, 36, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

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

/* Print Styles */
@media print {
  header,
  footer,
  .cta-banner-animate {
    display: none;
  }

  body {
    background: white;
    color: black;
  }
}
