/* ==========================================================================
   Riverfront Campground — Static Site Stylesheet
   Fonts: Playfair Display (headings) + Lato (body)
   Palette: Navy #122642, Gold #d4af7a, Steel Blue #1d6fa5
   ========================================================================== */

:root {
  --navy: #122642;
  --navy-dark: #0e1f37;
  --navy-light: #1a3a5c;
  --gold: #d4af7a;
  --gold-dark: #c49a5f;
  --blue: #1d6fa5;
  --text: #1f2937;
  --muted: #64748b;
  --bg-soft: #f4f7fa;
  --border: #e5e9ef;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .font-serif {
  font-family: "Playfair Display", Georgia, serif;
  margin: 0;
  color: var(--navy);
  font-weight: 600;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: 8px; font-weight: 600;
  font-size: 15px; border: none; cursor: pointer; transition: background-color .2s, color .2s;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-light); }
.btn-outline { background: transparent; border: 1px solid rgba(255,255,255,.4); color: #fff; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Header ---------- */
header.site-header {
  position: relative;
  z-index: 40;
  background: var(--navy);
  padding: 16px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 58px; width: 58px; object-fit: contain; }
.brand-text { color: #fff; line-height: 1.2; }
.brand-text .name { display: block; font-family: "Playfair Display", serif; font-size: 20px; }
.brand-text .sub { display: block; font-size: 10px; letter-spacing: .25em; color: #9fc3de; }

nav.main-nav { display: flex; align-items: center; gap: 4px; }
nav.main-nav .nav-item { position: relative; }
nav.main-nav a.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 10px 16px; color: rgba(255,255,255,.9); font-size: 14px;
  font-weight: 600; text-transform: uppercase; letter-spacing: .03em;
  transition: color .2s;
}
nav.main-nav a.nav-link:hover, nav.main-nav a.nav-link.active { color: var(--gold); }
.submenu {
  position: absolute; top: 100%; left: 0; padding-top: 8px;
  min-width: 220px; opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav-item:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu-inner { background: #fff; border-radius: 8px; box-shadow: 0 20px 40px -10px rgba(18,38,66,.3); overflow: hidden; padding: 8px 0; }
.submenu-inner a { display: block; padding: 10px 16px; font-size: 14px; color: var(--navy); }
.submenu-inner a:hover { background: var(--bg-soft); color: var(--blue); }
.header-phone { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.9); font-weight: 700; font-size: 14px; }
.header-phone:hover { color: var(--gold); }

.hamburger-btn { display: none; background: none; border: none; color: #fff; padding: 8px; cursor: pointer; }
.hamburger-btn svg { width: 28px; height: 28px; }

/* ---------- Mobile slide-out menu ---------- */
.backdrop-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 60;
  opacity: 0; visibility: hidden; transition: opacity .3s;
}
.backdrop-overlay.open { opacity: 1; visibility: visible; }
.mobile-menu {
  position: fixed; top: 0; right: 0; height: 100%; width: 82%; max-width: 380px;
  background: var(--navy); z-index: 70; box-shadow: -10px 0 40px rgba(0,0,0,.3);
  transform: translateX(100%); transition: transform .3s ease-out;
  display: flex; flex-direction: column;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-menu-head img { height: 54px; width: 54px; object-fit: contain; }
.mobile-close-btn { background: none; border: none; color: #fff; cursor: pointer; padding: 8px; }
.mobile-close-btn svg { width: 26px; height: 26px; }
.mobile-nav { padding: 8px 12px; overflow-y: auto; flex: 1; }
.mobile-nav-item { border-bottom: 1px solid rgba(255,255,255,.06); }
.mobile-nav-row { display: flex; align-items: center; justify-content: space-between; }
.mobile-nav-row a { flex: 1; padding: 14px 12px; color: rgba(255,255,255,.9); text-transform: uppercase; font-weight: 600; font-size: 15px; letter-spacing: .02em; }
.mobile-submenu-toggle { background: none; border: none; color: rgba(255,255,255,.7); padding: 12px; cursor: pointer; }
.mobile-submenu-toggle svg { width: 18px; height: 18px; transition: transform .3s; }
.mobile-submenu-toggle.open svg { transform: rotate(180deg); }
.mobile-submenu { max-height: 0; overflow: hidden; transition: max-height .3s; }
.mobile-submenu.open { max-height: 240px; }
.mobile-submenu a { display: block; padding: 10px 24px; font-size: 14px; color: #9fc3de; }
.mobile-menu-foot { padding: 20px; border-top: 1px solid rgba(255,255,255,.1); background: var(--navy-dark); }
.mobile-menu-foot a { color: var(--gold); font-weight: 700; display: flex; align-items: center; gap: 8px; }
.mobile-menu-foot p { color: rgba(255,255,255,.6); font-size: 12px; margin-top: 8px; }
body.menu-open { overflow: hidden; }

@media (max-width: 1023px) {
  nav.main-nav, .header-phone { display: none; }
  .hamburger-btn { display: block; }
}

/* ---------- Hero ---------- */
.hero { position: relative; display: flex; align-items: center; min-height: 90vh; }
.hero img.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(11,22,38,.8), rgba(11,22,38,.5), rgba(11,22,38,.85)); }
.hero-content { position: relative; max-width: 800px; margin: 0 auto; text-align: center; color: #fff; padding: 0 20px; }
.hero-content .kicker { letter-spacing: .3em; font-size: 14px; color: var(--gold); font-weight: 600; margin-bottom: 16px; }
.hero-content h1 { font-size: clamp(38px, 7vw, 68px); line-height: 1.1; color: #fff; }
.hero-content .tagline { margin-top: 22px; font-size: 16px; letter-spacing: .02em; color: rgba(255,255,255,.85); }
.hero-actions { margin-top: 36px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.page-hero { position: relative; min-height: 300px; display: flex; align-items: flex-end; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,22,38,.95), rgba(11,22,38,.55) 60%, rgba(11,22,38,.15)); }
.page-hero-content { position: relative; padding: 32px 20px; max-width: 1200px; margin: 0 auto; width: 100%; }
.breadcrumb { display: flex; gap: 6px; align-items: center; font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 12px; }
.breadcrumb a:hover { color: var(--gold); }
.page-hero-content h1 { color: #fff; font-size: clamp(28px, 5vw, 44px); }
.page-hero-content p { color: rgba(255,255,255,.8); margin-top: 8px; max-width: 560px; }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy); color: #fff; }
.kicker-blue { color: var(--blue); font-weight: 700; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 8px; }
.lead { color: var(--muted); line-height: 1.7; margin: 14px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.card {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--border);
  box-shadow: 0 20px 50px -25px rgba(18,38,66,.2); overflow: hidden;
}
.card-img { height: 240px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 26px; }
.card-body h3 { font-size: 22px; margin-bottom: 10px; }
.card-link { color: var(--blue); font-weight: 700; font-size: 14px; }

.testimonial { background: #f9fafb; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.testimonial h4 { font-size: 18px; margin-bottom: 8px; }
.testimonial p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.testimonial .by { color: var(--blue); font-weight: 700; font-size: 14px; margin-top: 12px; }

.rate-table { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.rate-table h3 { font-size: 18px; margin-bottom: 14px; }
.rate-row { display: flex; justify-content: space-between; font-size: 14px; padding: 9px 0; border-bottom: 1px solid var(--border); }
.rate-row .price { font-weight: 700; color: var(--blue); }

.info-box { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 24px; }
.info-box h3 { color: var(--gold); font-size: 18px; margin-bottom: 8px; }
.info-box p { color: rgba(255,255,255,.8); font-size: 14px; line-height: 1.6; }

/* ---------- Forms ---------- */
.form-card { background: var(--bg-soft); border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 14px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.form-group input, .form-group textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 6px; padding: 11px 13px;
  font-size: 14px; font-family: inherit; background: #fff;
}
.form-group input:focus, .form-group textarea:focus { outline: 2px solid rgba(29,111,165,.35); border-color: var(--blue); }
.honeypot-field { position: absolute; left: -9999px; width: 0; height: 0; opacity: 0; }
.pill-group { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  border: 1px solid var(--border); background: #fff; cursor: pointer; color: var(--muted);
  transition: background-color .2s, color .2s, border-color .2s;
}
.pill.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.form-msg { font-size: 13px; margin-top: 10px; padding: 10px 14px; border-radius: 6px; }
.form-msg.success { background: #ecfdf5; color: #047857; }
.form-msg.error { background: #fef2f2; color: #b91c1c; }

/* ---------- Slide puzzle captcha ---------- */
.captcha-wrap { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 16px; }
.captcha-label { font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.captcha-stage { position: relative; border-radius: 8px; overflow: hidden; background: #e5e9ef; width: 100%; max-width: 320px; height: 180px; }
.captcha-stage img.captcha-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.captcha-hole { position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.9); box-shadow: 0 0 0 3px rgba(0,0,0,.25); }
.captcha-piece {
  position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 2px solid #fff;
  cursor: grab; box-shadow: 0 6px 16px rgba(0,0,0,.35); background-size: 320px 180px;
}
.captcha-piece.dragging { cursor: grabbing; }
.captcha-piece.verified { border-color: #34d399; box-shadow: 0 0 0 3px rgba(52,211,153,.4); }
.captcha-track { position: relative; height: 36px; margin-top: 10px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--border); overflow: hidden; }
.captcha-fill { position: absolute; inset: 0; width: 0; background: #bfe3f0; }
.captcha-handle {
  position: absolute; top: 0; height: 36px; width: 36px; border-radius: 50%;
  background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: grab; box-shadow: 0 4px 10px rgba(0,0,0,.25);
}
.captcha-status { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 12px; }
.captcha-status .state { color: var(--muted); font-weight: 600; }
.captcha-status .state.ok { color: #059669; }
.captcha-status .state.fail { color: #dc2626; }
.captcha-refresh { color: var(--muted); background: none; border: none; cursor: pointer; font-size: 12px; }
.captcha-refresh:hover { color: var(--blue); }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.75); padding: 70px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid img { height: 76px; width: 76px; margin-bottom: 16px; }
.footer-grid h3 { color: #fff; font-size: 17px; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; font-size: 14px; }
.footer-grid a:hover { color: var(--gold); }
.footer-social {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 50%; background: rgba(255,255,255,.1); margin-top: 14px;
}
.footer-social:hover { background: var(--gold); color: var(--navy); }
.footer-bottom { max-width: 1200px; margin: 40px auto 0; padding: 24px 20px 0; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; color: rgba(255,255,255,.4); }

@media (max-width: 900px) {
  .grid-2, .grid-3, .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
}

.icon { width: 18px; height: 18px; display: inline-block; vertical-align: middle; }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: 0 25px 60px -20px rgba(18,38,66,.35); }
.map-embed iframe { width: 100%; height: 340px; border: 0; display: block; }

.video-cover { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 25px 60px -20px rgba(18,38,66,.35); cursor: pointer; aspect-ratio: 16/9; }
.video-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.video-cover:hover img { transform: scale(1.05); }
.video-cover .play-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.4); display: flex; align-items: center; justify-content: center; }
.play-btn { width: 80px; height: 80px; border-radius: 50%; background: rgba(212,175,122,.95); display: flex; align-items: center; justify-content: center; }
.video-modal { position: fixed; inset: 0; background: rgba(0,0,0,.85); z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; }
.video-modal.open { display: flex; }
.video-modal-inner { position: relative; width: 100%; max-width: 900px; aspect-ratio: 16/9; }
.video-modal-inner iframe { width: 100%; height: 100%; border-radius: 8px; }
.video-close { position: absolute; top: -42px; right: 0; background: none; border: none; color: #fff; cursor: pointer; }
