/* Timeline Page Styles */

/* ========================================
   Page Header
   ======================================== */

.page-header {
    padding: 150px 20px 80px;
    text-align: center;
    position: relative;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    color: var(--accent-blue);
}

.page-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-dark);
    opacity: 0.85;
}

/* ========================================
   Timeline Section
   ======================================== */

.timeline-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(250, 235, 215, 0.3));
}

.timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-orange), var(--accent-blue));
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    align-items: center;
}

.timeline-item:nth-child(odd) .timeline-content {
    grid-column: 1;
}

.timeline-item:nth-child(even) .timeline-content {
    grid-column: 3;
}

.timeline-marker {
    grid-column: 2;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 24px rgba(227, 119, 64, 0.4);
    position: relative;
    z-index: 2;
}

.timeline-content {
    padding: 2rem;
}

.timeline-date {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-blue));
    color: white;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.timeline-content h3 {
    margin-bottom: 1rem;
    color: var(--accent-blue);
}

.timeline-content ul {
    list-style: none;
    margin-top: 1rem;
}

.timeline-content ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.timeline-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-weight: 700;
}

.timeline-item.future .timeline-marker {
    background: linear-gradient(135deg, rgba(227, 119, 64, 0.5), rgba(68, 81, 107, 0.5));
    border: 3px dashed rgba(227, 119, 64, 0.7);
}

.timeline-item.future .timeline-content {
    opacity: 0.9;
}

.milestones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.milestone-card {
    padding: 2.5rem;
    text-align: center;
}

.milestone-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.milestone-card h3 {
    margin-bottom: 1rem;
    color: var(--accent-blue);
}

@media (max-width: 1024px) {
    .timeline::before {
        left: 40px;
    }

    .timeline-item {
        grid-template-columns: auto 1fr;
        gap: 2rem;
    }

    .timeline-marker {
        grid-column: 1;
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        grid-column: 2;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 120px 20px 60px;
    }
    
    .timeline::before {
        left: 30px;
    }

    .timeline-marker {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .milestones-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Timeline Photos Section
   ======================================== */

.timeline-photos-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(250, 235, 215, 0.3));
    padding: 4rem 0;
}

.timeline-photos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-photo-item {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.timeline-photo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.timeline-photo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@media (max-width: 768px) {
    .timeline-photos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
