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

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

/* Timeline Line */
.royal-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: linear-gradient(to bottom, var(--baby-blue), var(--baby-pink));
    border-radius: 4px;
    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;
}

/* Bullet Points (Bear Paws or Hearts) */
.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: white;
    border-radius: 50%;
    border: 3px solid;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Alternate Colors */
.timeline-item:nth-child(odd)::after {
    right: -20px;
    border-color: var(--baby-blue);
    color: var(--baby-blue);
}

.timeline-item:nth-child(even)::after {
    left: -20px;
    border-color: var(--baby-pink);
    color: var(--baby-pink);
}

.timeline-item .time {
    font-weight: bold;
    margin-bottom: 5px;
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-size: 1.3rem;
    background: white;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Specific Response for mobile */
@media (max-width: 768px) {
    .royal-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,
    .timeline-item:nth-child(even)::after {
        left: 0;
        right: auto;
    }
}