.photo-gallery-container {
    max-width: 1200px;
    margin: 180px auto;
}

.photo-gallery-category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

.photo-gallery-category-buttons button {
    padding: 10px 20px;
    border: none;
    background: #333;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1rem;
}

.photo-gallery-category-buttons button.active {
    background: var(--primary);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.gallery img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s;
    cursor: pointer;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.modal-content {
    max-width: 90vw;
    max-height: 90vh;
}

.modal-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

.modal-close {
    position: absolute;
    top: 120px;
    right: 30px;
    font-size: 35px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 600px) {
    .photo-gallery-category-buttons button {
        font-size: 0.9rem;
        padding: 8px 16px;
    }

    .modal-close {
        font-size: 28px;
        right: 15px;
        top: 60px;
    }
}