/* ============================================
   TIMELINE NAVIGATION
   ============================================ */

.timeline-nav {
    position: fixed;
    right: var(--space-lg);
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.timeline-track {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
    position: relative;
}

.timeline-track::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: var(--border-color);
    z-index: 0;
    transition: background var(--transition-base);
}

.timeline-dot {
    position: relative;
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: all var(--transition-base);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.timeline-dot::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: var(--radius-full);
    background: var(--text-muted);
    transition: all var(--transition-base);
}

.timeline-dot:hover {
    transform: scale(1.3);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.timeline-dot:hover::after {
    background: var(--primary);
    transform: scale(1.2);
}

.timeline-dot.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    transform: scale(1.2);
}

.timeline-dot.active::after {
    background: var(--primary);
    width: 8px;
    height: 8px;
}

.timeline-label {
    position: absolute;
    right: calc(100% + var(--space-md));
    white-space: nowrap;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-base);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

/* Labels show on demand only; a permanently visible label would cover the content */
.timeline-dot:hover .timeline-label,
.timeline-dot:focus-visible .timeline-label {
    opacity: 1;
    transform: translateX(-4px);
}

.timeline-dot.active .timeline-label {
    color: var(--primary);
}

/* Hide on mobile */
@media (max-width: 1024px) {
    .timeline-nav {
        display: none;
    }
}
