/* ---------- SCHEDULE SECTION (Vertical Timeline) ---------- */
* {
    box-sizing: border-box;
}

:root {
    --gold-primary: #f5d88c;
    --gold-glow: rgba(245, 216, 140, 0.4);
}

.schedule-container {
    width: 100%;
    margin-top: 50px;
    position: relative;
    padding: 20px 0;
}

.schedule-header {
    text-align: center;
    font-family: "Palatino Linotype", "Book Antiqua", "Georgia", serif;
    color: var(--gold-primary);
    font-size: 1.6rem;
    margin-bottom: 50px;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 700;
}

.session-block {
    margin-bottom: 60px;
    position: relative;
}

.session-title {
    text-align: center;
    color: var(--gold-primary);
    font-family: "Palatino Linotype", "Book Antiqua", "Georgia", serif;
    font-size: 1rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    position: relative;
    display: table;
    margin-left: auto;
    margin-right: auto;
    padding: 0 25px;
    background: #070A12;
    z-index: 2;
}

/* Timeline Vertical Line */
.schedule-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.schedule-list::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--gold-primary), transparent);
    transform: translateX(-50%);
    opacity: 0.5;
}

.schedule-item {
    position: relative;
    margin-bottom: 40px;
    width: 50%;
    clear: both;
}

/* Alternate Left/Right layout */
.schedule-item:nth-child(odd) {
    float: left;
    text-align: right;
    padding-right: 50px;
}

.schedule-item:nth-child(even) {
    float: right;
    text-align: left;
    padding-left: 50px;
}

/* Timeline Dot */
.schedule-item::after {
    content: '';
    position: absolute;
    top: 20px;
    width: 16px;
    height: 16px;
    background: #070A12;
    border: 2px solid var(--gold-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--gold-glow);
    z-index: 2;
    transition: all 0.3s ease;
}

.schedule-item:nth-child(odd)::after {
    right: -8px;
}

.schedule-item:nth-child(even)::after {
    left: -8px;
}

.schedule-item:hover::after {
    background: var(--gold-primary);
    box-shadow: 0 0 20px var(--gold-primary);
    transform: scale(1.2);
}

/* Event Card */
.schedule-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    display: block;
}

.schedule-item:nth-child(odd) .schedule-content {
    text-align: right;
}

.schedule-item:nth-child(even) .schedule-content {
    text-align: left;
}

.schedule-item:hover .schedule-content {
    background: rgba(245, 216, 140, 0.08);
    /* Gold hint on hover */
    transform: translateY(-5px);
    border-color: rgba(245, 216, 140, 0.3);
}

.time-slot {
    display: block;
    font-family: "Palatino Linotype", "Georgia", serif;
    color: #ffffff;
    font-size: 0.75rem;
    margin-bottom: 4px;
    font-weight: 800;
    letter-spacing: 0.5px;
    font-variant-numeric: lining-nums;
}

.event-name {
    display: block;
    font-family: "Garamond", "Palatino Linotype", "Book Antiqua", "Georgia", serif;
    font-size: 0.95rem;
    color: #ffffff;
    margin-bottom: 4px;
    line-height: 1.3;
    letter-spacing: 0.3px;
    font-weight: 600;
}

.venue {
    display: block;
    font-size: 0.7rem;
    color: var(--gold-primary);
    font-family: "Garamond", "Palatino Linotype", "Book Antiqua", "Georgia", serif;
    font-style: italic;
    letter-spacing: 0.5px;
    opacity: 0.85;
}

.venue::before {
    content: '📍 ';
    font-style: normal;
}

/* Lunch & Valedictory - Centered Timeline Nodes */
.lunch-break {
    clear: both;
    position: relative;
    text-align: center;
    margin: 80px auto;
    width: fit-content;
    z-index: 5;
    padding: 12px 35px;
    background: #070A12;
    border: 1px solid var(--gold-primary);
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(245, 216, 140, 0.15);
}

.lunch-break::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -40px;
    width: 2px;
    height: 40px;
    background: var(--gold-primary);
    transform: translateX(-50%);
    opacity: 0.3;
}

.lunch-break h4 {
    color: var(--gold-primary);
    margin: 0;
    font-family: "Palatino Linotype", "Book Antiqua", "Georgia", serif;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
}

.lunch-break p {
    margin: 3px 0 0 0;
    color: #ffffff;
    font-size: 0.75rem;
    font-family: "Palatino Linotype", "Georgia", serif;
    font-weight: 700;
    letter-spacing: 1px;
    font-variant-numeric: lining-nums;
}

/* Clearfix for floats */
.schedule-list::after {
    content: "";
    display: table;
    clear: both;
}

/* Parallel Events Support */
.parallel-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* Increased gap to prevent pile-up */
    width: 100%;
}

.schedule-content.parallel {
    border-left: 3px solid var(--gold-primary);
    background: rgba(245, 216, 140, 0.03);
    flex-shrink: 0;
    /* Anti-squash */
}

.schedule-item:nth-child(odd) .schedule-content.parallel {
    border-left: none;
    border-right: 3px solid var(--gold-primary);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .schedule-list::before {
        left: 20px;
    }

    .schedule-item {
        width: 100%;
        float: none;
        padding-left: 50px;
        padding-right: 0;
        text-align: left;
        margin-bottom: 30px;
    }

    .schedule-item:nth-child(even) {
        margin-top: 0;
        padding-left: 50px;
        text-align: left;
    }

    .schedule-item:nth-child(odd)::after,
    .schedule-item:nth-child(even)::after {
        left: 12px;
        right: auto;
    }

    .session-title {
        font-size: 1rem;
    }
}