:root {
  --forest: #4a5d43;
  --forest-dark: #3a4a34;
  --clay: #b97a4e;
  --clay-dark: #9c6238;
  --clay-bright: #e2924f;
  --clay-bright-dark: #cf7d3a;
  --cream: #faf7f1;
  --paper: #ffffff;
  --ink: #2c2a26;
  --ink-soft: #6b6459;
  --line: #e7e0d3;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

.wrap.narrow {
  max-width: 720px;
}

h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--forest-dark);
  margin-bottom: 12px;
}

.section-desc {
  color: var(--ink-soft);
  margin-bottom: 40px;
  font-size: 15px;
}

.section {
  padding: 88px 0;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 247, 241, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--forest-dark);
  text-decoration: none;
  letter-spacing: 0.05em;
}

.site-header nav {
  display: flex;
  gap: 28px;
}

.site-header nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.site-header nav a:hover {
  color: var(--clay-dark);
}

/* ---------- Hero ---------- */
.hero {
  height: 100vh;
  min-height: 560px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30,35,25,0.35) 0%, rgba(30,35,25,0.15) 45%, rgba(30,35,25,0.55) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  color: #fff;
}

.eyebrow {
  font-size: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}

.hero-desc {
  font-size: 17px;
  font-weight: 300;
  margin-bottom: 36px;
  opacity: 0.95;
}

.btn {
  display: inline-block;
  padding: 14px 34px;
  background: var(--clay);
  color: #fff;
  text-decoration: none;
  font-size: 14.5px;
  letter-spacing: 0.05em;
  border-radius: 2px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.btn:hover {
  background: var(--clay-dark);
  transform: translateY(-1px);
}

.btn-lg {
  margin-top: 32px;
  padding: 16px 40px;
  font-size: 15px;
}

/* ---------- Intro ---------- */
.intro {
  background: var(--paper);
  text-align: center;
}

.intro h2 {
  text-align: center;
}

.intro p {
  color: var(--ink-soft);
  font-size: 15.5px;
  margin: 0 auto 22px;
  max-width: 620px;
}

.intro .signoff {
  color: var(--forest-dark);
  font-weight: 500;
  margin-top: 32px;
}

/* ---------- Rooms ---------- */
.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.room-card {
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  min-width: 0;
}

.room-gallery {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.room-gallery .main-shot {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.room-gallery .thumb-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.room-gallery .thumb-row img {
  width: 100%;
  height: 64px;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.room-gallery img:hover {
  opacity: 0.85;
}

.room-body {
  padding: 24px 24px 28px;
}

.room-body h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--forest-dark);
  margin-bottom: 8px;
}

.room-meta {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 6px;
  min-height: 43px;
}

.room-cap {
  font-size: 13.5px;
  color: var(--clay-dark);
  margin-bottom: 16px;
  font-weight: 500;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.price-table th {
  color: var(--ink-soft);
  font-weight: 500;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.price-table td {
  padding-top: 8px;
  text-align: center;
  font-weight: 600;
  color: var(--ink);
}

.room-note {
  margin-top: 32px;
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
}

/* ---------- Amenities ---------- */
.amenities {
  background: var(--paper);
}

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.amenity-grid figure {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  min-width: 0;
}

.amenity-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.amenity-grid figure:hover img {
  transform: scale(1.05);
}

.amenity-grid figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px;
  background: linear-gradient(0deg, rgba(0,0,0,0.55), rgba(0,0,0,0));
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.03em;
}

/* ---------- Booking ---------- */
.booking {
  background: var(--forest);
  color: #f2efe6;
}

.booking h2 {
  color: #fff;
  text-align: center;
  margin-bottom: 48px;
}

.info-block {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.info-block h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #e9e2cf;
}

.info-block p {
  font-size: 14px;
  color: rgba(242,239,230,0.85);
}

.contact .phone {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin-top: 4px;
}

.booking .btn-lg {
  display: block;
  width: fit-content;
  margin: 40px auto 0;
  background: var(--clay-bright);
}

.booking .btn-lg:hover {
  background: var(--clay-bright-dark);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest-dark);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 32px 0;
  font-size: 13px;
}

.site-footer .copy {
  margin-top: 6px;
  opacity: 0.7;
}

/* ---------- Responsive ---------- */
/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 22, 18, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  padding: 40px;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox figure {
  max-width: 90vw;
  max-height: 86vh;
  text-align: center;
}

.lightbox img {
  max-width: 90vw;
  max-height: 78vh;
  object-fit: contain;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.lightbox figcaption {
  margin-top: 14px;
  color: #f2efe6;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.lightbox button {
  position: absolute;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.lightbox button:hover {
  opacity: 1;
}

.lb-close {
  top: 24px;
  right: 32px;
  font-size: 34px;
  line-height: 1;
}

.lb-prev, .lb-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  padding: 12px 16px;
}

.lb-prev { left: 16px; }
.lb-next { right: 16px; }

@media (max-width: 720px) {
  .site-header nav {
    display: none;
  }
  .hero h1 {
    font-size: 42px;
  }
  .hero-desc {
    font-size: 15px;
  }
  .section {
    padding: 64px 0;
  }

  .wrap {
    padding: 0 20px;
  }

  /* minmax(300px, ...) can exceed the available width on narrow phones
     (e.g. 320px screens), so force a single column instead of relying
     on auto-fit's minimum track size. */
  .room-grid {
    grid-template-columns: 1fr;
  }

  .amenity-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .room-gallery .main-shot {
    height: 180px;
  }

  .room-gallery .thumb-row img {
    height: 56px;
  }

  .amenity-grid img {
    height: 160px;
  }

  .lb-prev, .lb-next {
    font-size: 18px;
    padding: 10px 12px;
  }

  .lb-close {
    top: 14px;
    right: 18px;
    font-size: 28px;
  }
}

@media (max-width: 420px) {
  .amenity-grid {
    grid-template-columns: 1fr;
  }
}
