:root {
    --primary-color: #0a4da2;
    --secondary-color: #1a202c;
    --accent-color: #007bff;
    --text-main: #2d3748;
    --text-muted: #718096;
    --bg-light: #f7fafc;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Noto Sans KR', sans-serif; line-height: 1.7; color: var(--text-main); background: var(--bg-light); }

/* Navigation */
.main-header { background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 1rem 20px; }
.logo a { font-size: 1.5rem; font-weight: 700; color: var(--primary-color); text-decoration: none; }
.nav-menu { display: flex; list-style: none; gap: 30px; }
.nav-menu a { text-decoration: none; color: var(--text-main); font-weight: 500; transition: 0.3s; }
.nav-menu a:hover { color: var(--accent-color); }

/* Layout Components */
.section { padding: 80px 20px; max-width: 1200px; margin: 0 auto; }
.container { width: 100%; }
.section-title { font-size: 2rem; margin-bottom: 40px; text-align: center; color: var(--secondary-color); }
.text-center {text-align:center;}

/* Content Cards */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { background: var(--white); padding: 30px; border-radius: 12px; border: 1px solid #edf2f7; transition: 0.3s; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.service-card h3 { color: var(--primary-color); margin-bottom: 15px; border-bottom: 2px solid #edf2f7; padding-bottom: 10px; }
.service-card p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 20px; }

/* Buttons */
.btn { display: inline-block; padding: 10px 25px; border-radius: 6px; text-decoration: none; font-weight: 600; transition: 0.3s; cursor: pointer; }
.btn-primary { background: var(--primary-color); color: var(--white); }
.btn-outline { border: 1px solid var(--primary-color); color: var(--primary-color); }

/* About & History 스타일 */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.about-content h2 { font-size: 2.2rem; margin-bottom: 20px; line-height: 1.3; }
.about-content p { margin-bottom: 20px; color: var(--text-muted); }

.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.stat-item { text-align: center; background: var(--white); padding: 20px; border-radius: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.stat-num { display: block; font-size: 1.8rem; font-weight: 800; color: var(--primary-color); }

/* 타임라인 스타일 */
.history-timeline { background: #fff; padding: 30px; border-radius: 15px; border: 1px solid #eee; }
.history-timeline h3 { margin-bottom: 25px; font-size: 1.5rem; color: var(--secondary-color); }
.timeline { border-left: 2px solid var(--accent-color); padding-left: 20px; position: relative; }
.timeline-item { position: relative; margin-bottom: 25px; }
.timeline-item::before { content: ''; position: absolute; left: -27px; top: 5px; width: 12px; height: 12px; background: var(--accent-color); border-radius: 50%; border: 3px solid #fff; }
.timeline-item .year { font-weight: 800; color: var(--primary-color); font-size: 1.1rem; }
.timeline-item .event { font-size: 0.95rem; color: var(--text-main); }

/* 반응형 처리 */
@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; }
}

/* Footer */
.main-footer { background: var(--secondary-color); color: var(--white); padding: 50px 20px; font-size: 0.9rem; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }

/* 푸터 */
.footer {
    background-color: var(--background-dark);
    color: var(--light-text-color);
    padding: 40px 20px;
    text-align: center;
    font-size: 0.9em;
}

.footer a {
    color: var(--light-text-color);
    margin: 0 5px;
}

.footer a:hover {
    text-decoration: underline;
}

.footer p {
    margin-bottom: 8px;
}