@charset "UTF-8";

* {
     box-sizing: border-box;
     margin: 0;
     padding: 0;
   }
   
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #222;
  background-color: #f5f5f5;
  line-height: 1.5;
}
header {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
}
.logo {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.08em;
}
nav a {
  margin-left: 16px;
  text-decoration: none;
  color: #555;
  font-size: 14px;
}
nav a:hover {
  color: #111;
}

/* 메인 비주얼 영역 */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  padding: 48px 8vw;
  align-items: center;
  background-color: #ffffff;
}
@media (max-width: 840px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 32px 16px;
  }
}
.hero-text h1 {
  font-size: 32px;
  margin-bottom: 16px;
}
.hero-text p {
  color: #555;
  margin-bottom: 24px;
  font-size: 15px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.hero-badge {
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  background-color: #f2f2f2;
  color: #555;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.btn-primary,
.btn-outline {
  border-radius: 999px;
  padding: 10px 18px;
  border: 1px solid #111;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.btn-primary {
  background-color: #111;
  color: #fff;
}
.btn-outline {
  background-color: transparent;
  color: #111;
}
.btn-primary:hover {
  background-color: #333;
}
.btn-outline:hover {
  background-color: #111;
  color: #fff;
}

/* 사진 영역 (테스트용 박스) */
.hero-photo {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background-color: #ddd;
  min-height: 260px;
}
.hero-photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  color: #555;
  font-size: 14px;
}
.hero-photo-note {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
}
/* 실제 이미지를 넣을 때 이 부분만 사용
   .hero-photo {
      background-image: url("images/your-photo.jpg");
      background-size: cover;
      background-position: center;
   }
*/

/* 섹션 공통 */
section {
  padding: 40px 8vw;
}
section h2 {
  font-size: 22px;
  margin-bottom: 8px;
}
section p.section-desc {
  font-size: 14px;
  color: #777;
  margin-bottom: 24px;
}

/* 서비스 카드 영역 */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 840px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}
.service-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 18px;
  border: 1px solid #e5e5e5;
}
.service-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}
.service-card p {
  font-size: 13px;
  color: #555;
  margin-bottom: 8px;
}
.service-tag {
  display: inline-block;
  margin-right: 6px;
  margin-top: 4px;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background-color: #f5f5f5;
  color: #666;
}

/* 푸터 */
footer {
  padding: 24px 8vw;
  font-size: 12px;
  color: #777;
  border-top: 1px solid #e5e5e5;
  background-color: #ffffff;
}
footer .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.hero-slider {
  position: relative;
  width: 100%;
  min-height: 260px;
  border-radius: 24px;
  overflow: hidden;
  background-color: #ddd;
}


.hero-slider .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}


/* img 전체보이게 (슬라이드)
.hero-slider .slide {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #eee;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}
*/

.hero-slider .slide.active {
  opacity: 1;
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 8px 12px;
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  font-size: 22px;
  cursor: pointer;
  border-radius: 6px;
}

.slide-btn.prev {
  left: 12px;
}

.slide-btn.next {
  right: 12px;
}

.slide-btn:hover {
  background: rgba(0,0,0,0.6);
}

.about-section {
  padding: 60px 8vw;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 840px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* LEFT : LOGO BOX */
.about-logo-box {
  width: 260px;
  height: 260px;
  border-radius: 20px;
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0 auto;
}

.about-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 로고가 잘리지 않도록 */
}

.logo-placeholder {
  font-size: 22px;
  color: #666;
  font-weight: 600;
}

/* RIGHT : TEXT */
.about-text h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.about-text .section-desc {
  font-size: 14px;
  color: #777;
  margin-bottom: 20px;
}

.about-body-text {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  max-width: 520px;
}