/* =============================================
   INDEX.CSS — 페이지별 스타일 (고요재 한옥 스테이)
   ============================================= */


/* ─── 히어로 ─── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1559827260-dc66d52bef19?w=1920&h=1080&fit=crop&q=85');
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 0.1s linear;
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 5, 0, 0.62);
}

/* 세로 장식 문자 */
.hero__deco {
  position: absolute;
  right: 52px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
  padding: 0 40px;
}

.hero__label {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  letter-spacing: var(--ls-widest);
  color: rgba(255, 255, 255, 0.5);
  display: block;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: var(--fw-light);
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 2rem;
}

.hero__title em {
  font-style: italic;
  font-weight: var(--fw-light);
  color: rgba(255, 255, 255, 0.72);
}

.hero__rule {
  width: 50px;
  height: 1px;
  background: var(--color-accent);
  margin: 0 auto 2rem;
}

.hero__subtitle {
  font-size: var(--text-md);
  color: rgba(255, 255, 255, 0.68);
  font-weight: var(--fw-light);
  line-height: 1.95;
  margin-bottom: 3rem;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* 히어로 버튼: 흰 아웃라인 오버라이드 */
.hero .btn--outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
  background: transparent;
}

.hero .btn--outline:hover {
  background: #ffffff;
  color: var(--color-accent);
  border-color: #ffffff;
}

.hero__scroll {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 1;
}

.hero__scroll span {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  letter-spacing: var(--ls-widest);
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 64px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: scrollDrop 2.2s ease-in-out infinite;
}

@keyframes scrollDrop {
  0%   { transform: scaleY(0); transform-origin: top;    opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top;    opacity: 1; }
  51%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}


/* ─── 어바웃 (전체폭 좌우 분할) ─── */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 700px;
}

.about__image-col {
  overflow: hidden;
  position: relative;
}

.about__image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.about__image-col:hover img {
  transform: scale(1.03);
}

.about__text-col {
  background: var(--color-bg-secondary);
  display: flex;
  align-items: center;
}

.about__text-inner {
  padding: 80px 80px;
  max-width: 540px;
}

.about__desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  font-weight: var(--fw-light);
  line-height: 2.0;
  margin-bottom: 1.2rem;
}

.about__stats {
  display: flex;
  gap: 40px;
  margin-top: 3.5rem;
  padding-top: 3.5rem;
  border-top: 1px solid var(--color-border);
}

.about__stat {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.about__stat-num {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--fw-semibold);
  color: var(--color-accent);
  line-height: 1;
}

.about__stat-star {
  font-family: var(--font-label);
}

.about__stat-label {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: var(--ls-normal);
}


/* ─── 객실 (2열 그리드) ─── */
.rooms {
  padding: var(--space-3xl) 0;
  background: var(--color-bg-primary);
}

.rooms__grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.room-card-v {
  background: var(--color-bg-secondary);
  position: relative;
  overflow: hidden;
  transition: background var(--transition);
}

.room-card-v:hover {
  background: var(--color-bg-tertiary);
}

.room-card-v__image {
  position: relative;
  overflow: hidden;
  height: 280px;
}

.room-card-v__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.room-card-v:hover .room-card-v__image img {
  transform: scale(1.05);
}

.room-card-v__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.12);
  transition: var(--transition);
}

.room-card-v:hover .room-card-v__overlay {
  background: rgba(0, 0, 0, 0.06);
}

.room-card-v__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-label);
  font-size: var(--text-2xs);
  letter-spacing: var(--ls-wide);
  background: var(--color-accent);
  color: #ffffff;
  padding: 5px 12px;
  text-transform: uppercase;
}

.room-card-v__body {
  padding: 36px 40px 44px;
}

.room-card-v__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--fw-regular);
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
}

.room-card-v__meta {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.room-card-v__desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  font-weight: var(--fw-light);
  line-height: 1.95;
  margin-bottom: 1.5rem;
}

.room-card-v__foot {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border-subtle);
}

.room-card-v__price {
  font-family: var(--font-label);
  font-size: var(--text-xl);
  font-weight: var(--fw-medium);
  color: var(--color-accent);
}

.room-card-v__per {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.rooms__cta {
  text-align: center;
  margin-top: 5rem;
}


/* ─── 시설 (에디토리얼 라인 리스트) ─── */
.amenities {
  padding: var(--space-3xl) 0;
  background: var(--color-bg-secondary);
}

.amenities__editorial {
  max-width: 840px;
  margin: 0 auto;
}

.amenity-row {
  display: grid;
  grid-template-columns: 60px 52px 1fr;
  gap: 20px;
  align-items: center;
  padding: 32px 0;
}

.amenity-row__num {
  font-family: var(--font-label);
  font-size: var(--text-2xs);
  color: var(--color-accent);
  letter-spacing: var(--ls-wide);
  font-weight: var(--fw-medium);
}

.amenity-row__icon {
  font-size: 1.4rem;
  color: var(--color-accent);
  text-align: center;
}

.amenity-row__body h4 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--fw-regular);
  color: var(--color-text-primary);
  margin-bottom: 0.3rem;
}

