/**
 * MaxMobiel Gallery Styles
 * 
 * CSS styles for the frontend display of the MaxMobiel occasion gallery.
 * Add this to your theme's CSS or include it separately.
 */

/* Main gallery container */
.maxmobiel-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}

/* Individual gallery items */
.maxmobiel-gallery .gallery-item {
    flex: 0 0 calc(33.333% - 10px);
    max-width: calc(33.333% - 10px);
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect for gallery items */
.maxmobiel-gallery .gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Gallery item links */
.maxmobiel-gallery .gallery-item a {
    display: block;
    width: 100%;
    height: 100%;
}

/* Gallery images */
.maxmobiel-gallery .gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4/3;
    transition: transform 0.5s ease;
}

/* Image hover zoom effect */
.maxmobiel-gallery .gallery-item:hover img {
    transform: scale(1.05);
}

/* Responsive styles */
@media (max-width: 768px) {
    .maxmobiel-gallery .gallery-item {
        flex: 0 0 calc(50% - 7.5px);
        max-width: calc(50% - 7.5px);
    }
}

@media (max-width: 480px) {
    .maxmobiel-gallery .gallery-item {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Lightbox integration (if using a lightbox plugin) */
.maxmobiel-gallery .gallery-popup {
    cursor: pointer;
}

/* Optional: Add a small indicator for clickable images */
.maxmobiel-gallery .gallery-item::after {
    content: '+';
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 25px;
    height: 25px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.maxmobiel-gallery .gallery-item:hover::after {
    opacity: 1;
}