/* 페이지 타이틀 섹션 */
.page-title {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0;
    color: #fff;
    text-align: center;
    position: relative;
}

.page-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(26,58,109,0.8), rgba(42,82,152,0.8));
}

.page-title .container {
    position: relative;
    z-index: 1;
}

.page-title h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-title p {
    font-size: 1.4rem;
    opacity: 0.9;
}

/* 공통 컨테이너 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* 연혁 개요 섹션 */
.history-overview {
    padding: 100px 0;
    background: #fff;
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.overview-text h2 {
    font-size: 2.8rem;
    color: #1a3a6d;
    margin-bottom: 30px;
    line-height: 1.4;
}

.overview-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.stat-item .number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #2a5298;
    margin-bottom: 10px;
}

.stat-item .label {
    font-size: 1.1rem;
    color: #555;
}

/* 연혁 타임라인 섹션 */
.history-timeline {
    position: relative;
    padding: 80px 0;
}

.history-timeline .timeline {
    position: relative;
}

/* 타임라인 중앙선 */
.timeline-center-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: #e0e0e0;
    transform-origin: top center;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.timeline-year {
    margin-bottom: 60px;
    position: relative;
}

.year-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: #2a5298;
    color: #fff;
    padding: 10px 30px;
    border-radius: 30px;
    font-size: 1.4rem;
    font-weight: 700;
    z-index: 2;
}

.timeline-items {
    padding-top: 60px;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
}

.timeline-item:nth-child(odd) {
    margin-left: calc(50% + 30px);
    padding-left: 50px;
}

.timeline-item:nth-child(even) {
    margin-right: calc(50% + 30px);
    padding-right: 50px;
    text-align: right;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: #fff;
    border: 3px solid #2a5298;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd)::before {
    left: -8px;
}

.timeline-item:nth-child(even)::before {
    right: -8px;
}

.timeline-content {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.timeline-content h3 {
    font-size: 1.4rem;
    color: #1a3a6d;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

/* 애니메이션 클래스 */
.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .overview-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
        padding: 0 20px;
    }

    .overview-text h2 {
        font-size: 2.4rem;
    }

    .overview-stats {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .page-title {
        padding: 80px 0;
    }

    .page-title h1 {
        font-size: 2.2rem;
    }

    .page-title p {
        font-size: 1.2rem;
    }

    .timeline {
        padding: 0 40px;
    }

    .history-timeline::before {
        left: 40px;
    }

    .year-marker {
        left: 40px;
        transform: translateX(-50%);
        padding: 8px 20px;
        font-size: 1.2rem;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        margin: 0 0 30px 80px;
        padding-left: 30px;
        text-align: left;
    }

    .timeline-item:nth-child(odd)::before,
    .timeline-item:nth-child(even)::before {
        left: -8px;
        right: auto;
    }

    .overview-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-item {
        padding: 20px;
    }

    .stat-item .number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .overview-text h2 {
        font-size: 2rem;
    }

    .overview-text p {
        font-size: 1.1rem;
    }

    .timeline-content {
        padding: 20px;
    }

    .timeline-content h3 {
        font-size: 1.2rem;
    }

    .timeline-content p {
        font-size: 1rem;
    }
} 