/* Custom animations and styling utilities for Luminary Energy static site */

/* Glassmorphism effects */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.glass-dark {
  background: rgba(2, 12, 27, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gradients */
.text-gradient {
  background: linear-gradient(135deg, #0285c7 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Scroll progress bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background-color: #0285c7;
  z-index: 100;
  width: 0%;
  transition: width 0.1s ease;
}

/* Custom scrollbars */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Keyframe Animations */
@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.05);
  }
}

.animate-pulse-glow {
  animation: pulseGlow 5s infinite ease-in-out;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-float {
  animation: float 4s infinite ease-in-out;
}

.animate-float-delayed {
  animation: float 5s infinite ease-in-out;
  animation-delay: 1s;
}

/* Accent range slider style */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0ea1e9;
  cursor: pointer;
  transition: transform 0.1s ease;
  box-shadow: 0 4px 6px -1px rgba(14, 161, 233, 0.3);
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0ea1e9;
  cursor: pointer;
  border: none;
  transition: transform 0.1s ease;
  box-shadow: 0 4px 6px -1px rgba(14, 161, 233, 0.3);
}

input[type="range"]::-moz-range-thumb:hover {
  transform: scale(1.2);
}
