/* ==================================================
   공통 스타일
   네비게이션 · Intro · Footer 등
================================================== */

body {
  margin: 0;
  font-family: "Noto Sans KR", sans-serif;
  background: #f9faef;
  color: #263e19;
}

/* ==================================================
   네비게이션
================================================== */

.navbar {
  width: 100%;
  background: #fffbe6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  height: 110px;
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #eee;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.6rem;
  font-weight: 700;
}

.logo img {
  height: 80px;
  margin-right: 10px;
}

.logo .point {
  color: #a2bf4a;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-weight: 500;
  font-size: 1.05rem;
}

.nav-links a {
  text-decoration: none;
  color: #263e19;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #a2bf4a;
}

@media (max-width: 700px) {
  .logo img {
    height: 6vh;
  }

  .navbar {
    flex-direction: column;
    height: auto;
    padding: 6px 6px;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    gap: clamp(7px, 2.3vw, 12px);
    font-size: clamp(0.72rem, 3vw, 0.85rem);
    margin-top: 8px;
    white-space: nowrap;
  }
}

/* ==================================================
   Intro 메인 화면
================================================== */

.intro {
  position: relative;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 120px 16px 90px 16px;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(32, 36, 38, 0.62) 0%, rgba(32, 36, 38, 0.62) 100%),
    url("../images/inner.jpg") center center / cover no-repeat;
}

.intro-title {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -2px;
}

.intro-subtitle {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 18px;
}

.intro-logo {
  height: 300px;
  max-width: 90vw;
  margin-bottom: 50px;
  margin-top: -60px;
  display: inline-block;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(32, 36, 38, 0.13));
}

.intro-desc {
  margin-bottom: 38px;
  font-size: 1.05rem;
  color: #f8f8f8;
  opacity: 0.97;
}

.intro-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.intro-btn {
  background: #f7ce46;
  color: #3d4f2b;
  border: none;
  border-radius: 32px;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 16px 36px;
  margin: 0 5px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition:
    background 0.18s,
    color 0.18s;
  text-decoration: none;
  display: inline-block;
}

.intro-btn.green {
  background: #03c75a;
  color: #222;
}

.intro-btn.green:hover {
  background: #019c43;
  color: #fff;
}

/* ==================================================
   센터 연락처 및 운영시간
================================================== */

.contact {
  margin-top: 38px;
  background: rgba(255, 255, 255, 0.15);
  padding: 15px 20px;
  border-radius: 14px;
  color: #f9faef;
  font-size: 1.06rem;
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  align-items: center;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  white-space: nowrap;
}

.contact .icon {
  flex: 0 0 auto;
  font-size: 1.2em;
}

.contact a,
.contact .tel {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 700px) {
  .intro {
    min-height: 60vh;
    padding-top: 12vh;
    padding-bottom: 10vh;
    background-position: center top;
    background-size: cover;
  }

  .intro-title {
    font-size: 1.6rem;
  }

  .intro-subtitle {
    font-size: 1.02rem;
  }

  .intro-logo {
    height: 160px;
    margin-bottom: 18px;
    margin-top: 0;
  }

  .intro-btn {
    font-size: 1rem;
    padding: 11px 16px;
  }

  .contact {
    container-type: inline-size;
    width: clamp(280px, 92vw, 560px);
    padding-left: 4vw;
    padding-right: 4vw;
    box-sizing: border-box;
  }

  .contact-row {
    white-space: nowrap;
    gap: 0.6em;
    font-size: clamp(12px, 3.6cqw, 16px);
  }

  .contact-row:nth-child(1),
  .contact-row:nth-child(2) {
    font-size: clamp(11px, 3.6cqw, 15px);
  }

  .contact .icon {
    font-size: 1.15em;
    transform: translateY(3px);
  }
}

@supports not (container-type: inline-size) {
  @media (max-width: 700px) {
    .contact-row {
      font-size: clamp(12px, 3vw, 16px);
    }

    .contact-row:nth-child(1),
    .contact-row:nth-child(2) {
      font-size: clamp(11px, 2.6vw, 15px);
    }
  }
}