
/* ─────────────────────────────────────────────
   히어로
───────────────────────────────────────────── */
.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: url('/portfolio/stay-v1-poolvilla/images/hero__bg.png') center / cover no-repeat;
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.50) 45%,
    rgba(10, 10, 10, 0.8) 100%
  );
}

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

.hero__label {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-widest);
  color: var(--color-gold);
  margin-bottom: 2rem;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: var(--fw-bold);
  line-height: 1.5;
  color: var(--color-text-primary);
  margin-bottom: 2rem;
}

.hero__subtitle {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  color: var(--color-text-secondary);
  font-weight: var(--fw-light);
  line-height: 2;
  margin-bottom: 4rem;
}

.hero__actions {
  display: flex;
  justify-content: center;
}
.hero__actions .btn--outline {
  font-weight: var(--fw-regular);
  border: none;
  color: rgba(255, 255, 255, 0.3);
  background: transparent;
  letter-spacing: var(--ls-widest);
}
.hero__actions .btn--outline:hover {
  color: var(--color-gold);
}


/* ─────────────────────────────────────────────
   소개 (About)
───────────────────────────────────────────── */
.about {
  padding: var(--space-3xl) 0;
  background: var(--color-bg-primary);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 110px;
  align-items: center;
}

.about__desc {
  color: var(--color-text-secondary);
  font-weight: var(--fw-light);
  line-height: 1.95;
  margin-top: 4rem;
}

.about__stats {
  display: flex;
  gap: 44px;
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid var(--color-border);
}
.about__stat {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about__stat-num {
  font-size: var(--text-lg);
  font-weight: var(--fw-regular);
  color: var(--color-gold);
  opacity: 0.8;
  margin-left: 5px;
  line-height: 1;
}
.about__stat-star {
  font-size: 0.8em;
}
.about__stat-label {
  font-size: var(--text-xs);
  font-weight: var(--fw-regular);
  color: var(--color-text-muted);
  letter-spacing: var(--ls-normal);
}

.about__image-wrap {
  position: relative;
}
.about__image {
  position: relative;
  z-index: 1;
  height: 680px;
  overflow: hidden; 
}

/* Scale Entrance / Exit */
@keyframes scale-entrance {
  from { transform: scale(1.08); opacity: 0; }
  to   { transform: scale(1.0);  opacity: 1; }
}
@keyframes scale-exit {
  from { transform: scale(1.0);  opacity: 1; }
  to   { transform: scale(1.0); opacity: 0; }
}

.about__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 0;
  will-change: transform, opacity;
}
.about__slide--active {
  z-index: 2;
  animation: scale-entrance 1.0s cubic-bezier(0.25, 0, 0.2, 1) forwards;
}
.about__slide--exit {
  z-index: 1;
  animation: scale-exit 0.8s ease forwards;
}


/* ─────────────────────────────────────────────
   객실 (Rooms)
───────────────────────────────────────────── */
.rooms {
  padding: var(--space-3xl) 0;
  background: var(--color-bg-secondary);
}

.rooms__grid {
  display: flex;
  margin-bottom: 2rem;
  gap: 28px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.room-card {
  flex: 0 0 calc((100% - 56px) / 3);
  background: var(--color-bg-tertiary);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.room-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.room-card__image {
  position: relative;
  overflow: hidden;
}
.room-card__image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.65s ease;
}
.room-card:hover .room-card__image img {
  transform: scale(1.06);
}
.room-card__overlay {
  position: absolute;
  inset: 0;
  transition: var(--transition);
}
.room-card:hover .room-card__overlay {
  background: rgba(0, 0, 0, 0.1);
}

.room-card__body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.room-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  margin-bottom: 15px;
}
.room-card__size {
  font-size: var(--text-sm);
  color: var(--color-gold);
  letter-spacing: 0.04em;
}
.room-card__divider {
  height: 1px;
  background: var(--color-border);
  margin: 20px 0;
}
.room-card__desc {
  flex: 1; 
  font-size: var(--text-sm);
  line-height: 1.75;
  margin-bottom: 40px;
}
.room-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.room-card__price-num {
  font-size: var(--text-sm);
  font-weight: var(--fw-light);
  color: var(--color-text-muted);
}
.room-card__view {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: var(--fw-light);
  color: var(--color-text-muted);
  transition: color 0.3s ease;
}
.room-card:hover .room-card__view {
  color: var(--color-gold);
}