.amenity-row__body p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: var(--fw-light);
  line-height: 1.8;
}

.amenity-row__divider {
  height: 1px;
  background: var(--color-border);
  max-width: 840px;
  margin: 0 auto;
}


/* ─── 갤러리 (메이슨리 그리드) ─── */
.gallery {
  padding: var(--space-3xl) 0;
  background: var(--color-bg-primary);
}

.gallery__masonry {
  columns: 3;
  column-gap: 16px;
}

.gallery__masonry-item {
  break-inside: avoid;
  margin-bottom: 16px;
  overflow: hidden;
  position: relative;
}

.gallery__masonry-item img {
  width: 100%;
  display: block;
  transition: transform 0.7s ease;
}

.gallery__masonry-item:hover img {
  transform: scale(1.04);
}

.gallery__overlay {
  position: absolute;
  inset: 0;
  background: rgba(139, 26, 26, 0.1);
  opacity: 0;
  transition: var(--transition);
}

.gallery__masonry-item:hover .gallery__overlay {
  opacity: 1;
}


/* ─── 예약 (좌우 분할 레이아웃) ─── */
.booking {
  position: relative;
  overflow: hidden;
}

.booking__bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1601042879364-f3947d3f9c16?w=1920&h=900&fit=crop&q=80');
  background-size: cover;
  background-position: center;
  filter: brightness(0.22) sepia(0.5);
}

.booking__split {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 660px;
}

.booking__quote-col {
  padding: 100px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.booking__quote-col .section-label {
  color: rgba(255, 255, 255, 0.45);
}

.booking__title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: var(--fw-light);
  line-height: 1.2;
  color: #ffffff;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.booking__quote-col .accent-line {
  background: var(--color-accent-light);
}

.booking__quote-text {
  font-size: var(--text-md);
  color: rgba(255, 255, 255, 0.62);
  font-weight: var(--fw-light);
  line-height: 2.0;
  margin-bottom: 2.5rem;
}

.booking__tel {
  font-family: var(--font-label);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.45);
}

.booking__tel a {
  color: rgba(255, 255, 255, 0.82);
}

.booking__tel strong {
  font-weight: var(--fw-medium);
}

.booking__form-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 60px;
}

.booking__form-inner {
  background: rgba(250, 246, 240, 0.97);
  padding: 52px 48px;
  width: 100%;
  max-width: 440px;
}

.form-group-v {
  margin-bottom: 1.5rem;
}

.form-group-v label {
  display: block;
  font-family: var(--font-label);
  font-size: var(--text-xs);
  letter-spacing: var(--ls-normal);
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--fw-light);
  transition: var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus {
  border-color: var(--color-accent);
}

.booking__submit {
  width: 100%;
  margin-bottom: 2rem;
  text-align: center;
  display: block;
}

.booking__naver {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.booking__naver-or {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: var(--ls-normal);
}

.btn--naver {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  background: #03C75A;
  color: #ffffff;
  font-family: var(--font-label);
  font-size: var(--text-xs);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
}

.btn--naver:hover {
  background: #02b34f;
}

.btn__naver-logo {
  width: 16px;
  height: 16px;
  fill: #ffffff;
  flex-shrink: 0;
}


/* ─── 모바일 반응형 ─── */
@media (max-width: 1100px) {
  .about__text-inner {
    padding: 60px 60px;
  }

  .gallery__masonry {
    columns: 2;
  }

  .booking__quote-col {
    padding: 80px 60px;
  }

  .room-card-v__body {
    padding: 28px 32px 36px;
  }
}

@media (max-width: 768px) {
  .hero__title {
    font-size: var(--text-4xl);
  }

  .hero__deco {
    display: none;
  }

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

  .about__image-col {
    height: 360px;
  }

  .about__text-inner {
    padding: 56px 28px;
  }

  .about__stats {
    gap: 28px;
  }

  .about__stat-num {
    font-size: var(--text-2xl);
  }

  .rooms__grid-2col {
    grid-template-columns: 1fr;
  }

  .amenity-row {
    grid-template-columns: 44px 40px 1fr;
    gap: 14px;
  }

  .gallery__masonry {
    columns: 2;
    column-gap: 10px;
  }

  .gallery__masonry-item {
    margin-bottom: 10px;
  }

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

  .booking__quote-col {
    padding: 64px 28px 48px;
  }

  .booking__title {
    font-size: var(--text-3xl);
  }

  .booking__form-col {
    padding: 48px 28px 64px;
  }

  .booking__form-inner {
    padding: 40px 28px;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: var(--text-3xl);
  }

  .gallery__masonry {
    columns: 1;
  }

  .amenity-row {
    grid-template-columns: 36px 36px 1fr;
    gap: 10px;
  }
}


