/* 기본 설정 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans KR", system-ui,
    sans-serif;
  color: #1f2933;
  background-color: #f6f7fb;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

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

/* 공통 레이아웃 */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background-color: #ffffff;
}

.section-title {
  font-size: 28px;
  margin-bottom: 16px;
  text-align: center;
}

.section-desc {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
  color: #5a6a7a;
  font-size: 15px;
}

/* 헤더 / 내비게이션 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e5e7eb;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-weight: 700;
  font-size: 18px;
  color: #111827;
}

.nav {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 14px;
}

.nav a {
  padding: 6px 10px;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav a:hover {
  background-color: #e5f0ff;
}

.nav-cta {
  background-color: #2563eb;
  color: #ffffff;
}

/* 버튼 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease, transform 0.1s ease;
}

.btn.primary {
  background-color: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

.btn.primary:hover {
  background-color: #1d4ed8;
  border-color: #1d4ed8;
  transform: translateY(-1px);
}

.btn.ghost {
  background-color: #ffffff;
  border-color: #ffffff;
  color: #111827;
}

.btn.ghost:hover {
  background-color: #9ca3af;
}

.btn-full {
  width: 100%;
}

/* 히어로 섹션 */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  color: #ffffff;
  background-image: url("https://images.pexels.com/photos/439391/pexels-photo-439391.jpeg?auto=compress&cs=tinysrgb&w=1600");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to right,
      rgba(15, 23, 42, 0.85),
      rgba(15, 23, 42, 0.6),
      rgba(15, 23, 42, 0.2)
    );
}

.hero-content {
  position: relative;
  padding: 100px 0 80px;
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background-color: rgba(15, 118, 110, 0.85);
  font-size: 12px;
  margin-bottom: 12px;
}

.hero-title {
  font-size: 34px;
  line-height: 1.25;
  margin: 0 0 16px;
}

.hero-subtitle {
  font-size: 15px;
  color: #e5e7eb;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #d1d5db;
}

.hero-meta span {
  background-color: rgba(15, 23, 42, 0.7);
  padding: 6px 10px;
  border-radius: 999px;
}

/* 단지 소개 - 특징 카드 */
.feature-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 16px;
}

.feature-card p {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}

/* 갤러리 */
.gallery-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-item {
  background-color: #f9fafb;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.gallery-caption {
  margin: 10px 12px 12px;
  font-size: 13px;
  color: #4b5563;
}

/* 위치 섹션 */
.location-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: flex-start;
}

.location-text h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 18px;
}

.location-text p {
  font-size: 14px;
  color: #4b5563;
}

.location-list {
  list-style: none;
  padding: 0;
  margin-top: 16px;
  font-size: 14px;
}

.location-list li + li {
  margin-top: 6px;
}

.location-map {
  width: 100%;
}

.map-placeholder {
  background: repeating-linear-gradient(
    45deg,
    #e5e7eb,
    #e5e7eb 10px,
    #f9fafb 10px,
    #f9fafb 20px
  );
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  border: 1px solid #d1d5db;
}

.map-small-text {
  font-size: 12px;
  color: #6b7280;
}

/* 평형 안내 테이블 */
.type-table-wrapper {
  overflow-x: auto;
}

.type-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  font-size: 14px;
}

.type-table thead {
  background-color: #f3f4f6;
}

.type-table th,
.type-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e5e7eb;
}

.type-table th {
  text-align: left;
  font-weight: 600;
}

.type-table tbody tr:hover {
  background-color: #f9fafb;
}

/* 절차 섹션 */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.process-step {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #e5e7eb;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background-color: #2563eb;
  color: #ffffff;
  font-size: 14px;
  margin-bottom: 10px;
}

/* FAQ */
.faq-list {
  max-width: 640px;
  margin: 0 auto;
}

.faq-item {
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
  padding: 12px 14px;
  font-size: 14px;
}

.faq-item + .faq-item {
  margin-top: 10px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 500;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

/* 문의 섹션 */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}

.contact-form {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
  color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 14px;
  font-family: inherit;
}

.form-group textarea {
  resize: vertical;
}

.contact-info {
  font-size: 14px;
}

.contact-info h3 {
  margin-top: 0;
}

.contact-highlight {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-note {
  margin-top: 14px;
  font-size: 12px;
  color: #6b7280;
}

/* 푸터 */
.site-footer {
  padding: 24px 0;
  background-color: #111827;
  color: #9ca3af;
  font-size: 12px;
}

.footer-content {
  text-align: center;
}

.footer-small {
  margin-top: 4px;
}

/* 반응형 */
@media (max-width: 900px) {
  .nav {
    display: none; /* 심플하게: 모바일에선 네비 감추고 히어로 버튼으로 이동 */
  }

  .hero {
    min-height: 70vh;
  }

  .hero-content {
    padding-top: 80px;
  }

  .feature-grid,
  .gallery-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .location-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 60px 0;
  }

  .hero-title {
    font-size: 26px;
  }

  .section-title {
    font-size: 22px;
  }
}
