/* project-stages.css */
.project-stages-section {
    padding: 100px 0;
    background-color: var(--color-bg-light);
    overflow: hidden;
}

.project-stages-title {
    text-align: center;
    margin-bottom: 60px;
    color: var(--color-secondary);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(0,0,0,0.1);
    z-index: 0;
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    display: flex;
    align-items: flex-start;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white);
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    font-family: var(--font-sans);
    font-weight: var(--font-weight-semibold);
    font-size: 24px;
    color: var(--color-accent);
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.timeline-item--final .timeline-marker {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.timeline-content {
    margin-left: 40px;
    padding-top: 15px;
    width: 100%;
}

.timeline-heading {
    font-family: var(--font-sans);
    font-size: 20px;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 10px;
}

.timeline-text {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: var(--font-weight-thin);
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.timeline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* --- 3D IFRAME --- */
.timeline-embed {
    margin-top: 20px;
    width: 100%;
    max-width: 600px;
}

.embed-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background-color: #000;
    border: 1px solid rgba(0,0,0,0.1);
}

.embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.embed-caption {
    margin-top: 8px;
    font-size: 13px;
    color: #888;
    text-align: center;
    font-family: var(--font-sans);
}

.embed-caption i {
    color: var(--color-accent);
    margin-right: 5px;
}

@media (max-width: 480px) {
    .timeline-line {
        left: 25px;
    }
    .timeline-marker {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }
    .timeline-content {
        margin-left: 20px;
        padding-top: 5px;
    }
}
