.gallery-container {
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.main-display {
    position: relative;
    height: 500px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#active-image {
    max-width: 100%;
    max-height: 100%;
    transition: opacity 0.3s ease-in-out;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    z-index: 10;
}

.left { left: 10px; }
.right { right: 10px; }

.thumbnail-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
}

.thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.3s;
}

.thumb.active, .thumb:hover {
    opacity: 1;
    border: 2px solid #333;
}

