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

body {
  font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 헤더 스타일 */
.header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.last-updated {
  font-size: 1rem;
  opacity: 0.9;
  font-weight: 300;
}

/* 메인 콘텐츠 */
.main {
  padding: 60px 0;
  background-color: white;
  margin: 40px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.section {
  margin-bottom: 40px;
  padding: 0 40px;
}

.section:last-child {
  margin-bottom: 0;
}

.section h2 {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid #3498db;
  font-weight: 600;
}

.section p {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #555;
  text-align: justify;
}

.section ul {
  margin: 15px 0;
  padding-left: 20px;
}

.section li {
  margin-bottom: 8px;
  color: #555;
  line-height: 1.7;
}

.section li strong {
  color: #2c3e50;
  font-weight: 600;
}

/* 연락처 정보 박스 */
.contact-info {
  background-color: #f8f9fa;
  padding: 25px;
  border-radius: 8px;
  border-left: 4px solid #3498db;
  margin-top: 20px;
}

.contact-info p {
  margin-bottom: 8px;
  color: #555;
}

.contact-info p:first-child {
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 15px;
}

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

.footer p {
  font-size: 0.9rem;
  opacity: 0.8;
}

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

  .header {
    padding: 40px 0;
  }

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

  .main {
    margin: 20px 10px;
    padding: 40px 0;
  }

  .section {
    padding: 0 20px;
  }

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

  .section p,
  .section li {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .header h1 {
    font-size: 1.8rem;
  }

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

  .section {
    padding: 0 15px;
  }

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

  .contact-info {
    padding: 20px;
  }
}

/* 스크롤 애니메이션 */
.section {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.section:nth-child(1) {
  animation-delay: 0.1s;
}
.section:nth-child(2) {
  animation-delay: 0.2s;
}
.section:nth-child(3) {
  animation-delay: 0.3s;
}
.section:nth-child(4) {
  animation-delay: 0.4s;
}
.section:nth-child(5) {
  animation-delay: 0.5s;
}
.section:nth-child(6) {
  animation-delay: 0.6s;
}
.section:nth-child(7) {
  animation-delay: 0.7s;
}
.section:nth-child(8) {
  animation-delay: 0.8s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 호버 효과 */
.section h2:hover {
  color: #3498db;
  transition: color 0.3s ease;
}

/* 인쇄 스타일 */
@media print {
  .header {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }

  .main {
    box-shadow: none !important;
    margin: 0 !important;
  }

  .footer {
    background: white !important;
    color: black !important;
  }
}
