/* 기본 스타일 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Pretendard', 'Roboto', 'sans-serif';
  line-height: 1.6;
  color: #333;
  min-height: 100vh;
}

.container {
  max-width: 860px;
  margin: 0 auto;
  background: white;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  min-height: 100vh;
}

/* 헤더 */
.header {
  background-color: #009844;
  color: white;
  padding: 2rem;
  text-align: center;
}

.header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.header h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.last-updated {
  font-size: 0.9rem;
  opacity: 0.9;
  font-style: italic;
}

/* 메인 콘텐츠 */
.content {
  padding: 2rem;
}

.section {
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 12px;
}

.section h3 {
  color: #2c3e50;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #009844;
}

.section h4 {
  color: #34495e;
  font-size: 1.1rem;
  margin: 1.5rem 0 0 0;
}

.section p {
  margin-bottom: 1rem;
  text-align: justify;
}

.section ul {
  margin: 1rem 0 2rem 0;
  padding-left: 1.5rem;
}

.section li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

/* 링크 */
.link {
  color: #009844;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.link:hover {
  color: #009841;
  text-decoration: underline;
}

/* 연락처 정보 */
.contact-info {
  background: #e8f5e8;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #009841;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

/* 푸터 */
.footer {
  background: #2c3e50;
  color: white;
  text-align: center;
  padding: 4rem 0;
  margin-top: 2rem;
}

.footer p {
  margin-bottom: 0.5rem;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  .container {
    margin: 0;
    border-radius: 0;
  }

  .header {
    border-radius: 0 0 15px 15px;
    padding: 1.5rem;
  }

  .header h1 {
    font-size: 2rem;
  }

  .header h2 {
    font-size: 1.5rem;
  }

  .content {
    padding: 1.5rem;
  }

  .section {
    padding: 1rem;
    margin-bottom: 2rem;
  }

  .section h3 {
    font-size: 1.2rem;
  }

  .section h4 {
    font-size: 1rem;
  }

  .footer {
    border-radius: 15px 15px 0 0;
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 1rem;
  }

  .header h1 {
    font-size: 1.8rem;
  }

  .header h2 {
    font-size: 1.3rem;
  }

  .content {
    padding: 1rem;
  }

  .section {
    padding: 0.8rem;
  }

  .section h3 {
    font-size: 1.1rem;
  }
}

/* 인쇄 스타일 */
@media print {
  body {
    background: white;
  }

  .container {
    box-shadow: none;
    max-width: none;
  }

  .header {
    background: #4caf50 !important;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
  }

  .section {
    background: white !important;
    border: 1px solid #ddd;
    page-break-inside: avoid;
  }
}
