/* Gallery Page Styles */

/* Header Styles */
.page-header-gallery {
    background-image: url('../../images/Gallery/JK_Gallery_Header.jpg');
    background-position: center;
    background-size: cover;
    position: relative;
}

/* Gallery Filter */
.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    gap: 1rem;
}

.filter-btn {
    padding: 0.8rem 2rem;
    background-color: var(--white);
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-size: var(--font-size-body);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary);
    color: var(--white);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 6rem;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--white);
    font-size: 2.5rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .gallery-item {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Outdoor Spaces Gallery */
.outdoor-spaces-gallery {
    margin-bottom: 4rem;
}

.outdoor-section {
    margin-bottom: 5rem;
}

.outdoor-section h3 {
    color: var(--primary);
    font-size: var(--font-size-lg);
    margin-bottom: 2rem;
}

.gallery-slider {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-slider .swiper-slide {
    height: 400px;
}

.gallery-slider .gallery-item {
    height: 100%;
    border-radius: 0;
    box-shadow: none;
}

.gallery-slider .swiper-pagination-bullet {
    background-color: var(--white);
    opacity: 0.7;
}

.gallery-slider .swiper-pagination-bullet-active {
    background-color: var(--primary);
    opacity: 1;
}

@media (max-width: 768px) {
    .gallery-slider .swiper-slide {
        height: 300px;
    }
    
    .outdoor-section {
        margin-bottom: 3rem;
    }
}

@media (max-width: 576px) {
    .gallery-slider .swiper-slide {
        height: 250px;
    }
}

/* Instagram Feed */
.instagram-feed {
    margin-top: 4rem;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

@media (max-width: 992px) {
    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
