/* --- CSS POUR LES PAGES PROJETS --- */

/* Reset spécifique pour s'assurer que le contenu scroll bien */
body {
    overflow-y: auto !important; /* On réactive le scroll normal */
    background-color: rgb(29, 29, 29);
}

/* Overlay de transition (rideau noir qui s'ouvre) */
.transition-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background-color: var(--color-accent, rgb(181, 92, 239));
    z-index: 9999;
}

/* Navigation simplifiée */
.project-nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 3rem;
    z-index: 100;
    mix-blend-mode: exclusion; /* Pour être visible sur blanc ou noir */
}

.project-main {
    padding-top: 15vh;
    padding-bottom: 10vh;
}

/* En-tête */
.project-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 2rem;
}

.project-title {
    font-family: "BOULEVARDUnionClub", sans-serif;
    font-size: 8vw;
    color: white;
    margin-bottom: 2rem;
    line-height: 0.9;
}

.purple-text {
    color: rgb(181, 92, 239);
}

.project-meta {
    display: flex;
    justify-content: center;
    gap: 4rem;
    font-family: "BOULEVARDUnionClub", sans-serif;
}

.meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.meta-item .label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.meta-item .value {
    font-size: 1.2rem;
    color: white;
}

/* Image Héro */
.hero-image-container {
    width: 100%;
    height: 80vh;
    overflow: hidden;
    position: relative;
    margin-bottom: 6rem;
}

.hero-img {
    width: 100%;
    height: 120%; /* Plus grand pour le parallax */
    object-fit: cover;
    object-position: center;
}

/* Description */
.project-description {
    max-width: 1400px;
    margin: 0 auto 8rem auto;
    padding: 0 2rem;
}

.description-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.desc-col-left h2 {
    font-family: "BOULEVARDUnionClub", sans-serif;
    font-size: 3rem;
    color: rgb(181, 92, 239);
    margin: 0;
    padding: 0;
}

.desc-col-right p {
    font-family: sans-serif; /* Police lisible pour le texte long */
    font-size: 1.2rem;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 2rem;
}

/* Galerie */
.project-gallery {
    max-width: 1400px;
    margin: 0 auto 8rem auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

.gallery-row {
    display: flex;
    gap: 2rem;
}

.half-width {
    width: 50%;
}

/* Projet Suivant */
.next-project {
    text-align: center;
    padding: 6rem 0;
    background-color: rgb(20, 20, 20);
}

.next-project p {
    color: rgba(255,255,255,0.5);
    margin-bottom: 1rem;
    font-family: sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.next-link {
    font-family: "BOULEVARDUnionClub", sans-serif;
    font-size: 5vw;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.next-link:hover {
    color: rgb(181, 92, 239);
}

/* Responsive */
@media (max-width: 768px) {
    .project-title { font-size: 12vw; }

    .project-meta {
        flex-direction: column;
        gap: 1.5rem;
    }

    .description-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gallery-row {
        flex-direction: column;
    }

    .half-width { width: 100%; }

    .project-nav { padding: 1.5rem; }
}