/* Programme Page Specific Styles */

.page-hero {
    padding: 8rem 2rem 4rem;
    background: linear-gradient(135deg, rgba(19, 13, 52, 0.85) 0%, rgba(23, 20, 44, 0.95) 100%), url('../images/photosOfficiel/2024-08-07 (6).webp') center/cover no-repeat;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, var(--fire-red) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, var(--fire-orange) 0%, transparent 50%);
    opacity: 0.15;
    animation: fireGlow 8s ease-in-out infinite;
}

.page-hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

.hero-note {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--fire-gold);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Schedule Tabs */
.schedule-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.tab-button {
    padding: 1rem 2rem;
    border: none;
    background: white;
    color: var(--gray-600);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.tab-button:hover {
    transform: translateY(-2px);
    color: var(--fire-red);
}

.tab-button.active {
    background: var(--fire-gradient);
    color: white;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

/* Day Container */
.day-container {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.day-container.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.day-header {
    text-align: center;
    margin-bottom: 3rem;
}

.day-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--jci-navy);
    margin-bottom: 0.5rem;
}

.day-header .date {
    font-size: 1.25rem;
    color: var(--fire-red);
    font-weight: 600;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 2rem;
    width: 3px;
    background: var(--gray-200);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    padding-left: 5rem;
    margin-bottom: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 1.1rem;
    top: 1.5rem;
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid var(--fire-red);
    border-radius: 50%;
    z-index: 1;
}

.event-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 5px solid transparent;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.timeline-item.featured .event-card {
    border-left-color: var(--fire-gold);
    background: linear-gradient(to right, #FFFBF0, white);
}

.event-time {
    font-weight: 700;
    color: var(--fire-red);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--jci-navy);
    margin-bottom: 0.5rem;
}

.event-type {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: var(--gray-100);
    color: var(--gray-600);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-item.featured .event-type {
    background: rgba(251, 191, 36, 0.2);
    color: var(--jci-navy);
}

.event-description {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.event-details {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-100);
}

.event-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-500);
}

.event-detail-icon {
    font-size: 1.1rem;
}

/* Legend */
.schedule-legend {
    margin-top: 6rem;
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.schedule-legend h3 {
    text-align: center;
    font-size: 1.5rem;
    color: var(--jci-navy);
    margin-bottom: 2rem;
}

.legend-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.legend-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.legend-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.legend-icon.keynote {
    background: rgba(220, 38, 38, 0.1);
    color: var(--fire-red);
}

.legend-icon.workshop {
    background: rgba(12, 149, 211, 0.1);
    color: var(--jci-cyan);
}

.legend-icon.networking {
    background: rgba(87, 188, 187, 0.1);
    color: var(--jci-teal);
}

.legend-icon.social {
    background: rgba(251, 191, 36, 0.1);
    color: var(--fire-gold);
}

.legend-text h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--jci-navy);
    margin-bottom: 0.25rem;
}

.legend-text p {
    font-size: 0.85rem;
    color: var(--gray-500);
}

@media (max-width: 768px) {
    .page-hero {
        padding: 6rem 1.5rem 3rem;
    }

    .main-content {
        padding: 2rem 1rem;
    }

    .tabs-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .schedule-tabs {
        gap: 0.75rem;
    }

    .tab-button {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }

    .day-header h2 {
        font-size: 1.75rem;
    }

    .timeline::before {
        left: 1rem;
    }

    .timeline-item {
        padding-left: 3rem;
    }

    .timeline-item::before {
        left: 0.1rem;
    }

    .event-title {
        font-size: 1.25rem;
    }

    .event-details {
        gap: 1rem;
    }

    .schedule-legend {
        padding: 2rem 1.5rem;
        margin-top: 3rem;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 5rem 1rem 2.5rem;
    }

    .schedule-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .tab-button {
        text-align: center;
        border-radius: 12px;
    }

    .event-card {
        padding: 1.5rem;
    }

    .day-header h2 {
        font-size: 1.5rem;
    }
}