/* ============================================================
   LAKE HOUSE AT WABAMUN — Stylesheet
   Palette: cream + forest green + lake blue
   Fonts: Fraunces (display) + Figtree (body/UI)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400&family=Figtree:wght@300;400;500;600;700&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --cream:        #F4EFE6;
  --warm-white:   #FCFAF6;
  --forest:       #1E3D2F;
  --forest-light: #2E5742;
  --lake:         #3E7CA6;
  --lake-dark:    #336688;
  --sage:         #8BA888;
  --sage-soft:    #DDE6D8;
  --charcoal:     #2A2A28;
  --muted:        #76726A;
  --border:       #E3DCCE;
  --border-soft:  #EDE7DB;
  --unavailable:  #D8D3C8;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Figtree', system-ui, sans-serif;

  --transition: 0.25s ease;
  --shadow-sm: 0 2px 14px rgba(30,61,47,0.07);
  --shadow-md: 0 10px 40px rgba(30,61,47,0.12);
  --radius: 14px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ── Navigation ────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 72px;
  background: var(--forest);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.nav-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.01em;
}
.nav-brand span { color: var(--sage); }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244,239,230,0.82);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a.nav-book {
  background: var(--lake);
  color: #fff;
  padding: 9px 20px;
  border-radius: 100px;
  letter-spacing: 0.06em;
}
.nav-links a.nav-book:hover { background: var(--lake-dark); color: #fff; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--cream); border-radius: 2px; transition: var(--transition); }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 86vh;
  min-height: 560px;
  overflow: hidden;
}
.hero-track {
  display: flex;
  height: 100%;
  transition: transform 1s cubic-bezier(0.45,0,0.2,1);
}
.hero-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
}
/* Placeholder gradients — replaced once real photos are dropped in */
.hero-slide.house  { background-image: linear-gradient(to top, rgba(30,61,47,0.55), rgba(30,61,47,0.12)), url('images/hero-house.jpg');  background-color: #b9a98f; }
.hero-slide.lake   { background-image: linear-gradient(to top, rgba(30,61,47,0.55), rgba(30,61,47,0.12)), url('images/hero-lake.jpg');   background-color: #5e87a3; }
.hero-slide.forest { background-image: linear-gradient(to top, rgba(30,61,47,0.55), rgba(30,61,47,0.12)), url('images/hero-forest.jpg'); background-color: #466048; }
.hero-slide-label {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  color: rgba(255,255,255,0.55);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-align: center;
  pointer-events: none;
}
.hero-content {
  position: absolute;
  left: 0; bottom: 0;
  padding: 0 64px 72px;
  z-index: 3;
  max-width: 760px;
  animation: fadeUp 1s ease both 0.2s;
}
@keyframes fadeUp { from { opacity:0; transform: translateY(26px);} to { opacity:1; transform: translateY(0);} }
.hero-eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--sage); margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 500;
  line-height: 1.04;
  color: #fff;
  margin-bottom: 18px;
}
.hero-sub {
  font-size: 1.1rem; font-weight: 300; color: rgba(255,255,255,0.9);
  margin-bottom: 32px; max-width: 460px;
}
.hero-cta {
  display: inline-block;
  background: var(--lake);
  color: #fff;
  padding: 15px 36px;
  border-radius: 100px;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em;
  transition: background var(--transition), transform var(--transition);
}
.hero-cta:hover { background: var(--lake-dark); transform: translateY(-2px); }
.hero-dots {
  position: absolute; bottom: 30px; right: 64px; z-index: 4;
  display: flex; gap: 9px;
}
.hero-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,0.4); border: none; transition: var(--transition); padding: 0;
}
.hero-dot.active { background: #fff; transform: scale(1.25); }

/* ── Specs Bar ──────────────────────────────────────────────── */
.specs-bar {
  background: var(--forest);
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.spec {
  display: flex; align-items: center; gap: 12px;
  padding: 26px 40px;
  color: var(--cream);
  border-right: 1px solid rgba(255,255,255,0.08);
}
.spec:last-child { border-right: none; }
.spec svg { width: 26px; height: 26px; stroke: var(--sage); fill: none; stroke-width: 1.6; }
.spec-text { display: flex; flex-direction: column; line-height: 1.2; }
.spec-text strong { font-size: 1.05rem; font-weight: 600; }
.spec-text span { font-size: 0.78rem; color: rgba(244,239,230,0.65); letter-spacing: 0.04em; }

/* ── Section scaffolding ────────────────────────────────────── */
.section { padding: 88px 40px; }
.section-inner { max-width: 1140px; margin: 0 auto; }
.eyebrow {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--lake); margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 500; color: var(--forest); line-height: 1.15; margin-bottom: 16px;
}
.section-lead { font-size: 1.05rem; color: var(--muted); max-width: 580px; }

/* ── Booking section ────────────────────────────────────────── */
.booking { background: var(--warm-white); }
.booking-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  margin-top: 44px;
  align-items: start;
}

