/* =========================================================
   MONGYA338 INDEX
   색상톤: #f8efdc / #d5c8ac / #8f9b6d / #66754d
========================================================= */

/* =========================
   :root 변수
========================= */
:root {
  --mongya-cream: #f8efdc;
  --mongya-sand: #d5c8ac;
  --mongya-brown: #8f9b6d;
  --mongya-green: #66754d;
  --mongya-ink: #2f2b24;
}

/* =========================
   body / main
========================= */
.mongya-main {
  background: var(--mongya-cream);
  color: var(--mongya-ink);
}

/* =========================
   MAIN VISUAL
========================= */
.main-visual {
  position: relative;
  height: 100vh;
  min-height: 780px;
  overflow: hidden;
}

.main-visual-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.main-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(47, 43, 36, 0.28),
    rgba(47, 43, 36, 0.05)
  );
}


/* =========================================
   메인 비주얼 텍스트
   - 흰색
   - 명조체 감성
   - 이미지 위에서도 읽히도록 그림자 처리
========================================= */

/* Google Font 사용 시 head 또는 CSS 상단에 추가 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@400;500;600;700&display=swap');

.main-visual-text {
  position: absolute;
  left: 12%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;

  color: #fff;
  text-align: left;

  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

.main-visual-text p {
  margin: 0 0 18px;

  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 5px;
  font-weight: 500;

  color: rgba(255, 255, 255, 0.86);
}

.main-visual-text h1 {
  margin: 0;

  font-family: 'Noto Serif KR', 'Nanum Myeongjo', 'Batang', serif;
  font-size: clamp(42px, 4.2vw, 62px);
  line-height: 1.38;

  /* 기존 500 → 600으로 변경  다만 명조체는 700 정도까지만 추천합니다.
800~900은 폰트가 지원하지 않으면 적용이 안 되거나, 브라우저가 억지로 두껍게 만들어서 글자가 뭉개져 보일 수 있습니다.*/
  font-weight: 700;

  letter-spacing: -0.04em;
  color: #fff;
}

.main-visual-text span {
  display: block;
  margin-top: 24px;

  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  font-size: 17px;
  line-height: 1.8;
  font-weight: 400;
  letter-spacing: -0.02em;

  color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 768px) {
  .main-visual-text {
    left: 28px;
    right: 28px;
    top: 52%;
  }

  .main-visual-text p {
    margin-bottom: 14px;
    font-size: 12px;
    letter-spacing: 3px;
  }

  .main-visual-text h1 {
    font-size: 38px;
    line-height: 1.42;
    letter-spacing: -0.05em;
  }

  .main-visual-text span {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.7;
  }
}


/* =========================
   MAIN TEXT 2026.06.14
========================= */
/*
.main-visual-text {
  position: absolute;
  left: 12%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  color: #ffffff;
}

.main-visual-text p {
  margin: 0 0 18px;
  font-size: 15px;
  letter-spacing: 5px;
  font-weight: 500;
}

.main-visual-text h1 {
  margin: 0;
  font-size: 54px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -1.5px;
}

.main-visual-text span {
  display: block;
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.8;
}

*/

/* =========================================
   메인 배너 하단 스크롤 인디케이터
   - 클릭 버튼 아님
   - 아래 콘텐츠가 있음을 알려주는 표시
========================================= */

/* =========================================
   메인 배너 스크롤 인디케이터
   - 배너 높이가 화면보다 커도 첫 화면 안에 보이게 처리
========================================= */

.main-visual {
  position: relative;
}

.main-scroll-indicator {
  position: absolute;
  left: 50%;

  /* 브라우저 화면 하단 기준으로 위치 */
  top: calc(100vh - 96px);
  top: calc(100svh - 96px);
  bottom: auto;

  z-index: 30;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;

  transform: translateX(-50%);
  pointer-events: none;

  animation: mainScrollIndicator 1.7s ease-in-out infinite;
}

