
/* 기본 스타일 유지 + 반응형 개선 추가 */
body {
  font-family: "Noto Sans KR", sans-serif;
  margin: 0;
  padding: 0;
}

header {
  background: #FFFFFF;
  color: black;
  text-align: center;
  border-top: solid green;
  border-bottom: solid green;
  padding: 10px;
}

.icon {
  font-size: 1.8rem;
  font-weight: bold;
  text-decoration: none;
  margin: 0.3rem 1rem;
  display: inline-block;
}

.logo a {
  font-size: 1.8rem;
  font-weight: bold;
  text-decoration: none;
}

.logo img {
  max-width: 100%;
  height: auto;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  padding: 0;
}

nav li {
  margin: 0.3rem 1rem;
}

nav a {
  color: black;
  text-decoration: none;
  font-weight: 500;
}

.phone-link {
  font-weight: bold;
  font-size: 1.4rem;
  color: yellow;
  background-color: #014d4e;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
}

.menu-link {
  font-weight: bold;
  font-size: 1.2rem;
  color: white;
  background-color: #014d4e;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
}

.container { 
  max-width: 1200px; 
  margin: auto; 
  padding: 2rem; 
}

.title {
  font-size: 36px; 
  color: #014d4e; 
  margin-bottom: 1rem; 
}

.services {
  padding: 2rem 1rem;
  background: white;
  justify-content: center;
  max-width: 100%;
  box-sizing: border-box;
}

.sub { font-size: 18px; color: #333; line-height: 1.8; }

.service-box { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 20px; 
  margin-top: 2rem; 
}

.card {
  flex: 1 1 300px;
  border: 1px solid #ccc;
  padding: 1.5rem;
  border-radius: 8px;
  background-color: #f9f9f9;
}
.card h3 { color: #222; margin-top: 0; }
.card p { color: #555; }

.services h2 {
  margin-bottom: 1rem;
  text-align: center;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
}

.service-item {
  background: #e0f7f7;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  min-width: 140px;
}

.services input, .services textarea {
  width: 100%;
  padding: 0.7rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.form-message {
  color: green;
  margin-top: 10px;
  font-weight: bold;
}

.contact {
  padding: 2rem 1rem;
  background: #f0f0f0;
  text-align: center;
}

footer {
  background: #707070;
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.85rem;
}

.visual-banner img {
  max-width: 100%;
  height: auto;
}


/* ✅ 반응형 추가 */
@media (max-width: 768px) {
  .title {
    font-size: 28px;
  }
  .menu-link, .phone-link {
    font-size: 1rem;
    padding: 6px 10px;
  }
  .card {
    flex: 1 1 100%;
  }
  nav ul {
    flex-direction: column;
    align-items: center;
  }
  .services {
    padding: 1rem;
  }
}

button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}