/* 
 * TEKRAPLAYORBT - Animation & Motion Stylesheet
 * Ambient effects, scroll triggers, subtle interactions
 */

/* ==========================================================================
   Scroll Intersection Animations
   ========================================================================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.stagger-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays based on sibling order */
.stagger-item:nth-child(1) { transition-delay: 0.1s; }
.stagger-item:nth-child(2) { transition-delay: 0.2s; }
.stagger-item:nth-child(3) { transition-delay: 0.3s; }
.stagger-item:nth-child(4) { transition-delay: 0.4s; }

/* Manual Delays */
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* ==========================================================================
   Ambient Particles (Hero Section)
   ========================================================================== */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    filter: blur(1px);
    animation: floatParticle 15s infinite linear;
}

.p1 {
    width: 6px;
    height: 6px;
    top: 20%;
    left: 10%;
    animation-duration: 20s;
}

.p2 {
    width: 4px;
    height: 4px;
    top: 70%;
    left: 30%;
    animation-duration: 15s;
    animation-delay: -5s;
}

.p3 {
    width: 8px;
    height: 8px;
    top: 40%;
    left: 80%;
    animation-duration: 25s;
    animation-delay: -2s;
}

.p4 {
    width: 5px;
    height: 5px;
    top: 80%;
    left: 70%;
    animation-duration: 18s;
    animation-delay: -8s;
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
}

/* ==========================================================================
   Hover Motions
   ========================================================================== */
/* Image Zoom Effect built into specific components in style.css, handled via transform scale */

/* Floating icon effect */
@keyframes softBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.benefit-icon {
    display: inline-block;
}

.benefit-item:hover .benefit-icon {
    animation: softBounce 2s ease-in-out infinite;
}