/* Calendar */
.cal-wrap { background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.cal-nav-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--warm-white); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--forest); transition: var(--transition);
}
.cal-nav-btn:hover:not(:disabled) { background: var(--forest); color: #fff; border-color: var(--forest); }
.cal-nav-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.cal-months { display: flex; gap: 32px; }
.cal-month { flex: 1; }
.cal-month-name {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 600;
  color: var(--forest); text-align: center; margin-bottom: 14px;
}
.cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 3px; }
.cal-dow {
  text-align: center; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted); padding-bottom: 8px;
}
.cal-day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 500; border-radius: 9px;
  border: none; background: transparent; color: var(--charcoal);
  position: relative; transition: background var(--transition), color var(--transition);
}
.cal-day.empty { visibility: hidden; }
.cal-day.available { background: var(--sage-soft); color: var(--forest); cursor: pointer; }
.cal-day.available:hover { background: var(--sage); color: #fff; }
.cal-day.unavailable { background: transparent; color: var(--unavailable); text-decoration: line-through; cursor: not-allowed; }
.cal-day.too-soon { background: transparent; color: var(--unavailable); cursor: not-allowed; }
.cal-day.selected-start,
.cal-day.selected-end { background: var(--lake); color: #fff; cursor: pointer; }
.cal-day.in-range { background: rgba(62,124,166,0.18); color: var(--lake-dark); border-radius: 0; }
.cal-legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 18px; font-size: 0.74rem; color: var(--muted); }
.cal-legend span { display: flex; align-items: center; gap: 6px; }
.cal-swatch { width: 13px; height: 13px; border-radius: 4px; }

/* Price panel */
.price-panel {
  background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; position: sticky; top: 92px;
}
.price-rate-line { font-size: 0.85rem; color: var(--muted); margin-bottom: 4px; }
.price-headline { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--forest); margin-bottom: 22px; }
.price-headline small { font-size: 0.85rem; font-weight: 400; color: var(--muted); font-family: var(--font-body); }
.price-empty { color: var(--muted); font-size: 0.95rem; padding: 12px 0 4px; }
.price-dates { display: flex; gap: 10px; margin-bottom: 22px; }
.price-date-box { flex: 1; border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; background: var(--warm-white); }
.price-date-box label { display: block; font-size: 0.64rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.price-date-box .val { font-size: 0.92rem; font-weight: 600; color: var(--forest); }
.price-line { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.94rem; padding: 9px 0; color: var(--charcoal); }
.price-line.muted-line { color: var(--muted); font-size: 0.86rem; }
.price-line.discount { color: var(--sage); }
.price-line .strike { text-decoration: line-through; color: var(--muted); font-size: 0.85rem; margin-right: 6px; }
.price-divider { height: 1px; background: var(--border); margin: 8px 0; }
.price-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.15rem; font-weight: 700; color: var(--forest); padding-top: 10px; }
.price-total span:first-child { font-family: var(--font-display); }

