/* Home Page Styles - Floating Images Animation */

.floating-image {
    animation: float 8s ease-in-out infinite;
}

.floating-image:nth-child(2n) {
    animation-delay: -0.5s;
}

.floating-image:nth-child(3n) {
    animation-delay: -1s;
}

.floating-image:nth-child(4n) {
    animation-delay: -1.5s;
}

.floating-image:nth-child(5n) {
    animation-delay: -2s;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-20px) translateX(5px) rotate(2deg);
    }

    50% {
        transform: translateY(-10px) translateX(-5px) rotate(-1deg);
    }

    75% {
        transform: translateY(-25px) translateX(3px) rotate(1.5deg);
    }
}

/* Enhanced hover effects */
.floating-images-container:hover .floating-image {
    animation-duration: 4s;
}

.floating-images-container .floating-image:hover {
    transform: scale(1.6) rotate(12deg) !important;
    z-index: 20;
    animation-play-state: paused;
}

/* Make sure images are visible */
.floating-image img {
    filter: brightness(0.9) contrast(1.1);
}

.floating-image:hover img {
    filter: brightness(1.1) contrast(1.2) saturate(1.1);
}

/* Add subtle glow effect */
.floating-image::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1), rgba(255, 215, 0, 0.1));
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    filter: blur(1px);
}

.floating-image:hover::before {
    opacity: 0.8;
}

/* Mouse interaction effects */
.floating-images-container {
    perspective: 1000px;
}
