/* ============================================================
   Lake Molunkus Sporting Camps — Rustic Heritage Theme
   Est. 1904 · Molunkus Township, Maine
   ============================================================ */

:root {
  --forest: #1f3d2b;
  --forest-dark: #142b1e;
  --pine: #2c5240;
  --cream: #f5efe3;
  --parchment: #ece3d0;
  --amber: #c17e3f;
  --rust: #a0522d;
  --ink: #2a241c;
  --stone: #6f6657;
  --white: #fdfbf6;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, h4 { font-family: var(--serif); color: var(--forest); line-height: 1.2; }

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

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

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

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 600;
  margin-bottom: 12px;
}

.section { padding: 80px 0; }
.section-alt { background: var(--parchment); }
.section-dark { background: var(--forest); color: var(--cream); }
.section-dark h2, .section-dark h3 { color: var(--cream); }

.section-title { font-size: clamp(30px, 4vw, 42px); margin-bottom: 16px; }
.section-lead { max-width: 720px; font-size: 19px; color: var(--stone); margin-bottom: 40px; }
.section-dark .section-lead { color: #cfc8b8; }

.center { text-align: center; }
.center .section-lead { margin-left: auto; margin-right: auto; }

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  font-family: var(--sans);
}
.btn-primary { background: var(--amber); color: #fff; }
.btn-primary:hover { background: var(--rust); }
.btn-outline { border-color: var(--cream); color: var(--cream); background: transparent; }
.btn-outline:hover { background: var(--cream); color: var(--forest); }
.btn-forest { background: var(--forest); color: var(--cream); }
.btn-forest:hover { background: var(--pine); }
.btn-block { display: block; width: 100%; text-align: center; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- Photo placeholders (replace with real photos) ---------- */
.ph {
  position: relative;
  background:
    linear-gradient(160deg, rgba(31,61,43,.92), rgba(44,82,64,.85)),
    repeating-linear-gradient(45deg, #24462f 0 12px, #1f3d2b 12px 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #cfc8b8;
  overflow: hidden;
}
.ph::before {
  content: "📷";
  position: absolute;
  top: 14px; right: 16px;
  font-size: 18px;
  opacity: .7;
}
.ph span {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 18px;
  border: 1px dashed rgba(245,239,227,.4);
  max-width: 85%;
}

/* ---------- Header / Nav ---------- */
.topbar {
  background: var(--forest-dark);
  color: #cfc8b8;
  font-size: 13px;
  padding: 7px 0;
  letter-spacing: 1px;
}
.topbar .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.topbar a { color: var(--cream); text-decoration: none; }

header.site {
  background: var(--forest);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand { text-decoration: none; display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 46px; height: 46px;
  border: 2px solid var(--amber);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  color: var(--amber);
  font-size: 20px;
  font-weight: 700;
}
.brand-text { line-height: 1.15; }
.brand-text .name { font-family: var(--serif); color: var(--cream); font-size: 20px; font-weight: 700; }
.brand-text .est { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--amber); }

nav.main ul { display: flex; gap: 26px; list-style: none; align-items: center; }
nav.main a {
  color: var(--cream);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
nav.main a:hover, nav.main a.active { border-bottom-color: var(--amber); color: #fff; }
nav.main a.nav-cta {
  background: var(--amber); color: #fff;
  padding: 10px 22px; border-radius: 3px; border-bottom: none;
}
nav.main a.nav-cta:hover { background: var(--rust); }

.nav-toggle { display: none; background: none; border: none; color: var(--cream); font-size: 28px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  /* Real photo loads if present; striped gradient is the fallback */
  background:
    linear-gradient(rgba(20,43,30,.45), rgba(20,43,30,.62)),
    url("../images/hero-sunset.jpg") center / cover no-repeat,
    repeating-linear-gradient(45deg, #24462f 0 14px, #1f3d2b 14px 28px);
  color: var(--cream);
}
.hero-inner { max-width: 800px; padding: 90px 24px; }
.hero .eyebrow { color: var(--amber); }
.hero h1 { font-size: clamp(38px, 6vw, 64px); color: var(--cream); margin-bottom: 20px; }
.hero p.tag { font-size: 21px; color: #d9d2c0; margin-bottom: 36px; max-width: 620px; }
.hero .actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-note {
  position: absolute; bottom: 18px; right: 22px;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: rgba(245,239,227,.55);
}

/* Page hero (interior pages) */
.page-hero {
  background:
    linear-gradient(rgba(20,43,30,.78), rgba(20,43,30,.78)),
    repeating-linear-gradient(45deg, #24462f 0 14px, #1f3d2b 14px 28px);
  color: var(--cream);
  padding: 80px 0 64px;
  text-align: center;
}
.page-hero h1 { color: var(--cream); font-size: clamp(32px, 5vw, 52px); }
.page-hero p { color: #d9d2c0; font-size: 19px; max-width: 680px; margin: 14px auto 0; }

/* ---------- Stats strip ---------- */
.stats { background: var(--forest-dark); padding: 34px 0; }
.stats .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; text-align: center; }
.stat .num { font-family: var(--serif); font-size: 36px; color: var(--amber); font-weight: 700; }
.stat .label { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: #cfc8b8; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(42,36,28,.09);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(42,36,28,.15); }
.card .ph { height: 210px; }
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 22px; margin-bottom: 8px; }
.card-body p { color: var(--stone); font-size: 15.5px; flex: 1; }
.card-body .meta { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--amber); font-weight: 700; margin-bottom: 8px; }
.card-body .card-cta { margin-top: 16px; }

.badge {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 2px;
  background: var(--parchment);
  color: var(--pine);
  margin-right: 6px; margin-bottom: 6px;
}
.badge.heritage { background: #efe0c8; color: var(--rust); }
.badge.modern { background: #dde8df; color: var(--forest); }
.badge.soon { background: #f3e6d2; color: #8a6a2f; }

/* ---------- Two-column feature ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature .ph { min-height: 380px; border-radius: 4px; }
.feature h2 { font-size: clamp(28px, 3.5vw, 38px); margin-bottom: 18px; }
.feature p { margin-bottom: 16px; color: var(--stone); }
.feature ul { list-style: none; margin: 18px 0; }
.feature li { padding: 7px 0 7px 30px; position: relative; }
.feature li::before { content: "✦"; color: var(--amber); position: absolute; left: 4px; }

/* ---------- Tables (pricing) ---------- */
.rate-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 4px; overflow: hidden; box-shadow: 0 3px 14px rgba(42,36,28,.09); }
.rate-table th {
  background: var(--forest); color: var(--cream);
  font-family: var(--sans); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 14px 18px; text-align: left;
}
.rate-table td { padding: 14px 18px; border-bottom: 1px solid var(--parchment); font-size: 15.5px; }
.rate-table tr:last-child td { border-bottom: none; }
.rate-table .price { font-weight: 700; color: var(--forest); white-space: nowrap; }
.table-scroll { overflow-x: auto; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; color: var(--pine); }
.field input, .field select, .field textarea {
  padding: 12px 14px;
  border: 1.5px solid #d8cfba;
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 16px;
  background: var(--white);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber); }

/* ---------- Booking ---------- */
.booking-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 36px; align-items: start; }

.book-panel { background: var(--white); border-radius: 4px; padding: 30px; box-shadow: 0 3px 14px rgba(42,36,28,.09); }
.book-panel h3 { margin-bottom: 18px; font-size: 22px; }

.step-label {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; color: var(--amber);
  margin: 26px 0 12px;
}
.step-label:first-child { margin-top: 0; }
.step-label .n {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--forest); color: var(--cream);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px;
}

/* Calendar */
.cal-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cal { background: var(--cream); border-radius: 4px; padding: 14px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cal-head .month { font-family: var(--serif); font-weight: 700; color: var(--forest); }
.cal-nav { background: none; border: 1px solid #d8cfba; border-radius: 3px; width: 30px; height: 30px; cursor: pointer; color: var(--forest); font-size: 15px; }
.cal-nav:hover { background: var(--parchment); }
.cal table { width: 100%; border-collapse: collapse; }
.cal th { font-size: 11px; text-transform: uppercase; color: var(--stone); padding: 4px; text-align: center; }
.cal td { text-align: center; padding: 2px; }
.cal .day {
  width: 100%; aspect-ratio: 1; border: none; background: var(--white);
  border-radius: 3px; cursor: pointer; font-size: 14px; color: var(--ink); font-family: var(--sans);
}
.cal .day:hover:not(:disabled) { background: var(--amber); color: #fff; }
.cal .day:disabled { background: transparent; color: #c8bda6; cursor: default; text-decoration: line-through; }
.cal .day.booked { background: #e8d5cd; color: #a0522d; text-decoration: line-through; cursor: not-allowed; }
.cal .day.selected { background: var(--forest); color: #fff; }
.cal .day.inrange { background: var(--pine); color: #fff; }
.cal .day.empty { background: transparent; cursor: default; }

.cal-legend { display: flex; gap: 18px; margin-top: 12px; font-size: 13px; color: var(--stone); flex-wrap: wrap; }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend i { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }

/* Summary card */
.summary { background: var(--forest); color: var(--cream); border-radius: 4px; padding: 28px; position: sticky; top: 100px; }
.summary h3 { color: var(--cream); font-size: 22px; margin-bottom: 6px; }
.summary .sub { color: #cfc8b8; font-size: 14px; margin-bottom: 18px; }
.summary .line { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid rgba(245,239,227,.15); font-size: 15px; }
.summary .line.total { font-weight: 700; font-size: 18px; border-bottom: none; padding-top: 14px; }
.summary .line.deposit { color: var(--amber); font-weight: 700; border-bottom: none; }
.summary .note { font-size: 12.5px; color: #b8b09c; margin-top: 14px; line-height: 1.5; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.gallery-grid .ph { height: 220px; border-radius: 4px; }
.gallery-grid .ph.tall { height: 456px; grid-row: span 2; }
/* Real photos in feature blocks and cards */
.feature > img.photo { width: 100%; min-height: 380px; height: 100%; object-fit: cover; border-radius: 4px; box-shadow: 0 3px 14px rgba(42,36,28,.12); }
.card > img.photo { width: 100%; height: 210px; object-fit: cover; display: block; }

.gallery-grid img.photo {
  width: 100%; height: 220px; object-fit: cover; border-radius: 4px;
  display: block; cursor: zoom-in; box-shadow: 0 3px 14px rgba(42,36,28,.12);
  transition: transform .2s ease;
}
.gallery-grid img.photo:hover { transform: scale(1.02); }
.gallery-grid img.photo.tall { height: 456px; grid-row: span 2; }

.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.filter-bar button {
  padding: 9px 20px; border-radius: 30px; border: 1.5px solid var(--forest);
  background: transparent; color: var(--forest); font-weight: 600; cursor: pointer;
  font-size: 14px; letter-spacing: .5px; font-family: var(--sans);
}
.filter-bar button.active, .filter-bar button:hover { background: var(--forest); color: var(--cream); }

/* ---------- Testimonials ---------- */
.quote {
  background: var(--white); border-left: 4px solid var(--amber); padding: 26px 28px;
  border-radius: 0 4px 4px 0; box-shadow: 0 3px 14px rgba(42,36,28,.08);
}
.quote p { font-style: italic; color: var(--ink); font-size: 16.5px; }
.quote .who { margin-top: 14px; font-weight: 700; color: var(--pine); font-style: normal; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(rgba(20,43,30,.85), rgba(20,43,30,.85)), repeating-linear-gradient(-45deg, #24462f 0 14px, #1f3d2b 14px 28px); color: var(--cream); text-align: center; padding: 76px 24px; }
.cta-band h2 { color: var(--cream); font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.cta-band p { color: #d9d2c0; max-width: 560px; margin: 0 auto 30px; }

/* ---------- Info callout ---------- */
.callout {
  background: #f3e6d2; border: 1.5px dashed var(--amber); border-radius: 4px;
  padding: 18px 22px; font-size: 15px; color: #6b4f23; margin: 24px 0;
}
.callout strong { color: var(--rust); }

/* ---------- Footer ---------- */
footer.site {
  background: var(--forest-dark); color: #cfc8b8; padding: 64px 0 0; font-size: 15px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
footer.site h4 { color: var(--cream); font-size: 17px; margin-bottom: 16px; }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 9px; }
footer.site a { color: #cfc8b8; text-decoration: none; }
footer.site a:hover { color: var(--amber); }
.footer-bottom { border-top: 1px solid rgba(245,239,227,.12); padding: 20px 0; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .feature, .booking-layout, .cal-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .summary { position: static; }
  nav.main {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--forest); padding: 18px 24px 26px;
    box-shadow: 0 10px 20px rgba(0,0,0,.3);
  }
  nav.main.open { display: block; }
  nav.main ul { flex-direction: column; align-items: flex-start; gap: 16px; }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}
