/* Gallery Modern Styles */

:root {
    --brand: #128e4b;
    --brand-dark: #0f7a40;
    --brand-pale: rgba(18, 142, 75, 0.05);
}

/* Filter Buttons */
.gallery-filter-wrap {
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    border-radius: 100px;
    background: #fff;
    border: 1.5px solid rgba(18, 142, 75, 0.15);
    color: #4b5563;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: "Nunito", sans-serif;
}

.filter-btn:hover {
    border-color: var(--brand);
    color: var(--brand);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(18, 142, 75, 0.1);
}

.filter-btn.active {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
    box-shadow: 0 10px 20px rgba(18, 142, 75, 0.25);
}

/* Swiper Gallery Container */
.gallery-swiper {
    padding: 20px 0 60px !important;
}

.gallery-slide {
    height: auto;
    transition: all 0.5s ease;
}

.gallery-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.gallery-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-card:hover img {
    transform: scale(1.08);
}

.gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.gallery-card:hover .gallery-info {
    opacity: 1;
    transform: translateY(0);
}

.gallery-info h4 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 5px;
    font-family: "Playfair Display", serif;
}

.gallery-info p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Custom Navigation */
.swiper-nav-btn {
    width: 54px !important;
    height: 54px !important;
    background: #fff !important;
    border-radius: 50% !important;
    color: var(--brand) !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(18, 142, 75, 0.1) !important;
}

.swiper-nav-btn::after {
    font-size: 20px !important;
    font-weight: bold;
}

.swiper-nav-btn:hover {
    background: var(--brand) !important;
    color: #fff !important;
    box-shadow: 0 15px 30px rgba(18, 142, 75, 0.3) !important;
}

.swiper-pagination-bullet-active {
    background: var(--brand) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .filter-btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
    .gallery-card img {
        height: 280px;
    }
}