/* GLightbox Custom Styles for Premium Gallery */

.download-btn {
    position: absolute;
    top: 20px;
    right: 70px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: #1e40af;
    z-index: 99999;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.download-btn:hover {
    background: #1e40af;
    color: white;
    transform: scale(1.1);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-item-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
}

.gallery-item-wrapper:hover {
    transform: scale(1.03);
    border-color: #1e40af;
    box-shadow: 0 10px 40px rgba(30, 64, 175, 0.2);
}

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

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

.gallery-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(30, 64, 175, 0.9);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.gallery-zoom-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item-wrapper:hover .gallery-zoom-icon {
    opacity: 1;
}

/* Dark mode support */
.dark .gallery-item-wrapper {
    border-color: #334155;
}

.dark .gallery-badge {
    background: rgba(96, 165, 250, 0.9);
}

.dark .download-btn {
    background: rgba(51, 65, 85, 0.9);
    color: #60a5fa;
}

.dark .download-btn:hover {
    background: #60a5fa;
    color: #0f172a;
}