/* ============================================
   JJ VILLAGE 웹사이트 스타일
   - 미니멀 · 사진 중심 디자인 (참고: ssolhouse.kr 느낌)
   - 포인트 색은 숙소 방문과 같은 노란색이에요.
   - 색을 바꾸려면 아래 :root의 색상 코드만 바꾸면 돼요.
   ============================================ */

:root {
  --bg: #ffffff;          /* 기본 배경 */
  --bg-alt: #f7f5f1;      /* 번갈아 나오는 옅은 배경 */
  --ink: #141414;         /* 기본 글자색 */
  --ink-soft: #75726c;    /* 연한 글자색 */
  --line: #e8e5df;        /* 구분선 */
  --accent: #f2b90d;      /* 포인트 노란색 (방문 색) */
  --accent-dark: #1a1a1a; /* 버튼 검정 */
  --radius: 6px;
  --shadow: 0 10px 34px rgba(20, 20, 20, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic",
               "Hiragino Kaku Gothic ProN", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  font-weight: 400;
}

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow { max-width: 760px; }

.center { text-align: center; }

/* ===== 영문 라벨 (섹션 위 작은 글씨) ===== */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.72rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: #a39e93;
  margin-bottom: 18px;
  font-weight: 500;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--accent);
}

.eyebrow.center-line { justify-content: center; }

/* ===== 상단 메뉴 ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
  color: #fff;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: inherit;
  text-decoration: none;
}

.logo span { font-weight: 300; }

.logo::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--accent);
  margin-left: 6px;
  border-radius: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a {
  color: inherit;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  opacity: 0.92;
}

.main-nav a:hover { opacity: 1; color: var(--accent); }

.main-nav .nav-cta {
  border: 1.5px solid currentColor;
  padding: 7px 18px;
  border-radius: 999px;
}

.main-nav .nav-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a1400;
  opacity: 1;
}

.header-right { display: flex; align-items: center; gap: 12px; }

.lang-switch {
  display: flex;
  gap: 2px;
}

.lang-switch button {
  border: none;
  background: transparent;
  padding: 5px 8px;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  color: inherit;
  opacity: 0.65;
  font-family: inherit;
  border-bottom: 2px solid transparent;
}

.lang-switch button.active {
  opacity: 1;
  font-weight: 700;
  border-bottom-color: var(--accent);
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
  color: inherit;
}

/* ===== 첫 화면 (히어로) ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(10, 10, 8, 0.25) 0%, rgba(10, 10, 8, 0.45) 70%, rgba(10, 10, 8, 0.6) 100%);
}

.hero-inner {
  position: relative;
  color: #fff;
  padding-top: 60px;
  padding-bottom: 40px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  margin-bottom: 22px;
  opacity: 0.85;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.4vw, 3.9rem);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 300;
  opacity: 0.92;
  margin-bottom: 42px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== 버튼 ===== */
.btn {
  display: inline-block;
  padding: 15px 34px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  letter-spacing: 0.02em;
}

.btn-solid {
  background: var(--accent);
  color: #1a1400;
}

.btn-solid:hover { background: #ffd23d; transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
}

.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }

/* ===== 공통 섹션 ===== */
.section { padding: 110px 0; }

.section-alt { background: var(--bg-alt); }

.section-head { margin-bottom: 56px; }

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.section-sub {
  color: var(--ink-soft);
  margin-top: 14px;
  font-weight: 300;
}

.lead {
  margin-top: 26px;
  color: var(--ink-soft);
  font-weight: 300;
  font-size: 1.05rem;
}

/* 스크롤 등장 효과 */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in { opacity: 1; transform: none; }

/* ===== 소개 통계 ===== */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 70px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: 34px 10px;
  text-align: center;
}

.stat + .stat { border-left: 1px solid var(--line); }

.stat strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.stat span { font-size: 0.85rem; color: var(--ink-soft); }

/* ===== 객실 ===== */
.room-feature {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 90px;
}

.room-feature.reverse .room-photos { order: 2; }
.room-feature.reverse .room-text { order: 1; }

.room-photos {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
  align-items: stretch;
}

.room-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: zoom-in;
}

.room-photos .main { aspect-ratio: 4 / 3.4; }
.room-photos .sub { aspect-ratio: auto; }

.room-tag {
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
}

.room-text h3 {
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 16px;
}

.room-text p { color: var(--ink-soft); font-weight: 300; }

.amenities {
  border-top: 1px solid var(--line);
  padding-top: 48px;
  text-align: center;
}

.amenities h3 { font-weight: 500; font-size: 1.1rem; margin-bottom: 22px; }

.amenity-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.amenity-list li {
  background: #fff;
  border: 1px solid var(--line);
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 0.88rem;
}

