/* ===== Creative Image Hover Effects CSS ===== */

/* Base styles for all hover effect containers */
.hover-effect-1,
.hover-effect-2,
.hover-effect-3,
.hover-effect-4,
.hover-effect-5,
.hover-effect-6,
.hover-effect-7,
.hover-effect-8 {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* ===== Zoom Morph Effect (hover-effect-1) ===== */
.hover-effect-1 img {
    width: 100%;
    height: 100%;
    object-fit: initial;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(1) contrast(1);
}

.hover-effect-1:hover img {
    transform: scale(1.05) rotate(1deg);
    filter: brightness(1.1) contrast(1.1) saturate(1.2);
}

/* ===== Tilt 3D Effect (hover-effect-2) ===== */
.hover-effect-2 {
    perspective: 1000px;
    transform-style: preserve-3d;
}

.hover-effect-2 img {
    width: 100%;
    height: 100%;
    object-fit: initial;
    transition: transform 0.3s ease-out;
}

/* ===== Glitch Effect (hover-effect-3) ===== */
.hover-effect-3 img {
    width: 100%;
    height: 100%;
    object-fit: initial;
    transition: all 0.3s ease;
}

/* ===== Particle Effect (hover-effect-4) ===== */
.hover-effect-4 img {
    width: 100%;
    height: 100%;
    object-fit: initial;
    transition: all 0.6s ease;
}

/* ===== Liquid Effect (hover-effect-5) ===== */
.hover-effect-5 img {
    width: 100%;
    height: 100%;
    object-fit: initial;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(1) contrast(1) saturate(1);
}

.hover-effect-5:hover img {
    filter: brightness(1.15) contrast(1.1) saturate(1.15);
}

/* ===== Hologram Effect (hover-effect-6) ===== */
.hover-effect-6 img {
    width: 100%;
    height: 100%;
    object-fit: initial;
    transition: all 0.6s ease;
}

/* ===== Neon Effect (hover-effect-7) ===== */
.hover-effect-7 img {
    width: 100%;
    height: 100%;
    object-fit: initial;
    transition: all 0.6s ease;
}

.hover-effect-7:hover img {
    filter: brightness(1.2) drop-shadow(0 0 10px rgba(0, 255, 255, 0.6));
}

/* ===== Vintage Effect (hover-effect-8) ===== */
.hover-effect-8 img {
    width: 100%;
    height: 100%;
    object-fit: initial;
    transition: all 0.6s ease;
    filter: sepia(0) contrast(1) brightness(1) saturate(1);
}

.hover-effect-8:hover img {
    filter: sepia(0.3) contrast(1.2) brightness(1.05) saturate(0.8);
}

/* Custom animation keyframes */
@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.7;
    }
}

@keyframes hologramScan {
    0% {
        top: 0%;
    }
    100% {
        top: 100%;
    }
}

/* Zoom overlay effect */
.zoom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(0,0,0,0.1));
    opacity: 0;
    transition: opacity 0.6s;
    pointer-events: none;
}

.hover-effect-1:hover .zoom-overlay {
    opacity: 1;
}
