/* Gallery Styles */

.gallery-hero {
    background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
    color: white;
    padding: 3.5rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    background: #fff;
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.35s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 100%);
    color: white;
    padding: 0.5rem 0.75rem;
    font-size: 0.95rem;
}

.gallery-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.gallery-filter {
    border: 1px solid rgba(99,102,241,0.4);
    background: rgba(99,102,241,0.08);
    color: #3730a3;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
}

.gallery-filter.active,
.gallery-filter:hover {
    background: #6366f1;
    color: white;
}

@media (max-width: 576px) {
    .gallery-item img { height: 180px; }
}


