/* Reset et base */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

/* En-tête */
header {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #0077b6;
    margin-bottom: 15px;
}

h1 {
    margin: 10px 0;
    color: #0077b6;
}

.title {
    color: #666;
    margin-bottom: 15px;
}

.social-links {
    margin: 15px 0;
}

.social-links a {
    color: #0077b6;
    font-size: 24px;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #004466;
}

/* Sections */
.section {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.section:last-child {
    border-bottom: none;
}

h2 {
    color: #0077b6;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

h2 i {
    font-size: 20px;
}

/* Compétences */
.skills {
    margin-top: 15px;
}

.skill {
    margin-bottom: 10px;
}

.bar {
    height: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 5px;
}

.fill {
    height: 100%;
    background: #0077b6;
    border-radius: 5px;
}

/* Projets */
.projects {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 15px;
}

.project {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #0077b6;
}

.project h3 {
    margin-top: 0;
    color: #0077b6;
}

.btn {
    display: inline-block;
    background: #0077b6;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 10px;
    transition: background 0.3s;
}

.btn:hover {
    background: #004466;
}

/* Contact */
.contact-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.contact-list li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-list a {
    color: #0077b6;
    text-decoration: none;
}

.contact-list a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
    color: #666;
    font-size: 14px;
    border-top: 1px solid #eee;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 600px) {
    .container {
        padding: 15px;
    }

    .profile-pic {
        width: 100px;
        height: 100px;
    }
}
