/* Styles spécifiques aux pages de projet */

.projet-detail, .stage-detail {
    max-width: 90%;
    margin: 0 auto;
    padding: 0.75rem;
    background: rgba(27, 31, 34, 0.95);
    border-radius: 8px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    text-decoration: none;
    margin-bottom: 2rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateX(-5px);
}

.projet-detail h1, .stage-detail h1 {
    font-size: 1.5rem !important;
    margin-bottom: 0.75rem !important;
}

.projet-hero {
    width: 100%;
    height: 160px;
    margin-bottom: 1rem;
    border-radius: 6px;
    overflow: hidden;
}

.projet-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.projet-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.projet-section {
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(100, 255, 218, 0.1);
    margin-bottom: 1rem;
}

.projet-section:last-child {
    margin-bottom: 0;
}

.projet-section.full-width {
    width: 100%;
}

.projet-section h2 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.25rem;
}

.projet-section p {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.projet-section ul {
    list-style: none;
    padding-left: 1.5rem;
}

.projet-section ul li {
    margin-bottom: 1rem;
    position: relative;
}

.projet-section ul li::before {
    content: "▹";
    position: absolute;
    left: -1.5rem;
    color: var(--accent-color);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tech-tags span {
    background: rgba(100, 255, 218, 0.1);
    color: var(--accent-color);
    padding: 0.25rem 0.5rem;
    border-radius: 25px;
    font-size: 0.8rem;
    border: 1px solid rgba(100, 255, 218, 0.2);
}

/* Stage Specific Styles */
.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.tech-category {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 4px;
}

.tech-category h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    border: none;
}

.tech-category ul {
    list-style: none;
    padding-left: 1.5rem;
}

.tech-category ul li {
    margin-bottom: 0.8rem;
    position: relative;
}

.tech-category ul li::before {
    content: "▹";
    position: absolute;
    left: -1.5rem;
    color: var(--accent-color);
}

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

.achievement-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    transition: var(--transition);
}

.achievement-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.achievement-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.achievement-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.achievement-item p {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.6;
}

.projet-section ul ul {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.projet-section ul ul li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.projet-section ul ul li::before {
    content: "•";
}

/* Styles spécifiques pour les maquettes du projet réseau multi-sites */
.maquette-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    align-items: center;
}

.maquette-content {
    padding-right: 0.75rem;
}

.maquette-image {
    width: 100%;
    height: 140px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(100, 255, 218, 0.1);
}

.maquette-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.maquette-image:hover img {
    transform: scale(1.05);
}

/* Media Queries pour différentes tailles d'écran */
@media screen and (max-width: 1920px) {
    /* Grands écrans */
    .projet-detail, .stage-detail {
        max-width: 80%;
    }
}

