body {
  background-color: white;
  color: black;
  font-family: Verdana;
  
/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    
    /* Centering - will work now */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Hide by default using visibility */
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
}

/* Class to show lightbox */
.lightbox.active {
    visibility: visible;
    opacity: 1;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    text-align: center;
}

#lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-info {
    color: white;
    margin-top: 20px;
    font-family: Arial, sans-serif;
}

#image-counter {
    background: rgba(0,0,0,0.7);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}

#image-caption {
    display: block;
    margin-top: 10px;
    font-size: 16px;
    opacity: 0.9;
}

/* Navigation buttons */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    font-size: 30px;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 10001;
}

.lightbox-nav:hover {
    background: rgba(0,0,0,0.8);
}

.lightbox-nav.prev {
    left: 20px;
}

.lightbox-nav.next {
    right: 20px;
}

/* Close button */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    font-size: 30px;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 10001;
}

.lightbox-close:hover {
    background: rgba(0,0,0,0.8);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .lightbox-nav.prev {
        left: 10px;
    }
    
    .lightbox-nav.next {
        right: 10px;
    }
}
  
}