 /* Réinitialisation et styles de base */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', 'Segoe UI', sans-serif;
        }

        body {
            background-color: #f5f7fa;
            color: #333;
            line-height: 1.6;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* En-tête avec effet de verre */
        .header {
            position: sticky;
            top: 0;
            padding: 20px;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
            z-index: 100;
            transition: all 0.3s ease;
        }

        .header.scrolled {
            padding: 15px 20px;
        }

        .back-btn {
            color: #3a86ff;
            font-weight: 600;
            text-decoration: none;
            display: flex;
            align-items: center;
            width: fit-content;
            transition: transform 0.3s, color 0.3s;
        }

        .back-btn::before {
            content: "←";
            margin-right: 8px;
            font-size: 1.2em;
            transition: transform 0.3s;
        }

        .back-btn:hover {
            color: #1a56cc;
            transform: translateX(-5px);
        }

        /* Section de détail du projet */
        .project-detail {
            padding: 80px 0;
        }

        .project-title {
            font-size: 3rem;
            background: linear-gradient(135deg, #3a86ff, #4361ee);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            margin-bottom: 30px;
            text-align: center;
            font-weight: 700;
            letter-spacing: -0.5px;
        }

        .project-image {
            display: block;
            max-width: 900px;
            width: 100%;
            margin: 0 auto 60px;
            border-radius: 16px;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
            transition: transform 0.5s ease, box-shadow 0.5s ease;
            object-fit: cover;
        }

        .project-image:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        }

        .project-content {
            max-width: 800px;
            margin: 0 auto;
            line-height: 1.8;
            font-size: 1.1rem;
            background: white;
            padding: 40px;
            border-radius: 16px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
        }

        .project-content p {
            margin-bottom: 20px;
        }

        .project-content strong {
            color: #3a86ff;
            font-weight: 600;
        }

        .tech-list {
            list-style: none;
            padding: 10px 0;
            margin-bottom: 25px;
        }

        .tech-list li {
            position: relative;
            padding-left: 20px;
            margin-bottom: 10px;
        }

        .tech-list li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 10px;
            width: 8px;
            height: 8px;
            background: #3a86ff;
            border-radius: 50%;
        }

        .btn {
            display: inline-block;
            background: linear-gradient(135deg, #3a86ff, #4361ee);
            color: white;
            padding: 12px 28px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(58, 134, 255, 0.3);
        }

        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(58, 134, 255, 0.4);
        }

        /* Section galerie de projets */
        .project-gallery {
            padding: 80px 20px;
            background-color: white;
            border-radius: 20px 20px 0 0;
            margin-top: 80px;
            box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
        }

        .project-gallery h2 {
            font-size: 2.5rem;
            margin-bottom: 50px;
            text-align: center;
            position: relative;
            color: #333;
            font-weight: 700;
        }

        .project-gallery h2::after {
            content: "";
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, #3a86ff, #4361ee);
            border-radius: 2px;
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            gap: 30px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: 16px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
            transition: transform 0.5s ease;
        }

        .gallery-item:hover {
            transform: translateY(-10px);
        }

        .gallery-item img {
            width: 100%;
            height: 300px;
            object-fit: cover;
            transition: transform 1s ease;
        }

        .gallery-item:hover img {
            transform: scale(1.05);
        }

        /* Modal pour agrandir les images */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            overflow: auto;
            justify-content: center;
            align-items: center;
            backdrop-filter: blur(5px);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .modal.show {
            opacity: 1;
        }

        .modal-content {
            margin: auto;
            display: block;
            max-width: 90%;
            max-height: 90vh;
            border-radius: 8px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            transform: scale(0.9);
            transition: transform 0.3s ease;
        }

        .modal.show .modal-content {
            transform: scale(1);
        }

        .close {
            position: absolute;
            top: 20px;
            right: 35px;
            color: white;
            font-size: 40px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .close:hover {
            color: #3a86ff;
            transform: rotate(90deg);
        }

        /* Media queries pour le responsive */
        @media (min-width: 600px) {
            .gallery-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (min-width: 900px) {
            .gallery-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (max-width: 768px) {
            .project-title {
                font-size: 2.2rem;
            }
            
            .project-content {
                padding: 25px;
            }
            
            .project-gallery h2 {
                font-size: 2rem;
            }
        }

        /* Animation au chargement de la page */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .project-title, .project-image, .project-content, .gallery-item {
            animation: fadeIn 0.8s ease forwards;
        }

        .project-image { animation-delay: 0.2s; }
        .project-content { animation-delay: 0.4s; }
        
        .gallery-item:nth-child(1) { animation-delay: 0.6s; }
        .gallery-item:nth-child(2) { animation-delay: 0.7s; }
        .gallery-item:nth-child(3) { animation-delay: 0.8s; }
        .gallery-item:nth-child(4) { animation-delay: 0.9s; }
        .gallery-item:nth-child(5) { animation-delay: 1s; }
        .gallery-item:nth-child(6) { animation-delay: 1.1s; }
        .gallery-item:nth-child(7) { animation-delay: 1.2s; }
        .gallery-item:nth-child(8) { animation-delay: 1.3s; }
        .gallery-item:nth-child(9) { animation-delay: 1.4s; }