﻿.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85); /* translucent background */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

    .lightbox-content img {
        max-width: 100%;
        max-height: 100%;
        border-radius: 10px;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
        transition: all 0.3s ease-in-out;
    }

.lightbox-nav-btn {
    position: relative;
    bottom: -20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.4rem 1rem;
    border-radius: 5px;
    transition: background 0.2s;
}

    .lightbox-nav-btn:hover {
        background: rgba(255, 255, 255, 0.5);
    }