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

body {
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  background-color: #f9f9f9;
  color: #222;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

a:hover {
  color: #0076A3;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: #1A1A1A;
}

/* 헤더 스타일 */
header {
  background-color: #fff;
  padding: 20px 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo {
  font-size: 24px;
  font-weight: 800;
  color: #1A4F3F;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

header nav ul li a {
  font-size: 16px;
  font-weight: 500;
}

/* Hero 배너 */
.hero-section {
  background: url('/images/hero-background.jpg') center/cover no-repeat;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-section h1 {
  font-size: 3rem;
  color: #fff;
  animation: fadeInDown 1.2s ease-out;
}

.hero-section p {
  font-size: 1.2rem;
  color: #eee;
  margin-top: 10px;
  animation: fadeInUp 1.4s ease-out;
}

/* 메인 컨텐츠 */
.container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.card img {
  width: 100%;
  height: auto;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.card-body {
  padding: 20px;
  text-align: center;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.card-desc {
  font-size: 14px;
  color: #666;
}

/* CTA 버튼 */
.cta-button {
  display: inline-block;
  padding: 14px 28px;
  background-color: #0076A3;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #005f80;
}

/* Footer */
footer {
  background-color: #1A1A1A;
  color: #ccc;
  text-align: center;
  padding: 40px 20px;
  font-size: 14px;
}

footer a {
  color: #ccc;
}

footer a:hover {
  color: #fff;
}

/* 애니메이션 */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* 반응형 */
@media (max-width: 768px) {
  header nav ul {
    gap: 20px;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section p {
    font-size: 1rem;
  }

  .grid {
    gap: 16px;
  }
}
