/* Styles spécifiques aux pages de détail des projets */

.projet-detail {
    padding: var(--section-padding);
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.projet-detail-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.projet-header {
    margin-bottom: 50px;
    text-align: center;
}

.projet-title {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.projet-subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.projet-intro {
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.projet-section {
    margin-bottom: 60px;
}

.projet-section h2 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    position: relative;
}

.projet-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.projet-section p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.competences-list {
    list-style-type: none;
    padding: 0;
}

.competences-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.competences-list li::before {
    content: '\f5fc';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.projet-conclusion {
    margin-top: 40px;
    padding: 30px;
    background-color: rgba(0, 119, 182, 0.05);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.projet-carousel {
    margin: 40px auto;
    max-width: 800px;
}

.carousel-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.return-btn {
    display: inline-flex;
    align-items: center;
    margin-top: 30px;
}

.return-btn i {
    margin-right: 10px;
}

/* Lien GitHub */
.github-link {
    margin: 30px 0;
    text-align: center;
}

.btn-github {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background-color: #24292e;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    gap: 10px;
}

.btn-github:hover {
    background-color: #1b1f23;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(36, 41, 46, 0.3);
    color: white;
    text-decoration: none;
}

.btn-github i {
    font-size: 1.2rem;
}

/* Competence cards */
.competence-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.competence-item {
    background-color: rgba(0, 119, 182, 0.05);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    font-size: 1rem;
    line-height: 1.6;
}

/* Technologies et outils utilisés */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.tech-item {
    background-color: rgba(0, 119, 182, 0.1);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Durée et informations du projet */
.projet-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.95rem;
}

.meta-item i {
    color: var(--primary-color);
}

/* Sections spécialisées */
.objectifs-list,
.delivrables-list {
    list-style: none;
    padding: 0;
}

.objectifs-list li,
.delivrables-list li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.objectifs-list li::before {
    content: '\f0da';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.delivrables-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent-color);
    position: absolute;
    left: 0;
}

/* Media Queries pour la responsivité */
@media screen and (max-width: 768px) {
    .projet-title {
        font-size: 2.3rem;
    }
    
    .projet-subtitle {
        font-size: 1.3rem;
    }
    
    .projet-carousel {
        max-width: 95%;
    }
    
    .projet-meta {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .tech-stack {
        justify-content: center;
    }
}

@media screen and (max-width: 576px) {
    .projet-title {
        font-size: 2rem;
    }
    
    .projet-subtitle {
        font-size: 1.2rem;
    }
    
    .projet-section {
        margin-bottom: 40px;
    }
} 