/* css/projet.css */

/* --- Section d'en-tête du projet --- */
#project-hero {
    padding: 12rem 5% 6rem;
    text-align: center;
}

.project-title h1 {
    font-size: 5rem; /* Ajustez si nécessaire */
    margin-bottom: 1rem;
}

.project-title .subtitle {
    font-size: 2rem;
    font-weight: 300;
    color: #ccc;
    max-width: 700px;
    margin: 0 auto;
}

/* --- Section des détails du projet --- */
#project-details {
    padding: 8rem 5%;
}

.project-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Deux colonnes de taille égale */
    gap: 5rem;
    align-items: flex-start;
}

/* Styles pour les visuels du projet */
.project-visuals img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(2, 12, 27, 0.7);
    border: 1px solid var(--main-color);
}

.gallery-thumbnails {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.gallery-thumbnails img {
    width: 100px;
    cursor: pointer;
    border-radius: 6px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.gallery-thumbnails img:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Styles pour les informations du projet */
.project-info h3 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    color: var(--main-color);
    display: flex;
    align-items: center;
}

.project-info h3 i {
    margin-right: 1rem;
    font-size: 2.8rem;
}

.project-section {
    margin-bottom: 3.5rem;
}

.project-section p, .project-section li {
    font-size: 1.7rem;
    line-height: 1.7;
    color: #ccc;
}

.project-section ul {
    list-style-position: inside;
    padding-left: 0;
}

.project-section li {
    margin-bottom: 1rem;
}

/* Liste des technologies */
.tech-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tech-list li span {
    background-color: rgba(0, 238, 255, 0.1);
    color: var(--main-color);
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    font-size: 1.4rem;
    font-family: 'Roboto Mono', monospace;
    font-weight: 700;
}

/* Boutons spécifiques au projet */
.project-links {
    margin-top: 3rem;
}

.btn.btn-secondary {
    background: transparent;
    color: var(--main-color);
    border: 2px solid var(--main-color);
}
.btn.btn-secondary:hover {
    background: var(--main-color);
    color: #000; /* Ou votre couleur de fond principale */
}

/* --- Media Queries pour la responsivité --- */
@media (max-width: 992px) {
    .project-container {
        grid-template-columns: 1fr; /* Passe à une seule colonne sur tablette */
        gap: 6rem;
    }
}

@media (max-width: 768px) {
    .project-title h1 {
        font-size: 4rem;
    }
    #project-hero {
        padding-top: 10rem;
    }
}



/* --- Styles globaux pour les pages de projet --- */
.section { padding: 8rem 5%; }
.section-alt-bg { background-color: #0d1a2d; }
.section-title { margin-bottom: 4rem; text-align: center; }
.section-subtitle { text-align: center; font-size: 1.8rem; color: #ccc; max-width: 600px; margin: -2rem auto 3rem auto; }

/* --- Section Héros du Projet --- */
#project-hero { text-align: center; padding: 12rem 5% 8rem; }
.project-category { display: block; font-size: 1.6rem; font-family: 'Roboto Mono', monospace; color: var(--main-color); margin-bottom: 1.5rem; }
.project-title h1 { font-size: 5.2rem; margin-bottom: 1rem; }
.project-title .subtitle { font-size: 2rem; font-weight: 300; color: #ccc; max-width: 800px; margin: 0 auto; }

/* --- Section Détails Principaux --- */
.project-container { display: grid; grid-template-columns: 1.2fr 1fr; gap: 6rem; align-items: start; }
.project-visuals img#main-image { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 10px 30px rgba(2,12,27,0.7); border: 2px solid var(--main-color); transition: transform 0.3s ease; }
.gallery-thumbnails { display: flex; gap: 1.5rem; margin-top: 1.5rem; }
.gallery-thumbnails img { width: 100px; height: 70px; object-fit: cover; border-radius: 6px; cursor: pointer; border: 2px solid transparent; opacity: 0.6; transition: all 0.3s ease; }
.gallery-thumbnails img:hover { opacity: 1; border-color: var(--main-color); transform: scale(1.05); }

.project-info h3 { font-size: 2.4rem; margin-bottom: 1.5rem; color: var(--main-color); display: flex; align-items: center; gap: 1rem; }
.project-info h3 i { font-size: 2.8rem; }
.project-section { margin-bottom: 3.5rem; }
.project-section p { font-size: 1.7rem; line-height: 1.7; color: #ccc; }
.project-section p strong { color: #fff; }
.tech-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem; }
.tech-list.icon-list li { background: rgba(0, 238, 255, 0.08); padding: 1rem 1.5rem; border-radius: 5px; font-size: 1.5rem; display: flex; align-items: center; gap: 1rem; }
.tech-list.icon-list i { font-size: 2rem; color: var(--main-color); }

/* --- Section Processus --- */
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; text-align: center; }
.process-step { background: rgba(0, 238, 255, 0.05); padding: 3rem; border-radius: 8px; border: 1px solid rgba(0, 238, 255, 0.1); }
.step-icon { margin-bottom: 1.5rem; }
.step-icon i { font-size: 5rem; color: var(--main-color); }
.process-step h4 { font-size: 2rem; margin-bottom: 1rem; color: #fff; }
.process-step p { font-size: 1.5rem; color: #ccc; }

/* --- Section Extrait de Code --- */
.code-block { background-color: #011627; border-radius: 8px; padding: 2.5rem; font-family: 'Roboto Mono', monospace; font-size: 1.5rem; overflow-x: auto; border-left: 5px solid var(--main-color); }
.code-block .comment { color: #637777; font-style: italic; }
.code-block .keyword { color: #c792ea; }
.code-block .function { color: #82aaff; }
.code-block .string { color: #c3e88d; }
.code-block .number { color: #f78c6c; }
.code-block .self { color: #f07178; }

/* --- Section Navigation entre Projets --- */
.navigation-container { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.nav-link { background: rgba(0, 238, 255, 0.05); border: 1px solid rgba(0, 238, 255, 0.1); padding: 2rem; border-radius: 8px; text-align: center; transition: all 0.3s ease; flex-grow: 1; flex-basis: 0; }
.nav-link:hover { background: rgba(0, 238, 255, 0.1); border-color: var(--main-color); transform: translateY(-5px); }
.nav-link.all-projects { flex-grow: 0.5; }
.nav-link i { font-size: 3rem; color: var(--main-color); }
.nav-link span { font-size: 1.4rem; color: #ccc; display: block; }
.nav-link p { font-size: 2rem; color: #fff; font-weight: 600; margin: 0.5rem 0 0 0; }
.nav-link.next { text-align: right; }
.nav-link.prev { text-align: left; }

/* --- RESPONSIVITÉ --- */
@media (max-width: 992px) {
    .project-container { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 6rem 5%; }
    .project-title h1 { font-size: 3.8rem; }
    .navigation-container { flex-direction: column; }
    .nav-link { width: 100%; text-align: center !important; }
}