/* Colours: change them here and the whole site updates */
:root {
  --cream: #FAF5EA;
  --sand: #EBDFC5;
  --ink: #23291F;
  --green: #2F5D46;
  --green-dark: #1F4332;
  --clay: #A8452A;
}

*, *::before, *::after { box-sizing: border-box; }

html { font-size: 112.5%; } /* 18px base for easy reading */

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.2;
  margin: 0 0 .6em;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 1.7rem; }

p { margin: 0 0 1em; max-width: 65ch; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); }

:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }

.wrap { max-width: 64rem; margin: 0 auto; padding: 0 1.25rem; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: #fff; padding: .75rem 1rem; z-index: 10;
}
.skip-link:focus { left: 0; }

/* Header and navigation (phone first) */
.site-header { background: var(--green-dark); color: #fff; }
.site-header :focus-visible { outline-color: #fff; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; padding-top: .75rem; padding-bottom: .75rem; }

.site-name { font-family: Georgia, serif; font-size: 1.35rem; font-weight: 700; color: #fff; text-decoration: none; }

.nav-toggle {
  display: none;
  background: transparent; color: #fff;
  border: 2px solid #fff; border-radius: .4rem;
  font: inherit; font-weight: 700; padding: .4rem .9rem; cursor: pointer;
}
.js .nav-toggle { display: inline-block; }

.site-nav { flex-basis: 100%; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; color: #fff; text-decoration: none; padding: .6rem 0; font-weight: 600; }
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .3em; }
.js .site-nav ul { display: none; }
.js .site-nav.open ul { display: block; }

/* Buttons */
.button {
  display: inline-block; background: var(--clay); color: #fff;
  font-weight: 700; text-decoration: none;
  padding: .8rem 1.4rem; border-radius: .4rem; border: 2px solid var(--clay);
}
.button:hover { background: #8C3820; border-color: #8C3820; }
.button-quiet { background: transparent; color: var(--green-dark); border-color: var(--green-dark); }
.button-quiet:hover { background: var(--sand); border-color: var(--green-dark); }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* Home page sections */
.hero { padding: 2.5rem 0; display: grid; gap: 2rem; }
.hero .lead { font-size: 1.2rem; }
.hero img { border-radius: .5rem; }

.section { padding: 2.5rem 0; border-top: 2px solid var(--sand); }

.facts { margin: 0; display: grid; gap: 1.25rem; }
.facts dt { font-weight: 700; color: var(--green-dark); }
.facts dd { margin: 0; font-size: 1.2rem; }

.facilities { columns: 1; padding-left: 1.2rem; margin: 0; }
.facilities li { margin-bottom: .4rem; }

.cta { background: var(--green); color: #fff; padding: 2.5rem 0; }
.cta p { color: #fff; }
.cta .button { background: #fff; color: var(--green-dark); border-color: #fff; }
.cta .button:hover { background: var(--sand); border-color: var(--sand); }
.cta :focus-visible { outline-color: #fff; }

/* Footer */
.site-footer { background: var(--ink); color: #fff; padding: 2rem 0; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer p { margin-bottom: .4rem; }
.site-footer :focus-visible { outline-color: #fff; }

/* Tablet and desktop */
@media (min-width: 48em) {
  h1 { font-size: 3rem; }
  .nav-toggle { display: none !important; }
  .site-nav { flex-basis: auto; }
  .js .site-nav ul, .site-nav ul { display: flex; gap: 1.5rem; }
  .site-nav a { padding: .3rem 0; }
  .hero { grid-template-columns: 1.1fr 1fr; align-items: center; padding: 3.5rem 0; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .facilities { columns: 2; }
}

/* Inner pages */
.page-head { padding: 2.5rem 0 1.5rem; }
.rooms { display: grid; gap: 1.5rem; }
.rooms h3 { font-size: 1.3rem; margin-bottom: .3em; }
.steps, .terms-list { padding-left: 1.4rem; margin: 0; max-width: 65ch; }
.steps li { margin-bottom: .8rem; }
.terms-list li { margin-bottom: .6rem; }
.note { background: var(--sand); border-left: 4px solid var(--clay); padding: .75rem 1rem; max-width: 65ch; }
@media (min-width: 48em) {
  .rooms { grid-template-columns: repeat(3, 1fr); }
}

/* Gallery */
.gallery { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .5rem; }
.gallery figcaption { margin-top: .5rem; font-size: .95rem; }
@media (min-width: 36em) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 60em) { .gallery { grid-template-columns: repeat(3, 1fr); } }

/* What's on */
.activities { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
.activities li { border: 2px solid var(--sand); border-radius: .5rem; background: #fff; overflow: hidden; }
.activities img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tile-body { padding: 1rem 1.25rem 1.25rem; }
.activities h3 { font-size: 1.2rem; margin-bottom: .3em; }
.activities p { margin: 0; }
@media (min-width: 36em) { .activities { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 60em) { .activities { grid-template-columns: repeat(3, 1fr); } }

/* Sticky menu on larger screens */
.skip-link { z-index: 30; }

@media (min-width: 48em) {
  html { scroll-padding-top: 5rem; }
  .site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
  }
}

/* Logo in the header */
.site-name img { display: block; height: 2.75rem; width: auto; }

@media (min-width: 48em) {
  .site-name img { height: 3rem; }
}

/* Video */
video { display: block; width: 100%; max-width: 24rem; height: auto; border-radius: .5rem; }

/* Arrow on any link that opens in a new tab */
a[target="_blank"]::after {
  content: "↗";
  display: inline-block;
  margin-left: 0.25em;
  font-size: 0.85em;
  text-decoration: none;
}

/* Text that only screen readers hear */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
