/* ==========================================================================
   LOCAL HANDS GLOBAL ANIMATIONS & MICRO-INTERACTION STYLES
   ========================================================================== */

/* Top Scroll Progress Bar */
#scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #FF7A00 0%, #FF9E44 50%, #5A4634 100%);
  width: 0%;
  z-index: 10001;
  transition: width 0.1s ease-out;
  box-shadow: 0 2px 8px rgba(255, 122, 0, 0.4);
}

/* Floating Back-To-Top Button */
#back-to-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FF7A00;
  color: #ffffff;
  border: none;
  box-shadow: 0 8px 24px rgba(255, 122, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

#back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

#back-to-top-btn:hover {
  background: #E06B00;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 32px rgba(255, 122, 0, 0.45);
}

/* Viewport Scroll Reveal Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-fade-in {
  opacity: 0;
  transition: opacity 0.6s ease-out;
}

.reveal-fade-in.revealed {
  opacity: 1;
}

.reveal-zoom-in {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-zoom-in.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Stagger Animation Delays */
.stagger-1 { transition-delay: 0.1s !important; }
.stagger-2 { transition-delay: 0.2s !important; }
.stagger-3 { transition-delay: 0.3s !important; }
.stagger-4 { transition-delay: 0.4s !important; }

/* Interactive Hover Animations */
.hover-lift {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.hover-lift:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 36px rgba(90, 70, 52, 0.1) !important;
}

.hover-scale {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.hover-scale:hover {
  transform: scale(1.03) !important;
}

.hover-glow {
  transition: box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.hover-glow:hover {
  border-color: #FF7A00 !important;
  box-shadow: 0 0 20px rgba(255, 122, 0, 0.2) !important;
}

/* Image Zoom Hover */
.img-zoom-wrap {
  overflow: hidden;
  border-radius: inherit;
}

.img-zoom-wrap img {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.img-zoom-wrap:hover img {
  transform: scale(1.08);
}

/* Pulsing Badge Dot Animation */
@keyframes pulseGps {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 122, 0, 0.6);
  }
  70% {
    transform: scale(1.3);
    box-shadow: 0 0 0 12px rgba(255, 122, 0, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 122, 0, 0);
  }
}

.live-now-dot {
  animation: pulseGps 2s infinite ease-in-out;
}

/* Smooth Accordion Heights */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  opacity: 1;
}

.faq-item .fa-chevron-down {
  transition: transform 0.3s ease;
}

.faq-item.active .fa-chevron-down {
  transform: rotate(180deg);
}

/* Shimmer Loading Skeleton */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton-shimmer {
  background: linear-gradient(90deg, #F1F5F9 25%, #E2E8F0 50%, #F1F5F9 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* Respect Accessibility Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .reveal-fade-in,
  .reveal-zoom-in,
  .hover-lift,
  .hover-scale {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  #scroll-progress-bar {
    display: none !important;
  }
}
