/* style.css */
:root {
    --bg-body: #0f172a;
    --bg-card: #1e293b;
    --primary: #38bdf8;
    --primary-hover: #0ea5e9;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --border: #334155;
}

body { font-family: 'Segoe UI', sans-serif; line-height: 1.6; color: var(--text-main); margin: 0; background-color: var(--bg-body); }
.container { max-width: 900px; margin: 0 auto; padding: 20px; }
a { text-decoration: none; color: inherit; }

/* NAVBAR (NOUVEAU) */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--border); margin-bottom: 40px; }
.logo { font-size: 1.5rem; font-weight: bold; color: var(--primary); }
.nav-links a { margin-left: 20px; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

/* HEADER & SECTIONS */
header { text-align: center; padding: 40px 20px; }
h1 { margin-bottom: 10px; font-size: 2.5rem; }
.role { font-size: 1.2rem; color: var(--primary); font-weight: bold; text-transform: uppercase; }
.section { margin: 40px 0; background: var(--bg-card); padding: 30px; border-radius: 15px; border: 1px solid var(--border); }
h2 { border-bottom: 2px solid var(--primary); padding-bottom: 10px; color: var(--text-main); margin-top: 0; }
h3 { margin-bottom: 5px; color: var(--text-main); }

/* BADGES & PROJETS */
.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.skill-tag { background: rgba(56, 189, 248, 0.1); color: var(--primary); padding: 10px; border-radius: 8px; text-align: center; border: 1px solid rgba(56, 189, 248, 0.2); }
.project-card { background: #152033; border: 1px solid var(--border); border-radius: 10px; padding: 20px; margin-bottom: 20px; transition: transform 0.3s; }
.project-card:hover { transform: translateY(-5px); border-color: var(--primary); }
.project-tech { font-size: 0.85rem; color: var(--primary); margin-top: 15px; font-family: monospace; }

/* BOUTONS & TIMELINE */
.btn { display: inline-block; background: var(--primary); color: var(--bg-body); padding: 10px 25px; border-radius: 50px; font-weight: bold; margin-top: 15px; }
.btn:hover { background: var(--primary-hover); }
.timeline-item { border-left: 2px solid var(--border); padding-left: 25px; margin-bottom: 30px; position: relative; }
.timeline-item::before { content: ''; position: absolute; left: -6px; top: 5px; width: 10px; height: 10px; background: var(--primary); border-radius: 50%; }
.timeline-date { font-size: 0.9rem; color: var(--primary); margin-bottom: 5px; font-weight: 600; }

footer { text-align: center; font-size: 0.8rem; color: var(--border); margin-top: 50px; padding-bottom: 20px; }