/* assets/css/timeline.css */

.timeline-section {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Timeline Line */
.timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 3rem;
}

/* Timeline Dot */
.timeline-item::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-color);
    border: 4px solid var(--primary-color);
    z-index: 1;
}

.timeline-year {
    font-family: inherit;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.timeline-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: #555;
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

/* Highlight "Current" or important items */
.timeline-item.highlight::before {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

@media (min-width: 768px) {
    /* You can make a two-sided timeline here if desired, 
     but single column is safer for mobile-first */
}

.timeline-image {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.timeline-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: block;
}