
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

h1, h2, h3 {
  font-weight: 700;
  margin-bottom: 0.5em;
}

a {
  text-decoration: none;
  color: inherit;
}

section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  background-color: #f9f9f9;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.hero-content {
  flex: 1 1 500px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.hero-image {
  flex: 1 1 400px;
  text-align: center;
  padding: 20px;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 12px 20px;
  font-weight: bold;
  border-radius: 5px;
  border: none;
  background-color: #444;
  color: #fff;
  transition: background-color 0.3s ease;
}

.btn.primary {
  background-color: #000;
}

.btn:hover {
  background-color: #777;
}

.intro-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
}

.intro-content img {
  flex: 1 1 300px;
  max-width: 300px;
}

.bio {
  flex: 2 1 500px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.bio h3 {
  margin-top: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  text-align: left;
}

.bio ul {
  padding-left: 20px;
  list-style-position: outside;
  text-align: left;
}

.services {
  background-color: #f5f5f5;
  text-align: center;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.service {
  flex: 1 1 300px;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.service h3 {
  margin-bottom: 10px;
}

.contact {
  background-color: #222;
  color: #fff;
  text-align: center;
}

.contact-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.contact-box {
  flex: 1 1 300px;
  background-color: #eee;
  color: #000;
  padding: 20px;
  border-radius: 8px;
}

footer {
  padding: 20px 0;
  text-align: center;
  color: #ccc;
  font-size: 0.9rem;

  /* ✅ 아래 줄 삭제 또는 주석 처리 */
  /* background-color: #111; */
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;

  /* ✅ 여기로 배경색 옮기기 */
  background-color: #111;
  color: #ccc;
  font-size: 0.9rem;
}

/* 반응형 */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
  }

  .hero-content,
  .hero-image {
    padding: 0;
  }

  .intro-content {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }

  .bio {
    align-items: flex-start;
  }

  .bio ul {
    text-align: left;
  }

  .buttons {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .btn {
    width: 90%;
    max-width: 300px;
  }
}
