/* Base & Reset handled by Tailwind */

/* Global Image Protection */
img {
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

/* Custom Animations */
@keyframes blob {
  0% { transform: translate(0px, 0px) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
  100% { transform: translate(0px, 0px) scale(1); }
}

@keyframes wiggle {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Animation Utilities */
.animate-blob {
  animation: blob 7s infinite;
}

.animation-delay-2000 {
  animation-delay: 2s;
}

.animate-wiggle {
  animation: wiggle 0.3s ease-in-out infinite;
}

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

/* Scroll Reveal Classes (JS will trigger them) */
.reveal-left, .reveal-right, .reveal-up {
  opacity: 0;
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  will-change: opacity, transform;
}

.reveal-left {
  transform: translate3d(-30px, 0, 0);
}

.reveal-right {
  transform: translate3d(30px, 0, 0);
}

.reveal-up {
  transform: translate3d(0, 30px, 0);
}

.reveal-left.active, .reveal-right.active, .reveal-up.active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Custom Accordion Styling */
.faq-answer {
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out, padding 0.3s ease-in-out;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
}

.faq-answer.open {
  max-height: 500px;
  opacity: 1;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.faq-icon {
  transition: transform 0.3s ease-in-out;
}

.faq-answer.open + .faq-btn .faq-icon {
  transform: rotate(180deg);
}

/* Lightbox Styling */
#lightbox {
  backdrop-filter: blur(5px);
  transition: opacity 0.3s ease-in-out;
}

#lightbox.hidden {
  opacity: 0;
  pointer-events: none;
}

#lightbox.flex {
  opacity: 1;
  pointer-events: auto;
}

/* Back to Top button */
#backToTop {
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

#backToTop.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
