/* Image Hover Effect CSS */

.angie-hover-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden;
    /* Ensure the wrapper behaves like the original image container */
    max-width: 100%;
}

.angie-hover-wrapper img.angie-hover-effect-target {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.angie-hover-wrapper:hover img.angie-hover-effect-target {
    transform: scale(0.9);
}

.angie-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    /* Scale with the image to match the effect */
    transform: scale(1);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.angie-hover-wrapper:hover .angie-hover-overlay {
    opacity: 1;
    transform: scale(0.9);
}

.angie-hover-overlay:hover {
    color: #fff;
}
