/* style.css - 모든 페이지 공통 디자인 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', dotum, sans-serif; color: #333; line-height: 1.6; word-break: keep-all; }

/* 헤더 및 네비게이션 */
header { background: #ffffff; padding: 15px 5%; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 1000; }
.logo img { height: 60px; width: auto; vertical-align: middle; }
nav a { margin-left: 20px; text-decoration: none; color: #555; font-weight: 600; font-size: 16px; transition: color 0.3s; }
nav a:hover { color: #1e3a8a; }

/* 메인 배너 (Hero Section) & 슬라이더 공통 */
.hero { position: relative; height: 500px; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; overflow: hidden; }
.hero-content { position: relative; z-index: 10; padding: 0 20px; }
.hero-content h1 { font-size: 2.8rem; margin-bottom: 20px; font-weight: 700; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.hero-content p { font-size: 1.2rem; margin-bottom: 40px; text-shadow: 1px 1px 3px rgba(0,0,0,0.5); }
.btn-call { display: inline-block; padding: 15px 35px; background: #f59e0b; color: #fff; text-decoration: none; border-radius: 50px; font-size: 1.2rem; font-weight: bold; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }

/* 서브 페이지용 고정 배경 */
.hero-about { background: linear-gradient(rgba(14, 165, 233, 0.5), rgba(30, 58, 138, 0.7)), url('https://images.unsplash.com/photo-1573497620053-ea5300f94f21?auto=format&fit=crop&w=1920&q=80') center/cover; }
.hero-services { background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?auto=format&fit=crop&w=1920&q=80') center/cover; }
.hero-contact { background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1516387938699-a93567ec168e?auto=format&fit=crop&w=1920&q=80') center/cover; }

/* 본문 섹션 */
.section { padding: 80px 5%; max-width: 1200px; margin: 0 auto; }
.section-title { color: #1e3a8a; font-size: 2.2rem; margin-bottom: 30px; text-align: center; position: relative; }
.section-title::after { content: ''; display: block; width: 50px; height: 3px; background: #f59e0b; margin: 15px auto 0; }

/* 문의 폼 (Inquiry Form) 스타일 */
.contact-form { max-width: 700px; margin: 0 auto; background: #f8fafc; padding: 40px; border-radius: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: bold; color: #444; }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 5px; font-size: 1rem; font-family: inherit; }
.form-group textarea { height: 150px; resize: vertical; }
.submit-btn { background: #1e3a8a; color: #fff; border: none; padding: 15px 30px; font-size: 1.1rem; font-weight: bold; border-radius: 5px; cursor: pointer; width: 100%; transition: background 0.3s; }
.submit-btn:hover { background: #152b69; }

/* 푸터 (하단 영역) */
footer { background: #1e293b; color: #cbd5e1; padding: 50px 5% 30px; text-align: center; }
.footer-info { margin-bottom: 25px; line-height: 1.8; font-size: 1rem; }
.footer-info strong { color: #fff; font-size: 1.1rem; }
.footer-phone { font-size: 2rem; color: #f59e0b; font-weight: bold; margin: 10px 0; display: block; text-decoration: none; }
.social-links { margin: 20px 0; }
.social-links a { color: #cbd5e1; font-size: 24px; margin: 0 10px; transition: color 0.3s; text-decoration: none; }
.social-links a:hover { color: #f59e0b; }
.footer-bottom { margin-top: 30px; font-size: 0.9rem; border-top: 1px solid #334155; padding-top: 20px; }

@media (max-width: 768px) {
    header { flex-direction: column; gap: 15px; }
    .hero-content h1 { font-size: 2rem; }
    .logo img { height: 50px; }
}