/* Timeline Section Styles */
.timeline {
    position: relative;
    padding: 0;
    margin: 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #007bff, #6c757d);
    z-index: 1;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: flex-start;
}

.timeline-marker {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 2rem;
    min-width: 60px;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background: #007bff;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 3px #007bff;
    margin-bottom: 0.5rem;
}

.timeline-year {
    background: #007bff;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: bold;
    white-space: nowrap;
}

.timeline-content {
    flex: 1;
    min-width: 0;
}

.timeline-card {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.timeline-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.timeline-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.timeline-body {
    padding: 1.5rem;
}

.timeline-title {
    color: #212529;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.timeline-date {
    font-size: 0.875rem;
}

.timeline-description {
    color: #6c757d;
    line-height: 1.6;
}

.timeline-empty {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .timeline::before {
        left: 15px;
    }
    
    .timeline-marker {
        min-width: 30px;
        margin-right: 1rem;
    }
    
    .timeline-year {
        font-size: 0.75rem;
        padding: 0.125rem 0.25rem;
    }
    
    .timeline-body {
        padding: 1rem;
    }
    
    .timeline-title {
        font-size: 1.1rem;
    }
}
