/* Variables : Thème Sombre & Vert Tech */
:root {
    --bg-color: #0a192f;      /* Bleu nuit très sombre */
    --light-bg: #112240;      /* Bleu nuit un peu plus clair pour les cartes */
    --text-color: #8892b0;    /* Gris bleuté pour le texte */
    --heading-color: #ccd6f6; /* Blanc cassé pour les titres */
    --accent: #64ffda;        /* Vert néon (Cybersecurity style) */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Courier New', Courier, monospace; /* Police style terminal */
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(10, 25, 47, 0.95);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
}

.logo {
    color: var(--accent);
    font-weight: bold;
    font-size: 1.5rem;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--heading-color);
    font-size: 0.9rem;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Hero Section */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
}

.greeting {
    color: var(--accent);
    margin-bottom: 10px;
}

.hero h1 {
    color: var(--heading-color);
    font-size: 4rem;
    line-height: 1.1;
}

.hero h2 {
    color: var(--text-color);
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero .bio {
    max-width: 500px;
    margin-bottom: 40px;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    border: 1px solid var(--accent);
    margin-right: 15px;
}

.primary-btn {
    background: transparent;
    color: var(--accent);
}

.primary-btn:hover {
    background: rgba(100, 255, 218, 0.1);
}

.secondary-btn {
    background: var(--accent);
    color: var(--bg-color);
}

/* Sections Générales */
section {
    padding: 80px 10%;
}

.section-title {
    color: var(--heading-color);
    font-size: 2rem;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
}

.section-title::after {
    content: "";
    display: block;
    width: 200px;
    height: 1px;
    background: #233554;
    margin-left: 20px;
}

/* Grid Compétences */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.skill-card {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 5px;
    transition: transform 0.3s;
}

.skill-card:hover {
    transform: translateY(-5px);
}

.skill-card i {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 20px;
}

.skill-card h3 {
    color: var(--heading-color);
    margin-bottom: 15px;
}

.skill-card ul {
    list-style: none;
}

.skill-card ul li::before {
    content: "▹";
    color: var(--accent);
    margin-right: 10px;
}

/* Timeline Expériences */
.timeline-item {
    border-left: 2px solid var(--accent);
    margin-bottom: 30px;
    padding-left: 20px;
    position: relative;
}

.timeline-item::before {
    content: "";
    width: 12px;
    height: 12px;
    background: var(--bg-color);
    border: 2px solid var(--accent);
    border-radius: 50%;
    position: absolute;
    left: -7px;
    top: 0;
}

.date {
    font-size: 0.85rem;
    font-family: monospace;
    color: var(--accent);
}

.timeline-content h3 {
    color: var(--heading-color);
}

/* Contact Links */
.contact-links {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-links .btn {
    display: flex;
    align-items: center;
    gap: 10px;
}

footer {
    text-align: center;
    padding: 20px;
    color: var(--text-color);
    font-size: 0.9rem;
}

/* Mobile */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.5rem; }
    .hero h2 { font-size: 1.8rem; }
    .burger { display: block; color: var(--accent); font-size: 1.8rem; cursor: pointer; }
    .hero { padding: 0 5%; flex-direction: column; justify-content: center; text-align: center; }
    .hero-btns { display: flex; flex-direction: column; gap: 10px; }
    .section-title::after { width: 50px; }
}

.cert-list {
    list-style: none;
    margin-top: 10px;
    font-size: 0.9rem;
}

.cert-list li {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.small-text {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 5px;
}