/* section-page.css — Shared styles for VMI section pages (visionlife.church layout) */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #212121;
    line-height: 1.8;
    font-size: 16px;
    background: #fff;
}

/* ─── Site Header ─── */
.site-header {
    position: fixed; top: 0; left: 0; right: 0;
    height: 70px;
    background: rgba(255,255,255,0.97);
    border-bottom: 1px solid #e0e0e0;
    z-index: 1000;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 24px;
    backdrop-filter: blur(10px);
}
.header-logo {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none; color: #212121;
}
.header-logo img { height: 36px; }
.header-logo-text {
    font-size: 15px; font-weight: 700; color: #363636;
    letter-spacing: -0.02em;
}
.home-link {
    display: flex; align-items: center; gap: 6px;
    background: #2bb3f7; color: white;
    padding: 8px 18px; border-radius: 6px;
    text-decoration: none; font-size: 14px; font-weight: 600;
    transition: background 0.2s;
}
.home-link:hover { background: #1a9fe0; }

/* ─── Hero Banner ─── */
.page-hero {
    position: relative;
    height: 340px;
    background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center;
    margin-top: 70px;
}
.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background: rgba(42,42,42,0.35);
}
.page-hero h1 {
    position: relative; z-index: 1;
    color: white; font-size: 35px; font-weight: 700;
    text-align: center; text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* ─── Sub Navigation (Sticky) ─── */
.sub-nav {
    background: white; border-bottom: 1px solid #e0e0e0;
    padding: 0; text-align: center;
    position: sticky; top: 70px; z-index: 999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    overflow-x: auto; white-space: nowrap;
}
.sub-nav a {
    display: inline-block; padding: 14px 22px;
    color: #666; text-decoration: none; font-size: 15px; font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}
.sub-nav a:hover, .sub-nav a.active {
    color: #2bb3f7; border-bottom-color: #2bb3f7;
}

/* ─── Content Container ─── */
.content-wrapper {
    max-width: 1100px; margin: 0 auto;
    padding: 0 24px;
}

/* ─── Section Block ─── */
.section-block {
    padding-top: 100px; margin-top: -70px; /* offset for sticky header */
    margin-bottom: 40px;
}
.section-block > hr:first-child {
    border: none; border-top: 1px solid #ddd;
    margin-bottom: 40px;
}

/* ─── Grid Layout (visionlife.church style: 4-col label + 8-col content) ─── */
.row {
    display: flex; flex-wrap: wrap;
    margin: 0 -16px;
}
.col-3  { flex: 0 0 25%;   max-width: 25%;   padding: 0 16px; }
.col-4  { flex: 0 0 33.33%; max-width: 33.33%; padding: 0 16px; }
.col-6  { flex: 0 0 50%;   max-width: 50%;   padding: 0 16px; }
.col-8  { flex: 0 0 66.67%; max-width: 66.67%; padding: 0 16px; }
.col-9  { flex: 0 0 75%;   max-width: 75%;   padding: 0 16px; }
.col-12 { flex: 0 0 100%;  max-width: 100%;  padding: 0 16px; }

/* ─── Typography ─── */
.section-number {
    font-size: 30px; font-weight: 700; color: #3B67B4;
    margin-bottom: 10px; line-height: 1.3;
}
.section-title-green {
    font-size: 26px; font-weight: 700; color: #0EB95B;
    margin-bottom: 16px; line-height: 1.4;
}
.section-heading {
    font-size: 26px; font-weight: 700; color: #3B67B4;
    margin-bottom: 24px; line-height: 1.3;
}
.sub-heading {
    font-size: 22px; font-weight: 700; color: #35B16C;
    margin: 32px 0 16px;
}
.sub-sub-heading {
    font-size: 20px; font-weight: 700; color: #3B67B4;
    margin: 28px 0 12px;
}
.body-text {
    font-size: 16px; line-height: 2; color: #363636;
    margin-bottom: 16px;
}
.body-text strong { font-weight: 700; }
.highlight-blue { color: #3B67B4; font-weight: 600; }
.highlight-green { color: #35B16C; font-weight: 600; }
.scripture {
    font-style: italic; color: #555;
    padding: 16px 24px; border-left: 4px solid #2bb3f7;
    background: #f8fafc; margin: 20px 0;
    line-height: 2;
}
.closing-text {
    text-align: right; font-size: 18px;
    color: #3B67B4; line-height: 2.2;
    margin: 32px 0;
}
.spacer { height: 40px; }
.spacer-sm { height: 20px; }

/* ─── Images ─── */
.content-img {
    width: 100%; border-radius: 8px;
    margin: 16px 0 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.full-img {
    width: 100%; margin: 24px 0;
}
.logo-img {
    max-width: 600px; width: 100%;
    margin: 24px auto; display: block;
}
.signature-img {
    max-width: 300px; margin: 20px 0;
}

/* ─── Cards (for 섬기는 기관 grid, testimonials, etc.) ─── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px; margin: 30px 0;
}
.card {
    background: #f8fafc;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 24px; text-align: center;
    font-size: 17px; font-weight: 600; color: #363636;
    transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }

/* ─── Testimonials ─── */
.testimonial {
    background: #fafbfc; border: 1px solid #e8e8e8; border-radius: 12px;
    padding: 28px 32px; margin: 20px 0;
}
.testimonial .author {
    font-weight: 700; color: #3B67B4;
    margin-bottom: 8px; font-size: 15px;
}
.testimonial .role {
    font-size: 13px; color: #888; margin-bottom: 12px;
}
.testimonial .quote {
    font-size: 15px; line-height: 1.9; color: #444;
}

/* ─── Tables ─── */
.data-table {
    width: 100%; border-collapse: collapse;
    margin: 20px 0; font-size: 14px;
}
.data-table th, .data-table td {
    border: 1px solid #ddd; padding: 12px 16px; text-align: left;
}
.data-table th {
    background: #3B67B4; color: white; font-weight: 600;
}
.data-table tr:nth-child(even) { background: #f8fafc; }
.data-table tr:last-child { background: #fffbeb; font-weight: 600; }

/* ─── CTA (Call to Action) ─── */
.cta-section {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
    border-radius: 16px; padding: 40px;
    text-align: center; margin: 40px 0;
}
.cta-section h3 {
    font-size: 24px; color: #1e3a5f; margin-bottom: 16px;
}
.cta-section p {
    font-size: 16px; color: #555; margin-bottom: 16px; line-height: 1.8;
}
.cta-btn {
    display: inline-block;
    background: #2bb3f7; color: white;
    padding: 14px 36px; border-radius: 8px;
    text-decoration: none; font-size: 16px; font-weight: 700;
    transition: all 0.2s; margin: 8px;
}
.cta-btn:hover { background: #1a9fe0; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(43,179,247,0.3); }

/* ─── Page Footer ─── */
.page-footer {
    background: #6a6a6b; color: white;
    padding: 40px 24px; text-align: center;
    margin-top: 60px;
}
.footer-phone {
    font-size: 32px; font-weight: 700; color: #5DC98D;
    margin-bottom: 12px;
}
.footer-links {
    font-size: 13px; color: #bbb;
    margin-bottom: 16px;
}
.footer-links a { color: #ddd; text-decoration: none; margin: 0 10px; }
.footer-address {
    font-size: 14px; color: #ccc; line-height: 1.7;
}
.footer-copyright {
    font-size: 12px; color: #999; margin-top: 12px;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
    .row { flex-direction: column; }
    .col-3, .col-4, .col-6, .col-8, .col-9, .col-12 {
        flex: 0 0 100%; max-width: 100%;
    }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .site-header { height: 56px; padding: 0 14px; }
    .header-logo-text { font-size: 13px; }
    .home-link { padding: 6px 14px; font-size: 13px; }
    .page-hero { height: 240px; margin-top: 56px; }
    .page-hero h1 { font-size: 26px; }
    .sub-nav { top: 56px; }
    .sub-nav a { padding: 12px 14px; font-size: 13px; }
    .section-block { padding-top: 80px; margin-top: -56px; }
    .content-wrapper { padding: 0 16px; }
    .section-number { font-size: 24px; }
    .section-heading { font-size: 22px; }
    .sub-heading { font-size: 18px; }
    .body-text { font-size: 15px; }
    .cta-section { padding: 28px 20px; }
    .testimonial { padding: 20px; }
}
@media (max-width: 500px) {
    .card-grid { grid-template-columns: 1fr; }
    .page-hero h1 { font-size: 22px; }
    .sub-nav a { padding: 10px 10px; font-size: 12px; }
}