.main-scroll-text {
  font-size: 11px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.main-scroll-arrow {
  width: 17px;
  height: 17px;
  border-right: 2px solid rgba(255, 255, 255, 0.9);
  border-bottom: 2px solid rgba(255, 255, 255, 0.9);
  transform: rotate(45deg);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

@keyframes mainScrollIndicator {
  0% {
    opacity: 0.25;
    transform: translateX(-50%) translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) translateY(7px);
  }

  100% {
    opacity: 0.25;
    transform: translateX(-50%) translateY(0);
  }
}

@media (max-width: 1024px) {
  .main-scroll-indicator {
    top: calc(100svh - 82px);
    gap: 8px;
  }

  .main-scroll-text {
    font-size: 10px;
    letter-spacing: 0.22em;
  }

  .main-scroll-arrow {
    width: 15px;
    height: 15px;
  }
}

/*======================================== */

.main-visual-pager {
  position: absolute;
  left: 50%;
  bottom: 55px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 10;
  color: #fff;
}

.main-visual-pager i {
  width: 120px;
  height: 1px;
  background: #fff;
}

/* =========================
   MAIN VISUAL 개선 (그라데이션 블러)
========================= */
.main-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  /* 왼쪽은 진하게, 오른쪽은 투명으로 그라데이션으로 블러 느낌 처리 */
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.6),
    /* 왼쪽 진한 블러 느낌 */ rgba(0, 0, 0, 0) /* 오른쪽 완전 투명, 블러 없음 */
  );
  pointer-events: none;
  z-index: 1; /* 텍스트 아래 */
}

/* =========================
   MAIN VISUAL TEXT SHADOW
========================= */
.main-visual-text h1,
.main-visual-text span,
.main-visual-text p {
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 10; /* 그라데이션 오버레이 위 */
}

/* =========================
   BRAND
========================= */
.brand-section {
  padding: 115px 20px 105px;
  text-align: center;
  color: #000;
  background: var(--mongya-cream);
}

.brand-logo-text strong {
  display: block;
  font-size: 62px;
  line-height: 1;
  letter-spacing: 4px;
  color: #000;
}

.brand-logo-text p {
  margin: 22px 0 12px;
  font-size: 21px;
  color: var(--mongya-green);
  font-weight: 600;
  color: #000;
}

.brand-logo-text span {
  font-size: 16px;
  color: #000;
  line-height: 1.9;
}
/* =========================
   STAY SECTION
========================= */

/* =======================================
   STAY SECTION MODERN PREMIUM LAYOUT
======================================= */
:root {
  --stay-bg: #d5c8ac;
  --stay-text-color: #2b2925; /* 프리텐다드 서체용 딥 브라운 */
  --stay-point-color: #6e614e; /* 서브 타이틀용 폰트 컬러 */
}

.stay-section {
  background-color: var(--stay-bg) !important;
  width: 100% !important;
  overflow: hidden !important;
  color: var(--stay-text-color) !important;
  font-family:
    "Pretendard",
    -apple-system,
    BlinkMacSystemFont,
    system-ui,
    Roboto,
    sans-serif !important;
}

.stay-container {
  width: 100% !important;
  max-width: 100% !important;
}

/* ---------------------------------------
   ★ 핵심: 대칭 정렬 강제 고정 구조 (Flex)
--------------------------------------- */
.stay-row {
  display: flex !important;
  width: 100% !important;
  min-height: 75vh !important;
  align-items: stretch !important;
}

/* STAY A, C [좌 텍스트 / 우 이미지] 강제 배치 */
.stay-row-text-left {
  flex-direction: row !important;
}
.stay-row-text-left .text-col {
  order: 1 !important;
}
.stay-row-text-left .image-col {
  order: 2 !important;
}

/* STAY B, D [좌 이미지 / 우 텍스트] 강제 배치 */
.stay-row-image-left {
  flex-direction: row !important;
}
.stay-row-image-left .image-col {
  order: 1 !important;
}
.stay-row-image-left .text-col {
  order: 2 !important;
}

/* 좌우 열(Column) 공통 설정 */
.stay-col {
  flex: 1 !important;
  width: 50% !important;
  display: flex !important;
  align-items: center !important;
}

/* 이미지 영역 스타일 (여백을 좁혀 밀도 상향) */
.image-col {
  justify-content: center !important;
  padding: 50px 40px !important;
}

