:root {
  --bg: #f6f1e8;
  --ink: #12222f;
  --ink-soft: #496174;
  --gold: #b88a4b;
  --gold-dark: #9f7238;
  --paper: #ffffff;
  --line: #e5d8c7;
  --shadow: 0 24px 55px rgba(18, 34, 47, 0.18);
}

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

body {
  font-family: "Jost", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 20% 5%, #fff8ec 0%, #f6f1e8 50%, #efe5d7 100%);
  line-height: 1.5;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 241, 232, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.brand {
  font-family: "Jost", sans-serif;
  font-size: 1.55rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.main-nav {
  display: flex;
  gap: 1.4rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
}

.cta-btn {
  border: 0;
  background: linear-gradient(140deg, var(--gold), var(--gold-dark));
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.65rem 1.25rem;
  cursor: pointer;
}

.hero {
  position: relative;
  margin: 1.2rem auto 0;
  padding: 6.5rem 0 8rem;
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      rgba(18, 34, 47, 0.28),
      rgba(18, 34, 47, 0.48)
    ),
    url("https://images.unsplash.com/photo-1578683010236-d716f9a3f461?auto=format&fit=crop&w=1600&q=80")
      center/cover no-repeat;
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(180deg, transparent, rgba(18, 34, 47, 0.6));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: #ffe3b7;
  font-weight: 700;
}

h1,
h2,
h3 {
  font-family: "Jost", sans-serif;
  line-height: 1.15;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-top: 0.8rem;
}

.hero-copy {
  margin-top: 0.9rem;
  color: #ecf1f5;
  max-width: 50ch;
}

.booking-panel {
  position: relative;
  z-index: 3;
  margin-top: 2.5rem;
}

.booking-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 1.2fr;
  gap: 0.9rem;
  background: var(--paper);
  color: var(--ink);
  border-radius: 14px;
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.booking-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.booking-grid input,
.booking-grid select {
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  color: var(--ink-soft);
  padding: 0.7rem;
  background: #fff;
}

.booking-grid button {
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  background: linear-gradient(140deg, var(--ink), #203f54);
  color: #fff;
  padding: 0.7rem 1rem;
  align-self: end;
  cursor: pointer;
}

.availability-status {
  margin-top: 0.85rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #f7dfb8;
  min-height: 1.25rem;
}

.section {
  padding: 4.8rem 0;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-top: 0.45rem;
}

.cards {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.rooms-intro {
  margin-top: 1.2rem;
}

.rooms-price {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold-dark);
}

.rooms-tags {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.rooms-tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.32rem 0.7rem;
  background: #fff;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.88rem;
}

.masonry-gallery {
  margin-top: 1.2rem;
  column-count: 3;
  column-gap: 1rem;
}

.masonry-item {
  width: 100%;
  margin: 0 0 1rem;
  border: 1px solid #e4d6c4;
  border-radius: 14px;
  overflow: hidden;
  padding: 0;
  background: #fff;
  box-shadow: 0 15px 40px rgba(18, 34, 47, 0.08);
  break-inside: avoid;
  cursor: pointer;
}

.masonry-item img {
  display: block;
  width: 100%;
  height: auto;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 20, 28, 0.86);
  z-index: 140;
  padding: 1rem;
}

.gallery-modal.is-open {
  display: flex;
}

.gallery-modal img {
  max-width: min(1100px, 95vw);
  max-height: 86vh;
  border-radius: 12px;
  border: 1px solid #2e4758;
}

.gallery-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 1px solid #557084;
  background: rgba(18, 34, 47, 0.75);
  color: #fff;
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
}

.card {
  background: #fff;
  border: 1px solid #e4d6c4;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(18, 34, 47, 0.08);
}

.card-image {
  height: 210px;
  background-size: cover;
  background-position: center;
}

.image-one {
  background-image: url("https://images.unsplash.com/photo-1590490360182-c33d57733427?auto=format&fit=crop&w=1000&q=80");
}

.image-two {
  background-image: url("https://images.unsplash.com/photo-1618773928121-c32242e63f39?auto=format&fit=crop&w=1000&q=80");
}

.image-three {
  background-image: url("https://images.unsplash.com/photo-1582719508461-905c673771fd?auto=format&fit=crop&w=1000&q=80");
}

.card-body {
  padding: 1.15rem;
}

.card-body p {
  color: var(--ink-soft);
  margin: 0.55rem 0;
}

.card-body span {
  color: var(--gold-dark);
  font-weight: 800;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(255, 249, 241, 0.7));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.features {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.features p {
  color: var(--ink-soft);
  margin-top: 0.8rem;
  max-width: 58ch;
}

.features ul {
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.features li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  font-weight: 600;
}

.promo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #fffef8, #fff5e3);
  border-radius: 16px;
  padding: 2rem;
}

.map-copy {
  margin-top: 0.7rem;
  color: var(--ink-soft);
  font-weight: 700;
}

.map-wrap {
  margin-top: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(18, 34, 47, 0.08);
  background: #fff;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  background: #f1e6d7;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.3rem 0;
  color: #28465c;
  font-weight: 600;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 20, 28, 0.64);
  z-index: 120;
  padding: 1rem;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-card {
  width: min(520px, 100%);
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.3rem;
}

.modal-card h3 {
  font-size: clamp(1.45rem, 2vw, 1.9rem);
}

.modal-copy {
  margin-top: 0.45rem;
  color: var(--ink-soft);
}

.guest-form {
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
}

.guest-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.86rem;
}

.guest-form input {
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  color: var(--ink-soft);
  padding: 0.7rem;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.modal-actions button {
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(140deg, var(--ink), #203f54);
  padding: 0.68rem 1rem;
  cursor: pointer;
}

.modal-actions .ghost-btn {
  background: #fff;
  color: var(--ink-soft);
  border: 1px solid var(--line);
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

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

  .booking-grid button {
    grid-column: 1 / -1;
  }

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

  .masonry-gallery {
    column-count: 2;
  }

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

  .promo {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 4.5rem 0 6.5rem;
  }

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

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

  .masonry-gallery {
    column-count: 1;
  }

  .cta-btn {
    padding-inline: 1rem;
  }

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