/* VERSION "AIR & CLARITY" */

/* Variables & Reset */
:root {
    --primary-color: #0A1628; /* Bleu Marine Profond */
    --accent-color: #D4AF37;  /* Or Satiné */
    --text-color: #2c3e50;    /* Gris foncé plus doux */
    --light-bg: #F8F9FA;
    --white: #FFFFFF;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.8; /* Augmenté pour lisibilité */
    font-size: 16px;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

p {
    margin-bottom: 1.5rem;
    font-weight: 300; /* Plus fin, plus élégant */
}

.section-title {
    font-size: 3rem; /* Plus grand */
    text-align: center;
    margin-bottom: 4rem; /* Plus d'espace */
    position: relative;
    padding-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: var(--accent-color);
}

.section-subtitle {
    display: block;
    text-align: center;
    font-size: 0.9rem;
    letter-spacing: 3px; /* Plus espacé */
    color: var(--accent-color);
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Layout */
.container {
    max-width: 1300px; /* Plus large */
    margin: 0 auto;
    padding: 0 40px; /* Plus de marges latérales */
}

.section {
    padding: 8rem 0; /* Beaucoup plus d'espace vertical */
}

.section-bg {
    background-color: var(--light-bg);
    padding: 8rem 0;
}

/* Top Banner */
.top-banner {
    width: 100%;
    height: 300px; /* Réduit un peu pour pas écraser */
    background-image: url('../assets/img/banner-city.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

.top-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10,22,40,0.1), rgba(10,22,40,0.8));
}

/* Navigation */
.navbar {
    position: sticky; /* Sticky au lieu de fixed pour suivre le flux */
    top: 0;
    background-color: var(--white); /* Fond blanc plus clean */
    padding: 1.5rem 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 2px 15px rgba(0,0,0,0.03);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-name {
    color: var(--primary-color); /* Logo bleu marine */
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 3rem; /* Espacement liens */
    align-items: center;
}

.nav-link {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-color);
}

.btn-contact {
    border: 1px solid var(--primary-color);
    padding: 0.8rem 2rem;
    color: var(--primary-color) !important;
    border-radius: 0; /* Carré chic */
}

.btn-contact:hover {
    background-color: var(--primary-color);
    color: var(--white) !important;
}

/* Hero Section - Airy Version */
.hero {
    padding: 6rem 0;
    background-color: var(--white);
    color: var(--text-color);
}

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem; /* Grand espace entre texte et image */
    align-items: center;
}

.hero-text {
    text-align: left;
}

.international-badge {
    display: inline-block;
    background: rgba(10, 22, 40, 0.05);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 4.5rem; /* Titre très grand */
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1;
}

.hero-role {
    font-size: 2rem;
    font-weight: 400;
    color: var(--accent-color);
    margin-bottom: 2.5rem;
    font-family: var(--font-heading);
}

.hero-desc {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 3rem;
    max-width: 90%;
}

.hero-btns {
    display: flex;
    gap: 2rem;
}

.btn {
    padding: 1.2rem 3rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 0; /* Design carré "Sharp" */
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Image Hero - Réduite et centrée */
.hero-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-profile-img {
    width: 80%; /* Réduite à 80% de la colonne */
    max-width: 400px;
    height: auto; /* Ratio naturel */
    aspect-ratio: 3/4; /* Format portrait standard */
    object-fit: cover;
    object-position: top center;
    border-radius: 5px; /* Coins à peine arrondis */
    box-shadow: 20px 20px 0 var(--accent-color); /* Ombre graphique décalée */
}

/* About Section - Airy */
.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr; /* Image plus petite que le texte */
    gap: 5rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    padding: 20px;
}

.about-img {
    width: 100%;
    max-width: 350px; /* Taille maîtrisée */
    height: auto;
    border-radius: 5px;
    box-shadow: -20px 20px 0 var(--primary-color);
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 3rem;
}

.skills-tags span {
    background-color: var(--white);
    padding: 12px 24px;
    border: 1px solid #eee;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Education Cards - Plus aérées */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.edu-card {
    background: var(--white);
    padding: 3rem; /* Gros padding interne */
    border-top: 2px solid var(--accent-color);
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

/* Footer & Contact */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 6rem 0 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 colonnes */
    gap: 2rem;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-item {
    background: rgba(255,255,255,0.05);
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
}

.contact-item span {
    display: block;
    margin-top: 10px;
    font-size: 1.1rem;
}

/* Mobile Responsive Ultimate Fix */
@media (max-width: 992px) {
    .container {
        padding: 0 20px; /* Marges réduites sur mobile */
    }

    .section {
        padding: 4rem 0; /* Moins d'espace vertical */
    }

    .section-title { 
        font-size: 2rem; /* Titre plus petit */
        margin-bottom: 2.5rem;
    }
    
    .hero-content-wrapper, .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-text, .about-text {
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem; /* H1 lisible sur mobile */
    }

    .hero-role {
        font-size: 1.2rem;
    }

    .hero-btns {
        flex-direction: column; /* Boutons l'un sous l'autre */
        width: 100%;
    }

    .btn {
        width: 100%; /* Boutons pleine largeur */
        justify-content: center;
    }

    .hero-image-container, .about-image-wrapper {
        justify-content: center;
        margin-bottom: 2rem;
    }

    .hero-profile-img, .about-img {
        width: 100%;
        max-width: 300px; /* Taille image mobile */
        height: auto;
    }

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

    .top-banner {
        height: 200px; /* Bannière moins haute sur mobile */
    }

    /* Menu Burger Fix */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        box-shadow: none;
        gap: 2rem;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }
    
    .bar {
        background-color: var(--primary-color); /* Burger visible sur fond blanc */
    }
}
/* AJOUTS POUR SECTIONS ÉTENDUES */

/* Timeline Context */
.mission-context {
    font-style: italic;
    color: #666;
    margin-bottom: 1rem;
    border-left: 2px solid #ddd;
    padding-left: 10px;
}

/* Skills Columns */
.skill-column h4 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    display: inline-block;
}

.check-list {
    list-style: none;
}

.check-list li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 25px;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Hobbies Grid */
.hobbies-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.hobby-item {
    background: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--primary-color);
    border: 1px solid #eee;
    transition: var(--transition);
}

.hobby-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.hobby-item i {
    color: var(--accent-color);
}

.text-center {
    text-align: center;
}

/* Ajustement espacement timeline pour éviter l'écrasement */
.timeline-item {
    margin-bottom: 5rem; /* Plus d'espace entre les items */
}

.timeline-content ul li {
    margin-bottom: 0.8rem; /* Plus d'espace entre les puces */
}
