/* =========================
   THE OKIE CAMPER – MAIN CSS
   ========================= */

/* Theme */
:root {
  --bg: #116d6d;         /* medium turquoise base */
  --panel: #153f3f;
  --text: #e7fbff;
  --muted: #a8d9d9;
  --brand: #40E0D0;      /* accent turquoise */
  --accent: #2ad1b3;
  --radius: 14px;
  --ring: 0 0 0 3px rgba(64,224,208,.35);
  --text-outline: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font: 16px/1.55 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, #40E0D0, transparent 60%),
    radial-gradient(1000px 500px at 110% 10%, #1a7c75, transparent 60%),
    var(--bg);
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
section { padding: 48px 0; }
.container { width: min(1100px, 92%); margin: 0 auto; }

/* Header / Nav */
header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(17, 109, 109, .82);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #2aa199;
}
nav { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 12px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .2px; }
.brand-logo { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.nav-links { display: flex; gap: 16px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { opacity: .92; padding: 8px 10px; border-radius: 8px; }
.nav-links a:hover, .nav-links a:focus { opacity: 1; outline: none; background: #2aa199; }
.nav-links a.active { background: #2aa199; box-shadow: var(--ring); }
.nav-toggle { display: none; background: transparent; border: 0; font-size: 22px; color: var(--text); }
@media (max-width: 820px) {
  nav { grid-template-columns: 1fr auto; }
  .nav-toggle { display: inline-block; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-end;
    background: rgba(17,109,109,.95); padding: 10px; border-radius: 12px;
  }
}

/* HERO – extended background; desktop-only fixed */
.hero {
  position: relative;
  padding: 140px 0 320px;     /* big bottom padding so image continues under next section */
  background-image: var(--hero);
  background-size: cover;
  background-position: center;
}
@media (hover:hover) and (pointer:fine) { .hero { background-attachment: fixed; } }
.hero__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.40); }
.hero__content { position: relative; z-index: 1; max-width: 840px; }
.hero h1 { margin: 0 0 6px; font-size: clamp(28px, 4vw, 48px); }
.hero p  { margin: 0 0 14px; color: var(--muted); font-size: clamp(16px, 2vw, 18px); }
/* if you want white subtext on contact hero */
.contact-hero-white .hero__content p { color:#fff; text-shadow:1px 1px 3px rgba(0,0,0,.8); }

.actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* First section sits on the hero */
.over-hero {
  margin-top: -320px;     /* MUST match .hero padding-bottom */
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

/* Buttons */
.button {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), #2cbfb1);
  color: #fff;
  font-weight: 600;
  border: 1px solid #209f92;
}
.button:hover { filter: brightness(1.05); }
.button:focus { outline: none; box-shadow: var(--ring); }
.button--outline { background: transparent; border: 1px solid #2d8d8d; color: var(--text); }

/* Grid */
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
@media (max-width: 900px) { .col-6, .col-4 { grid-column: span 12; } }
.grid.highlights { gap: 32px; }
.grid.spotlight  { gap: 32px; }

/* Cards */
.card {
  background: var(--panel);
  border: 1px solid #1c6c6c;
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 10px 30px rgba(3,6,20,.25);
}
.text-link { color: var(--brand); text-decoration: underline; }

/* Feature tiles */
.feature {
  display: grid;
  grid-template-rows: 300px auto;
  border: 1px solid #1c6c6c;
  border-radius: var(--radius);
  overflow: hidden;
  background: #104242;
}
.feature__image { background-size: cover; background-position: center; min-height: 300px; }
.feature__body { padding: 14px; }
.pill {
  display: inline-block; margin-top: 6px;
  font-size: 12px; padding: 6px 10px; border-radius: 999px;
  background: #2aa199; border: 1px solid #259d9d;
}

/* CTA */
.cta { padding: 40px 0 64px; }
.cta__box {
  background: linear-gradient(180deg, rgba(64,224,208,.18), rgba(64,224,208,.05));
  border: 1px solid #259d9d;
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

/* Footer */
footer { border-top: 1px solid #1e2547; padding: 18px 0; color: var(--muted); }

/* Gallery grids */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.gallery-grid img {
  width: 100%; height: 180px; object-fit: cover; border-radius: 10px;
  border: 1px solid #1c6c6c; box-shadow: 0 8px 20px rgba(3,6,20,.25);
  transition: transform .15s ease, box-shadow .15s ease;
}
.gallery-grid img:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(3,6,20,.35); }

/* Contact form polish (already used by your contact page) */
.okc-form { display: grid; gap: 12px; }
.okc-form .form-row { display: grid; gap: 8px; }
.okc-form .form-row.two { grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 780px) { .okc-form .form-row.two { grid-template-columns: 1fr; } }
.okc-form label { font-weight: 600; color: var(--muted); }
.okc-form input, .okc-form select, .okc-form textarea {
  width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid #1c6c6c;
  background: #0f3e3e; color: var(--text); outline: none;
}
.okc-form input::placeholder, .okc-form textarea::placeholder { color: #9ccccc; }
.okc-form input:focus, .okc-form select:focus, .okc-form textarea:focus { box-shadow: var(--ring); border-color: #2aa199; }
.okc-form .form-actions { display: flex; gap: 10px; align-items: center; margin-top: 4px; }
.okc-form .form-note { margin-top: 6px; font-size: 0.9rem; color: var(--muted); }
/* Honeypot hidden field */
.okc-form .hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* Utility */
main { min-height: 40vh; }
