/* Towering Oaks RV Park — theme CSS
   Headings: Crimson Text. Body: Nunito Sans. Classes prefixed with to- are unique to this theme.
*/

:root {
  --color-canopy: #1f3d2c;
  --color-canopy-dark: #16291e;
  --color-moss: #3d5c45;
  --color-leaf: #5c7a52;
  --color-cream: #f4efe4;
  --color-paper: #faf7f1;
  --color-sand: #e8dfcf;
  --color-bark: #2a2219;
  --color-ink: #2c2823;
  --color-muted: #5c564c;
  --color-line: #d8d0c2;
  --color-rust: #8c4a2f;
  --color-rust-hover: #733c26;
  --color-gold: #b89a6a;
  --font-heading: "Crimson Text", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --go-heading-font: var(--font-heading);
  --go-body-font: var(--font-body);
  --wp--preset--color--primary: var(--color-canopy);
  --wp--preset--color--secondary: var(--color-rust);
  --wp--preset--color--tertiary: var(--color-moss);
  --wp--preset--color--background: var(--color-paper);
  --measure: 70ch;
  --wide: 1120px;
  --space: 1.25rem;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(31, 61, 44, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-ink);
  background: var(--color-paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-canopy); text-underline-offset: 0.15em; }
a:hover { color: var(--color-rust); }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-canopy-dark);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.15rem, 5vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.25rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul.plain { margin: 0; padding: 0; list-style: none; }

.preview-banner {
  background: var(--color-bark);
  color: var(--color-cream);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 0.4rem 1rem;
}
.preview-banner strong { color: #fff; }

/* Header / nav — maps to Go header-4 */
.to-header {
  background: #fff;
  border-bottom: 1px solid var(--color-line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.to-header__bar {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.to-wordmark {
  text-decoration: none;
  color: var(--color-canopy-dark);
  line-height: 1.05;
  flex: 0 0 auto;
}
.to-wordmark:hover { color: var(--color-canopy); text-decoration: none; }
.to-wordmark__name {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 600;
  display: block;
}
.to-wordmark__tag {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-moss);
  font-weight: 700;
  margin-top: 0.15rem;
}
.to-header__right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.to-header__phone {
  font-weight: 700;
  color: var(--color-canopy);
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.95rem;
}
.to-header__phone:hover { color: var(--color-rust); }
.to-nav ul {
  display: flex;
  gap: 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.to-nav a {
  text-decoration: none;
  color: var(--color-ink);
  font-size: 0.92rem;
  font-weight: 600;
}
.to-nav a:hover,
.to-nav a[aria-current="page"] { color: var(--color-rust); }
.to-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-line);
  border-radius: 4px;
  padding: 0.4rem 0.6rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-canopy);
  cursor: pointer;
}

/* Layout */
.to-main { overflow: hidden; }
.to-wrap {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.to-section { padding: 4.25rem 0; }
.to-section--cream { background: var(--color-cream); }
.to-section--canopy { background: var(--color-canopy); color: var(--color-cream); }
.to-section--canopy h2,
.to-section--canopy h3 { color: #fff; }
.to-section--canopy p,
.to-section--canopy li { color: #e6dfd1; }
.to-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-rust);
  margin-bottom: 0.75rem;
}
.to-section--canopy .to-eyebrow { color: var(--color-gold); }
.to-lede { font-size: 1.2rem; max-width: 48rem; color: var(--color-muted); }
.to-kicker { font-size: 1.05rem; }

/* Buttons — map to Go / WP button blocks */
.to-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.to-btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.25rem;
  border-radius: 4px;
  border: 2px solid transparent;
  line-height: 1.2;
}
.to-btn:hover { text-decoration: none; }
.to-btn--primary {
  background: var(--color-rust);
  color: #fff;
  border-color: var(--color-rust);
}
.to-btn--primary:hover { background: var(--color-rust-hover); color: #fff; border-color: var(--color-rust-hover); }
.to-btn--ghost {
  background: transparent;
  color: var(--color-canopy);
  border-color: var(--color-canopy);
}
.to-btn--ghost:hover { background: var(--color-canopy); color: #fff; }
.to-section--canopy .to-btn--ghost {
  color: #fff;
  border-color: #fff;
}
.to-section--canopy .to-btn--ghost:hover { background: #fff; color: var(--color-canopy); }
.to-btn--light {
  background: #fff;
  color: var(--color-canopy-dark);
  border-color: #fff;
}
.to-btn--light:hover { background: var(--color-cream); color: var(--color-canopy-dark); }

/* Hero */
.to-hero {
  padding: 4.5rem 0 3.5rem;
  background:
    linear-gradient(180deg, #eef3eb 0%, var(--color-paper) 100%);
  border-bottom: 1px solid var(--color-line);
}
.to-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.to-hero__photo {
  margin-top: 2.25rem;
}
.to-hero__photo .to-photo--hero,
.to-hero__photo .to-photo--hero img {
  height: auto;
  min-height: 0;
}
.to-hero__photo .to-photo--hero img {
  width: 100%;
  object-fit: contain;
  object-position: center;
}
.to-price {
  display: block;
  width: fit-content;
  background: var(--color-canopy);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.45rem 0.85rem;
  border-radius: 4px;
  margin: 0 0 1.1rem;
  letter-spacing: 0.01em;
}
.to-price span { font-weight: 600; opacity: 0.85; }

/* Stats */
.to-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: -1.75rem;
  position: relative;
  z-index: 1;
}
.to-stat {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 1.1rem 1rem 1rem;
  box-shadow: var(--shadow);
}
.to-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  color: var(--color-canopy);
  line-height: 1.1;
}
.to-stat span { font-size: 0.88rem; color: var(--color-muted); }

/* Cards / feature grid */
.to-grid-3,
.to-grid-2 {
  display: grid;
  gap: 1.5rem;
}
.to-grid-3 { grid-template-columns: repeat(3, 1fr); }
.to-grid-2 { grid-template-columns: repeat(2, 1fr); align-items: start; }
.to-card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem 1.3rem;
}
.to-card h3 { margin-bottom: 0.4rem; }
.to-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.to-list { padding-left: 1.15rem; margin: 0.5rem 0 1rem; }
.to-list li { margin: 0.3rem 0; }

/* Photo placeholders — do not replace these with stock photography */
.to-needed {
  background:
    repeating-linear-gradient(-45deg, #e6ece4, #e6ece4 12px, #dce5d9 12px, #dce5d9 24px);
  border: 2px dashed var(--color-moss);
  border-radius: var(--radius);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 1.5rem;
  color: var(--color-canopy-dark);
}
.to-needed--tall { min-height: 320px; }
.to-needed--hero { min-height: 360px; }
.to-needed__flag {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--color-canopy);
  color: #fff;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  margin-bottom: 0.45rem;
}
.to-needed strong { font-size: 1.15rem; font-family: var(--font-heading); }
.to-needed span { font-size: 0.9rem; color: var(--color-muted); max-width: 28rem; }
figure { margin: 0; }
figcaption {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: 0.5rem;
}
.to-real-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-line);
  background: #fff;
}
.to-real-photo img { width: 100%; }

