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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    
    font-family: 'Inter', serif;
    line-height: 1.7;
    color: #e5e7eb;
    background: #000000;
    min-height: 100vh;
}

.back-to-portfolio {
    position: fixed;
    top: 30px;
    left: 30px;
    background: rgba(236, 72, 153, 0.15);
    border: 1px solid #ec4899;
    color: #ec4899;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-portfolio:hover {
    background: rgba(236, 72, 153, 0.25);
    transform: translateX(-5px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

header {
    background: #0a0a0a;
    padding: 80px 40px;
    text-align: center;
    border-bottom: 1px solid #1a1a1a;
}

header h1 {
    font-size: 3em;
    margin-bottom: 20px;
    color: #ec4899;
    font-weight: 700;
}

header p {
    font-size: 1.3em;
    color: #9ca3af;
}

.content {
    padding: 80px 40px;
}

section {
    margin-bottom: 80px;
}

h2 {
    font-size: 2.2em;
    margin-bottom: 30px;
    color: #ffffff;
    font-weight: 700;
    padding-left: 20px;
    border-left: 4px solid #ec4899;
}

h3 {
    color: #ec4899;
    font-size: 1.4em;
    margin: 25px 0 15px 0;
    font-weight: 600;
}

p {
    color: #9ca3af;
    margin-bottom: 20px;
    font-size: 1.05em;
    line-height: 1.8;
}

.hero-summary {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    padding: 40px;
    margin: 40px 0;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 25px 0;
}

.tech-badge {
    background: rgba(236, 72, 153, 0.1);
    border: 1px solid #ec4899;
    color: #ec4899;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.9em;
    font-weight: 500;
}

.images-grid {
    display: grid;
    flex-direction: column;
    gap: 40px;
    margin: 40px 0;
}

.image-container {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.image-container:hover {
    border-color: #ec4899;
    transform: translateY(-5px);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.image-container .caption {
    padding: 20px;
    color: #9ca3af;
    font-size: 0.95em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.feature-card {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: #ec4899;
    transform: translateY(-3px);
}

.feature-card h4 {
    color: #ec4899;
    margin-bottom: 12px;
    font-size: 1.2em;
}

.feature-card p {
    color: #9ca3af;
    font-size: 0.95em;
}

.links-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.link-card {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    padding: 35px;
    border-radius: 12px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.link-card:hover {
    border-color: #ec4899;
    transform: translateY(-5px);
}

.link-card h3 {
    color: #ffffff;
    margin: 0 0 10px 0;
}

.link-card p {
    margin: 0;
    color: #9ca3af;
}

.stat-card {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: #ec4899;
}

.stat-number {
    font-size: 2.5em;
    font-weight: 700;
    color: #ec4899;
    margin-bottom: 10px;
}

.stat-label {
    color: #9ca3af;
    font-size: 0.95em;
}

footer {
    background: #0a0a0a;
    border-top: 1px solid #1a1a1a;
    text-align: center;
    padding: 30px;
    color: #6b7280;
}


/* media queries pour la réactivité */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }
    
    .content {
        padding: 40px 20px;
    }
    
    .images-grid {
        grid-template-columns: 1fr;
    }
    
    .back-to-portfolio {
        top: 15px;
        left: 15px;
        font-size: 0.85em;
        padding: 10px 18px;
    }
}