/* Gallery Thumbnail Fixes - Use contain to show full images */
#main .thumb > .image {
    background-size: contain;
    background-color: rgba(0, 0, 0, 0.8);
}

/* Gallery Footer Styles */
#gallery-footer {
    padding: 2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    margin-top: 2rem;
}

#gallery-footer p {
    margin: 0.5rem 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Flickr Loading States */
.flickr-loading,
.flickr-error {
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
}

.flickr-loading p {
    animation: pulse 1.5s ease-in-out infinite;
}

.flickr-error {
    color: rgba(255, 100, 100, 0.9);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Flickr Link in Lightbox */
.flickr-photo-title {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.flickr-photo-link {
    margin-top: 0.75rem;
}

.flickr-photo-link a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 128, 255, 0.2);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid rgba(0, 128, 255, 0.4);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.flickr-photo-link a:hover {
    background: rgba(0, 128, 255, 0.4);
    border-color: rgba(0, 128, 255, 0.6);
    transform: translateY(-2px);
}

.flickr-photo-link a i {
    margin-right: 0.5rem;
}