/* ─────────────────────────────────────────────
   편의시설 (Amenities)
───────────────────────────────────────────── */
.amenities {
  padding: var(--space-3xl) 0;
  background: var(--color-bg-primary);
}

.amenities__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}

.amenity-item {
  background: var(--color-bg-primary);
  padding: 56px 40px;
  text-align: center;
}
.amenity-item:hover {
  background: var(--color-bg-tertiary);
}
.amenity-item__icon {
  font-size: 2rem;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
  line-height: 1;
}
.amenity-item h4 {
  font-size: var(--text-lg);
  font-weight: var(--fw-regular);
  color: var(--color-text-primary);
  margin-bottom: 10px;
}
.amenity-item p {
  font-size: var(--text-md);
  font-weight: var(--fw-regular);
  color: var(--color-text-muted);
  line-height: 1.6;
}


/* ─────────────────────────────────────────────
   갤러리 (Gallery)
───────────────────────────────────────────── */
.gallery {
  padding: var(--space-3xl) 0;
  background: var(--color-bg-secondary);
}

.gallery__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: 380px 380px;
  gap: 5px;
  margin-top: 4.5rem;
}

.gallery__item {
  overflow: hidden;
  position: relative;
}

.gallery__item--tall {
  grid-row: 1 / 3;
}

.gallery__item--wide {
  grid-column: 2 / 4;
}
.gallery__item--wide img {
  object-position: center 80%;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}

/* 갤러리 도트 네비게이션 */
.gallery__dots {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.gallery__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  padding: 0;
}
.gallery__dot--active {
  background: var(--color-gold);
  transform: scale(1.4);
}

/* ─────────────────────────────────────────────
   예약 (Booking)
───────────────────────────────────────────── */
.booking {
  position: relative;
  padding: var(--space-3xl) 0;
  background: var(--color-bg-primary);
  overflow: hidden;
}

.booking__bg {
  position: absolute;
  inset: 0;
  background: url('/portfolio/stay-v1-poolvilla/images/c-main.png') center / cover no-repeat;
  opacity: 0.1;
}

.booking__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.booking__form {
  max-width: 940px;
  margin: 5rem auto;
  background: rgba(26, 26, 26, 0.92);
  border: 1px solid var(--color-border);
  padding: 60px 48px;
}

