.filterable-gallery-container {
    width: 100%;
    margin: 0 auto;
}
.gallery-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.filter-btn {
    background: #FAFAFA !important;
    border: none;
    padding: 16px 32px;
    cursor: pointer;
    font-size: 16px;
    color: #252525CC !important;
    transition: all 0.3s ease;
    border-radius: 25px;
}
.filter-btn:hover {
    background: #252525 !important;
    color: #fff !important;
}
.filter-btn.active {
    background: #252525 !important;
    color: #fff !important;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 30px;
    grid-auto-rows: 280px;
}
.gallery-item {
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 16px !important;
    transition: opacity 0.3s ease;
}
.gallery-item.hidden {
    display: none;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
    top: 0;
    left: 0;
}
.gallery-item:hover img {
    transform: scale(1.05);
}

/* Style dla filmów YouTube */
.gallery-item.gallery-video {
    background: #000;
}
.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
}

.gallery-load-more {
    text-align: center;
    margin-top: 30px;
}
.load-more-btn {
    padding: 16px 32px;
    background: #252525;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}
.load-more-btn:hover {
    background: #3a3a3a;
    transform: translateY(-2px);
}
.load-more-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.load-more-btn.hidden {
    display: none;
}
/* Tablet - 2 kolumny */
@media (max-width: 1024px) and (min-width: 601px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 280px;
        gap: 20px;
    }
}
/* Mobile - 1 kolumna */
@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 280px;
        gap: 20px;
    }
    
    .gallery-filters {
        justify-content: center;
    }
    
    .filter-btn {
        font-size: 14px;
        padding: 8px 16px;
    }
}