/* ========== Project Detail Page Styles ========== */

/* Police Inter depuis Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --color-bordeaux: #584B77;
    --color-red: #8073A2;
    --color-light-red: #BCAEE1;
    --color-beige: #F5E6D3;
    --color-white: #FFFFFF;
    --color-dark: #1A0000;
    --color-violet-nav: #584B77;
    --color-violet-light: #BCAEE1;
    --color-violet-dark: #8073A2;
}

@font-face {
    font-family: 'Rosie Brown';
    src: url('assets/fronts/Rosie Brown Serif Demo.woff2') format('woff2');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

/* Project Hero */
.project-detail-hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--color-bordeaux) 0%, var(--color-red) 50%, var(--color-light-red) 100%);
    padding: 120px 0 80px;
    color: var(--color-beige);
}

.project-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Back Link */
.back-link {
    display: inline-block;
    color: var(--color-beige);
    text-decoration: none;
    font-size: 1rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease, color 0.3s ease;
    opacity: 0.8;
}

.back-link:hover {
    transform: translateX(-5px);
    opacity: 1;
    color: var(--color-white);
}

/* Project Header */
.project-header {
    margin-bottom: 4rem;
    text-align: center;
}

.project-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    font-family: 'Rosie Brown', serif;
    color: var(--color-beige);
}

.project-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.project-category {
    background: #4B3E69;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(245, 230, 211, 0.3);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.project-date {
    padding: 0.5rem 1.5rem;
}

/* Project Overview */
.project-overview {
    background: rgba(21, 15, 34, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 230, 211, 0.1);
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 4rem;
}

.project-overview h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--color-beige);
    font-family: 'Rosie Brown', serif;
}

.project-overview-image {
    width: 50%;
    max-width: 600px;
    margin: 2rem auto;
    border-radius: 12px;
    overflow: hidden;
}

.project-overview-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.project-overview > p {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.project-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-item h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-light-red);
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-family: 'Rosie Brown', serif;
}

.info-item p {
    font-size: 1.1rem;
    color: var(--color-beige);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

/* Project Sections */
.project-section {
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.project-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-beige);
    font-weight: 700;
    font-family: 'Rosie Brown', serif;
}

.project-section p {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.9;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

/* Project Images */
.project-images {
    margin: 4rem 0;
}

.project-images h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--color-beige);
    font-family: 'Rosie Brown', serif;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-image-container {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.project-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.project-image-placeholder {
    aspect-ratio: 16/10;
    background: rgba(26, 0, 0, 0.5);
    border: 2px dashed rgba(245, 230, 211, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.project-image-placeholder:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 230, 211, 0.6);
}

.project-image-placeholder p {
    color: var(--color-beige);
    opacity: 0.6;
    font-size: 1rem;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.process-step {
    background: rgba(72, 62, 96, 0.8);
    border-left: 4px solid var(--color-light-red);
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.process-step:hover {
    transform: translateX(10px);
    background: rgba(26, 0, 0, 0.5);
}

.process-step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-beige);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.process-step p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.8;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

/* Results Section */
.project-results {
    background: rgba(26, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 230, 211, 0.1);
    border-radius: 16px;
    padding: 3rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.result-item {
    text-align: center;
    padding: 2rem;
    background: rgba(185, 28, 28, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(245, 230, 211, 0.1);
    transition: transform 0.3s ease;
}

.result-item:hover {
    transform: translateY(-5px);
}

.result-item h3 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-light-red);
    margin-bottom: 0.5rem;
    font-family: 'Rosie Brown', serif;
}

.result-item p {
    font-size: 1.1rem;
    color: var(--color-beige);
    opacity: 0.9;
}

/* Project Navigation */
.project-navigation {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 6rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(245, 230, 211, 0.2);
}

.nav-project {
    flex: 1;
    background: rgba(72, 62, 96, 0.8);
    border: 1px solid rgba(245, 230, 211, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    color: var(--color-beige);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-project:hover {
    transform: translateY(-5px);
    background: rgba(26, 0, 0, 0.6);
    border-color: var(--color-light-red);
}

.nav-project span {
    font-size: 0.9rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-project strong {
    font-size: 1.3rem;
    color: var(--color-beige);
}

.nav-project.prev {
    text-align: left;
}

.nav-project:not(.prev) {
    text-align: right;
}

/* Responsive */
@media (max-width: 768px) {
    .project-detail-hero {
        padding: 100px 0 60px;
    }
    
    .project-container {
        padding: 0 1.5rem;
    }
    
    .project-title {
        font-size: 2.5rem;
    }
    
    .project-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .project-overview,
    .project-results {
        padding: 2rem;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .project-navigation {
        flex-direction: column;
    }
    
    .nav-project.prev {
        text-align: center;
    }
    
    .nav-project:not(.prev) {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .project-title {
        font-size: 2rem;
        letter-spacing: -1px;
    }
    
    .project-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .result-item h3 {
        font-size: 2rem;
    }
}
