.gallery-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px;
}

.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider {
    overflow: hidden;
    position: relative;
}

.slides {
    display: flex;
    transition: transform 0.5s ease;
}

.slides img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-right: 10px;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 1; /* Adjusted to ensure arrows are below the lightbox */
}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 10; /* Ensures lightbox is above everything else */
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox .arrow {
    z-index: 11; /* Ensures lightbox arrows are above the lightbox background */
}

.lightbox-left-arrow {
    left: 10px;
}

.lightbox-right-arrow {
    right: 10px;
}

.lightbox-close {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: white;
    color: black;
    border: none;
    font-size: 16px;
    cursor: pointer;
    z-index: 11; /* Ensures close button is above the lightbox background */
}

/* Ensure the massive menu stays behind the lightbox */
#header {
    z-index: 5;
}

.lightbox {
    z-index: 10; /* Adjust as needed, should be higher than #header */
}