/* Gallery Page Specific Styles */

.gallery-page {
    padding: 60px 0;
    background-color: #fff;
}

.gallery-filter-buttons {
    margin-bottom: 30px;
}

.gallery-filter-buttons .btn {
    margin: 0 5px;
    border-radius: 30px;
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.gallery-filter-buttons .btn.active {
    background-color: #a87b51;
    border-color: #a87b51;
    color: #fff;
}

.gallery-item-wrapper {
    padding: 10px;
    transition: all 0.5s ease;
}

.gallery-item-wrapper.hidden {
    display: none;
}

.gallery-page .gallery-item {
    height: 280px;
    margin-bottom: 20px;
}

.gallery-page .section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.gallery-page .section-title::after {
    content: '';
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background-color: #a87b51;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Animation classes */
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.gallery-page .gallery-item {
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.gallery-page .gallery-item.animated.fadeIn {
    animation: fadeInScale 0.6s forwards;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery-page .gallery-item {
        height: 220px;
    }
}

@media (max-width: 576px) {
    .gallery-filter-buttons .btn {
        font-size: 0.85rem;
        padding: 6px 15px;
        margin-bottom: 10px;
    }
    
    .gallery-page .gallery-item {
        height: 180px;
    }
}
