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

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

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

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

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

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

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

.timeline-item::after {
    /* Dot on the timeline */
    content: '';
    position: absolute;
    top: 30px;
    right: -10px;
    /* Adjusted later */
    width: 20px;
    height: 20px;
    background: #000;
    border: 2px solid var(--gold);
    border-radius: 50%;
    z-index: 10;
}

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

/* Responsiveness for timeline */
@media (max-width: 768px) {
    .timeline-gala::before {
        left: 20px;
    }

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

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

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

    .timeline-item::after {
        left: 10px;
    }

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