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

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

/* Central curving line idea - simplified to straight for now with dashed style */
.safari-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-image: linear-gradient(to bottom, var(--jungle-green) 50%, transparent 50%);
    background-size: 10px 20px;
    transform: translateX(-50%);
    opacity: 0.3;
}

.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;
}

/* Paw print bullet */
.timeline-item::after {
    content: '\f1b0';
    /* FontAwesome Paw */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 15px;
    width: 40px;
    height: 40px;
    background: var(--bg-cream);
    border-radius: 50%;
    color: var(--sunset-orange);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid var(--jungle-green);
    z-index: 10;
    font-size: 1rem;
}

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

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

.timeline-item .time {
    font-weight: bold;
    margin-bottom: 5px;
    font-family: var(--font-fun);
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .safari-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: 0;
        right: auto;
    }

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