.category-filters {
    padding: 2rem var(--container-padding);
    background: #000000;
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(119, 251, 56, 0.1);
    border-bottom: 1px solid rgba(119, 251, 56, 0.1);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.filter-button {
    padding: 0.8rem 1.5rem;
    border: 1px solid rgba(119, 251, 56, 0.2);
    background: #111111;
    color: #ffffff;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-button:hover {
    background: rgba(119, 251, 56, 0.2);
    color: #77fb38;
    transform: translateY(-2px);
    border-color: #77fb38;
}

.filter-button.active {
    background: #77fb38;
    color: #000000;
    border-color: #77fb38;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 4rem var(--container-padding);
    max-width: 1400px;
    margin: 0 auto;
    background: #000000;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(119, 251, 56, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
    border: 1px solid rgba(119, 251, 56, 0.1);
}

.gallery-item.hidden {
    display: none;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(119, 251, 56, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.95));
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay h3 {
    color: #77fb38;
    margin-bottom: 0.5rem;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1100;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(119, 251, 56, 0.2);
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: #77fb38;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(119, 251, 56, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(119, 251, 56, 0.2);
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .gallery-hero {
        min-height: 50vh;
        padding-top: calc(var(--header-height) + 1rem);
    }

    .filter-buttons {
        padding: 0.5rem;
    }

    .filter-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
        padding: 2rem 1rem;
    }

    .gallery-item img {
        height: 250px;
    }
}