.note {
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 300;
}

/* ===== 스페셜 ===== */
.special-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 52px 44px;
}

.special-item .sp-num {
  display: block;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.special-item h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.special-item p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 300;
}

/* ===== 요금 · 계약 ===== */
.price-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: start;
}

.price-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: var(--shadow);
}

.price-card h3 {
  font-weight: 500;
  font-size: 1.15rem;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
}

.price-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.93rem;
}

.price-list div:last-child { border-bottom: none; }

.price-list dt { color: var(--ink-soft); font-weight: 500; }

.floor-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}

.floor-table th {
  text-align: left;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  font-weight: 500;
  padding: 10px 8px;
  border-bottom: 1px solid var(--ink);
}

.floor-table td {
  padding: 15px 8px;
  border-bottom: 1px solid var(--line);
}

.badge {
  background: var(--accent);
  color: #1a1400;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

/* ===== 공용시설 ===== */
.facility-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.facility-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: zoom-in;
  margin-bottom: 16px;
}

.facility-card h3 { font-size: 1rem; font-weight: 500; margin-bottom: 6px; }

.facility-card p { font-size: 0.87rem; color: var(--ink-soft); font-weight: 300; }

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

.gallery-grid figure { position: relative; overflow: hidden; border-radius: var(--radius); }

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.4s;
}

.gallery-grid figure:hover img { transform: scale(1.04); }

.gallery-grid figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 16px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
  color: #fff;
  font-size: 0.82rem;
  pointer-events: none;
}

.video-block { margin-top: 60px; text-align: center; }

.video-block h3 { font-weight: 500; font-size: 1.1rem; margin-bottom: 20px; }

.video-block video {
  width: 100%;
  max-width: 860px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #000;
}

/* ===== 오시는 길 ===== */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.location-info .address {
  margin-bottom: 30px;
  padding: 20px 24px;
  background: var(--bg-alt);
  border-radius: var(--radius);
}

.location-info .address strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin-bottom: 4px;
}

.location-info h3 { font-weight: 500; font-size: 1rem; margin-bottom: 10px; }

.near-list { list-style: none; }

.near-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.93rem;
}

.loc-amenity {
  margin-top: 22px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 300;
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  width: 100%;
  height: 440px;
  border: 0;
  display: block;
}

/* ===== 상담 예약 폼 ===== */
.reserve-container { max-width: 780px; }

.reserve-container .section-head { text-align: center; }

.reserve-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 42px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-row label, .form-full { display: block; }

.form-full { margin-bottom: 26px; }

label span {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 7px;
}

input, select, textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--ink);
}

textarea { resize: vertical; }

.btn-submit { width: 100%; font-size: 1.02rem; font-weight: 700; }

.kakao-line {
  margin-top: 22px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.kakao-line strong { color: var(--ink); margin: 0 4px; }

.copy-btn {
  border: 1px solid var(--line);
  background: var(--bg-alt);
  border-radius: 999px;
  padding: 3px 14px;
  font-size: 0.78rem;
  cursor: pointer;
  font-family: inherit;
}

.copy-btn:hover { background: var(--accent); border-color: var(--accent); }

/* ===== 하단 ===== */
.site-footer {
  background: #141414;
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 26px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 10px;
}

.footer-logo span { font-weight: 300; }

.site-footer p { font-size: 0.9rem; margin-bottom: 5px; font-weight: 300; }

.copyright {
  text-align: center;
  font-size: 0.78rem;
  opacity: 0.55;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  margin: 0 24px;
}

/* ===== 사진 크게 보기 (라이트박스) ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(12, 12, 10, 0.92);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.lightbox[hidden] { display: none; }

.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 6px;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

/* ===== 모바일 화면 ===== */
@media (max-width: 900px) {
  .nav-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    color: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .main-nav.open { display: flex; }

  .site-header:not(.scrolled) .main-nav.open { color: var(--ink); }

  .stat-strip { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }

  .room-feature,
  .room-feature.reverse {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-bottom: 70px;
  }

  .room-feature.reverse .room-photos { order: 1; }
  .room-feature.reverse .room-text { order: 2; }

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

  .special-grid { grid-template-columns: 1fr 1fr; gap: 40px 30px; }

  .facility-grid { grid-template-columns: 1fr 1fr; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .section { padding: 76px 0; }

  .reserve-form { padding: 26px; }

  .map-wrap iframe { height: 320px; }
}

@media (max-width: 540px) {
  .special-grid,
  .facility-grid,
  .gallery-grid { grid-template-columns: 1fr; }

  .lang-switch button { padding: 5px 5px; }

  .price-list div { grid-template-columns: 1fr; gap: 2px; }
}