/* Gallery grid */
.to-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.to-gallery--3 { grid-template-columns: repeat(3, 1fr); }

/* Rates */
.to-rate-panel {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  max-width: 40rem;
}
.to-rate-panel__amount {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--color-canopy);
  line-height: 1;
  margin: 0.2rem 0 0.7rem;
}
.to-rate-panel__amount small {
  display: block;
  font-size: 1.05rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--color-muted);
  margin-top: 0.4rem;
}

/* Secondary daily / weekly rates — smaller than the monthly lead */
.to-rate-aside {
  margin-top: 1.1rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--color-line);
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.5;
  max-width: 36rem;
}
.to-rate-aside p { margin: 0.15rem 0; }
.to-rate-aside strong { color: var(--color-canopy); font-weight: 700; }
.to-section--canopy .to-rate-aside {
  border-top-color: rgba(255, 255, 255, 0.22);
  color: #e6dfd1;
  margin-bottom: 1.4rem;
}
.to-section--canopy .to-rate-aside strong { color: #fff; }

/* Forms */
.to-form {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.to-form h2 { margin-top: 0; }
.to-field { margin-bottom: 1rem; }
.to-field label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.3rem;
}
.to-field .req { color: var(--color-rust); }
.to-field input,
.to-field select,
.to-field textarea {
  width: 100%;
  font: inherit;
  padding: 0.65rem 0.7rem;
  border: 1px solid var(--color-line);
  border-radius: 4px;
  background: var(--color-paper);
  color: var(--color-ink);
}
.to-field textarea { min-height: 8rem; resize: vertical; }
.to-field input:focus,
.to-field select:focus,
.to-field textarea:focus {
  outline: 2px solid var(--color-leaf);
  outline-offset: 1px;
  background: #fff;
}
.to-form button[type="submit"] {
  font: inherit;
  cursor: pointer;
}
.to-form__note { font-size: 0.85rem; color: var(--color-muted); margin-top: 0.75rem; }
.to-form-success {
  display: none;
  background: #e8f0e6;
  border: 1px solid var(--color-leaf);
  color: var(--color-canopy-dark);
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.to-form-success.is-visible { display: block; }
.to-nap a { color: inherit; }
.to-nap p { margin: 0.15rem 0; }
.to-map {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: var(--radius);
  background: var(--color-sand);
}

/* Footer */
.to-footer {
  background: var(--color-canopy-dark);
  color: #d9d3c6;
  padding: 3rem 0 1.5rem;
  font-size: 0.95rem;
}
.to-footer a { color: #f4efe4; }
.to-footer a:hover { color: #fff; }
.to-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.to-footer h2 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}
.to-footer .to-wordmark { color: #fff; }
.to-footer .to-wordmark__tag { color: var(--color-gold); }
.to-footer__legal {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1rem;
  font-size: 0.82rem;
  color: #b7b0a3;
}

/* Inner page title */
.to-pagehero { padding: 3.2rem 0 2rem; border-bottom: 1px solid var(--color-line); }
.to-pagehero p { max-width: 46rem; color: var(--color-muted); font-size: 1.15rem; }

@media (max-width: 900px) {
  .to-hero__grid,
  .to-split,
  .to-grid-3,
  .to-stats,
  .to-footer__grid,
  .to-gallery--3 { grid-template-columns: 1fr 1fr; }
  .to-stats { margin-top: 1.5rem; }
  .to-header__phone { display: none; }
}
@media (max-width: 720px) {
  .to-nav-toggle { display: inline-block; }
  .to-header__right { gap: 0.5rem; }
  .to-nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--color-line);
    padding: 0.5rem 1.25rem 1rem;
  }
  .to-header.is-open .to-nav { display: block; }
  .to-nav ul { flex-direction: column; gap: 0.6rem; }
  .to-hero__grid,
  .to-split,
  .to-grid-3,
  .to-grid-2,
  .to-stats,
  .to-footer__grid,
  .to-gallery,
  .to-gallery--3 { grid-template-columns: 1fr; }
  .to-hero { padding: 2.5rem 0 2rem; }
  .to-section { padding: 3rem 0; }
  .to-needed--hero { min-height: 240px; }
}

/* Real park photographs */
.to-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-line);
  background: #1c241e;
}
.to-photo img {
  width: 100%;
  height: auto;
  display: block;
}
.to-photo--hero img {
  width: 100%;
  height: auto;
  display: block;
}
.to-photo--wide img {
  aspect-ratio: 16 / 7;
  object-fit: cover;
  object-position: center;
}
.to-gallery .to-photo img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}
.to-gallery-feature {
  margin-bottom: 1.25rem;
}


