/* Gallery Page Styles */
.gallery-header {
    background-color: var(--primary-color);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
}

.gallery-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 5px;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    color: white;
    margin-left: 5px;
}

.gallery-filter {
    padding: 30px 0;
    background-color: #f9f9f9;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.filter-btn {
    padding: 8px 20px;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.gallery-main {
    padding: 50px 0;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 136, 204, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
}

.gallery-overlay i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.gallery-overlay h3 {
    font-size: 1.2rem;
    text-align: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-cta {
    background-color: var(--secondary-color);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.gallery-cta h2 {
    margin-bottom: 15px;
}

.gallery-cta p {
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Lightgallery Overrides */
.lg-outer .lg-thumb-item.active, .lg-outer .lg-thumb-item:hover {
    border-color: var(--primary-color);
}

.lg-outer .lg-toogle-thumb {
    background-color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .gallery-header {
        padding: 100px 0 40px;
    }
    
    .gallery-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .gallery-header {
        padding: 80px 0 30px;
    }
    
    .filter-buttons {
        justify-content: flex-start;
    }
    
    .gallery-container {
        grid-template-columns: 1fr;
    }
}