:root {
  --navy: #12324a;
  --sea: #1f5f8b;
  --cobalt: #2343a8;
  --sand: #f5efe4;
  --paper: #fffdf9;
  --ink: #1c2430;
  --muted: #5d6875;
  --line: #e4dccd;
  --radius: 14px;
  --max: 1120px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; display: block; }
a { color: var(--sea); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.35rem; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--sea);
  margin: 0 0 .6rem;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  font: 600 .95rem var(--sans);
  padding: .85em 1.5em;
  border-radius: 999px;
  border: 2px solid var(--navy);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--sea); border-color: var(--sea); transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.15); border-color: #fff; }
.btn-small { padding: .5em 1.1em; font-size: .88rem; }

/* Header / nav */
.nav {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.2rem 1.25rem;
}
.brand { font-family: var(--serif); font-size: 1.35rem; color: #fff; text-decoration: none; font-weight: 600; }
.nav-links { list-style: none; display: flex; gap: 1.6rem; align-items: center; margin: 0; padding: 0; }
.nav-links a:not(.btn) { color: #fff; text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav-links a:not(.btn):hover { text-decoration: underline; }
.nav-links .btn { background: #fff; color: var(--navy); border-color: #fff; }

.hero { position: relative; min-height: 88vh; display: flex; align-items: flex-end; color: #fff; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,30,45,.45) 0%, rgba(10,30,45,0) 30%, rgba(10,30,45,.15) 55%, rgba(10,30,45,.75) 100%);
}
.hero-text { position: relative; z-index: 1; max-width: var(--max); width: 100%; margin: 0 auto; padding: 0 1.25rem 4.5rem; }
.hero-text h1 { color: #fff; max-width: 14ch; }
.hero-text .eyebrow { color: #cfe4f2; }
.lede { font-size: 1.2rem; max-width: 36ch; margin: 0 0 1.8rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* Facts strip */
.facts { background: var(--navy); color: #fff; }
.facts ul {
  list-style: none; margin: 0 auto; padding: 1.6rem 1.25rem;
  max-width: var(--max);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center;
}
.facts strong { display: block; font-family: var(--serif); font-size: 1.7rem; font-weight: 600; }
.facts span { font-size: .9rem; opacity: .8; }

/* Sections */
.section { max-width: var(--max); margin: 0 auto; padding: 5.5rem 1.25rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split-reverse .split-text { order: 2; }
.split-img img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.note { background: var(--sand); padding: 1rem 1.2rem; border-radius: var(--radius); font-size: .95rem; }

/* Amenities */
.amenities { border-top: 1px solid var(--line); }
.amenity-grid {
  list-style: none; padding: 0; margin: 2rem 0 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .9rem;
}
.amenity-grid li {
  padding: .9rem 1.1rem .9rem 2.6rem;
  background: var(--sand);
  border-radius: 10px;
  position: relative;
  font-weight: 500;
}
.amenity-grid li::before {
  content: "";
  position: absolute; left: 1.1rem; top: 50%;
  width: .55rem; height: .55rem; margin-top: -.275rem;
  border-radius: 50%; background: var(--sea);
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: .8rem;
  margin-top: 2rem;
}
.g-item { padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; border-radius: var(--radius); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.g-item:hover img { transform: scale(1.04); }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }

/* Map */
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1 / 1; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Booking */
.book { text-align: center; }
.book-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 1.5rem; margin-top: 2rem; text-align: left; }
.book-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.book-card p { color: var(--muted); }
.contact-form label { display: block; font-weight: 500; font-size: .9rem; margin-bottom: 1rem; }
.contact-form input, .contact-form textarea {
  display: block; width: 100%; margin-top: .35rem;
  font: inherit; padding: .7rem .9rem;
  border: 1px solid var(--line); border-radius: 8px; background: var(--paper);
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--sea); outline-offset: 1px; border-color: transparent; }
.dates { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-status { margin: 1rem 0 0; font-weight: 500; }

/* Footer */
.site-footer { background: var(--navy); color: #cfdbe5; text-align: center; padding: 2.5rem 1.25rem; font-size: .92rem; }
.site-footer p { margin: .3rem 0; }
.site-footer a { color: #fff; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(8,18,28,.94);
  display: flex; align-items: center; justify-content: center;
  padding: 3rem 4rem;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 6px; }
.lightbox button {
  position: absolute; background: none; border: 0; color: #fff;
  font-size: 2.8rem; line-height: 1; cursor: pointer; padding: .5rem 1rem; opacity: .8;
}
.lightbox button:hover { opacity: 1; }
.lb-close { top: .5rem; right: .5rem; }
.lb-prev { left: .5rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: .5rem; top: 50%; transform: translateY(-50%); }

/* Responsive */
@media (max-width: 860px) {
  .split, .book-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .split-reverse .split-text { order: 0; }
  .split-img img { aspect-ratio: 4 / 3; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .facts ul { grid-template-columns: 1fr 1fr; }
  .section { padding: 4rem 1.25rem; }
}
@media (max-width: 600px) {
  .nav-links li:not(:last-child) { display: none; }
  .hero { min-height: 80vh; }
  .lightbox { padding: 3rem 0; }
}
