.gallery-section {
    padding: 2rem 0;
}

.gallery-filter {
    margin-bottom: 2rem;
    text-align: center;
}

.filter-btn {
    background: none;
    border: 2px solid var(--primary-color);
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    padding: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1/1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Make sure videos have the same styling as images */
.gallery-item:hover video {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-caption {
    padding: 1rem;
}

.gallery-caption h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.gallery-caption p {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.gallery-caption .date {
    font-size: 0.8rem;
    color: #666;
}

.gallery-filters {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    list-style: none; /* This removes the bullet points */
}

.gallery-filters button {
    /* Add any button-specific styles here */
}