/* Gallery Filter CSS - ADD TO YOUR STYLESHEET */
.gallery-filter-container {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 15px;
}

.filter-tab {
    padding: 12px 24px;
    background: #f8f9fa;
    color: #495057;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-tab:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    border-color: #667eea;
}

.filter-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #ff8200 100%);
    color: white !important;
    border-color: #667eea;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    transform: translateY(-3px);
}

.gallery-grid {
    transition: all 0.3s ease;
}

.gallery-item {
    transition: all 0.4s ease !important;
    opacity: 1;
    transform: scale(1);
    overflow: visible;
    height: 270px !important;
}

.gallery-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-content {
    padding: 15px;
    background: white;
    position: absolute;
    bottom: 0;
    width: 100% !important;
    z-index: 2;
}

.gallery-title {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
    line-height: 1.3;
}

.gallery-category {
    font-size: 12px;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .filter-tabs {
        justify-content: center;
        gap: 8px;
    }
    .filter-tab {
        padding: 10px 18px;
        font-size: 13px;
        min-width: 110px;
    }
}