/* Zeesy.pk Style Gallery - Main Styles */
.zeesy-gallery-container {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin: 0 auto;
    max-width: 100%;
    position: relative;
}

/* Thumbnails Column - Left Side */
.zeesy-thumbnails-column {
    width: 100px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    order: 1;
}

.zeesy-thumb-item {
    width: 100%;
    aspect-ratio: 1/1;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.zeesy-thumb-item:hover {
    opacity: 0.9;
    border-color: #c0a062;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(192, 160, 98, 0.2);
}

.zeesy-thumb-item.zeesy-active {
    opacity: 1;
    border-color: #b8860b;
    border-width: 2px;
    box-shadow: 0 0 0 2px rgba(184, 134, 11, 0.2);
}

.zeesy-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Main Image Column - Right Side */
.zeesy-main-column {
    flex: 1;
    order: 2;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    background: #fff;
}

.zeesy-main-image {
    display: none;
    width: 100%;
    animation: fadeIn 0.5s ease;
}

.zeesy-main-image.zeesy-active {
    display: block;
}

.zeesy-main-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Zoom effect on hover */
.zeesy-main-image img {
    transition: transform 0.5s ease;
}

.zeesy-main-column:hover .zeesy-main-image.zeesy-active img {
    transform: scale(1.02);
}

/* Navigation Arrows */
.zeesy-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    color: #333;
    font-size: 18px;
    font-weight: bold;
}

.zeesy-nav-btn:hover {
    background: white;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.zeesy-prev-btn {
    left: 15px;
}

.zeesy-next-btn {
    right: 15px;
}

/* Loading State */
.zeesy-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

.zeesy-loader {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #b8860b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Badge for Active Image */
.zeesy-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #b8860b;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    z-index: 5;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .zeesy-gallery-container {
        flex-direction: column-reverse;
        gap: 20px;
    }
    
    .zeesy-thumbnails-column {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
        order: 2;
    }
    
    .zeesy-thumb-item {
        min-width: 80px;
        height: 80px;
        flex-shrink: 0;
    }
    
    .zeesy-main-column {
        order: 1;
    }
    
    .zeesy-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .zeesy-thumb-item {
        min-width: 70px;
        height: 70px;
    }
    
    .zeesy-nav-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

/* RTL Support */
.rtl .zeesy-gallery-container {
    flex-direction: row-reverse;
}

.rtl .zeesy-thumbnails-column {
    order: 2;
}

.rtl .zeesy-main-column {
    order: 1;
}

.rtl .zeesy-prev-btn {
    left: auto;
    right: 15px;
}

.rtl .zeesy-next-btn {
    right: auto;
    left: 15px;
}