:root { --main-color: #333; --accent-color: #007bff; --bg-gray: #f8f9fa; --border-color: #ddd; }
body {margin: 0;padding: 0;font-family: 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;color: #242424;line-height: 1.6;}
a { text-decoration: none; color: inherit; }
input[type="text"], textarea { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; font-family: inherit; margin-bottom: 5px; }
textarea { resize: vertical; }

/* 헤더 */
header { background: #fff; border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 1000; }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; height: 60px; }
.logo { font-weight: bold; font-size: 1.2rem; }
.menu { display: flex; gap: 20px; }

/* 1. 텍스트 배너 구역 */
.banner-section { background-color: #2c3e50; color: #fff; padding: 80px 20px; text-align: center; }
.banner-title {font-size: 2.5rem;font-weight: bold;margin: 0 0 20px;}
.banner-sub {font-size: 1.5rem;color: #bdc3c7;margin-bottom: 30px;font-weight: bold;}
.banner-desc {font-size: 1.1rem;max-width: 800px;margin: 0 auto;line-height: 1.8;opacity: 0.9;}

/* 2. 이미지 섹션 (5개 반복) */
#features {background: url(/uploads/bg.jpg) repeat-y;background-size: cover;}
.section-wrap {padding: 60px 20px;/* border-bottom: 1px solid #eee; */}
.section-wrap:nth-child(even) {background-color: rgb(255 255 255 / 36%);}
.container {max-width: 1200px;margin: 0 auto;}
.grid-box { display: flex; gap: 40px; align-items: center; }
.col-left { flex: 1; text-align: center; }
.col-right { flex: 1; }
.preview-img { max-width: 100%; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); margin-bottom: 15px; display:block; margin-left:auto; margin-right:auto;}
.section-title { font-size: 1.8rem; margin-bottom: 20px; font-weight: bold; }
.col-right .section-text { font-size: 1.1rem;white-space: pre-wrap; font-weight: bold; }
.action-btn { display: inline-block; padding: 10px 30px; background: var(--accent-color); color: #fff; border-radius: 30px; font-weight: bold; margin-top: 10px; }

/* 3. 소개글 구역 */
.intro-section { padding: 80px 20px; background: #fff; text-align: center; }
.intro-title { font-size: 2rem; margin-bottom: 30px; color: var(--main-color); border-bottom: 2px solid var(--accent-color); display: inline-block; padding-bottom: 10px; }
.intro-content { max-width: 800px; margin: 0 auto; font-size: 1.1rem;}

/* 4. 장점/목차 구역 */
.adv-section { padding: 80px 20px; background: #f0f4f8; }
.adv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.adv-item { background: #fff; padding: 30px; border-radius: 10px; box-shadow: 0 2px 15px rgba(0,0,0,0.05); }
.adv-num { font-size: 2rem; font-weight: bold; color: var(--accent-color); opacity: 0.3; margin-bottom: 10px; }
.adv-title { font-size: 1.3rem; font-weight: bold; margin-bottom: 15px; }
.adv-text { font-size: 1rem; font-weight: bold;}

/* 5. 푸터 구역 */
footer { background: #333; color: #ccc; padding: 50px 20px 20px 20px; font-size: 0.9rem; }
.footer-top { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid #444; margin-bottom: 20px; }
.footer-links { flex: 1; min-width: 250px; }
.footer-links h4 { color: #fff; margin-bottom: 15px; }
.footer-links a { display: block; margin-bottom: 8px; transition: 0.3s; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-info { flex: 1; min-width: 250px; text-align: right; }
.footer-info p { white-space: pre-wrap; line-height: 1.8; }
.footer-bottom { text-align: center; color: #777; }

/* 관리자용 UI */
.admin-label { display: block; font-size: 0.8rem; color: #888; margin: 5px 0 2px; }
.save-bar { position: fixed; bottom: 0; left: 0; width: 100%; background: rgba(0,0,0,0.9); padding: 15px; text-align: center; z-index: 2000; }
.save-btn { padding: 10px 40px; background: var(--accent-color); color: white; border: none; font-size: 1.2rem; border-radius: 5px; cursor: pointer; }
.seo-box { background: #eef2f5; padding: 15px; border-radius: 8px; margin-bottom: 20px; border: 1px solid #d1d9e6; }
.seo-box h3 { margin-top: 0; color: #444; font-size: 1rem; border-bottom: 1px solid #ccc; padding-bottom: 10px; }
		
/* 반응형 */
@media (max-width: 768px) {
	.grid-box { flex-direction: column; }
	.col-left, .col-right { width: 100%; text-align: center; }
	.footer-top { flex-direction: column; text-align: center; }
	.footer-info { text-align: center; }
}