/* ============================================================
   South Haven Farm - RV Camping Landing Page
   Site: southhavenfarm.neocities.org
   External stylesheet for index.html
   ============================================================ */

:root {
  --green-950: #17230b;
  --green-900: #24340f;
  --green-800: #365314;
  --green-700: #4d7c0f;
  --green-600: #65a30d;
  --green-500: #84cc16;
  --green-100: #ecfccb;
  --green-50: #f7fee7;

  --stone-950: #0c0a09;
  --stone-900: #1c1917;
  --stone-800: #292524;
  --stone-700: #44403c;
  --stone-600: #57534e;
  --stone-500: #78716c;
  --stone-400: #a8a29e;
  --stone-300: #d6d3d1;
  --stone-200: #e7e5e4;
  --stone-100: #f5f5f4;
  --stone-50: #fafaf9;

  --white: #ffffff;
  --amber: #f59e0b;
  --red: #dc2626;

  --max-width: 1180px;
  --radius: 18px;
  --shadow: 0 12px 35px rgba(0,0,0,.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--stone-50);
  color: var(--stone-900);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.container {
  width: min(calc(100% - 32px), var(--max-width));
  margin-inline: auto;
}

.serif {
  font-family:
    Georgia,
    "Times New Roman",
    serif;
}

.eyebrow {
  color: var(--green-700);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.section {
  padding: 80px 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading h2 {
  margin: 8px 0 16px;
  color: var(--stone-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
}

.section-heading p {
  margin: 0;
  color: var(--stone-600);
  font-size: 1.08rem;
}

/* =========================================================
   TOP BAR
   ========================================================= */

.topbar {
  background: var(--green-950);
  color: white;
  text-align: center;
  padding: 9px 16px;
  font-size: .88rem;
  font-weight: 700;
}

.topbar a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================================================
   NAV
   ========================================================= */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stone-200);
}

.nav-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  color: var(--green-900);
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--green-700);
  color: white;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: .9rem;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
  color: var(--stone-700);
}

.nav-links a:hover {
  color: var(--green-700);
}

.nav-book {
  padding: 10px 16px;
  background: var(--green-700);
  color: white !important;
  border-radius: 10px;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 20%, rgba(132,204,22,.20), transparent 30%),
    linear-gradient(135deg, var(--stone-950), var(--green-950));
  color: white;
  padding: 82px 0 92px;
}

.hero:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 90px;
  background: linear-gradient(transparent, var(--stone-50));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid rgba(190,242,100,.25);
  border-radius: 999px;
  background: rgba(132,204,22,.12);
  color: #d9f99d;
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .04em;
}

.hero-badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 5px rgba(132,204,22,.12);
}

.hero h1 {
  margin: 22px 0 22px;
  max-width: 820px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.03;
  letter-spacing: -.035em;
}

.hero-lead {
  max-width: 720px;
  margin: 0 0 30px;
  color: #e7e5e4;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 760px;
  margin: 28px 0 30px;
}

.hero-stat {
  padding: 16px;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.07);
  border-radius: 14px;
}

.hero-stat small {
  display: block;
  color: #d6d3d1;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.hero-stat strong {
  display: block;
  margin-top: 3px;
  font-size: 1.25rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 50px;
  padding: 13px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--green-600);
  color: white;
  box-shadow: 0 10px 25px rgba(101,163,13,.25);
}

.btn-primary:hover {
  background: var(--green-700);
}

.btn-secondary {
  background: rgba(255,255,255,.09);
  color: white;
  border-color: rgba(255,255,255,.2);
}

.btn-light {
  background: white;
  color: var(--green-900);
  border-color: var(--stone-200);
}

.hero-note {
  margin-top: 15px;
  color: #d6d3d1;
  font-size: .82rem;
}

/* =========================================================
   QUICK FIT
   ========================================================= */

.quick-fit {
  position: relative;
  z-index: 5;
  margin-top: -38px;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--stone-200);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.fit-item {
  padding: 22px;
  background: white;
}

.fit-item strong {
  display: block;
  margin-bottom: 3px;
  font-size: 1.05rem;
}

.fit-item span {
  color: var(--stone-600);
  font-size: .87rem;
}

/* =========================================================
   BEFORE YOU BOOK
   ========================================================= */

.before {
  background: white;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.good-box,
.warning-box {
  padding: 30px;
  border-radius: var(--radius);
}

.good-box {
  background: var(--green-50);
  border: 1px solid #d9f99d;
}

.warning-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.good-box h3,
.warning-box h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

.good-box h3 {
  color: #365314;
}

.warning-box h3 {
  color: #78350f;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  margin: 11px 0;
  font-size: .95rem;
}

/* =========================================================
   DIFFERENCE
   ========================================================= */

.difference-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  padding: 28px;
  background: white;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  box-shadow: 0 5px 18px rgba(0,0,0,.035);
}

.icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--green-100);
  color: var(--green-800);
  font-weight: 900;
}

.card h3 {
  margin: 0 0 9px;
  font-size: 1.12rem;
}

.card p {
  margin: 0;
  color: var(--stone-600);
  font-size: .94rem;
}

