/* Roadmap Styles */

.roadmap-container {
    max-width: 900px;
    margin: 0 auto;
    color: white;
}

.timeline-view {
    padding-top: 20px;
}

.view-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.timeline-container {
    position: relative;
    padding-left: 30px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin-left: 20px;
    transition: transform 0.3s;
}

.timeline-item:hover {
    transform: translateX(5px);
    border-color: var(--primary);
}

.timeline-marker {
    position: absolute;
    left: -61px;
    /* 30px padding + 20px margin + half marker width */
    top: 20px;
    width: 20px;
    height: 20px;
    background: var(--bg-dark);
    border: 4px solid var(--primary);
    border-radius: 50%;
    z-index: 2;
}

.time-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-bottom: 10px;
    color: var(--primary);
    font-weight: bold;
}

.timeline-content h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.item-tag {
    display: inline-block;
    margin-top: 15px;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    background: #333;
    color: #ccc;
    font-weight: bold;
}

.item-tag.foundations {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.item-tag.framework {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.item-tag.advanced {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
}

.item-tag.project {
    background: rgba(234, 179, 8, 0.2);
    color: #eab308;
}

.slide-in {
    opacity: 0;
    transform: translateY(20px);
    animation: slideIn 0.5s forwards;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}