.booking__form-row {
  display: flex;
  gap: 20px;
  align-items: flex-end;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form-group label {
  font-size: var(--text-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.form-input-wrap {
  position: relative;
}
.form-input-wrap .flatpickr-wrapper {
  width: 100%;
}
.form-input-wrap .form-input {
  padding-right: 42px;
}
.form-input {
  width: 100%;
  background: var(--color-bg-secondary);
  border: 1px solid rgba(201, 168, 76, 0.2);
  color: var(--color-text-muted);
  padding: 13px 16px;
  font-size: var(--text-sm);
  line-height: 1.5;
  outline: none;
  transition: border-color 0.3s ease;
  color-scheme: dark;
}
.form-input::placeholder {
  color: var(--color-text-muted);
  letter-spacing: 0.03em;
  font-size: var(--text-xs);
}
.form-input:focus {
  border-color: var(--color-gold);
}
.form-input__icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  pointer-events: none;
  z-index: 1;
}
.booking__form-row .btn {
  padding: 13px 32px;
  font-size: var(--text-sm);
  letter-spacing: var(--ls-wide);
  white-space: nowrap;
  flex-shrink: 0;
}
/* 커스텀 인원 드롭다운 */
.custom-select {
  position: relative;
}
.custom-select__trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  background: var(--color-bg-secondary);
  border: 1px solid rgba(201, 168, 76, 0.2);
  color: var(--color-text-muted);
  padding: 13px 16px;
  font-size: var(--text-sm);
  line-height: 1.5;
  cursor: pointer;
  transition: border-color 0.3s ease;
  user-select: none;
}
.custom-select.open .custom-select__trigger {
  border-color: var(--color-gold);
}
.custom-select__arrow {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  transition: transform 0.3s ease;
}
.custom-select.open .custom-select__arrow {
  transform: rotate(180deg);
}
.custom-select__options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #111;
  border: 1px solid var(--color-gold);
  border-top: none;
  z-index: 200;
}
.custom-select.open .custom-select__options {
  display: block;
}
.custom-select__option {
  padding: 12px 16px;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.custom-select__option:hover {
  background: rgba(201, 168, 76, 0.1);
  color: var(--color-gold);
}
.custom-select__option--active {
  color: var(--color-gold);
}

/* Flatpickr 커스텀 */
.flatpickr-calendar {
  background: #111;
  border: 1px solid rgba(201, 168, 76, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
  border-radius: 0;
  font-family: 'Noto Sans KR', sans-serif;
}
.flatpickr-calendar.arrowTop::before,
.flatpickr-calendar.arrowTop::after {
  border-bottom-color: rgba(201, 168, 76, 0.25);
}
.flatpickr-months {
  background: #0a0a0a;
  padding: 8px 0;
}
.flatpickr-months .flatpickr-month {
  color: #c9a84c;
  fill: #c9a84c;
}
.flatpickr-current-month {
  color: #c9a84c;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
}
.flatpickr-current-month .numInputWrapper span {
  border-color: rgba(201, 168, 76, 0.2);
}
.flatpickr-current-month .numInputWrapper span svg path {
  fill: #c9a84c;
}
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
  color: rgba(201, 168, 76, 0.6);
  fill: rgba(201, 168, 76, 0.6);
  transition: fill 0.2s ease;
}
.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
  color: #c9a84c;
  fill: #c9a84c;
}
.flatpickr-weekdays {
  background: #0a0a0a;
}
span.flatpickr-weekday {
  background: #0a0a0a;
  color: rgba(201, 168, 76, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  font-weight: 400;
}
.flatpickr-days {
  border-left: none;
  border-right: none;
}
.dayContainer {
  border-right: none;
}
.flatpickr-day {
  color: rgba(255, 255, 255, 0.7);
  border-radius: 0;
  border: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.flatpickr-day:hover {
  background: rgba(201, 168, 76, 0.15);
  color: #c9a84c;
  border: none;
}
.flatpickr-day.today {
  border: 1px solid #c9a84c !important;
  color: #c9a84c;
  background: transparent;
}
.flatpickr-day.today:hover {
  background: rgba(201, 168, 76, 0.15);
}
.flatpickr-day.selected,
.flatpickr-day.selected:hover {
  background: #c9a84c;
  border-color: #c9a84c;
  color: #0a0a0a;
  font-weight: 600;
}
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
  color: rgba(255, 255, 255, 0.15);
}
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
  color: rgba(255, 255, 255, 0.2);
}

.booking__naver {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 1.75rem;
}
.btn--naver {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 13px 32px;
  font-size: var(--text-sm);
  letter-spacing: var(--ls-wide);
  transition: var(--transition);
}
.btn--naver:hover {
  background: var(--color-gold);
  color: var(--color-bg-primary);
}
.btn__naver-logo {
  width: 14px;
  height: 14px;
  fill: #03C75A;
  flex-shrink: 0;
  transition: fill 0.3s ease;
}
.btn--naver:hover .btn__naver-logo {
  fill: var(--color-bg-primary);
}


/* ─────────────────────────────────────────────
   오시는 길
───────────────────────────────────────────── */
.location {
  padding: var(--space-xl) 0;
  background: var(--color-bg-secondary);
}

.location__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.location__map {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.location__map iframe {
  width: 100%;
  height: 460px;
  filter: grayscale(30%) brightness(0.85);
}
.location__map-btns {
  padding-top: 30px;
  display: flex;
  gap: 30px;
}
.location__map-btns a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  color: var(--color-gold);
  letter-spacing: var(--ls-normal);
  padding-bottom: 5px;
  border-bottom: 1px solid var(--color-gold);
  transition: var(--transition);
}
.location__map-btns a:hover {
  color: var(--color-gold-light);
  border-bottom-color: var(--color-gold-light);
}
.location__map-btns i {
  font-size: var(--text-sm);
}

.location__info {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.location__block {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-border-subtle);
}
.location__block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.location__label {
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-widest);
  color: var(--color-gold);
  margin-bottom: 15px;
  padding-bottom: 10px;
}

.location__address-text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: 20px;
  letter-spacing: var(--ls-normal);
}

.location__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.location__list li {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  font-weight: var(--fw-regular);
  padding-left: 16px;
  position: relative;
  line-height: 1.7;
}
.location__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-size: 10px;
  top: 6px;
}

