/* ============================================
   GALLERY PAGE STYLES
   ============================================ */
.gallery-banner {
    background: linear-gradient(135deg, #0066cc, #0052a3);
    padding: 80px 0;
}

.category-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-filter-buttons .btn {
    font-size: 13px;
    border-radius: 20px;
    padding: 5px 15px;
}

.frontend-gallery-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: #f4f6f9;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s;
    aspect-ratio: 1;
}

.frontend-gallery-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.gallery-img-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
}

.gallery-img-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s;
}

.frontend-gallery-card:hover .gallery-img-link img {
    transform: scale(1.15);
}

.featured-star {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ffc107, #d39e00);
    color: #1a1a2e;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 3;
    box-shadow: 0 3px 10px rgba(255, 193, 7, 0.5);
    border: 2px solid white;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.85) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s;
    padding: 15px;
}

.frontend-gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    transform: translateY(20px);
    transition: all 0.4s;
}

.frontend-gallery-card:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content h6 {
    font-size: 14px;
    margin-bottom: 5px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

@media (max-width: 576px) {
    .frontend-gallery-card {
        aspect-ratio: 1;
    }
    
    .category-filter-buttons {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 5px;
    }
    
    .category-filter-buttons .btn {
        white-space: nowrap;
    }
}

/* Lightbox customization */
.lb-data .lb-caption {
    font-size: 16px;
    font-weight: 600;
}