.img-wrapper {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.img-wrapper img {
  width: 100% !important;
  height: auto !important;
  max-height: 600px !important;
  object-fit: cover !important;
  display: block !important;
}

/* 텍스트 영역 스타일 (여백을 줄이고 이미지와 가깝게 세팅) */
.text-col {
  justify-content: center !important;
  padding: 60px 6% !important;
}

.text-inner {
  width: 100% !important;
  max-width: 480px !important;
  text-align: left !important;
}

/* ---------------------------------------
   타포그래피 및 세부 스타일 (크기/굵기 상향)
--------------------------------------- */
.sub-title {
  display: block !important;
  font-size: 14px !important;
  letter-spacing: 0.35em !important;
  color: var(--stay-point-color) !important;
  margin-bottom: 12px !important;
  font-weight: 600 !important;
}

.main-title {
  font-size: 42px !important; /* 크기 키움 */
  font-weight: 700 !important; /* 굵기 볼드 */
  letter-spacing: -0.01em !important;
  margin-bottom: 35px !important;
  color: #1a1917 !important;
}

.desc-text {
  font-size: 16px !important; /* 크기 키움 */
  font-weight: 400 !important;
  line-height: 1.85 !important; /* 시원한 행간 */
  color: #3b3731 !important;
  margin-bottom: 35px !important;
  word-break: keep-all !important;
}

.story-link {
  display: inline-block !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: var(--stay-text-color) !important;
  text-decoration: none !important;
  border-bottom: 1px solid var(--stay-text-color) !important;
  padding-bottom: 4px !important;
  transition: all 0.3s ease !important;
}

.story-link:hover {
  color: #fff !important;
  border-bottom-color: #fff !important;
}

/* ---------------------------------------
   모바일 반응형 대응 (화면 좁아질 때)
--------------------------------------- */
@media (max-width: 991px) {
  .stay-row {
    flex-direction: column !important;
  }

  /* 모바일에서는 어떤 행이든 무조건 이미지가 위, 텍스트가 아래로 오도록 통일 */
  .stay-row .image-col {
    order: 1 !important;
  }
  .stay-row .text-col {
    order: 2 !important;
  }

  .stay-col {
    width: 100% !important;
  }
  .text-col {
    padding: 40px 24px 60px 24px !important;
  }
  .text-inner {
    max-width: 100% !important;
    text-align: center !important; /* 모바일은 중앙정렬 */
  }
  .image-col {
    padding: 50px 24px 10px 24px !important;
  }
}

/* =========================
   STAY CARD REVERSE
   좌측 텍스트 / 우측 이미지
========================= */
.stay-grid {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.stay-card.reverse {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.stay-card .stay-text {
  text-align: left;
}

.stay-card .stay-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* 모바일 */
@media (max-width: 991px) {
  .stay-card.reverse {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .stay-card .stay-text {
    margin-bottom: 24px;
  }

  .stay-card .stay-image img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
  }
}

/* =========================
   HEALING SECTION
========================= */
.healing-section {
  height: 760px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.healing-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(46, 57, 38, 0.48);
}

.healing-text {
  position: absolute;
  left: 10%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  color: #fff;
}

.healing-text p {
  color: #f8efdc;
}

.healing-text h2 {
  margin: 0;
  font-size: 52px;
  line-height: 1.45;
  font-weight: 500;
}

.healing-text span {
  display: block;
  margin-top: 28px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.86);
}

/* =========================
   SPECIAL / FACILITIES
========================= */
.special-section {
  padding: 110px 0 100px;
  background: var(--mongya-cream);
}

.special-title {
  width: min(1320px, calc(100% - 80px));
  margin: 0 auto 48px;
}

.special-grid {
  width: min(1320px, calc(100% - 80px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.special-card {
  position: relative;
  display: block;
  min-height: 420px;
  overflow: hidden;
  color: #fff;
}

.special-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.special-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.05),
    rgba(47, 43, 36, 0.58)
  );
}

.special-card:hover img {
  transform: scale(1.04);
}

.special-card div {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 26px;
  z-index: 2;
}

.special-card span {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  letter-spacing: 3px;
}

.special-card h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
}

/* =========================
   MOBILE GENERAL
========================= */
@media (max-width: 991px) {
  .main-visual {
    min-height: 640px;
  }

  .main-visual-text {
    left: 28px;
    right: 28px;
  }

  .main-visual-text p {
    font-size: 12px;
    letter-spacing: 3px;
  }

  .main-visual-text h1 {
    font-size: 34px;
  }

  .main-visual-text span {
    font-size: 14px;
  }

  .brand-section {
    padding: 78px 20px;
  }

  .brand-logo-text strong {
    font-size: 38px;
  }

  .stay-section,
  .special-section {
    padding: 72px 0;
  }

  .stay-head,
  .special-title,
  .stay-grid,
  .special-grid {
    width: calc(100% - 36px);
  }

  .stay-head h2,
  .special-title h2 {
    font-size: 34px;
  }

  .healing-section {
    height: 560px;
  }

  .healing-text {
    left: 26px;
    right: 26px;
  }

  .healing-text h2 {
    font-size: 32px;
  }
}

/* =========================
   STAY SLIDER MOBILE
========================= */
/* PC에서는 컨트롤 숨김 */
.stay-mobile-controls {
  display: none;
}

@media (max-width: 991px) {
  .stay-slider {
    width: calc(100% - 36px);
    margin: 0 auto;
    overflow: hidden;
  }

  .stay-slider .stay-grid {
    width: 100%;
    display: flex;
    gap: 0;
    transition: transform 0.45s ease;
  }

  .stay-slider .stay-card {
    flex: 0 0 100%;
    width: 100%;
  }

  .stay-mobile-controls {
    margin-top: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
  }

  .stay-mobile-controls button {
    width: 38px;
    height: 38px;
    border: 1px solid var(--mongya-green);
    background: transparent;
    color: var(--mongya-green);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
  }

  .stay-dots {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .stay-dots button {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 50%;
    background: rgba(102, 117, 77, 0.35);
    padding: 0;
    cursor: pointer;
  }

  .stay-dots button.is-active {
    width: 26px;
    border-radius: 999px;
    background: var(--mongya-green);
  }
}

@media (min-width: 992px) {
  .stay-slider .stay-grid {
    width: min(1320px, calc(100% - 80px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    transform: none !important;
  }
}

/* =========================
   FACILITY SLIDER MOBILE
========================= */
/* PC에서는 시설 컨트롤 숨김 */
.facility-mobile-controls {
  display: none;
}

@media (max-width: 991px) {
  .facility-slider {
    width: calc(100% - 36px);
    margin: 0 auto;
    overflow: hidden;
  }

  .facility-slider .special-grid {
    width: 100%;
    display: flex;
    grid-template-columns: none;
    gap: 0;
    transition: transform 0.45s ease;
  }

  .facility-slider .special-card {
    flex: 0 0 100%;
    width: 100%;
  }

  .facility-mobile-controls {
    margin-top: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
  }

  .facility-mobile-controls button {
    width: 38px;
    height: 38px;
    border: 1px solid var(--mongya-green);
    background: transparent;
    color: var(--mongya-green);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
  }

  .facility-dots {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .facility-dots button {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 50%;
    background: rgba(102, 117, 77, 0.35);
    padding: 0;
    cursor: pointer;
  }

  .facility-dots button.is-active {
    width: 26px;
    border-radius: 999px;
    background: var(--mongya-green);
  }
}

@media (min-width: 992px) {
  .facility-slider .special-grid {
    transform: none !important;
  }
}

/* =========================
   메인 슬라이드 진행도와 인디케잍터 수정 2026.06.15
========================= */

/* 메인 슬라이드 진행도 */
.main-visual-status {
  position: absolute;
  left: 50%;

  /* 진행도는 화면 하단에서 70px 위 */
  top: calc(100vh - 70px);
  top: calc(100svh - 70px);

  bottom: auto;
  z-index: 40;
  transform: translate(-50%, -100%);
}

/* 스크롤 인디케이터 */
.main-scroll-indicator {
  /* 인디케이터는 진행도 아래쪽 */
  top: calc(100vh - 34px);
  top: calc(100svh - 34px);
  bottom: auto;
}

@media (max-width: 1024px) {
  .main-visual-status {
    top: calc(100svh - 62px);
  }

  .main-scroll-indicator {
    top: calc(100svh - 30px);
  }
}

/* ========================= */