/* Extra specifieke styling voor de detailpagina */
.back-link span {
    display: inline-block;
    margin-right: 0.5rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.back-link:hover span {
    transform: translateX(-10px) scale(1.2); /* Schuift naar links! */
}
.project-detail-content {
    margin-top: 8rem; /* Iets meer ruimte boven voor het logo */
    max-width: 1000px;
}

.tagline {
    color: #00d4ff;
    font-weight: 700;
    margin-top: -1rem;
    margin-bottom: 2rem;
}

.project-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
    align-items: start;
}

.project-screenshot {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

.text-wrapper h2 {
    margin-top: 0;
    font-size: 1.8rem;
}

.tech-specs {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 4px solid #00d4ff;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .project-detail-content {
        margin-top: 23rem !important; /* Voorkomt overlap met het gecentreerde logo op mobiel */
    }
    .project-content {
        grid-template-columns: 1fr;
    }
}

/* Lightbox Styling */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: zoomIn 0.3s ease;
}

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