/* =================================================================
   CoreContact 통합 스타일시트 (style_main.css)
   ================================================================= */

/* 1. 기본 및 공통 스타일
----------------------------------------------------------------- */
html { 
    scroll-behavior: smooth; 
}

body, html { 
    margin: 0; 
    padding: 0; 
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif; 
}

body {
    background-color: #f7f9fc; /* 서브 페이지 기본 배경색 */
    color: #333;
    line-height: 1.8;
    /* 고정 네비게이션 바를 위한 공간 확보 (슬림 버전에 맞춤) */
    padding-top: 60px; 
}

/* =================================================================
   3. 메인 페이지 (index.php) 전용 스타일
----------------------------------------------------------------- */
body.dark-theme {
    background-color: #0A192F;
    color: #E6F1FF;
}

.dark-theme main { 
    width: 100%; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}

.dark-theme .container { 
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

.dark-theme section { 
    width: 100%; 
    padding: 120px 0; 
}

.dark-theme .section-header { 
    text-align: center; 
    margin-bottom: 60px; 
}
.dark-theme .section-header h2 { 
    font-size: 2.8rem; 
    margin-bottom: 15px; 
}
.dark-theme .section-header p { 
    font-size: 1.2rem; 
    max-width: 800px; 
    margin: 0 auto; 
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}
.btn-solid-accent {
    background-color: #64FFDA;
    color: #0A192F;
    border: 2px solid #64FFDA;
}
.btn-solid-accent:hover {
    background-color: #fff;
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(100, 255, 218, 0.1);
}
.btn-ghost-dark {
    background-color: transparent;
    border: 2px solid #0A192F;
    color: #0A192F;
}
.btn-ghost-dark:hover { background-color: rgba(10, 25, 47, 0.05); }

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: calc(100vh - 60px);
    padding: 0 20px;
    background: linear-gradient(rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.85)), url('https://images.unsplash.com/photo-1539627831859-a911cf04d34d?q=80&w=2070&auto=format&fit=crop') no-repeat center center;
    background-size: cover;
}
.hero h1 { font-size: 4rem; color: #FFFFFF; margin-bottom: 20px; }
.hero p.subtitle { font-size: 1.4rem; color: #A8B2D1; max-width: 800px; margin-bottom: 40px; line-height: 1.7; }

.ai-promo-section { background-color: #f8f9fa; }
.ai-promo-section .section-header h2 { color: #0A192F; }
.ai-promo-section .section-header p { color: #555; }

.values-section { background-color: #0d203d; }
.values-section .section-header h2 { color: #FFFFFF; }
.values-section .section-header p { color: #A8B2D1; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.value-card { background-color: #112240; padding: 30px; border-radius: 8px; border-left: 4px solid #64FFDA; }
.value-card h4 { font-size: 1.5rem; color: #E6F1FF; margin-bottom: 15px; }
.value-card p { font-size: 1rem; color: #A8B2D1; line-height: 1.6; }
.values-section .btn-wrapper { text-align: center; margin-top: 60px; }

/* =================================================================
   4. 서브 페이지 콘텐츠 (privacy.php, terms.php)
----------------------------------------------------------------- */
.sub-page-container {
    max-width: 900px;
    margin: 40px auto 80px; 
    padding: 20px 40px 40px 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.sub-page-container h1 {
    font-size: 28px;
    color: #1b64da;
    text-align: center;
    padding: 20px 0 30px;
}

.sub-page-container h2 {
    font-size: 20px;
    margin-top: 40px;
    color: #1b64da;
}

.sub-page-container p, .sub-page-container li {
    font-size: 15px;
    color: #444;
}

.sub-page-container ul {
    padding-left: 20px;
}

/* =================================================================
   5. 고객 지원 페이지 (support.php)
----------------------------------------------------------------- */
.form-wrapper {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    border-radius: 10px;
}

.form-wrapper h2 {
    color: #1b64da;
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-wrapper button {
    width: 100%;
    padding: 12px 20px;
    background-color: #1b64da;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

/* =================================================================
   6. 푸터 (footer.php)
----------------------------------------------------------------- */
.main-footer {
    background-color: #f8f9fa;
    padding: 30px 20px;
    font-size: 13px;
    color: #777;
    text-align: center;
    line-height: 1.8;
    border-top: 1px solid #e9ecef;
}

.main-footer a {
    margin: 0 10px;
    color: #555;
    text-decoration: none;
}

.main-footer .footer-info {
    margin-top: 10px;
}
.support-footer {
    margin: 40px auto;
    max-width: 1000px;
    text-align: center;
    font-size: 14px;
    color: #555;
}

/* =================================================================
   7. 모바일 반응형
----------------------------------------------------------------- */
@media (max-width: 768px) {
    body {
        /* 모바일 네비게이션 바 높이에 맞춤 */
        padding-top: 60px; 
    }

    .dark-theme section { 
        padding: 80px 0; 
    }
    .hero { 
        min-height: calc(100vh - 60px); 
    }
    .hero h1 { 
        font-size: 2.8rem; 
    }
    .hero p.subtitle { 
        font-size: 1.2rem; 
    }
    .dark-theme .section-header h2 { 
        font-size: 2.2rem; 
    }
}


/* =================================================================
   8. 회사 소개 페이지 (about_us.php)
----------------------------------------------------------------- */

/* 히어로 섹션 (회사 소개용) */
.about-hero-section {
    background: linear-gradient(rgba(10, 35, 66, 0.8), rgba(10, 35, 66, 0.8)), url('https://images.unsplash.com/photo-1517048676732-d65bc937f952?q=80&w=2070&auto=format&fit=crop') no-repeat center center;
    background-size: cover;
    padding: 120px 20px;
    text-align: center;
    color: #ffffff;
}
.about-hero-section h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}
.about-hero-section p {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    opacity: 0.9;
}

/* 소개 콘텐츠 섹션 */
.about-section {
    padding: 80px 20px;
    width: 100%;
    box-sizing: border-box;
}
.about-section .container {
    max-width: 1200px;
    margin: 0 auto;
}
.about-section .section-title-en {
    font-size: 2.8rem;
    color: #0A2342;
    text-align: center;
    margin-bottom: 60px;
}

/* 사업 분야 설명 */
.business-division {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 60px;
}
.business-division:last-child {
    margin-bottom: 0;
}
.business-division .icon-wrapper {
    background-color: #e7f3ff;
    color: #007bff;
    font-size: 2.5rem;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.business-division.consulting .icon-wrapper {
    background-color: #fff0e2;
    color: #fd7e14;
}
.business-division .text-wrapper {
    text-align: left;
}
.business-division .text-wrapper h3 {
    font-size: 2rem;
    color: #0A2342;
    margin: 0 0 15px 0;
}
.business-division .text-wrapper .subtitle {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}
.business-division .text-wrapper p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #343a40;
}

/* 행동 유도(CTA) 섹션 */
.cta-section {
    background-color: #0A2342;
    text-align: center;
    padding: 80px 20px 100px 20px;
    width: 100%;
    box-sizing: border-box;
}
.cta-section h2 { 
    font-size: 2.2rem; 
    color: #ffffff; 
    margin-bottom: 20px; 
}
.cta-section p { 
    font-size: 1.2rem; 
    color: #ffffff; 
    max-width: 700px; 
    margin: 0 auto 30px auto;
}
.cta-section .btn-cta { 
    padding: 15px 35px; 
    font-size: 1.2rem; 
    background-color: #fff; 
    color: #0A2342; 
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
}
.cta-section .btn-cta:hover {
    background-color: #64FFDA;
}


/* about_us.php 모바일 반응형 */
@media (max-width: 768px) {
    .about-hero-section h1 { font-size: 2.5rem; }
    .about-hero-section p { font-size: 1.1rem; }
    .business-division {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .business-division .text-wrapper {
        text-align: center;
    }
}