/* 산온 체크인 안내 — 공통 스타일
   톤: 미니멀, 베이지·다크그린, 나눔명조(제목) + Pretendard(본문)
   모바일 우선
*/

@import url('https://fonts.googleapis.com/css2?family=Nanum+Myeongjo:wght@400;700&display=swap');
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');

:root {
  --bg: #F5F1EA;
  --bg-card: #FAF8F4;
  --bg-info: #ECE6D8;
  --text-primary: #2D3A2E;
  --text-secondary: #5A6B5D;
  --text-muted: #8A8678;
  --border: #DED7C8;
  --accent: #4A5D4D;
  --warn: #8B4513;
  --warn-bg: #F4ECD8;
  --shadow: 0 1px 3px rgba(45, 58, 46, 0.06);
  --radius: 12px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

.container {
  max-width: 560px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

/* === Hero / 인사말 === */

.hero {
  padding: 24px 0 32px;
  text-align: left;
}

.hero-image {
  margin: 0 -24px 24px;
  overflow: hidden;
  background: var(--bg-card);
}

.hero-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero .room-label {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.hero h1 {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.hero .welcome {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  white-space: pre-line;
}

/* === 빠른 정보 박스 === */

.quick-info {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 0;
  margin: 24px 0 32px;
  box-shadow: var(--shadow);
}

.info-row {
  display: flex;
  align-items: flex-start;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  flex: 0 0 84px;
  font-size: 14px;
  color: var(--text-muted);
  padding-top: 2px;
}

.info-value {
  flex: 1;
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.5;
  word-break: break-all;
}

.info-value.copyable {
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: rgba(74, 93, 77, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: opacity 0.15s;
}

.info-value.copyable:active {
  opacity: 0.5;
}

.copy-icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  opacity: 0.4;
  font-size: 14px;
}

.info-value.linkable,
.info-value .linkable {
  color: var(--accent);
  text-decoration: none;
  display: inline-block;
}

.info-value.linkable:active,
.info-value .linkable:active {
  opacity: 0.5;
}

.info-checkin {
  display: flex;
  gap: 24px;
}

.info-checkin span {
  font-variant-numeric: tabular-nums;
}

.info-checkin strong {
  font-weight: 600;
  color: var(--text-primary);
}

.info-note {
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* === 섹션 공통 === */

.section {
  margin: 40px 0;
}

.section-title {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

/* === 시설 카드 === */

.facility-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 12px;
}

.facility-title {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.facility-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  white-space: pre-line;
}

.facility-steps {
  margin-top: 12px;
  padding-left: 0;
  list-style: none;
  counter-reset: step;
}

.facility-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 32px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.facility-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}

.facility-warn {
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--warn-bg);
  border-left: 3px solid var(--warn);
  border-radius: 4px;
  font-size: 13px;
  color: var(--warn);
  line-height: 1.6;
}

.facility-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* === 만두 쿠폰 === */

.mandu {
  background: var(--bg-info);
  border-radius: var(--radius);
  padding: 20px;
  margin: 24px 0;
}

.mandu-title {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.mandu-name {
  font-weight: 600;
  margin-bottom: 4px;
}

.mandu-address {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.mandu-note {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === 정책 === */

.policy-list {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.policy-item {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.policy-item:last-child {
  border-bottom: none;
}

.policy-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.policy-body {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* === 리뷰 이벤트 === */

.review {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.review-summary {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
}

.review-tiers {
  margin: 14px 0;
  padding: 0;
  list-style: none;
}

.review-tiers li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--border);
}

.review-tiers li:last-child {
  border-bottom: none;
}

.review-tiers li strong {
  color: var(--accent);
  font-weight: 600;
}

.review-cta {
  display: block;
  text-align: center;
  background: var(--accent);
  color: white;
  padding: 14px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  margin-top: 16px;
  transition: opacity 0.15s;
}

.review-cta:active {
  opacity: 0.7;
}

.review-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.6;
}

/* === 문의처 === */

.contact {
  text-align: center;
  margin: 40px 0 16px;
}

.contact-link {
  display: inline-block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 15px;
  transition: opacity 0.15s;
}

.contact-link:active {
  opacity: 0.7;
}

/* === 푸터 (옵션 B 적용 2026-05-11) === */

.footer {
  text-align: center;
  margin-top: 32px;
  font-family: 'Pretendard', sans-serif;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0 18px;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.footer-divider::before,
.footer-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--accent);
  color: white;
  padding: 18px 22px;
  border-radius: var(--radius);
  text-decoration: none;
  margin-bottom: 12px;
  transition: opacity 0.15s;
}

.footer-cta:active {
  opacity: 0.85;
}

.footer-cta-content {
  text-align: left;
  flex: 1;
}

.footer-cta-title {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 3px;
}

.footer-cta-desc {
  font-size: 12px;
  opacity: 0.85;
  letter-spacing: 0.01em;
}

.footer-cta-arrow {
  font-size: 18px;
  flex: 0 0 auto;
  opacity: 0.85;
}

.footer-home {
  display: inline-block;
  padding: 12px 22px;
  font-family: 'Pretendard', sans-serif;
  font-size: 13px;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  transition: opacity 0.15s;
}

.footer-home:active {
  opacity: 0.7;
}

.footer-line {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-family: 'Nanum Myeongjo', serif;
  color: var(--text-muted);
  font-size: 13px;
}

/* === 사진 링크 + 라이트박스 === */

.photo-link {
  display: inline-block;
  margin-left: 6px;
  padding: 0 2px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 12px;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  vertical-align: baseline;
  line-height: 1;
}

.photo-link:active {
  opacity: 0.5;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 25, 22, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 32px 20px;
  cursor: zoom-out;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.18);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:active {
  opacity: 0.6;
}

/* === 토스트 (복사 알림) === */

.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--text-primary);
  color: white;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 100;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* === 랜딩 페이지 === */

.landing {
  padding-top: 48px;
}

.landing h1 {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}

.landing .sub {
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.room-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.room-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-decoration: none;
  color: var(--text-primary);
  transition: opacity 0.15s;
}

.room-card:active {
  opacity: 0.7;
}

.room-card-name {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.room-card-region {
  font-size: 13px;
  color: var(--text-muted);
}

/* === 반응형 === */

@media (min-width: 600px) {
  .container {
    padding: 48px 32px 80px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-image {
    margin: 0 0 28px;
    border-radius: var(--radius);
  }
}
