/* ============================================================
   Sunny Ridge RV Park — Attraction Guides
   Brand: teal #2BA8B5, navy-teal #1B5A6B, mint #A8D5C8, cta #1E6F9F
   Fonts: Fredoka (display) + Montserrat (body)
   Aesthetic: warm high-desert adventure, editorial travel guide
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --teal: #2BA8B5;
  --navy-teal: #1B5A6B;
  --mint: #A8D5C8;
  --cta-blue: #1E6F9F;
  --sand: #F4EDE2;
  --sand-deep: #E8DCC8;
  --rust: #B5683A;
  --ink: #1A2B30;
  --ink-soft: #3D5258;
  --paper: #FBF8F3;
  --white: #ffffff;

  --display: 'Fredoka', system-ui, sans-serif;
  --body: 'Montserrat', system-ui, sans-serif;

  --maxw: 760px;
  --maxw-wide: 1140px;

  --shadow-sm: 0 2px 8px rgba(26,43,48,0.08);
  --shadow-md: 0 8px 30px rgba(26,43,48,0.12);
  --shadow-lg: 0 20px 60px rgba(26,43,48,0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* subtle paper/topographic texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(43,168,181,0.04), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(181,104,58,0.04), transparent 25%);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cta-blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: var(--maxw-wide); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,248,243,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sand-deep);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw-wide); margin: 0 auto; padding: 12px 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 78px; height: 78px; }
.brand .name {
  font-family: var(--display); font-weight: 600; font-size: 1.15rem;
  color: var(--navy-teal); line-height: 1.1;
}
.brand .name span { display: block; font-size: 0.7rem; font-weight: 500; color: var(--teal); letter-spacing: 0.12em; text-transform: uppercase; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-family: var(--display); font-weight: 500; color: var(--navy-teal); font-size: 0.98rem; }
.nav-links a:hover { color: var(--teal); }
.btn-book {
  font-family: var(--display); font-weight: 600;
  background: var(--cta-blue); color: var(--white) !important;
  padding: 10px 22px; border-radius: 999px; font-size: 0.95rem;
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.btn-book:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--white) !important; }

/* ---------- Hero (post) ---------- */
.post-hero {
  position: relative; min-height: 70vh; display: flex; align-items: flex-end;
  color: var(--white); overflow: hidden;
}
.post-hero .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,43,48,0.85) 0%, rgba(26,43,48,0.3) 45%, rgba(26,43,48,0.15) 100%);
}
.post-hero .hero-inner { position: relative; z-index: 2; max-width: var(--maxw-wide); margin: 0 auto; padding: 0 24px 56px; width: 100%; }
.eyebrow {
  font-family: var(--display); font-weight: 500; letter-spacing: 0.25em;
  text-transform: uppercase; font-size: 0.8rem; color: var(--mint); margin-bottom: 14px;
}
.post-hero h1 {
  font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.02; max-width: 14ch; text-shadow: 0 2px 24px rgba(0,0,0,0.4);
}
.post-hero .dek { font-size: 1.2rem; margin-top: 16px; max-width: 48ch; color: rgba(255,255,255,0.92); font-weight: 400; }
.post-meta { display: flex; gap: 20px; margin-top: 22px; font-size: 0.85rem; color: var(--mint); font-family: var(--display); letter-spacing: 0.04em; flex-wrap: wrap; }
.post-meta span { display: flex; align-items: center; gap: 6px; }

/* ---------- Article body ---------- */
.article { padding: 56px 0 40px; }
.article .lead { font-size: 1.3rem; line-height: 1.6; color: var(--ink-soft); font-weight: 500; margin-bottom: 36px; }
.article h2 {
  font-family: var(--display); font-weight: 600; font-size: 1.9rem; color: var(--navy-teal);
  margin: 48px 0 16px; line-height: 1.15;
}
.article h2::before {
  content: ''; display: block; width: 48px; height: 4px; background: var(--teal);
  border-radius: 2px; margin-bottom: 16px;
}
.article h3 { font-family: var(--display); font-weight: 600; font-size: 1.35rem; color: var(--rust); margin: 32px 0 10px; }
.article p { margin-bottom: 22px; }
.article ul, .article ol { margin: 0 0 22px 24px; }
.article li { margin-bottom: 10px; }
.article strong { color: var(--navy-teal); font-weight: 700; }
.article figure { margin: 36px 0; }
.article figure img { border-radius: 14px; box-shadow: var(--shadow-md); width: 100%; }
.article figcaption { font-size: 0.85rem; color: var(--ink-soft); margin-top: 10px; text-align: center; font-style: italic; }

/* pull quote */
.pullquote {
  font-family: var(--display); font-weight: 500; font-size: 1.6rem; line-height: 1.3;
  color: var(--teal); border-left: 5px solid var(--mint); padding: 8px 0 8px 28px;
  margin: 40px 0; font-style: italic;
}

