/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #F8F9FB;
    color: #1B1F23;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 400px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.small-text {
    font-size: 0.8rem;
    color: #2E3A59;
    opacity: 0.8;
}
/* Desktop - agrandir un peu */
@media (min-width: 768px) {
    .container {
        max-width: 500px;
        padding: 60px 40px;
    }
    
    .profile-image img {
        width: 140px;
        height: 140px;
    }
    
    .name {
        font-size: 2.4rem;
    }
    
    .bio {
        font-size: 1.1rem;
        max-width: 400px;
    }
    
    .social-link {
        padding: 18px 24px;
        font-size: 1rem;
    }
    
    .project-card {
        padding: 24px;
    }
    
    .project-title {
        font-size: 1.2rem;
    }
    
    .project-description {
        font-size: 1rem;
    }
}

/* Profil principal */
.profile {
    text-align: center;
    margin-bottom: 40px;
}

.profile-image {
    margin-bottom: 20px;
}

.profile-image img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 3px solid #E1E4EA;
    object-fit: cover;
    transition: all 0.3s ease;
}

.profile-image img:hover {
    border-color: #00C4CC;
    transform: scale(1.05);
}

.name {
    font-size: 2rem;
    font-weight: 700;
    color: #1B1F23;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.bio {
    font-size: 1rem;
    color: #2E3A59;
    opacity: 0.8;
    max-width: 310px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Section réseaux sociaux */
.social-section {
    margin-bottom: 40px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 20px;
    margin-bottom: 12px;
    background: white;
    color: #1B1F23;
    text-decoration: none;
    border-radius: 12px;
    border: 1px solid #E1E4EA;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 196, 204, 0.1), transparent);
    transition: left 0.5s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    background: #00C4CC;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 196, 204, 0.3);
    border-color: #00C4CC;
}

.social-link i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

/* Section projets */
.projects-section {
    margin-bottom: 40px;
}

.project-card {
    background: white;
    padding: 20px;
    margin-bottom: 16px;
    border-radius: 12px;
    border: 1px solid #E1E4EA;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00C4CC, #2E3A59);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: #00C4CC;
}

.project-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1B1F23;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.project-description {
    font-size: 0.9rem;
    color: #2E3A59;
    opacity: 0.8;
    margin-bottom: 12px;
    line-height: 1.5;
}

.project-link {
    color: #00C4CC;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.project-link:hover {
    color: #2E3A59;
    transform: translateX(3px);
}

.project-link i {
    font-size: 0.8rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile {
    animation: fadeInUp 0.8s ease-out;
}

.social-link {
    animation: fadeInUp 0.6s ease-out;
}

.social-link:nth-child(2) {
    animation-delay: 0.1s;
}

.social-link:nth-child(3) {
    animation-delay: 0.2s;
}

.social-link:nth-child(4) {
    animation-delay: 0.3s;
}

.project-card {
    animation: fadeInUp 0.6s ease-out;
}

.project-card:nth-child(2) {
    animation-delay: 0.1s;
}

.project-card:nth-child(3) {
    animation-delay: 0.2s;
}

/* Responsive */
@media (max-width: 480px) {
    .container {
        padding: 30px 15px;
    }
    
    .profile-image img {
        width: 100px;
        height: 100px;
    }
    
    .name {
        font-size: 1.8rem;
    }
    
    .bio {
        font-size: 0.95rem;
    }
    
    .social-link {
        padding: 14px 18px;
        font-size: 0.9rem;
    }
    
    .project-card {
        padding: 18px;
    }
}

/* Scroll smooth */
html {
    scroll-behavior: smooth;
}