/* Cottonwood Center - layered on top of Picnic.css */

:root {
  --green: #095028;
  --green-dark: #063a1d;
  --stone: #f5f2ec;
  --stone-line: #e3ddd2;
  --ink: #2b2b2b;
  --muted: #666;
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --wrap: 1100px;
}

html { scroll-behavior: smooth; }

body {
  color: var(--ink);
  background: #fff;
  font-size: 1.05em;
  line-height: 1.6;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.25; }
h2 { font-size: 1.8em; margin: 0 0 .6em; padding: 0; }
h3 { font-size: 1.2em; margin: 0 0 .4em; padding: 0; }

a { color: var(--green); }
a:hover { color: var(--green-dark); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25em; }

/* Picnic button overrides */
.button, button, [type=submit] { background: var(--green); }
.button.ghost {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.button.ghost:hover { background: rgba(255, 255, 255, .15); }

/* Nav (Picnic's nav, made static and quiet) */
body { padding-top: 3em; }
nav.site-nav { box-shadow: 0 1px 0 var(--stone-line); padding: 0 1.25em; }
nav.site-nav .brand {
  font-family: var(--serif);
  color: var(--green);
  font-size: 1.2em;
  padding: .3em 0;
}
nav.site-nav .brand img { height: 2.1em; width: auto; vertical-align: middle; }
nav.site-nav .menu > a.pseudo { color: var(--ink); background: none; }
nav.site-nav .menu > a.pseudo:hover,
nav.site-nav .menu > a.pseudo[aria-current] { color: var(--green); box-shadow: inset 0 -2px 0 var(--green); border-radius: 0; }
nav.site-nav .menu > a.button:not(.pseudo) { color: #fff; box-shadow: none; border-radius: .2em; }

/* Hero */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: #333 url("../images/hero.jpg") center 60% / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .7), rgba(0, 0, 0, .1) 65%);
}
.hero .wrap { position: relative; width: 100%; padding-bottom: 3em; }
.hero h1 { font-size: 3em; margin: 0; padding: 0; color: #fff; }
.hero p { font-size: 1.25em; margin: .3em 0 1.2em; max-width: 36em; }
.hero .button { margin: 0 .5em .5em 0; }

.page-head {
  background: var(--stone);
  border-bottom: 1px solid var(--stone-line);
  padding: 2.5em 0 1.5em;
}
.page-head h1 { font-size: 2.4em; margin: 0; padding: 0; }
.page-head p { color: var(--muted); margin: .3em 0 0; }

/* Sections */
section { padding: 4em 0; }
section.alt { background: var(--stone); border-top: 1px solid var(--stone-line); border-bottom: 1px solid var(--stone-line); }

.intro { font-size: 1.15em; max-width: 42em; }

.facts { display: flex; flex-wrap: wrap; gap: 1em; margin-top: 2em; }
.fact {
  flex: 1 1 12em;
  border-left: 3px solid var(--green);
  padding: .3em 1em;
}
.fact strong { display: block; font-family: var(--serif); font-size: 1.8em; font-weight: 400; color: var(--green); }
.fact span { color: var(--muted); }

.amenities {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15em, 1fr));
  gap: .8em 2em;
  list-style: none;
  margin: 0;
  padding: 0;
}
.amenities li { padding-left: 1.5em; position: relative; }
.amenities li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: .6em;
  height: .6em;
  border-radius: 50%;
  background: var(--green);
}

/* Photo grid */
.photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16em, 1fr));
  gap: .75em;
}
.photos a { display: block; overflow: hidden; border-radius: .3em; aspect-ratio: 16 / 9; background: var(--stone); }
.photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.photos a:hover img { transform: scale(1.04); }
.more { margin-top: 1.5em; }

/* Lightbox */
dialog.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 94vw;
  max-height: 94vh;
}
dialog.lightbox::backdrop { background: rgba(0, 0, 0, .85); }
dialog.lightbox img { display: block; max-width: 94vw; max-height: 88vh; border-radius: .3em; }
dialog.lightbox .controls { display: flex; justify-content: space-between; gap: .5em; margin-top: .5em; }
dialog.lightbox button { background: rgba(255, 255, 255, .15); margin: 0; }

/* Location / contact */
.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2.5em; align-items: start; }
.map { width: 100%; height: 22em; border: 0; border-radius: .3em; background: var(--stone); }
.contact-lines { list-style: none; margin: 0 0 1.5em; padding: 0; }
.contact-lines li { margin-bottom: .8em; }
.contact-lines .lbl { display: block; font-size: .8em; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

.card-cta {
  background: #fff;
  border: 1px solid var(--stone-line);
  border-radius: .4em;
  padding: 1.5em;
}

footer.site-footer {
  background: #1d2a21;
  color: #c9d1cb;
  padding: 2.5em 0;
  font-size: .9em;
}
footer.site-footer a { color: #fff; }
footer.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1em; }

@media (max-width: 60em) {
  .split { grid-template-columns: 1fr; }
  .hero { min-height: 60vh; }
  .hero h1 { font-size: 2.2em; }
}
