/* ==========================================================================
   PROJECT PAGE – Header
   ========================================================================== */
.project-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 2rem 4rem;
    /* Suppression du mix-blend-mode comme demandé */
}

.project-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
}

.header-logo-link {
    text-decoration: none;
    color: #fff;
}

.project-header .header-logo {
    font-family: 'SOCAFONT', 'Oswald', sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    line-height: 1.2;
    color: #000;
    transition: color 0.3s ease;
}

.header-logo-link:hover .header-logo {
    color: var(--accent-color);
}

.project-header .header-nav {
    display: flex;
    gap: 3rem;
}

.project-header .header-link {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9rem; /* Taille harmonisée avec l'accueil */
    font-weight: 400;  /* Regular comme demandé */
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    transition: color 0.3s ease;
}

.project-header .header-link:hover {
    color: var(--accent-color);
}

.project-header .header-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.project-header .header-link:hover::after {
    width: 100%;
}

/* ==========================================================================
   PROJECT PAGE – Hero Carousel
   ========================================================================== */
.project-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #000;
}

/* On garde l'overlay dégradé uniquement pour la lisibilité des infos blanches en bas */
.project-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30vh;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
    z-index: 5;
}

.project-carousel {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Flèches de navigation */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    /* Suppression du mix-blend-mode car il rend mal sur certaines textures */
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
}

.carousel-arrow--left {
    left: 2rem;
}

.carousel-arrow--right {
    right: 2rem;
}

/* Info projet en bas à gauche */
.project-info {
    position: absolute;
    bottom: 3rem;
    left: 4rem;
    z-index: 10;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); /* Ombre pour lisibilité sur fond blanc */
}

.project-info-year {
    font-family: 'SOCAFONT', 'Oswald', sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    margin: 0 0 0.3rem;
    letter-spacing: 0.1em;
}

.project-info-title {
    font-family: 'SOCAFONT', 'Oswald', sans-serif;
    font-size: 2.5rem;
    text-transform: uppercase;
    line-height: 1.1;
    margin: 0 0 0.5rem;
}

.project-info-role {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
    margin: 0;
}

/* ==========================================================================
   PROJECT PAGE – Description
   ========================================================================== */
.project-description-section {
    background-color: var(--bg-color);
    padding: 8rem 2rem;
    display: flex;
    justify-content: center;
}

.project-description {
    max-width: 600px;
    width: 100%;
}

.project-description p {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.85rem;
    line-height: 1.8;
    color: var(--main-color);
    margin: 0 0 2rem;
}

.project-description p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
    .project-header {
        padding: 1.5rem 1.5rem;
    }

    .project-header .header-nav {
        display: none; /* Masqué sur mobile, remplacé par le burger */
    }

    .project-header .burger-btn {
        display: flex;
        color: #000;
    }

    .project-info {
        left: 1.5rem;
        bottom: 1.5rem;
    }

    .project-info-title {
        font-size: 1.5rem;
    }

    .project-info-year {
        font-size: 1rem;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
    }

    .carousel-arrow--left {
        left: 1rem;
    }

    .carousel-arrow--right {
        right: 1rem;
    }

    .project-description-section {
        padding: 3rem 1.5rem;
    }

    .project-hero {
        height: 60vh;
    }
}
