/* Image Zoom Widget */
.imagemzoom-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
}

.imagemzoom-container {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Hover effect */
.imagemzoom-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    z-index: 1;
    transition: background-color 0.3s ease;
}

.imagemzoom-container:hover::before {
    background-color: rgba(0, 0, 0, 0.3);
}

.imagemzoom-container:hover {
    transform: scale(1.03);
}

/* Zoom icon on hover */
.imagemzoom-container::after {
    content: '\002B';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 42px;
    color: #fff;
    z-index: 2;
    opacity: 0;
    transition: all 0.3s ease;
}

.imagemzoom-container:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.imagemzoom-container img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.imagemzoom-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    text-align: center;
    z-index: 2;
}

/* Modal styles */
.imagemzoom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.imagemzoom-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    animation: zoom 0.6s;
}

@keyframes zoom {
    from {transform: scale(0)}
    to {transform: scale(1)}
}

.imagemzoom-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.imagemzoom-close:hover,
.imagemzoom-close:focus {
    color: #bbb;
    text-decoration: none;
}

.imagemzoom-modal-caption {
    margin: auto;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 20px 0;
    height: 50px;
}

/* Responsive styles */
@media only screen and (max-width: 700px) {
    .imagemzoom-modal-content {
        width: 100%;
    }
} 