@import url('../../rose-premium/css/styles.css');

/* Timeline Styles */
.rose-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.rose-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: var(--rose-light);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    padding: 0 40px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 15px;
    width: 20px;
    height: 20px;
    background: #fff;
    border: 3px solid var(--rose-gold);
    border-radius: 50%;
    z-index: 10;
}

.timeline-item:nth-child(odd)::after {
    right: -10px;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

.timeline-item .time {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 5px;
    font-family: var(--font-header);
    color: var(--rose-gold);
}

@media (max-width: 768px) {
    .rose-timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
        text-align: left;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item:nth-child(odd)::after {
        left: 10px;
        right: auto;
    }

    .timeline-item:nth-child(even)::after {
        left: 10px;
    }
}