/* Custom Variables & overrides */
:root {
  --background: #ffffff;
  --foreground: #111111;
  --font-poppins: "Poppins", system-ui, sans-serif;
  --radius: 0.625rem;
}

body {
  font-family: var(--font-poppins);
  background-color: var(--background);
  color: var(--foreground);
}

/* Enhanced Loading Animations */
@keyframes loading-progress {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes spin-reverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

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

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

@keyframes float-particle {
  0%,
  100% {
    transform: translateY(0px) translateX(0px);
    opacity: 0.3;
  }
  25% {
    transform: translateY(-10px) translateX(5px);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-20px) translateX(-5px);
    opacity: 0.8;
  }
  75% {
    transform: translateY(-10px) translateX(10px);
    opacity: 0.6;
  }
}

@keyframes pulse-slow {
  0%,
  100% {
    opacity: 0.05;
    transform: scale(1);
  }
  50% {
    opacity: 0.1;
    transform: scale(1.05);
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes count-up {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Animation Classes */
.animate-spin-slow {
  animation: spin-slow 3s linear infinite;
}
.animate-spin-reverse {
  animation: spin-reverse 4s linear infinite;
}
.animate-loading-progress {
  animation: loading-progress 2s ease-out forwards;
}
.animate-float {
  animation: float 6s ease-in-out infinite;
}
.animate-float-delayed {
  animation: float-delayed 6s ease-in-out infinite;
  animation-delay: 1s;
}
.animate-float-particle {
  animation: float-particle 4s ease-in-out infinite;
}
.animate-pulse-slow {
  animation: pulse-slow 4s ease-in-out infinite;
}
.animate-fade-in {
  animation: fade-in 0.8s ease-out forwards;
}
.animate-count-up {
  animation: count-up 0.5s ease-out forwards;
}

.btn-global {
  transition: all 0.3s ease;
}

/* Utilities */
html {
  scroll-behavior: smooth;
}

/* Mobile Menu Transition */
#mobile-menu {
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}
#mobile-menu.open {
  max-height: 500px;
  opacity: 1;
}
