/* --- 🎨 디자인 (CSS) --- */
:root {
    --gold: #b39164;
    --dark-gray: #333;
    --light-beige: #f9f7f4;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

h1,
h2,
h3 {
    font-family: 'Noto Serif KR', serif;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

section {
    padding: 80px 0;
    border-bottom: 1px solid #eee;
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Noto Serif KR', serif;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--gold);
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-gray);
    font-size: 0.95rem;
    transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
    font-weight: bold;
}

/* 1. 메인 섹션 */
.hero {
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('https://images.unsplash.com/photo-1518531933037-91b2f5f229cc?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 120px 20px;
}

.hero h1 {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.tag-group span {
    display: inline-block;
    padding: 5px 15px;
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 20px;
    margin: 5px;
    font-size: 0.9rem;
}

/* 2. 자가진단 섹션 */
.check-list {
    background: var(--light-beige);
    border-radius: 15px;
    padding: 30px;
    margin-top: 20px;
}

.check-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 1rem;
    cursor: pointer;
}

.check-item input {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    accent-color: var(--gold);
}

.expert-tip {
    background: #fff;
    border-left: 5px solid var(--gold);
    padding: 15px;
    margin-top: 20px;
    font-style: italic;
}

.check-result {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    background-color: var(--gold);
    color: white;
    font-weight: bold;
    text-align: center;
    font-size: 1.1rem;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 3. 치료 철학 & 프로그램 */
.philosophy h2,
.program h2 {
    text-align: center;
    margin-bottom: 40px;
}

.card {
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 10px;
    transition: 0.3s;
}

.card:hover {
    border-color: var(--gold);
    box-shadow: 0 5px 15px rgba(179, 145, 100, 0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 0.9rem;
}

th,
td {
    border: 1px solid #eee;
    padding: 12px;
    text-align: left;
}

th {
    background: var(--light-beige);
    color: var(--gold);
}

/* 5. 원장님 컬럼 */
.column-box {
    background: var(--gold);
    color: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
}

.column-box h2 {
    margin-bottom: 20px;
    color: #fff;
}

/* 6. FAQ */
.faq-item {
    margin-bottom: 15px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.faq-q {
    font-weight: bold;
    color: var(--gold);
    display: flex;
    justify-content: space-between;
}

.faq-a {
    display: none;
    padding: 10px 0;
    font-size: 0.95rem;
    color: #777;
}

/* 7. 푸터 & 버튼 */
.cta-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 40px auto;
    max-width: 600px;
    padding: 0 20px;
}

.cta-btn {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    background: var(--gold);
    color: white;
    text-align: center;
    padding: 18px 10px;
    border-radius: 35px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.cta-btn.naver {
    background-color: #03c75a;
}

footer {
    background: #333;
    color: #ccc;
    padding: 40px 20px;
    font-size: 0.85rem;
    text-align: center;
}

/* 모바일 대응 */
@media (max-width: 600px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }

    .cta-group {
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    table {
        font-size: 0.8rem;
    }

    th,
    td {
        padding: 8px;
    }
}