.code-row { margin: 18px 0; }
.code-toggle { background: none; border: none; color: var(--lake); font-size: 0.85rem; font-weight: 600; padding: 0; text-decoration: underline; }
.code-input-wrap { display: none; gap: 8px; margin-top: 10px; }
.code-input-wrap.open { display: flex; }
.code-input-wrap input {
  flex: 1; border: 1px solid var(--border); border-radius: 9px; padding: 10px 12px;
  font-family: var(--font-body); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; outline: none;
}
.code-input-wrap input:focus { border-color: var(--lake); }
.code-apply { background: var(--forest); color: #fff; border: none; border-radius: 9px; padding: 0 18px; font-size: 0.82rem; font-weight: 600; }
.code-apply:hover { background: var(--forest-light); }
.code-msg { font-size: 0.8rem; margin-top: 8px; min-height: 1em; }
.code-msg.ok { color: var(--sage); }
.code-msg.err { color: #b4503f; }

.book-btn {
  display: block; width: 100%; text-align: center; margin-top: 22px;
  background: var(--lake); color: #fff; border: none; border-radius: 100px;
  padding: 15px; font-size: 0.92rem; font-weight: 600; letter-spacing: 0.04em;
  transition: background var(--transition), transform var(--transition);
}
.book-btn:hover:not(:disabled) { background: var(--lake-dark); transform: translateY(-2px); }
.book-btn:disabled { background: var(--unavailable); cursor: not-allowed; }
.select-msg { font-size: 0.82rem; color: #b4503f; margin-top: 10px; min-height: 1em; text-align: center; }
.cancel-note { font-size: 0.78rem; color: var(--muted); margin-top: 16px; line-height: 1.5; text-align: center; }

/* ── About ──────────────────────────────────────────────────── */
.about { background: var(--cream); }
.rooms-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-top: 44px; }
.room-card {
  background: var(--warm-white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; display: flex; gap: 18px; align-items: flex-start;
  transition: transform var(--transition), box-shadow var(--transition);
}
.room-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.room-icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: var(--sage-soft); display: flex; align-items: center; justify-content: center; }
.room-icon svg { width: 24px; height: 24px; stroke: var(--forest); fill: none; stroke-width: 1.6; }
.room-card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--forest); margin-bottom: 5px; }
.room-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.55; }
.room-card .note { display: block; margin-top: 6px; font-size: 0.82rem; color: var(--sage); font-style: italic; }

