:root {
  --white-wash: #f8f5ef;
  --sea-deep: #163b47;
  --sea-deep-80: #163b47cc;
  --terracotta: #c1512e;
  --bougain: #c23e68;
  --ink: #221f1c;
  --sand-gold: #cda24c;
  --line: rgba(34, 31, 28, 0.12);

  --display: "Fraunces", "Georgia", serif;
  --body: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "Courier New", monospace;

  --arch: 999px 999px 8px 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--white-wash);
  line-height: 1.55;
}

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  margin: 0 0 0.4em;
  color: var(--sea-deep);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 500; line-height: 1.05; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.15rem; }

a { color: inherit; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  display: inline-block;
  margin-bottom: 0.8em;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white-wash);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand {
  font-family: var(--display);
  font-size: 1.3rem;
  color: var(--sea-deep);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand small {
  font-family: var(--body);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 0.92rem;
}
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--terracotta); }
.btn {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary { background: var(--terracotta); color: var(--white-wash); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(193, 81, 46, 0.35); }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--sea-deep);
  color: var(--sea-deep);
}

/* ---------- Hero with arch window ---------- */
.hero {
  padding: 64px 0 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-copy p.lead {
  font-size: 1.08rem;
  max-width: 46ch;
  margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.arch-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--arch);
  overflow: hidden;
  background: linear-gradient(160deg, #2c6e7f 0%, #163b47 55%, #0f2830 100%);
  border: 6px solid var(--white-wash);
  box-shadow: 0 30px 60px -20px rgba(22, 59, 71, 0.45);
}
.arch-frame img { width: 100%; height: 100%; object-fit: cover; }
.arch-frame .placeholder-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #f8f5efcc;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  padding: 20px;
}

/* ---------- Stat strip ---------- */
.stat-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  margin: 56px 0;
}
.stat-strip .container {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat .num {
  font-family: var(--mono);
  font-size: 1.6rem;
  color: var(--terracotta);
}
.stat .label {
  font-size: 0.8rem;
  color: var(--sea-deep-80);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Section generic ---------- */
section { padding: 56px 0; }
.section-head { max-width: 60ch; margin-bottom: 36px; }

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.feature-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  background: #fff;
}
.feature-card h3 { margin-bottom: 6px; }
.feature-card p { margin: 0; font-size: 0.92rem; color: var(--sea-deep-80); }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-item {
  aspect-ratio: 4 / 5;
  border-radius: 160px 160px 6px 6px;
  overflow: hidden;
  background: linear-gradient(160deg, #d9c9a3, #cda24c 60%, #a9752f 100%);
  position: relative;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item .placeholder-label {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #221f1cb0; font-family: var(--mono); font-size: 0.72rem;
  text-align: center; padding: 10px;
}
.gallery-item:nth-child(3n+2) {
  background: linear-gradient(160deg, #7fb0bb, #2c6e7f 60%, #163b47 100%);
}
.gallery-item:nth-child(3n+2) .placeholder-label { color: #f8f5efcc; }

/* ---------- Booking section ---------- */
.booking-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--sea-deep);
  color: var(--white-wash);
  border-radius: 28px;
  padding: 44px;
}
.booking-panel h2 { color: var(--white-wash); }
.booking-panel .eyebrow { color: var(--sand-gold); }
.booking-panel p { color: #f8f5efd0; }

.calendar {
  background: rgba(248, 245, 239, 0.06);
  border: 1px solid rgba(248, 245, 239, 0.18);
  border-radius: 18px;
  padding: 18px;
}
.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 0.85rem;
}
.calendar-nav button {
  background: none; border: none; color: var(--white-wash);
  cursor: pointer; font-size: 1rem;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  font-size: 0.78rem;
}
.calendar-grid .dow {
  text-align: center;
  color: var(--sand-gold);
  font-family: var(--mono);
  font-size: 0.68rem;
  padding-bottom: 4px;
}
.calendar-grid .day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px 999px 4px 4px;
  background: rgba(248, 245, 239, 0.08);
}
.calendar-grid .day.empty { background: transparent; }
.calendar-grid .day.booked {
  background: var(--bougain);
  color: var(--white-wash);
  text-decoration: line-through;
  opacity: 0.85;
}
.calendar-grid .day.free { background: rgba(205, 162, 76, 0.35); }
.calendar-legend {
  display: flex; gap: 16px; margin-top: 12px;
  font-size: 0.76rem; color: #f8f5efb0;
}
.calendar-legend span { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot.free { background: rgba(205, 162, 76, 0.9); }
.dot.booked { background: var(--bougain); }

.booking-form label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sand-gold);
  margin-bottom: 6px;
}
.booking-form .field { margin-bottom: 16px; }
.booking-form .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.booking-form input, .booking-form select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(248, 245, 239, 0.3);
  background: rgba(248, 245, 239, 0.08);
  color: var(--white-wash);
  font-family: var(--body);
  font-size: 0.95rem;
}
.booking-form input::placeholder { color: #f8f5ef80; }
.booking-form input:focus, .booking-form select:focus {
  outline: 2px solid var(--sand-gold);
  outline-offset: 1px;
}

.price-breakdown {
  margin-top: 18px;
  border-top: 1px dashed rgba(248, 245, 239, 0.3);
  padding-top: 14px;
  font-family: var(--mono);
  font-size: 0.88rem;
}
.price-breakdown .line {
  display: flex; justify-content: space-between; padding: 3px 0;
}
.price-breakdown .line.total { color: var(--sand-gold); font-weight: 600; }

.payment-choice { display: flex; gap: 10px; margin: 18px 0; }
.payment-choice button {
  flex: 1;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(248, 245, 239, 0.3);
  background: transparent;
  color: var(--white-wash);
  cursor: pointer;
  font-weight: 600;
}
.payment-choice button.active {
  background: var(--terracotta);
  border-color: var(--terracotta);
}
#paypal-button-container { margin-top: 12px; }

.form-msg { font-size: 0.86rem; margin-top: 10px; min-height: 1.2em; }
.form-msg.error { color: #ffb4b4; }
.form-msg.ok { color: #b7f0c9; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  margin-top: 40px;
}
footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.86rem;
  color: var(--sea-deep-80);
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-grid .arch-frame { order: -1; }
  .booking-panel { grid-template-columns: 1fr; padding: 28px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .booking-form .field-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
