/* Okanagan BnBs — design pass 2026-11-29.
   Lake-teal + warm sand palette, Fraunces display serif, Airbnb-style cards. */

:root {
  --ink: #22303a;
  --muted: #68777e;
  --lake: #0d5a6b;
  --lake-dark: #08414e;
  --lake-soft: #e3eef0;
  --gold: #c08a3e;
  --sand: #faf6ef;
  --card: #ffffff;
  --line: #e8e0d0;
  --shadow-sm: 0 1px 2px rgba(34, 48, 58, .06), 0 4px 14px rgba(34, 48, 58, .06);
  --shadow-md: 0 2px 4px rgba(34, 48, 58, .08), 0 12px 32px rgba(34, 48, 58, .13);
  --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  margin: 0;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
}

a { color: var(--lake); }

main { max-width: 1120px; margin: 0 auto; padding: 2rem 1.25rem 4rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  padding: .9rem 1.5rem;
  background: rgba(250, 246, 239, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .brand {
  font-size: 1.45rem; color: var(--lake-dark); text-decoration: none;
}
.site-header .brand span { color: var(--gold); }
.site-header nav a {
  color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500;
}
.site-header nav a:hover { color: var(--lake); text-decoration: underline; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  margin: -2rem -1.25rem 2.5rem;
  padding: 6.5rem 1.5rem 5.5rem;
  text-align: center;
  color: #fff;
  background: var(--lake-dark) center / cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 40, 48, .38) 0%, rgba(8, 40, 48, .55) 78%, rgba(8, 40, 48, .72) 100%);
}
.hero > * { position: relative; }
.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.9rem);
  margin: 0 auto .8rem; max-width: 17em;
  text-shadow: 0 2px 22px rgba(0, 0, 0, .35);
}
.hero p {
  font-size: clamp(1.02rem, 2vw, 1.25rem);
  margin: 0 auto 1.9rem; max-width: 36em; color: #eef4f2;
}
.hero .hero-cta {
  display: inline-block; background: #fff; color: var(--lake-dark);
  font-weight: 600; text-decoration: none;
  padding: .85rem 1.9rem; border-radius: 999px;
  box-shadow: var(--shadow-md);
  transition: transform .15s ease, box-shadow .15s ease;
}
.hero .hero-cta:hover { transform: translateY(-2px); }

.hero-lander { padding: 4.5rem 1.5rem 3.8rem; }
.hero-lander h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }

/* ---------- sections & cards ---------- */
.section-title { font-size: 1.7rem; margin: 0 0 1.2rem; }
.lede { color: var(--muted); font-size: 1.06rem; max-width: 44em; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.8rem;
}
.card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
  padding-bottom: 1.1rem;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card a { text-decoration: none; color: inherit; display: block; }
.card .card-img { overflow: hidden; aspect-ratio: 4 / 3; background: var(--lake-soft); }
.card img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .45s ease;
}
.card:hover img { transform: scale(1.05); }
.card h2 { margin: .95rem 1.15rem .3rem; font-size: 1.28rem; }
.card .meta, .card .price { margin-left: 1.15rem; margin-right: 1.15rem; }
.meta { color: var(--muted); font-size: .94rem; margin-top: 0; margin-bottom: .35rem; }
.price { font-weight: 700; font-size: 1.05rem; margin-top: 0; margin-bottom: 0; }
.price .per { font-weight: 500; color: var(--muted); font-size: .92rem; }

/* ---------- property page ---------- */
.property h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin: 0 0 .4rem; }
.property .meta { font-size: 1rem; margin-bottom: 1.4rem; }

.photos {
  display: grid; gap: .6rem;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 2rem;
}
.photos img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  border-radius: 12px; background: var(--lake-soft);
  aspect-ratio: 4 / 3;
}
.photos .photo-cover {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 8;
  border-radius: var(--radius);
}

.property-cols { display: grid; grid-template-columns: 1fr 380px; gap: 2.5rem; align-items: start; }
.property-main .price-line {
  font-size: 1.12rem; padding: 1rem 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-bottom: 1.4rem;
}
.description { font-size: 1.03rem; white-space: normal; }
.description p { margin: 0 0 1em; }

.amenities {
  list-style: none; margin: 0; padding: 1.3rem 1.5rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  columns: 2; column-gap: 2.2rem;
}
.amenities li {
  padding: .34rem 0 .34rem 1.55rem; position: relative;
  break-inside: avoid; font-size: .97rem;
}
.amenities li::before {
  content: "✓"; position: absolute; left: 0; top: .34rem;
  color: var(--lake); font-weight: 700;
}

/* booking card */
.booking-card {
  position: sticky; top: 92px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 1.5rem 1.5rem 1.6rem;
}
.booking-card h2 { margin: 0 0 .3rem; font-size: 1.35rem; }
.booking-card .bc-price { font-size: 1.25rem; font-weight: 700; margin: 0 0 .2rem; }
.booking-card .bc-price .per { font-weight: 500; color: var(--muted); font-size: .95rem; }
.booking-card .bc-note { color: var(--muted); font-size: .92rem; margin: 0 0 1.1rem; }

.enquiry { display: grid; gap: .75rem; }
.enquiry label { display: grid; gap: .28rem; font-size: .92rem; font-weight: 500; }
.enquiry input {
  padding: .62rem .7rem; border: 1px solid #c9cfd2; border-radius: 9px;
  font: inherit; font-size: .97rem; background: #fff; color: var(--ink);
}
.enquiry input:focus {
  outline: 2px solid var(--lake); outline-offset: 0; border-color: var(--lake);
}
.enquiry button, .btn {
  padding: .8rem 1.2rem; border: 0; border-radius: 999px;
  background: var(--lake); color: #fff; font: inherit; font-weight: 600;
  cursor: pointer; transition: background .15s ease;
}
.enquiry button:hover, .btn:hover { background: var(--lake-dark); }

/* ---------- generic forms / tables (login, owner dashboard) ---------- */
input, select, textarea {
  padding: .55rem .7rem; border: 1px solid #c9cfd2; border-radius: 9px; font: inherit;
}
button { cursor: pointer; }
.table { border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-sm); }
.table th, .table td { border-bottom: 1px solid var(--line); padding: .55rem .8rem; text-align: left; }
.table th { background: var(--lake-soft); font-family: "Inter", sans-serif; }

/* ---------- flash ---------- */
.flash { max-width: 1120px; margin: 1.1rem auto 0; padding: .8rem 1.1rem; border-radius: 10px; font-weight: 500; }
.flash-success { background: #e4f4e7; border: 1px solid #9ed3a6; }
.flash-error { background: #fdeaea; border: 1px solid #e5a3a3; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--lake-dark); color: #cfdde0;
  padding: 2.4rem 1.5rem 2rem; margin-top: 1rem;
  font-size: .93rem;
}
.site-footer .footer-inner { max-width: 1120px; margin: 0 auto; }
.site-footer strong { color: #fff; }
.site-footer .fineprint { color: #9db8bd; }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .property-cols { grid-template-columns: 1fr; }
  .booking-card { position: static; }
}
@media (max-width: 640px) {
  main { padding: 1.4rem 1rem 3rem; }
  .hero { margin: -1.4rem -1rem 2rem; padding: 4.2rem 1.1rem 3.6rem; }
  .photos { grid-template-columns: 1fr; }
  .photos .photo-cover { aspect-ratio: 4 / 3; }
  .photos img { aspect-ratio: 4 / 3; }
  .amenities { columns: 1; }
  .grid { grid-template-columns: 1fr; }
}
