/* ========================================
   ANIMATION STYLES
   ======================================== */

/* Fade In Up */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: var(--delay, 0s);
}

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

/* Fade In Right */
.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: var(--delay, 0s);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Water Ripple Effect (used on hover for certain elements) */
@keyframes ripple {
    0% {
        box-shadow: 0 0 0 0 rgba(118, 199, 183, 0.3);
    }
    100% {
        box-shadow: 0 0 0 20px rgba(118, 199, 183, 0);
    }
}

/* Gentle Pulse */
@keyframes gentlePulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Float animation for decorative elements */
@keyframes floatGentle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Subtle glow effect */
@keyframes subtleGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(118, 199, 183, 0.1); }
    50% { box-shadow: 0 0 40px rgba(118, 199, 183, 0.2); }
}

/* Logo icon subtle animation */
.logo-icon {
    transition: transform var(--transition-medium);
}

.logo:hover .logo-icon {
    transform: rotate(5deg) scale(1.05);
}

/* Card hover lift */
.experience-card,
.value-card,
.team-card,
.blog-card {
    transition: transform var(--transition-medium), box-shadow var(--transition-medium), border-color var(--transition-medium);
}

/* Button press effect */
.btn:active {
    transform: translateY(0) scale(0.98);
}

/* Smooth focus outlines */
*:focus-visible {
    outline: 2px solid var(--color-accent-primary);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .fade-in-up,
    .fade-in-right {
        opacity: 1;
        transform: none;
    }

    .hero-bg-image {
        animation: none;
    }

    .particle {
        animation: none;
        display: none;
    }

    html {
        scroll-behavior: auto;
    }
}