/* Inside Project Specific Layout Styles */

/* Center gallery content */
.gallery-container .gallery-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
}

/* Set maximum width for all gallery items */
.gallery-container .gallery-item {
    width: 100%;
    margin-bottom: 0;
}

/* Video specific styling and width */
.gallery-container .gallery-item:has(video) {
    max-width: 500px;
}

.gallery-container .gallery-item video {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Image specific styling and width */
.gallery-container .gallery-item:has(img) {
    max-width: 1000px;
}

.gallery-container .gallery-item img {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery-container .gallery-item {
        max-width: 100%;
    }
}

@media (max-width: 500px) {
    .gallery-container .gallery-grid {
        gap: 2.5rem;
    }
}
