/* --- Global & Container Fixes --- */
#fh5co-content {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* --- STICKY NUMBER NAVIGATION --- */
.project-nav-container {
    position: -webkit-sticky; /* Support for Safari */
    position: sticky;
    top: 0;
    z-index: 1000;
    text-align: center;
    padding: 15px 10px;
    background: #ffffff; /* White background for the bar */
    border-bottom: 2px solid #f1f1f1;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.number-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.nav-btn {
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: #1e293b;
    color: #ffffff !important;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: 0.3s;
}

.nav-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

/* --- Image Behavior & 25px Gap --- */
.img-thumbnail-exp {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-bottom: 25px; /* The 25px gap between images */
    cursor: zoom-in;
}

/* --- FULL SCREEN LIGHTBOX (WHITE BACKGROUND) --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff; /* CHANGED TO WHITE */
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 95%;
    max-height: 90vh;
    object-fit: contain;
    /* Added a subtle border/shadow so white images don't disappear on white background */
    border: 1px solid #ddd;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #333; /* Darker color to be visible on white */
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}