/* fast facts box */
.facts {
  background: var(--white); border: 1px solid var(--sand-deep); border-radius: 16px;
  padding: 28px 30px; margin: 36px 0; box-shadow: var(--shadow-sm);
}
.facts h3 { font-family: var(--display); color: var(--navy-teal); margin: 0 0 16px; font-size: 1.2rem; }
.facts dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; }
.facts dt { font-family: var(--display); font-weight: 600; color: var(--teal); font-size: 0.95rem; }
.facts dd { font-size: 0.98rem; color: var(--ink-soft); }

/* image credits */
.image-credits {
  background: var(--white); border: 1px solid var(--sand-deep); border-radius: 16px;
  padding: 22px 26px; margin: 36px 0 0; box-shadow: var(--shadow-sm);
  font-size: 0.88rem; color: var(--ink-soft);
}
.image-credits h3 { font-family: var(--display); color: var(--navy-teal); margin: 0 0 10px; font-size: 1rem; }
.image-credits ul { margin: 0; padding-left: 18px; }
.image-credits li { margin: 6px 0; line-height: 1.5; }
.image-credits a { color: var(--teal); text-decoration: underline; }

/* video embed */
.video-embed { margin: 40px 0; }
.video-embed .frame {
  position: relative; padding-bottom: 56.25%; height: 0; border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow-md); background: var(--ink);
}
.video-embed .frame iframe, .video-embed .frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-embed .vertical { padding-bottom: 0; max-width: 360px; margin: 0 auto; aspect-ratio: 9/16; }
.video-embed .vertical iframe, .video-embed .vertical video { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; margin: 56px 0 0; border-radius: 0; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-teal), var(--teal));
  color: var(--white); text-align: center; padding: 64px 24px;
}
.cta-band h2 { font-family: var(--display); font-weight: 700; font-size: 2.2rem; color: var(--white); margin-bottom: 12px; }
.cta-band h2::before { display: none; }
.cta-band p { max-width: 44ch; margin: 0 auto 28px; color: rgba(255,255,255,0.92); font-size: 1.1rem; }
.cta-band .btn-book { font-size: 1.1rem; padding: 16px 38px; background: var(--white); color: var(--cta-blue) !important; }
.cta-band .btn-book:hover { color: var(--navy-teal) !important; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.8); padding: 48px 0 32px; margin-top: 0; }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; max-width: var(--maxw-wide); margin: 0 auto; padding: 0 24px; }
.site-footer h4 { font-family: var(--display); color: var(--mint); margin-bottom: 12px; font-size: 1rem; letter-spacing: 0.05em; }
.site-footer a { color: rgba(255,255,255,0.8); display: block; margin-bottom: 8px; font-size: 0.95rem; }
.site-footer a:hover { color: var(--mint); }
.site-footer .legal { text-align: center; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.82rem; color: rgba(255,255,255,0.5); }

/* ---------- Homepage ---------- */
.home-hero {
  position: relative; min-height: 82vh; display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--white); overflow: hidden;
}
.home-hero .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(26,43,48,0.5), rgba(26,43,48,0.7)); }
.home-hero .inner { position: relative; z-index: 2; max-width: 800px; padding: 0 24px; }
.home-hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1.02; text-shadow: 0 2px 30px rgba(0,0,0,0.4); }
.home-hero .dek { font-size: 1.3rem; margin-top: 20px; color: rgba(255,255,255,0.92); }

.section-head { text-align: center; margin: 64px 0 8px; }
.section-head .eyebrow { color: var(--teal); }
.section-head h2 { font-family: var(--display); font-weight: 700; font-size: 2.4rem; color: var(--navy-teal); }
.section-head p { color: var(--ink-soft); max-width: 50ch; margin: 10px auto 0; }

.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 28px; margin: 40px 0 64px; }
.guide-card {
  background: var(--white); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column;
}
.guide-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.guide-card .thumb { aspect-ratio: 16/10; overflow: hidden; }
.guide-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.guide-card:hover .thumb img { transform: scale(1.05); }
.guide-card .body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.guide-card .eyebrow { color: var(--teal); margin-bottom: 8px; }
.guide-card h3 { font-family: var(--display); font-weight: 600; font-size: 1.4rem; color: var(--navy-teal); margin-bottom: 8px; }
.guide-card p { font-size: 0.96rem; color: var(--ink-soft); margin-bottom: 16px; flex: 1; }
.guide-card .read { font-family: var(--display); font-weight: 600; color: var(--cta-blue); font-size: 0.95rem; }

/* breadcrumb */
.crumb { font-size: 0.85rem; color: var(--ink-soft); padding: 18px 0 0; font-family: var(--display); }
.crumb a { color: var(--teal); }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  body { font-size: 17px; }
  .nav-links { display: none; }
  .nav-links.mobile-essential { display: flex; gap: 14px; }
  .post-hero { min-height: 60vh; }
  .article h2 { font-size: 1.6rem; }
  .facts dl { grid-template-columns: 1fr; }
  .facts dt { margin-top: 8px; }
}

/* page-load reveal */
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.reveal { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.reveal-2 { animation-delay: .12s; }
.reveal-3 { animation-delay: .24s; }
