@charset "utf-8";

/* ==========================================================================
   이야기(story) 페이지 전용 스타일
   ========================================================================== */


/* ==========================================
   섹션 1: 한 권의 성경이 바꾼 이야기
   ========================================== */

.story-history-section {
    padding: 100px 40px 90px;
    background-color: #ffffff;
}

.story-history-inner {
    max-width: 860px;
    margin: 0 auto;
}

.story-history-header {
    text-align: center;
    margin-bottom: 64px;
}

.story-history-title {
    color: #222222;
    margin: 0 0 14px;
}

.story-history-sub {
    color: var(--second-color);
    margin: 0;
}

/* 타임라인 리스트 */
.story-timeline {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.story-timeline-item {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    padding: 28px 32px;
    border: 1.5px solid transparent;
    border-radius: 20px;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1),
                box-shadow 0.35s ease;
}

.story-timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(62, 178, 62, 0.11);
    border-color: #c2e6c2;
}

.story-timeline-img-wrap {
    flex-shrink: 0;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #edf7ed;
}

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

.story-timeline-body {
    flex: 1;
    padding-top: 2px;
}

.story-timeline-date {
    display: inline-block;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--second-color);
    background-color: #EDF7ED;
    padding: 3px 14px;
    border-radius: 30px;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.story-timeline-title {
    color: var(--primary-color);
    margin: 0 0 10px;
}

.story-timeline-desc {
    color: var(--text-color);
    margin: 0;
    line-height: 1.75;
}


/* ==========================================
   섹션 2: 전 세계의 최치량을 꿈꾸며
   ========================================== */

.story-mission-section {
    background-color: var(--second-color);
    padding: 100px 40px;
}

.story-mission-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.story-mission-title {
    color: #ffffff;
    margin: 0 0 36px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.story-mission-desc {
    color: rgba(255, 255, 255, 0.93);
    line-height: 1.9;
    margin: 0;
}


/* ==========================================
   섹션 3: 만든 사람들
   ========================================== */

.story-team-section {
    padding: 100px 40px 90px;
    background-color: #ffffff;
}

.story-team-inner {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.story-team-title {
    color: #222222;
    margin: 0 0 56px;
}

.story-team-grid {
    display: flex;
    justify-content: center;
    gap: 44px;
    flex-wrap: wrap;
    margin-bottom: 52px;
}

.story-team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.story-team-avatar {
    width: 108px;
    height: 108px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 3px solid #e4f4e4;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-team-avatar:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(62, 178, 62, 0.18);
}

.story-team-name {
    color: var(--text-color);
    font-weight: 700;
    font-size: 15px;
}

.story-team-credit {
    color: #999999;
    line-height: 1.85;
    margin: 0;
}

.story-team-email {
    color: var(--second-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.story-team-email:hover {
    color: var(--primary-color);
    text-decoration: underline;
}


/* ==========================================
   섹션 4: 지금 만나보세요
   ========================================== */

.story-cta-section {
    background-color: #f4fbf4;
    padding: 90px 40px;
}


/* ==========================================
   섹션 5: 하단 탐험 안내
   ========================================== */

.story-explore-section {
    padding: 100px 40px 120px;
    background-color: #ffffff;
    text-align: center;
}

.story-explore-inner {
    max-width: 700px;
    margin: 0 auto;
}

.story-explore-text {
    color: var(--primary-color);
    line-height: 1.7;
    margin: 0;
}

.story-explore-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: #ffffff;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 700;
    font-size: 16px;
    padding: 16px 36px;
    border-radius: 40px;
    text-decoration: none;
    margin-top: 36px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.story-explore-btn:hover {
    background-color: #1a631a;
    transform: translateY(-2px);
}

/* ==========================================
   반응형 미디어 쿼리
   ========================================== */

@media (max-width: 768px) {
    .story-history-section {
        padding: 80px 20px 70px;
    }

    .story-timeline-item {
        padding: 22px 22px;
        gap: 20px;
    }

    .story-timeline-img-wrap {
        width: 100px;
        height: 100px;
    }

    .story-mission-section {
        padding: 80px 20px;
    }

    .story-team-section {
        padding: 80px 20px 70px;
    }

    .story-team-grid {
        gap: 28px;
    }

    .story-cta-section {
        padding: 72px 20px;
    }

    .story-explore-section {
        padding: 80px 20px 100px;
    }
}

@media (max-width: 480px) {
    .story-timeline-item {
        flex-direction: column;
        gap: 16px;
    }

    .story-timeline-img-wrap {
        width: 88px;
        height: 88px;
    }

    .story-team-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .story-team-avatar {
        width: 140px;
        height: 140px;
    }

    .story-team-name {
        font-size: 20px;
    }

}
