﻿.gallery-container {
    background-color: white;
    padding: 100px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.gallery-header {
    margin: auto;
    margin-bottom: 10px;
    text-align: center;
    padding: 20px 10px;
}

.gallery-title {
    margin-bottom: 8px;
    font-size: 2.5em;
    color: #333;
}

.gallery-description {
    max-width: 900px;
    margin: auto;
    margin-bottom: 30px;
    font-size: 1em;
    color: #666;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.filter-btn {
    all: unset;
    background-color: inherit;
    color: #666;
    border-bottom: 3px solid white;
    font-size: 1.3em;
    padding: 0 5px 5px 5px;
    cursor: pointer;
    transition: 300ms ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.filter-btn.selected,
.filter-btn:hover {
    color: #333;
    border-bottom: 3px solid #b18852;
}

.no-images-message {
    color: #666;
}

.gallery {
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
    justify-items: center;
}

.gallery-item {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: all 300ms ease;
}

.gallery-item img:hover {
    filter: brightness(0.8);
}

@media (max-width: 768px) {
    .gallery-item {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .gallery-item {
        height: 200px;
    }
}