/* ===== GALLERY HERO ===== */
.gallery-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1452587925148-ce544e77e70d?w=1920&h=600&fit=crop') center/cover;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px;
    max-width: 100vw;
        margin-right: 0vw;
        margin-left: 0vw;
}

.hero-content {
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    animation: fadeInUp 1s ease 0.2s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== GALLERY CATEGORIES ===== */
.gallery-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
    padding: 40px 0;
}

.category-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 30px;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    min-width: 120px;
}

.category-btn:hover,
.category-btn.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.category-btn i {
    font-size: 2rem;
}

.category-btn span {
    font-weight: 500;
}

/* ===== GALLERY GRID ===== */
.gallery-section{
    max-width: 100vw;
    margin-right: 0vw;
    margin-left: 0vw;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.5s ease;
    cursor: pointer;
}

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

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

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

.gallery-overlay i {
    color: var(--white);
    font-size: 2rem;
    transform: scale(0);
    transition: transform 0.3s ease;
}

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

.gallery-item:hover .gallery-overlay i {
    transform: scale(0.7);
}

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

/* ===== LOAD MORE ===== */
.load-more-container {
    text-align: center;
    margin: 50px 0;
}

.load-more-btn {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* ===== LIGHTBOX CUSTOMIZATION ===== */
.lb-data .lb-details {
    width: 100%;
    text-align: center;
}

.lb-data .lb-caption {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    padding: 10px 0;
}

.lb-data .lb-number {
    padding: 10px 0;
    color: #ccc;
}

.lb-nav a.lb-next, .lb-nav a.lb-prev {
    opacity: 1;
}

.lb-close {
    position: fixed;
    top: 17px;
    right: 22px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    z-index: 9999;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.lb-close:hover {
    
    transform: scale(1.05);
}

.lb-custom-close i {
    font-size: 18px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .gallery-hero {
        height: 30vh;
    }
    
    .gallery-categories {
        gap: 10px;
    }
    
    .category-btn {
        padding: 15px 20px;
        min-width: 100px;
    }
    
    .category-btn i {
        font-size: 1.5rem;
    }
    
    .category-btn span {
        font-size: 0.9rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .gallery-item img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .category-btn {
        padding: 10px 15px;
        min-width: 80px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}