/*
==================================================
 FILE: animations.css
 PURPOSE: Animations and transitions
 AUTHOR: Arkadiusz Wawer
==================================================
*/

/* © Arkadiusz Wawer - All rights reserved */


/* keyframes 
@keyframes drawKadenceLoop {
  0% {
    stroke-dashoffset: 1000;
    opacity: 0;
  }
  30% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  70% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 1000;
    opacity: 0;
  }
}

*/

@keyframes drawKadence {
  to { stroke-dashoffset: 0; }
}

@keyframes goldPulse {
  0%,100% { opacity: 0.75; }
  50% { opacity: 1; }
}


/* animowane elementy */
.kadence-logo path {
  animation: drawKadenceLoop 6s ease-in-out infinite;
}


.solution-card .kb-svg-icon-wrap {
  animation: iconPulse 4s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% {
    filter: drop-shadow(0 0 4px rgba(212,175,55,0.4));
  }
  50% {
    filter: drop-shadow(0 0 10px rgba(212,175,55,0.9));
  }
}

@keyframes growLine {
  to {
    transform: scaleX(1);
  }
}

.step-1::after {
  animation: growLine 0.6s ease forwards;
  animation-delay: 0.2s;
}

.step-2::after {
  animation: growLine 0.6s ease forwards;
  animation-delay: 0.8s;
}

.step-3::after {
  animation: growLine 0.6s ease forwards;
  animation-delay: 1.4s;
}

.step-4::after {
  animation: growLine 0.6s ease forwards;
  animation-delay: 2s;
}

.step-1 { animation-delay: 0.1s; }
.step-2 { animation-delay: 0.7s; }
.step-3 { animation-delay: 1.3s; }
.step-4 { animation-delay: 1.9s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* loop */

