/* Gallery Page Custom Styles */

/* Breadcrumb Styles */
.rs-breadcrumb-area {
    position: relative;
    padding: 120px 0 80px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.rs-breadcrumb-content {
    text-align: center;
    color: #fff;
}

.rs-breadcrumb-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.rs-breadcrumb-meta {
    font-size: 16px;
}

.rs-breadcrumb-meta a {
    color: #001c49;
    text-decoration: none;
}

.rs-breadcrumb-meta .separator {
    margin: 0 10px;
    color: #fff;
}

.rs-breadcrumb-meta .current {
    color: #fff;
}

/* Gallery Section Styles */
.rs-gallery-area {
    padding: 100px 0;
}

.rs-gallery-filter {
    margin-bottom: 50px;
}

.filter-button-group {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-button-group li {
    padding: 12px 25px;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #333;
}

.filter-button-group li:hover,
.filter-button-group li.active {
    background: #b1913c;
    color: #fff;
    border-color: #b1913c;
}

/* Gallery Grid Styles */
.rs-gallery-grid {
    margin-bottom: 50px;
}

.rs-gallery-item {
    margin-bottom: 30px;
}

.rs-gallery-single {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rs-gallery-single:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.rs-gallery-thumb {
    overflow: hidden;
}

.rs-gallery-thumb a {
    display: block;
}

.rs-gallery-thumb img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.rs-gallery-single:hover .rs-gallery-thumb img {
    transform: scale(1.08);
}

.rs-gallery-caption {
    padding: 15px 20px;
    background: #fff;
    text-align: center;
    font-size: 14px;
    color: #333;
    font-weight: 500;
    line-height: 1.5;
    border-top: 1px solid #f0f0f0;
}

/* Load More Button */
.rs-gallery-load-more {
    margin-top: 50px;
}

/* CTA Section */
.rs-cta-area {
    padding: 80px 0;
    position: relative;
}

.rs-cta-content h2 {
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.rs-cta-content p {
    color: #fff;
    font-size: 18px;
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .rs-breadcrumb-title {
        font-size: 36px;
    }
    
    .filter-button-group {
        gap: 10px;
    }
    
    .filter-button-group li {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .rs-gallery-thumb img {
        height: 250px;
    }
    
    .rs-cta-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .rs-breadcrumb-area {
        padding: 80px 0 60px;
    }
    
    .rs-breadcrumb-title {
        font-size: 28px;
    }
    
    .rs-gallery-area {
        padding: 60px 0;
    }
    
    .filter-button-group {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-button-group li {
        width: 200px;
        text-align: center;
    }
    
    .rs-gallery-thumb img {
        height: 200px;
    }
    
    .rs-cta-content h2 {
        font-size: 24px;
    }
    
    .rs-cta-content p {
        font-size: 16px;
    }
}

@media (max-width: 575px) {
    .rs-breadcrumb-title {
        font-size: 24px;
    }
    
    .rs-gallery-thumb img {
        height: 180px;
    }
    
    .rs-gallery-title {
        font-size: 18px;
    }
    
    .rs-gallery-descrip {
        font-size: 12px;
    }
}

/* Animation Classes */
.fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Isotope Animation */
.rs-gallery-item {
    transition: all 0.4s ease;
}

.rs-gallery-item.hidden {
    opacity: 0;
    transform: scale(0.8);
}

/* Magnific Popup Customization */
.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
    opacity: 0;
    transition: all 0.3s ease-out;
}

.mfp-with-zoom.mfp-ready .mfp-container {
    opacity: 1;
}

.mfp-with-zoom.mfp-ready.mfp-bg {
    opacity: 0.8;
}

.mfp-with-zoom.mfp-removing .mfp-container,
.mfp-with-zoom.mfp-removing.mfp-bg {
    opacity: 0;
}

.mfp-figure:after {
    top: 0;
    bottom: 0;
}

.mfp-figure figure {
    background: transparent; /* remove white frame */
}

.mfp-bottom-bar {
    top: auto;
    bottom: 0;
    background: rgba(0,0,0,0.8);
}

/* Fit image nicely without white top/bottom bars */
.mfp-image-holder .mfp-content{ max-width: 90vw; }
img.mfp-img{ width:auto; height:auto; max-width:100%; max-height: calc(100vh - 120px); object-fit: contain; padding:0; }

.mfp-title {
    color: #fff;
    font-size: 14px;
    line-height: 18px;
}

.mfp-counter {
    color: #fff;
    font-size: 14px;
    line-height: 18px;
} 