@media screen and (max-width: 1440px) {
    /* Écrans moyens (laptops) */
    .projet-detail, .stage-detail {
        max-width: 90%;
        padding: 1rem;
    }

    .projet-section {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .projet-hero {
        height: 200px;
    }

    .maquette-image {
        height: 200px;
    }

    .stage-header h1 {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 1024px) {
    /* Petits laptops et tablettes */
    .projet-detail, .stage-detail {
        max-width: 95%;
        padding: 0.5rem;
    }

    .projet-section {
        padding: 0.5rem;
        margin-bottom: 0.75rem;
    }

    .projet-hero {
        height: 140px;
    }

    .projet-section h2 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }

    .projet-section p {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
        line-height: 1.4;
    }

    .maquette-section {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .maquette-image {
        height: 120px;
    }

    .stage-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }

    .stage-header h1 {
        font-size: 1.6rem;
    }

    .tech-tags {
        gap: 0.5rem;
    }

    .tech-tags span {
        padding: 0.3rem 0.75rem;
        font-size: 0.85rem;
    }

    .mission-grid, .results-grid {
        gap: 0.75rem;
    }

    .mission-card, .result-item {
        padding: 0.75rem;
    }

    .mission-card h3, .result-item h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .mission-card ul li, .result-item ul li {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }
}

@media screen and (max-width: 768px) {
    /* Tablettes et mobiles en mode paysage */
    .projet-detail, .stage-detail {
        padding: 0.5rem;
    }

    .projet-section {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .projet-hero {
        height: 160px;
    }

    .maquette-section {
        grid-template-columns: 1fr;
    }

    .maquette-image {
        height: 160px;
    }

    .stage-header h1 {
        font-size: 1.4rem;
    }

    .tech-tags span {
        padding: 0.25rem 0.5rem;
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 480px) {
    /* Mobiles */
    .projet-detail, .stage-detail {
        padding: 0.5rem;
    }

    .projet-hero {
        height: 140px;
    }

    .maquette-image {
        height: 140px;
    }

    .projet-section h2 {
        font-size: 1.1rem;
    }

    .projet-section p {
        font-size: 0.9rem;
    }
}

/* Styles pour les pages détaillées de stage */
.stage-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.back-nav {
    margin-bottom: 2rem;
}

.back-nav a {
    color: var(--text-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: var(--transition);
}

.back-nav a:hover {
    color: var(--accent-color);
}

.stage-header {
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.75rem;
}

.stage-header h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.stage-meta {
    display: flex;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.stage-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stage-overview,
.stage-missions,
.stage-technologies,
.stage-results,
.stage-gallery {
    margin-bottom: 2rem;
}

.stage-overview:last-child,
.stage-missions:last-child,
.stage-technologies:last-child,
.stage-results:last-child,
.stage-gallery:last-child {
    margin-bottom: 0;
}

.stage-overview p {
    font-size: 1.1rem;
    line-height: 1.8;
}

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

.mission-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem;
    border-radius: 6px;
    transition: var(--transition);
}

.mission-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.mission-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.mission-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.mission-card ul {
    list-style: none;
    padding: 0;
}

.mission-card ul li {
    margin: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.mission-card ul li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

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

.result-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem;
    border-radius: 6px;
}

.result-item h3 {
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.result-item ul {
    list-style: none;
    padding: 0;
}

.result-item ul li {
    margin: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.result-item ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: var(--text-color);
    font-size: 0.9rem;
}

@media screen and (max-width: 768px) {
    .stage-meta {
        flex-direction: column;
        gap: 1rem;
    }

    .stage-header h1 {
        font-size: 2rem;
    }

    .mission-grid,
    .results-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Media Queries pour les ordinateurs portables */
@media screen and (max-width: 1366px) {
    .projet-detail, .stage-detail {
        padding: 1rem;
    }

    .projet-section {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .projet-hero {
        height: 200px;
    }

    .maquette-image {
        height: 200px;
    }

    .stage-header h1 {
        font-size: 1.8rem;
    }

    .projet-section h2 {
        font-size: 1.2rem;
    }
}

/* Media Queries pour MacBook et écrans haute résolution */
@media screen and (min-resolution: 192dpi), 
       screen and (min-resolution: 2dppx),
       screen and (max-width: 1440px) {
    .projet-detail, .stage-detail {
        padding: 0.75rem;
        max-width: 90%;
    }

    .projet-section {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .projet-hero {
        height: 180px;
        margin-bottom: 1rem;
    }

    .projet-section h2 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .projet-section p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
        line-height: 1.4;
    }

    .maquette-section {
        gap: 1rem;
    }

    .maquette-image {
        height: 180px;
    }

    .stage-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }

    .stage-header h1 {
        font-size: 1.6rem;
    }

    .tech-tags {
        gap: 0.5rem;
    }

    .tech-tags span {
        padding: 0.3rem 0.75rem;
        font-size: 0.8rem;
    }

    .mission-grid, .results-grid {
        gap: 1rem;
    }

    .mission-card, .result-item {
        padding: 1rem;
    }

    .mission-card h3, .result-item h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .mission-card ul li, .result-item ul li {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
}

/* Ajustements encore plus spécifiques pour les MacBook Pro 13" */
@media screen and (max-width: 1280px) {
    .projet-detail, .stage-detail {
        padding: 0.5rem;
        max-width: 95%;
    }

    .projet-section {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .projet-hero {
        height: 150px;
    }

    .maquette-image {
        height: 150px;
    }

    .stage-header h1 {
        font-size: 1.4rem;
    }

    .tech-tags span {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
} 