/* 1. 기본 설정 및 변수 */
:root {
    --primary-color: #2c3e50;
    --accent-color: #00afa2;
    --bg-color: #f8f9fa;
    --text-main: #333;
    --text-sub: #555;
    --text-muted: #999;
}

body {
    font-family: 'Pretendard', 'Malgun Gothic', -apple-system, sans-serif;
    line-height: 1.7;
    color: var(--text-main);
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
}

/* 2. 레이아웃 컨테이너 */
.container {
    width: 100%;
    background: #fff;
}

.img-box {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto; /* 중앙 정렬 계산식 간소화 */
    min-height: 1800px;
    background-position: center;
    background-repeat: no-repeat;
    /* background-image는 HTML 내 인라인이나 여기서 추가 */
}

/* 3. 언어 전환 버튼 */
.lang-switch {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.lang-btn {
    padding: 10px 25px;
    border: 2px solid var(--accent-color);
    background: #fff;
    color: var(--accent-color);
    cursor: pointer;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s;
}

.lang-btn.active {
    background: var(--accent-color);
    color: #fff;
}

.lang-section { display: none; }
.lang-section.active { display: block; }

/* 4. 타이포그래피 */
h1 {
    font-size: 2.5em;
    line-height: 1.2;
    color: #fff;
    font-weight: bold;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

h2 {
    font-size: 1.2em;
    color: var(--accent-color);
    margin-top: 30px;
    border-left: 4px solid var(--accent-color);
    padding-left: 12px;
}

h3 {
    font-size: 1.5em;
    color: #fff;
    font-weight: normal;
}

p, li {
    font-size: 0.95em;
    color: var(--text-sub);
}

ul { padding-left: 20px; }

/* 5. 컴포넌트 (Contact, Footer) */
.contact-box {
    background: #f1f4f7;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.contact-box a {
    color: var(--accent-color);
    font-weight: bold;
    text-decoration: none;
}

.contact-box a:hover {
    text-decoration: underline;
}

.footer {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 15px;
}

.footer-links li {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-links li a {
    text-decoration: none;
    color: #666;
}

.privacy-link {
    font-weight: bold;
    color: #000 !important;
}

/* 6. 반응형 디자인 (1200px 이하) */
@media screen and (max-width: 1200px) {
    .img-box {
        margin: 0;
        min-height: calc(100vh - 65px);
    }

    .footer {
        margin-bottom: 0;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}