.about-summary { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.summary-pill {
  background: var(--forest); color: var(--cream); border-radius: 100px;
  padding: 10px 22px; font-size: 0.88rem; font-weight: 500;
  display: flex; align-items: center; gap: 9px;
}
.summary-pill svg { width: 18px; height: 18px; stroke: var(--sage); fill: none; stroke-width: 1.7; }
.summary-pill.pill-rule { background: #6d2b22; color: #fff; }
.summary-pill.pill-rule svg { stroke: #e8b4a8; }
.about-conduct { margin-top: 22px; font-size: 0.9rem; color: var(--muted); line-height: 1.65; max-width: 640px; }

/* ── Photos ─────────────────────────────────────────────────── */
.photos { background: var(--warm-white); }
.photo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 40px; }
.photo-thumb {
  aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; cursor: pointer;
  background: var(--sage-soft); position: relative; border: 1px solid var(--border);
  transition: transform var(--transition);
}
.photo-thumb:hover { transform: scale(1.02); }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.photo-thumb.photo-empty { background: var(--sage-soft); }
.photo-thumb .ph-label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; color: var(--muted); font-style: italic; }

/* Mobile photo cover (hidden on desktop) */
.photo-mobile { display: none; margin-top: 32px; }
.photo-mobile-cover { aspect-ratio: 4 / 3; }
.photo-mobile-hint { text-align: center; font-size: 0.85rem; color: var(--muted); margin-top: 12px; font-style: italic; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(30,61,47,0.94); z-index: 200; display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: 8px; object-fit: contain; }
.lightbox-close { position: absolute; top: 24px; right: 30px; background: none; border: none; color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); color: #fff; width: 50px; height: 50px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; }
.lightbox-arrow.prev { left: 28px; } .lightbox-arrow.next { right: 28px; }

/* ── Things to Do & See ─────────────────────────────────────── */
.todo { background: var(--cream); }
.todo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.todo-tile {
  background: var(--warm-white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; transition: transform var(--transition), box-shadow var(--transition);
}
.todo-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.todo-icon {
  width: 64px; height: 64px; border-radius: 16px; background: var(--sage-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.todo-icon svg { width: 34px; height: 34px; stroke: var(--forest); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.todo-tile h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--forest); margin-bottom: 8px; }
.todo-tile p { font-size: 0.95rem; color: var(--muted); line-height: 1.6; margin-bottom: 12px; }
.todo-dist { display: block; font-size: 0.86rem; font-weight: 600; color: var(--lake-dark); }
.todo-dist em { font-style: italic; font-weight: 500; color: var(--muted); }
.todo-note { display: block; font-size: 0.76rem; color: var(--muted); margin-top: 5px; }

/* ── Footer ─────────────────────────────────────────────────── */
.footer { background: var(--forest); padding: 48px 40px; }
.footer-inner { max-width: 1140px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-brand { font-family: var(--font-display); font-size: 1.3rem; color: var(--cream); }
.footer-brand span { color: var(--sage); }
.footer-loc { font-size: 0.82rem; color: rgba(244,239,230,0.55); margin-top: 4px; }
.footer-credit { font-size: 0.8rem; color: rgba(244,239,230,0.55); display: flex; align-items: center; gap: 9px; }
.footer-credit img { height: 26px; width: auto; opacity: 0.9; }
.footer-credit a { color: var(--sage); transition: color var(--transition); }
.footer-credit a:hover { color: var(--cream); }

/* ── Checkout page ──────────────────────────────────────────── */
.checkout-section { padding: 64px 40px 88px; background: var(--warm-white); min-height: 70vh; }
.checkout-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.checkout-summary { background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; position: sticky; top: 92px; }
.checkout-summary h2 { font-family: var(--font-display); font-size: 1.4rem; color: var(--forest); margin-bottom: 6px; }
.checkout-prop { font-size: 0.85rem; color: var(--muted); margin-bottom: 22px; }
.form-section h1 { font-family: var(--font-display); font-size: clamp(1.8rem,3vw,2.4rem); font-weight: 500; color: var(--forest); margin-bottom: 6px; }
.form-section .form-lead { color: var(--muted); margin-bottom: 30px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.field label .req { color: var(--lake); }
.field input, .field textarea, .field select {
  font-family: var(--font-body); font-size: 0.95rem; color: var(--charcoal);
  background: var(--warm-white); border: 1px solid var(--border); border-radius: 10px;
  padding: 12px 14px; outline: none; transition: border-color var(--transition), box-shadow var(--transition); width: 100%; resize: none;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--lake); box-shadow: 0 0 0 3px rgba(62,124,166,0.12); }
.field textarea { height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rules-check { display: flex; align-items: flex-start; gap: 10px; margin: 8px 0 22px; }
.rules-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--forest); flex-shrink: 0; }
.rules-check label { font-size: 0.86rem; color: var(--muted); line-height: 1.5; }
.pay-placeholder { background: var(--sage-soft); border: 1px dashed var(--sage); border-radius: 10px; padding: 18px; font-size: 0.85rem; color: var(--forest-light); margin-bottom: 20px; text-align: center; line-height: 1.5; }
.confirm-btn { width: 100%; background: var(--lake); color: #fff; border: none; border-radius: 100px; padding: 16px; font-size: 0.95rem; font-weight: 600; letter-spacing: 0.04em; transition: background var(--transition), transform var(--transition); }
.confirm-btn:hover { background: var(--lake-dark); transform: translateY(-2px); }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--lake); margin-bottom: 24px; font-weight: 500; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 920px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: fixed; inset: 72px 0 auto 0;
    background: var(--forest); padding: 30px 24px; gap: 22px; align-items: flex-start;
    box-shadow: var(--shadow-md);
  }
  .nav-toggle { display: flex; }
  .hero-content { padding: 0 28px 56px; }
  .section { padding: 64px 24px; }
  .specs-bar { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .spec { padding: 20px 24px; flex: 1 1 42%; justify-content: center; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .booking-grid { grid-template-columns: 1fr; gap: 32px; }
  .price-panel { position: static; }
  .cal-months { flex-direction: column; gap: 26px; }
  .rooms-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(3,1fr); }
  .todo-grid { grid-template-columns: repeat(2,1fr); }
  .checkout-grid { grid-template-columns: 1fr; gap: 36px; }
  .checkout-summary { position: static; order: 2; }
  .form-section { order: 1; }
  .hero-dots { right: 28px; }
}
@media (max-width: 540px) {
  .hero { height: 80vh; min-height: 480px; }
  .hero-content { padding: 0 20px 44px; }
  .field-row { grid-template-columns: 1fr; }
  .photo-grid { display: none; }
  .photo-mobile { display: block; }
  .footer-inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .specs-bar { flex-direction: column; }
  .specs-bar .spec { flex: 1 1 100%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); justify-content: center; text-align: left; }
  .todo-tile { padding: 26px; }
  .todo-grid { grid-template-columns: 1fr; }
}
