/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1001;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 100%;
    max-width: 1200px;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close-button:hover,
.close-button:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.prev-button, .next-button {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next-button {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev-button:hover, .next-button:hover {
    background-color: rgba(0,0,0,0.8);
}

.thumbnail {
    cursor: pointer;
}

.project-page .gallery-grid .gallery-item {
    display: block;
}

.project-header {
    text-align: center;
    margin-bottom: 4rem;
}

.back-to-projects {
    display: inline-block;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

.back-to-projects:hover {
    text-decoration: underline;
}