/* Interactive Timeline/Journey Styles */
.timeline-journey {
    background: linear-gradient(135deg, var(--accent-soft), var(--accent-soft-2));
    padding: 80px 40px;
    border-radius: var(--radius);
}

.journey-timeline {
    position: relative;
    max-width: 900px;
    margin: 60px auto 0;
    padding: 20px 0;
}

/* Timeline line */
.journey-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, 
        transparent,
        var(--accent) 10%,
        var(--accent-2) 50%,
        var(--accent) 90%,
        transparent
    );
    transform: translateX(-50%);
    box-shadow: 0 0 20px var(--accent);
}

.journey-item {
    position: relative;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.journey-item:nth-child(1) { animation-delay: 0.1s; }
.journey-item:nth-child(2) { animation-delay: 0.2s; }
.journey-item:nth-child(3) { animation-delay: 0.3s; }
.journey-item:nth-child(4) { animation-delay: 0.4s; }
.journey-item:nth-child(5) { animation-delay: 0.5s; }
.journey-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Alternate sides */
.journey-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.journey-item:nth-child(odd) .journey-content {
    margin-right: calc(50% + 40px);
    margin-left: 0;
    text-align: right;
}

.journey-item:nth-child(even) .journey-content {
    margin-left: calc(50% + 40px);
    text-align: left;
}

.journey-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    border: 4px solid var(--bg);
    box-shadow: 0 0 0 4px var(--accent), 0 0 20px var(--accent);
    transition: all 0.4s ease;
    z-index: 2;
}

.journey-marker.highlight {
    width: 28px;
    height: 28px;
    background: var(--accent-2);
    box-shadow: 0 0 0 4px var(--bg), 0 0 30px var(--accent-2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 4px var(--bg), 0 0 30px var(--accent-2);
    }
    50% {
        box-shadow: 0 0 0 8px var(--bg), 0 0 50px var(--accent-2);
    }
}

.journey-item:hover .journey-marker {
    transform: translateX(-50%) scale(1.3);
}

.journey-content {
    flex: 1;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 24px 28px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.journey-content:hover {
    background: var(--card-strong);
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px var(--accent-glow);
}

.journey-year {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.journey-content h3 {
    font-size: 1.4rem;
    margin: 0 0 12px;
    color: var(--text);
    font-weight: 600;
}

.journey-content p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    .journey-timeline::before {
        left: 30px;
    }
    
    .journey-item,
    .journey-item:nth-child(odd) {
        flex-direction: row;
    }
    
    .journey-item:nth-child(odd) .journey-content,
    .journey-item:nth-child(even) .journey-content {
        margin-left: 60px;
        margin-right: 0;
        text-align: left;
    }
    
    .journey-marker {
        left: 30px;
    }
}
