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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #000000;
    background: -webkit-linear-gradient(to right, #0f9b0f, #000000);
    background: linear-gradient(to right, #0f9b0f, #000000);
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
}

.logo-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(to right, #10b981, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.logo-text {
    font-weight: 600;
    font-size: 18px;
}

.desktop-nav {
    display: flex;
    gap: 32px;
}

.desktop-nav a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.desktop-nav a:hover {
    color: #10b981;
}

.header-buttons {
    display: flex;
    gap: 16px;
}

.btn-ghost,
.btn-primary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-linkedin {
    /* Reprendre les styles de base d'un bouton... */
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    
    /* ... et lui donner la couleur de marque LinkedIn (bleu) */
    background-color: #0A66C2; 
    color: white;
    border: 1px solid #0A66C2;
}

.btn-linkedin:hover {
    background-color: #084B8A; /* Couleur plus foncée au survol */
    border-color: #084B8A;
}

.btn-ghost {
    color: #d1d5db;
    background: transparent;
    border: 1px solid transparent;
}

.btn-ghost:hover {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.btn-primary {
    color: #fff;
    background: #10b981;
}

.btn-primary:hover {
    background: #059669;
    transform: translateY(-1px);
}

.btn-outline {
    color: #10b981;
    background: transparent;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.btn-outline:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
    display: none;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-menu a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.profile-halo {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.3), transparent);
    border-radius: 50%;
    filter: blur(60px);
}

.profile-circle {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: linear-gradient(to bottom right, #1f2937, #111827);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    font-weight: 700;
    color: #10b981;
    border: 4px solid rgba(16, 185, 129, 0.5);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.profile-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.hero-content {
    color: #fff;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 24px;
    color: #10b981;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 20px;
    color: #d1d5db;
    margin-bottom: 32px;
    line-height: 1.8;
}

.highlight {
    color: #10b981;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

/* Sections */
section {
    padding: 96px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
}

.underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #10b981, #059669);
    margin: 0 auto;
}

.section-description {
    color: #9ca3af;
    max-width: 800px;
    margin: 16px auto 0;
}

/* Card */
.card {
    background: linear-gradient(to bottom right, rgba(31, 41, 55, 0.9), rgba(17, 24, 39, 0.9));
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 16px;
    padding: 48px;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: rgba(16, 185, 129, 0.6);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.1);
}

/* About Section */
.about .card p {
    font-size: 18px;
    color: #d1d5db;
    line-height: 1.8;
    margin-bottom: 24px;
}

.about .card p:last-child {
    margin-bottom: 0;
}

.quote-box {
    background: linear-gradient(to right, rgba(16, 185, 129, 0.1), transparent);
    border-left: 4px solid #10b981;
    padding: 24px;
    border-radius: 0 8px 8px 0;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.quote-box svg {
    flex-shrink: 0;
    color: #10b981;
    margin-top: 4px;
}

.quote-box p {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    font-style: italic;
    margin: 0;
}

/* Skills Section */
.skills {
    background: rgba(0, 0, 0, 0.3);
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.skill-badge {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    border: 1px solid rgba(16, 185, 129, 0.4);
    background: rgba(17, 24, 39, 0.5);
    color: #10b981;
    border-radius: 24px;
    transition: all 0.3s ease;
    cursor: default;
}

.skill-badge:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
    transform: scale(1.05);
}

/* Experience Section */
.experience-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.experience-card {
    padding: 24px;
}

.experience-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper svg {
    color: #10b981;
}

.year {
    color: #9ca3af;
    font-size: 14px;
}

.experience-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.company {
    color: #10b981;
    font-weight: 500;
    margin-bottom: 12px;
}

.description {
    color: #d1d5db;
    line-height: 1.6;
}

/* Education */
.education-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.education-card {
    padding: 24px;
}

.education-card .year {
    display: block;
    margin-bottom: 12px;
}

.education-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

/* Projects Section */
.projects {
    background: rgba(0, 0, 0, 0.3);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.project-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.project-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    transition: color 0.2s ease;
}

.project-card:hover h3 {
    color: #10b981;
}

.project-card > p {
    color: #d1d5db;
    line-height: 1.6;
    flex-grow: 1;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags span {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    border-radius: 16px;
}

.tags span a {
    color: #10b981;
    text-decoration: none;
}

/* Languages & Interests */
.languages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.section-title svg {
    color: #10b981;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
}

.language-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.language-card {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flag {
    font-size: 32px;
}

.lang-name {
    font-size: 18px;
    font-weight: 600;
    flex-grow: 1;
    margin-left: 12px;
}

.level {
    padding: 6px 12px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.interest-card {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    transition: transform 0.2s ease;
    cursor: default;
}

.interest-card:hover {
    transform: scale(1.05);
}

.interest-card svg {
    width: 48px;
    height: 48px;
    padding: 12px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.interest-card span {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(16, 185, 129, 0.2);
    padding: 48px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 32px;
}

.footer-about p {
    color: #9ca3af;
    font-size: 14px;
    margin-top: 16px;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.footer-links a,
.contact-link,
.location {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover,
.contact-link:hover {
    color: #10b981;
}

.location {
    color: #9ca3af;
}

.github-btn {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(16, 185, 129, 0.2);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 14px;
}

.built-with {
    display: flex;
    align-items: center;
    gap: 8px;
}

.heart {
    color: #ef4444;
}

/* Responsive Design */
@media (max-width: 768px) {
    .desktop-nav,
    .header-buttons {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        order: 2;
    }

    .hero-content {
        order: 1;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .profile-circle {
        width: 240px;
        height: 240px;
        font-size: 60px;
    }

    .card {
        padding: 24px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .education-grid,
    .projects-grid,
    .languages-grid {
        grid-template-columns: 1fr;
    }

    .interests-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}