/* ==========================================================================
   CLAUDE PERRON - ANIMATIONS STYLESHEET
   Keyframes, Floating Elements, Glow Effects, Micro-interactions
   ========================================================================== */

/* Subtle Floating Animation */
@keyframes floatBook {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(1deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.animate-float {
    animation: floatBook 6s ease-in-out infinite;
}

/* Pulsing Glow Effect */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
    }
    50% {
        box-shadow: 0 0 40px rgba(245, 158, 11, 0.5), 0 0 60px rgba(249, 115, 22, 0.3);
    }
}

.pulse-glow {
    animation: pulseGlow 4s infinite ease-in-out;
}

/* Ripple Button Hover Effect */
.ripple-btn {
    position: relative;
    overflow: hidden;
}

.ripple-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease-out, height 0.6s ease-out;
}

.ripple-btn:hover::after {
    width: 300px;
    height: 300px;
}

/* Highway Line Shimmer */
@keyframes highwayShimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.footer-highway-line {
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-amber) 50%, transparent 100%);
    background-size: 200% 100%;
    animation: highwayShimmer 3s infinite linear;
}

/* Image Shimmer Skeleton Loading Effect */
.shimmer-card {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 25%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.03) 75%);
    background-size: 200% 100%;
    animation: highwayShimmer 2s infinite ease-in-out;
}

/* GSAP Scroll Animation Classes
   NOTE: Initial hidden states are set by GSAP in JS (gsap.set), NOT in CSS.
   This prevents sections from being permanently invisible if JS/GSAP fails to load. */
.gsap-fade-up,
.gsap-fade-in,
.gsap-scale-up,
.gsap-slide-right,
.gsap-slide-left {
    /* intentionally empty — GSAP sets opacity/transform via gsap.set() */
}
