/* =========================================================
   삼진금속 HISTORY PAGE (history.css)
========================================================= */

.history-page {
    padding-top: 90px;
    background-color: #fdfdfd;
}

/* 1. 서브 히어로 배너 */
.history-hero {
    background: #111111;
    color: #ffffff;
    padding: 35px 20px;
    text-align: center;
}

.history-hero .hero-inner h1 {
    font-size: 13px;
    letter-spacing: 3px;
    color: #c59b27;
    margin-bottom: 4px;
    font-weight: 700;
    text-transform: uppercase;
}

.history-hero .hero-inner p {
    font-size: 24px;
    font-weight: 800;
    margin: 0;
}

/* 2. 메인 컨테이너 */
.history-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 20px;
}

.history-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.history-header .sub-title {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #c59b27;
    margin-bottom: 12px;
}

.history-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: #111111;
    line-height: 1.4;
    margin-bottom: 12px;
    word-break: keep-all;
}

.history-header h2 strong {
    color: #c59b27;
}

.history-header .history-desc {
    font-size: 15px;
    color: #666666;
    margin: 0;
}

/* 3. 타임라인 (S-TRACK STYLE) */
.timeline-wrapper {
    position: relative;
    padding: 20px 0;
}

/* 중앙 연결선 */
.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #c59b27;
    transform: translateX(-50%);
}

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

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

/* 연도 뱃지 (노드) */
.timeline-badge {
    position: absolute;
    top: 25px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #111111;
    color: #c59b27;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #c59b27;
    box-shadow: 0 0 0 4px #ffffff;
    z-index: 2;
}

.timeline-item.left .timeline-badge {
    right: -24px;
}

.timeline-item.right .timeline-badge {
    left: -24px;
}

/* 콘텐츠 카드 */
.timeline-content {
    background: #ffffff;
    padding: 22px 25px;
    border-radius: 8px;
    border: 1px solid #eaeeef;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.timeline-content .year {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    color: #c59b27;
    margin-bottom: 4px;
}

.timeline-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 8px;
}

.timeline-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline-content ul li {
    font-size: 14px;
    color: #555555;
    line-height: 1.6;
}

/* 4. 모바일 반응형 (768px 이하) */
@media (max-width: 768px) {
    .history-page {
        padding-top: 60px;
    }

    .history-hero {
        padding: 25px 20px;
    }

    .history-hero .hero-inner p {
        font-size: 20px;
    }

    .history-container {
        padding: 40px 20px;
    }

    .history-header h2 {
        font-size: 22px;
    }

    .timeline-line {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
        margin-bottom: 15px;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
        text-align: left;
    }

    .timeline-item.left .timeline-badge,
    .timeline-item.right .timeline-badge {
        left: -4px;
        right: auto;
        width: 40px;
        height: 40px;
        font-size: 11px;
    }
}