﻿/* FilterPhotos.css */

.imgslider-container {
    width: 300px;
    height: 533px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    cursor:zoom-in;
}

.imgslider-slides {
    display: flex;
    transition: margin-left 0.5s ease-in-out;
    width: 100%;
    height: 100%;
}

.imgslider-slide-item {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.imgslider-zoom-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
}

.imgslider-slide-item:hover .imgslider-zoom-wrapper {
    transform: scale(1.5);
}

.imgslider-main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.imgslider-caption {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    text-align: center;
    font-size: 14px;
    box-sizing: border-box;
}

.imgslider-thumbnails {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.imgslider-thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    border: 2px solid transparent;
    transition: border 0.3s, opacity 0.3s;
}

    .imgslider-thumb:hover,
    .imgslider-thumb.imgslider-active {
        opacity: 1;
        border-color: #007bff;
    }
.imgslider-wrapper {
    position: relative;
    width: 300px;
    height: 533px;
    margin: 0 auto;
}

.imgslider-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 100px;
    opacity: 0.3;
    pointer-events: none;
    z-index: 2;
}

.magnifier-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 533 / 800;
    border-radius: 8px;
}

.magnifier-img {
    width: 100%;
    height: auto;
    transition: transform 0.15s ease-out;
    will-change: transform;
    pointer-events: none; /* Prevent drag */
}

