/* ARUDRAH INTERIORS - ANIMATIONS & REVEALS */

/* =============================================
   Scroll Triggered Reveals (Premium Easing)
============================================= */
.reveal, .reveal-left, .reveal-right, .reveal-scale, .reveal-blur {
  transition-property: opacity, transform, filter;
  transition-duration: 0.9s;
  transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1); /* Apple Ease Out - Fast, snap, smooth */
}

.reveal.active, 
.reveal-left.active, 
.reveal-right.active, 
.reveal-scale.active,
.reveal-blur.active {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) translateX(0) scale(1);
}

/* Stagger Delays */
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }
.delay-5 { transition-delay: 0.4s; }

/* =============================================
   Vibrant Colourful Animations
   ============================================= */

/* Page Scroll Progress Bar (Vibrant Multi-Color Gradient) */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  background: linear-gradient(90deg, var(--color-accent-rose), var(--color-accent-amber), var(--color-accent-teal), var(--color-accent-indigo), var(--color-accent-rose));
  background-size: 200% 100%;
  z-index: 99999;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
  animation: moveGradient 5s linear infinite;
}

@keyframes moveGradient {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* Text Multi-Color Gradient Animation */
.colorful-text-gradient {
  background: linear-gradient(120deg, var(--color-accent-rose) 0%, var(--color-accent-indigo) 35%, var(--color-accent-teal) 70%, var(--color-accent-amber) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerGradient 4s ease infinite alternate;
}

@keyframes shimmerGradient {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* High-End Card Color-shifting Glow on Hover */
.card-color-glow {
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.card-color-glow:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent-indigo);
  box-shadow: 
    0 20px 40px -15px rgba(79, 70, 229, 0.15),
    0 0 25px -5px rgba(225, 29, 72, 0.1),
    0 0 40px -10px rgba(13, 148, 136, 0.08);
}

/* Premium Button Shimmer Slider */
.btn-primary, .btn-eqc-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::before, .btn-eqc-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-25deg);
  transition: none;
}

.btn-primary:hover::before, .btn-eqc-primary:hover::before {
  left: 150%;
  transition: left 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Active Step Colorful Pulse (EQC Wizard) */
.eqc-step-item.active .eqc-step-num {
  animation: colorfulGlowPulse 2.5s infinite;
}

@keyframes colorfulGlowPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.45), 0 0 0 2px rgba(79, 70, 229, 0.25);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(13, 148, 136, 0), 0 0 0 6px rgba(217, 119, 6, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0), 0 0 0 0 rgba(79, 70, 229, 0);
  }
}

/* WhatsApp Icon Pulsing Ring */
.floating-whatsapp-btn {
  animation: waPulse 3s infinite;
}

@keyframes waPulse {
  0% { box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Floating Float animations */
@keyframes floatSlow {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(0.5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

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

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

.img-zoom-container img {
  transition: transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

.img-zoom-container:hover img {
  transform: scale(1.06);
}

/* SVG Line Drawing */
@keyframes dashDraw {
  from { stroke-dashoffset: 1000; }
  to { stroke-dashoffset: 0; }
}

.svg-line-draw {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: dashDraw 2s cubic-bezier(0.1, 0.8, 0.1, 1) forwards;
}