/* =========================================================
   COMPARISON
   ========================================================= */

.comparison {
  background: var(--stone-900);
  color: white;
}

.comparison .section-heading h2 {
  color: white;
}

.comparison .section-heading p {
  color: var(--stone-300);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid #44403c;
  border-radius: var(--radius);
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: #1c1917;
}

th,
td {
  padding: 17px 18px;
  text-align: left;
  border-bottom: 1px solid #44403c;
}

th {
  background: #292524;
  color: #d9f99d;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

td {
  color: #e7e5e4;
}

td:first-child {
  font-weight: 800;
  color: white;
}

tr:last-child td {
  border-bottom: 0;
}

/* =========================================================
   CALCULATOR
   ========================================================= */

.tools {
  background: var(--stone-100);
}

.tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.tool {
  padding: 30px;
  background: white;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.tool h3 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
}

.tool > p {
  margin: 0 0 24px;
  color: var(--stone-600);
}

.field {
  margin: 15px 0;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: .85rem;
  font-weight: 800;
  color: var(--stone-700);
}

.field input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--stone-300);
  border-radius: 10px;
  background: white;
  color: var(--stone-900);
}

.result {
  margin-top: 20px;
  padding: 20px;
  border-radius: 14px;
  background: var(--green-50);
  border: 1px solid #d9f99d;
}

.result-label {
  color: var(--stone-600);
  font-size: .78rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .05em;
}

.result-value {
  margin-top: 3px;
  color: var(--green-900);
  font-size: 2rem;
  font-weight: 900;
}

.success {
  color: #166534;
  font-weight: 800;
}

.error {
  color: #991b1b;
  font-weight: 800;
}

/* =========================================================
   LOCATION
   ========================================================= */

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.location-card {
  padding: 30px;
  background: white;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
}

.location-card h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}

.location-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.location-list li {
  padding: 13px 0;
  border-bottom: 1px solid var(--stone-200);
}

.location-list li:last-child {
  border-bottom: 0;
}

.location-list strong {
  display: block;
}

.location-list span {
  color: var(--stone-600);
  font-size: .88rem;
}

/* =========================================================
   FAQ
   ========================================================= */

.faq {
  background: white;
}

.faq-list {
  max-width: 850px;
  margin: auto;
}

details {
  margin-bottom: 10px;
  border: 1px solid var(--stone-200);
  border-radius: 13px;
  background: white;
  overflow: hidden;
}

summary {
  padding: 20px;
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary:after {
  content: "+";
  float: right;
  color: var(--green-700);
  font-size: 1.3rem;
}

details[open] summary:after {
  content: "\2212";
}

.answer {
  padding: 0 20px 20px;
  color: var(--stone-600);
}

/* =========================================================
   CTA
   ========================================================= */

.final-cta {
  padding: 85px 0 115px;
  background:
    radial-gradient(circle at 80% 20%, rgba(132,204,22,.16), transparent 35%),
    var(--green-950);
  color: white;
  text-align: center;
}

.final-cta h2 {
  max-width: 760px;
  margin: 0 auto 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
}

.final-cta p {
  max-width: 650px;
  margin: 0 auto 28px;
  color: #d6d3d1;
  font-size: 1.08rem;
}

/* =========================================================
   FOOTER
   ========================================================= */

footer {
  padding: 35px 0 100px;
  background: var(--stone-950);
  color: var(--stone-300);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 35px;
}

footer h3 {
  color: white;
  margin-top: 0;
}

footer a {
  color: var(--stone-300);
  text-decoration: none;
}

footer a:hover {
  color: white;
}

footer p {
  font-size: .9rem;
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #292524;
  font-size: .78rem;
}

/* =========================================================
   MOBILE BOOKING BAR
   ========================================================= */

.mobile-booking {
  display: none;
  position: fixed;
  z-index: 200;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 12px;
  background: rgba(12,10,9,.96);
  border-top: 1px solid #44403c;
}

.mobile-booking-inner {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 9px;
}

.mobile-booking .btn {
  min-height: 47px;
  padding: 10px;
  font-size: .9rem;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 850px) {
  .nav-links a:not(.nav-book) {
    display: none;
  }

  .hero {
    padding: 62px 0 80px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .fit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .difference-grid {
    grid-template-columns: 1fr;
  }

  .tools-grid,
  .location-grid,
  .two-col {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  body {
    padding-bottom: 70px;
  }

  .section {
    padding: 60px 0;
  }

  .container {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  .hero-stats {
    gap: 7px;
  }

  .hero-stat {
    padding: 13px;
  }

  .hero-stat strong {
    font-size: 1.05rem;
  }

  .actions {
    flex-direction: column;
  }

  .actions .btn {
    width: 100%;
  }

  .quick-fit {
    margin-top: -28px;
  }

  .fit-grid {
    grid-template-columns: 1fr 1fr;
  }

  .fit-item {
    padding: 17px;
  }

  .mobile-booking {
    display: block;
  }

  .mobile-booking .call {
    background: #292524;
    color: white;
    border: 1px solid #44403c;
  }

  .mobile-booking .book {
    background: var(--green-600);
    color: white;
  }
}