/* Camp network brochure template: the layout of rosebaycampsite.co.uk and
   barnstonescaravanpark.co.uk (Astra + Elementor), rebuilt as plain CSS.
   Per-site values arrive as custom properties on :root from render.py. */
:root {
  --head: "DM Serif Display", Georgia, "Times New Roman", serif;
  --body: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  --ink: #3a3a3a;
  --heading: #1e1e1e;
  --muted: #666;
  --tint: #f5f6f8;
  --accent: #1e1e1e;
  --overlay: rgba(10, 12, 14, .45);
  --wrap: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 15px/1.7 var(--body); color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 400; color: var(--heading); line-height: 1.2; margin: 0 0 .5em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }

/* the record notice */
.record { background: #22262a; color: #e8e8e8; font-size: 13px; line-height: 1.5; text-align: center; padding: 9px 20px; }
.record a { color: #fff; }

/* header over the hero */
.top { position: absolute; left: 0; right: 0; z-index: 3; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 92px; }
.brand { font-family: var(--head); font-size: 20px; color: #fff; text-decoration: none; letter-spacing: .01em; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { color: #fff; text-decoration: none; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.nav a.btn-line { border: 1px solid rgba(255,255,255,.9); padding: 9px 24px; letter-spacing: .14em; }
.nav a:hover { opacity: .8; }

/* hero */
.hero { position: relative; min-height: 640px; display: flex; align-items: center; background: #333 center/cover no-repeat; color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--overlay); }
.hero .wrap { position: relative; z-index: 2; width: 100%; padding-top: 70px; }
.hero h1 { color: #fff; font-size: 64px; max-width: 760px; margin-bottom: 18px; }
.hero h1.caps { text-transform: uppercase; }
.hero p { font-size: 16px; max-width: 560px; margin: 0 0 36px; }
.btn { display: inline-block; background: #fff; color: #111; text-decoration: none; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; padding: 15px 34px; }
.btn:hover { background: var(--accent); color: #fff; }

/* sections */
section { padding: 100px 0; }
section.tint { background: var(--tint); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.about h2, .amen h2, .center h2 { font-size: 40px; }
.about p { font-size: 14px; margin: 0 0 1.1em; }
.about .pics { display: grid; gap: 30px; }
.about .cap { font-size: 13px; color: var(--muted); margin-top: 30px; }
.amen .kicker { font-size: 13px; color: var(--muted); margin: 0; }
.amen h3 { font-size: 26px; margin-top: 6px; }
.checks { list-style: none; padding: 0; margin: 0 0 40px; font-size: 13.5px; }
.checks li { padding-left: 22px; position: relative; margin: 2px 0; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 10px; height: 6px; border-left: 2px solid var(--heading); border-bottom: 2px solid var(--heading); transform: rotate(-45deg); }
.who { text-align: right; }
.who ul { list-style: none; padding: 0; margin: 0; font-size: 13.5px; }
.lists { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 50px; }

/* partner banner and logos */
.banner-row { display: grid; justify-items: center; gap: 14px; padding: 26px 20px; background: #fff; }
.banner-row > a { display: block; width: 100%; max-width: 728px; }
.banner-row > a > img { width: 100%; height: auto; }
.tbanner { display: flex; align-items: center; gap: 18px; min-height: 90px; padding: 12px 26px; text-decoration: none; text-align: left; color: #fff; }
.tbanner img { width: 52px; height: 52px; border-radius: 8px; background: #fff; }
.tbanner strong { display: block; font-size: 22px; line-height: 1.15; font-family: var(--head); font-weight: 400; }
.tbanner span { font-size: 13px; opacity: .9; }
.tbanner.omt { background: #1f3a2f; }
.tbanner.lex { background: #23435b; }
.center { text-align: center; }
.center .sub { font-size: 13px; color: var(--muted); margin: -6px 0 36px; }
.logos { display: flex; justify-content: center; align-items: center; gap: 70px; flex-wrap: wrap; margin-top: 30px; }
.logos a { display: block; }
.logos img { max-height: 130px; width: auto; }
.logos .tcf { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--head); font-size: 26px; color: #2b2b2b; }
.logos .tcf img { height: 64px; width: 64px; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.credit { font-size: 11.5px; color: var(--muted); margin-top: 14px; }

/* band */
.band { position: relative; background: #333 center/cover no-repeat; color: #fff; text-align: center; padding: 110px 0; }
.band::before { content: ""; position: absolute; inset: 0; background: var(--overlay); }
.band .wrap { position: relative; }
.band h2 { color: #fff; font-size: 40px; max-width: 820px; margin: 0 auto 16px; }
.band p { max-width: 720px; margin: 0 auto; font-size: 15px; }
.band a { color: #fff; font-weight: 600; }

/* what to do */
.todo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: left; margin-top: 30px; }
.todo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 18px; }
.todo h3 { font-size: 24px; }
.todo p { font-size: 13.5px; margin: 0; }

/* footer */
footer { background: #1f2124; color: #bfc3c7; font-size: 13px; padding: 60px 0 30px; }
footer h4 { color: #fff; font-size: 20px; }
footer .cols { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
footer a { color: #fff; }
footer .small { border-top: 1px solid #34383c; margin-top: 40px; padding-top: 20px; font-size: 12px; color: #8b9096; }

@media (max-width: 900px) {
  .wrap { padding: 0 22px; }
  .hero { min-height: 520px; }
  .hero h1 { font-size: 42px; }
  section { padding: 64px 0; }
  .two, .lists, .todo, footer .cols { grid-template-columns: 1fr; }
  .who { text-align: left; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .about h2, .amen h2, .center h2, .band h2 { font-size: 32px; }
  .nav { gap: 16px; }
  .nav a:not(.btn-line) { display: none; }
  .logos { gap: 36px; }
  .logos img { max-height: 100px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 34px; }
  .brand { font-size: 17px; }
  .nav a.btn-line { padding: 8px 14px; }
  .tbanner strong { font-size: 18px; }
}
