/**
 * WeRobot Gallery Styles
 * Following Tesla North Hollywood gallery requirements
 */

/* Container Styles */
#weRobotGallery {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 0 !important;
    width: 62.5% !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    padding: 0;
    margin-top: 20px;
    background: transparent;
}

/* Gallery Item Styles */
#weRobotGallery .gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    transform: none !important;
    scale: 1 !important;
    transition: none !important;
}

/* Image Styles */
#weRobotGallery .gallery-item img,
#weRobotGallery .project-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.22);
    transition: filter 0.3s ease;
    transform: none !important;
    scale: 1 !important;
}

/* Hover Effects - Only change saturation */
#weRobotGallery .gallery-item:hover img,
#weRobotGallery .gallery-item:hover .project-gallery-image {
    filter: saturate(1);
    transform: none !important;
    scale: 1 !important;
}

/* Image Number Styles */
#weRobotGallery .image-number {
    position: absolute;
    bottom: 5px;
    right: 10px;
    color: white;
    font-size: 12px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    z-index: 10;
    transition: opacity 0.3s ease;
}

#weRobotGallery .gallery-item:hover .image-number {
    opacity: 0;
}

/* Responsive styles - maintain 5 columns as required */
@media (max-width: 1200px) {
    #weRobotGallery {
        grid-template-columns: repeat(5, 1fr) !important;
    }
}

@media (max-width: 992px) {
    #weRobotGallery {
        grid-template-columns: repeat(5, 1fr) !important;
        width: 75% !important;
    }
}

@media (max-width: 768px) {
    #weRobotGallery {
        grid-template-columns: repeat(5, 1fr) !important;
        width: 90% !important;
    }
}

@media (max-width: 576px) {
    #weRobotGallery {
        grid-template-columns: repeat(5, 1fr) !important;
        width: 100% !important;
    }
}
