:root {
  --ink: #1F2A24;
  --ink-soft: #3A453F;
  --muted: #55605A;
  --bg: #F6F2EA;
  --sand: #EAE2D3;
  --line: #D3C9B6;
  --green: #2C4A3A;
  --green-dark: #1A2E23;
  --forest: #2C3B33;
  --forest-line: #4A5C53;
  --mist: #C9D3CC;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; }
:focus-visible { outline: 3px solid #C7861E; outline-offset: 3px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.eyebrow { margin: 0 0 12px; font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.section-title { font-size: clamp(32px, 4vw, 44px); line-height: 1.15; margin-bottom: 24px; }
.btn { display: inline-block; text-decoration: none; padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 16px; border: 1.5px solid transparent; text-align: center; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-light { background: var(--bg); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-outline-light { border-color: #fff; color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn-outline { border-color: var(--green); color: var(--green); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(246,242,234,0.96); backdrop-filter: blur(6px); border-bottom: 1px solid #E2DACB; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.brand { font-family: var(--serif); font-size: 22px; font-weight: 600; text-decoration: none; color: var(--ink); }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--ink); }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.nav .btn { padding: 10px 20px; font-size: 15px; color: #fff; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; align-items: center; justify-content: center; }

/* Hero */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,28,24,0.05) 30%, rgba(20,28,24,0.72) 100%); }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: 88px; }
.hero .eyebrow { color: #F6F2EA; text-shadow: 0 1px 8px rgba(0,0,0,0.55); }
.hero h1, .hero p.lede { text-shadow: 0 1px 12px rgba(0,0,0,0.35); }
.hero h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1.05; max-width: 820px; }
.hero p.lede { margin: 22px 0 32px; font-size: clamp(17px, 1.6vw, 20px); max-width: 600px; color: #F1F4F2; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Split sections */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 64px; align-items: center; padding: 112px 32px; }
.split p { color: var(--ink-soft); margin: 0 0 16px; }
.photo { border-radius: 4px; overflow: hidden; background: var(--sand); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* Camping */
.camping { background: var(--sand); }
.camping .wrap { padding-top: 112px; padding-bottom: 112px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; margin-top: 32px; }
.card { background: var(--bg); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; }
.card .photo { aspect-ratio: 16 / 10; border-radius: 0; }
.card-body { padding: 32px; display: flex; flex-direction: column; gap: 16px; flex-grow: 1; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.card h3 { font-size: 30px; }
.price { margin: 0; font-size: 15px; color: var(--muted); }
.price strong { color: var(--ink); font-size: 20px; }
.card p { margin: 0; color: var(--ink-soft); }
.card ul { margin: 0; padding-left: 20px; color: var(--ink-soft); font-size: 15px; }
.card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: auto; padding-top: 8px; }
.card-actions .text-link { font-weight: 600; font-size: 15px; }
.facts { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--line); }
.facts div { padding: 24px 24px 0 0; }
.facts p { margin: 0; font-size: 15px; color: var(--ink-soft); }
.facts p.label { font-weight: 600; color: var(--ink); font-size: 16px; margin-bottom: 4px; }
.also { margin: 32px 0 0; font-size: 15px; color: var(--muted); }

/* Events */
.events { background: var(--forest); color: var(--bg); }
.events .split p { color: #DDE3DE; }
.events .eyebrow { color: var(--mist); }
.features { list-style: none; padding: 0; margin: 8px 0 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; font-size: 15px; }
.features li { border-top: 1px solid var(--forest-line); padding-top: 10px; }
.events .price-line { font-size: 15px; color: var(--mist); margin-bottom: 28px; }
.events .price-line strong { color: #fff; font-size: 20px; }

/* Location */
.map { border: 0; width: 100%; height: 380px; border-radius: 4px; background: var(--sand); }

/* Enquiry */
.enquire { background: var(--sand); }
.enquire .wrap { max-width: 760px; padding-top: 112px; padding-bottom: 112px; }
.enquire h2, .enquire .intro { text-align: center; }
.enquire .intro { color: var(--ink-soft); margin: 0 0 40px; }
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 13px 14px; border: 1px solid #B9AE99; border-radius: 4px; background: #FBF9F4; color: var(--ink); }
.form .full { grid-column: 1 / -1; }
.form button { justify-self: center; border: 0; }
.hidden { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: var(--ink); color: var(--mist); font-size: 15px; }
.site-footer .wrap { padding-top: 56px; padding-bottom: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.site-footer a { color: var(--bg); }
.site-footer p { margin: 0 0 6px; }
.footer-brand { font-family: var(--serif); font-size: 22px; color: var(--bg); }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: flex-start; }

/* Gallery page */
.gallery-head { padding-top: 72px; }
.gallery-head h1 { font-size: clamp(40px, 5vw, 56px); line-height: 1.1; margin-bottom: 12px; }
.gallery-head p { color: var(--ink-soft); max-width: 560px; margin: 0 0 32px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filters button { font: inherit; font-size: 15px; font-weight: 600; padding: 10px 20px; min-height: 44px; border-radius: 999px; cursor: pointer; border: 1.5px solid var(--green); background: transparent; color: var(--green); }
.filters button[aria-pressed="true"] { background: var(--green); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 12px; }
.grid button { padding: 0; border: 0; border-radius: 4px; overflow: hidden; cursor: zoom-in; background: var(--sand); }
.grid button img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.grid button:hover img { transform: scale(1.03); }
.grid .big { grid-column: span 2; grid-row: span 2; }
.grid .tall { grid-row: span 2; }
.gallery-cta { margin: 64px 0 96px; padding-top: 40px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.gallery-cta p { margin: 0; font-family: var(--serif); font-size: 28px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(15,20,17,0.94); display: none; align-items: center; justify-content: center; padding: 56px 16px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 2px; }
.lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 999px; border: 0; background: rgba(255,255,255,0.14); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox button:hover { background: rgba(255,255,255,0.26); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-caption { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #DDE3DE; font-size: 14px; margin: 0; }

/* Mobile */
.mobile-book { display: none; }
@media (max-width: 860px) {
  .wrap { padding: 0 20px; }
  .menu-toggle { display: flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid #E2DACB; padding: 8px 20px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid #E2DACB; }
  .nav .btn { margin-top: 12px; border-bottom: 0; padding: 14px; }
  .hero { min-height: calc(100svh - 77px); }
  .hero .wrap { padding-bottom: 104px; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .split { padding: 72px 20px; gap: 32px; }
  .camping .wrap, .enquire .wrap { padding-top: 72px; padding-bottom: 72px; }
  .card-body { padding: 24px; }
  .features { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 8px; }
  .grid .big { grid-column: span 2; grid-row: span 2; }
  .mobile-book { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: rgba(246,242,234,0.97); border-top: 1px solid #E2DACB; }
  .mobile-book .btn { display: block; }
  .site-footer { padding-bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .grid button img { transition: none; } }