/* WordPress / theme additions */
.to-skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-canopy);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100000;
}
.to-skip-link:focus {
  left: 1rem;
  top: 1rem;
}
body.admin-bar .to-header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .to-header { top: 46px; }
}
.to-honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.to-form-error {
  background: #f8e8e3;
  border: 1px solid var(--color-rust);
  color: var(--color-canopy-dark);
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.to-form .wpforms-container { margin: 0; }
.to-form .wpforms-field { margin-bottom: 1rem; padding: 0 !important; }
.to-form .wpforms-field-label {
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.3rem;
}
.to-form .wpforms-required-label,
.to-form .wpforms-required-field-label { color: var(--color-rust); }
.to-form .wpforms-field input,
.to-form .wpforms-field select,
.to-form .wpforms-field textarea {
  width: 100%;
  font: inherit;
  padding: 0.65rem 0.7rem;
  border: 1px solid var(--color-line);
  border-radius: 4px;
  background: var(--color-paper);
  color: var(--color-ink);
}
.to-form .wpforms-submit {
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.25rem;
  border-radius: 4px;
  border: 2px solid var(--color-rust);
  background: var(--color-rust);
  color: #fff;
  cursor: pointer;
}
.to-form .wpforms-submit:hover {
  background: var(--color-rust-hover);
  border-color: var(--color-rust-hover);
}

/* Common Questions */
.to-faq {
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}
.to-faq-list {
  margin-top: 1.5rem;
  border-top: 1px solid var(--color-line);
}
.to-faq-item {
  border-bottom: 1px solid var(--color-line);
}
.to-faq-item summary {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--color-canopy-dark);
  cursor: pointer;
  padding: 1rem 2.25rem 1rem 0;
  list-style: none;
  position: relative;
  line-height: 1.3;
}
.to-faq-item summary::-webkit-details-marker {
  display: none;
}
.to-faq-item summary::marker {
  content: "";
}
.to-faq-item summary::after {
  content: "";
  position: absolute;
  right: 0.35rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--color-moss);
  border-bottom: 2px solid var(--color-moss);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.15s ease;
}
.to-faq-item[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}
.to-faq-item summary:hover {
  color: var(--color-canopy);
}
.to-faq-item summary:focus {
  outline: none;
}
.to-faq-item summary:focus-visible {
  outline: 2px solid var(--color-leaf);
  outline-offset: 3px;
  border-radius: 2px;
}
.to-faq-answer {
  padding: 0 0 1.15rem;
  color: var(--color-ink);
  max-width: var(--measure);
}
.to-faq-answer a {
  font-weight: 600;
}
