* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
    background-color: #18191a;
    color: #fff;
    padding-top: 70px;
}

header {
    background: #232526;
    color: #bbfcfb;
    padding: 12px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

header ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
}

header a {
    color: #bbfcfb;
    text-decoration: none;
    font-weight: bold;
    font-size: 17px;
    transition: color 0.2s;
}
header a:hover { color: #fff; }

/* ==== TIMELINE ==== */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px 0;
}

/* Ligne centrale */
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #bbfcfb;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

/* Élément de la timeline */
.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
}

/* Bulles de point */
.timeline-item::before {
    content: '';
    position: absolute;
    top: 25px;
    width: 18px;
    height: 18px;
    background-color: #bbfcfb;
    border-radius: 50%;
    z-index: 1;
}

/* Alignement gauche */
.timeline-item.left {
    left: 0;
}
.timeline-item.left::before {
    right: -9px;
}

/* Alignement droite */
.timeline-item.right {
    left: 50%;
}
.timeline-item.right::before {
    left: -9px;
}

/* Contenu */
.timeline-item .content {
    background-color: #2c2f33;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}
.timeline-item .content:hover {
    transform: translateY(-5px);
}

/* Texte */
.timeline-item h2 {
    margin-bottom: 10px;
    font-size: 22px;
    color: #bbfcfb;
}
.timeline-item p {
    font-size: 16px;
    margin-bottom: 15px;
}
.timeline-item .date {
    display: inline-block;
    font-size: 14px;
    color: #bbb;
    margin-bottom: 8px;
}

/* Image */
.timeline-item img {
    width: 100%;
    border-radius: 8px;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .timeline::after {
        left: 20px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 20px;
    }
    .timeline-item.right {
        left: 0;
    }
    .timeline-item::before {
        left: 12px;
    }
}
