/* ============================================================
   Carvers Cove RV Park — carverscoveflorida.com
   Palette: river teal / sunset coral / sand / sunlit white
   Type: Fraunces (display) + Nunito Sans (body)
   ============================================================ */

:root {
  --ink:        #10333a;   /* deep river teal — headings, footer */
  --teal:       #17646b;   /* river teal — secondary accents */
  --coral:      #e8502a;   /* refined from brand #FF3400 */
  --coral-deep: #c53c1a;
  --sand:       #f4ecdd;   /* sand section bands */
  --paper:      #fdfcf8;   /* page background */
  --white:      #ffffff;
  --line:       rgba(16, 51, 58, 0.14);
  --shadow:     0 10px 30px rgba(16, 51, 58, 0.10);
  --radius:     14px;
  --wrap:       1080px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  font-family: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- Header / nav ---------- */

.topbar {
  background: var(--ink);
  color: #fdf6ec;
  font-size: 0.9rem;
  padding: 7px 0;
}
.topbar .wrap {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  flex-wrap: wrap;
}
.topbar a { color: inherit; text-decoration: none; font-weight: 700; }
.topbar a:hover { color: #ffd9cb; }
.topbar .open247 { opacity: 0.85; }

header.site {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px;
}
.brand {
  display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink);
}
.brand svg { width: 40px; height: 40px; flex: none; }
.brand .name {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700; font-size: 1.35rem; line-height: 1.1;
  letter-spacing: 0.01em;
}
.brand .sub {
  display: block; font-family: "Nunito Sans", sans-serif;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--teal);
}

nav.main { display: flex; gap: 4px; flex-wrap: wrap; }
nav.main a {
  text-decoration: none; color: var(--ink);
  font-weight: 800; font-size: 0.95rem;
  padding: 9px 14px; border-radius: 999px;
}
nav.main a:hover { background: var(--sand); }
nav.main a.active { background: var(--ink); color: var(--paper); }
nav.main a.cta { background: var(--coral); color: #fff; }
nav.main a.cta:hover { background: var(--coral-deep); }

/* ---------- Hero ---------- */

.hero {
  position: relative; color: #fff; overflow: hidden;
  display: grid; align-items: end;
  min-height: min(78vh, 640px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(10, 34, 40, 0.82) 0%, rgba(10, 34, 40, 0.25) 45%, rgba(10, 34, 40, 0.15) 100%),
    url("../images/hero.jpg") center 60% / cover no-repeat;
}
.hero .inner {
  position: relative; padding: 72px 0 56px;
}
.hero .kicker {
  font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
  font-size: 0.82rem; color: #ffd9cb; margin-bottom: 12px;
}
.hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 640; font-size: clamp(2.3rem, 6vw, 4rem);
  line-height: 1.05; letter-spacing: -0.01em; max-width: 15ch;
  text-wrap: balance;
}
.hero p.lede {
  margin-top: 16px; max-width: 52ch; font-size: 1.15rem; color: #f2efe8;
}
.hero .actions { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Page heroes (interior pages) */
.pagehero {
  background: var(--ink); color: #fdf6ec;
  padding: 54px 0 46px;
  background-image: radial-gradient(1200px 400px at 85% -20%, rgba(23,100,107,0.55), transparent);
}
.pagehero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 640; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1;
  text-wrap: balance;
}
.pagehero p { margin-top: 10px; max-width: 60ch; color: #d8e4e2; font-size: 1.1rem; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px; border-radius: 999px;
  font-weight: 800; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; line-height: 1;
}
.btn.primary { background: var(--coral); color: #fff; }
.btn.primary:hover { background: var(--coral-deep); }
.btn.ghost { border-color: rgba(255,255,255,0.7); color: #fff; }
.btn.ghost:hover { background: rgba(255,255,255,0.14); }
.btn.dark { background: var(--ink); color: var(--paper); }
.btn.dark:hover { background: #1c4a53; }
.btn.tealghost { border-color: var(--teal); color: var(--teal); }
.btn.tealghost:hover { background: var(--teal); color: #fff; }

a:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--coral); outline-offset: 3px;
}

/* ---------- Sections ---------- */

section.band { padding: 64px 0; }
section.band.sand { background: var(--sand); }
section.band.ink { background: var(--ink); color: #fdf6ec; }

.eyebrow {
  font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
  font-size: 0.8rem; color: var(--coral); margin-bottom: 10px;
}
.band.ink .eyebrow { color: #ffb39d; }

h2.title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 640; font-size: clamp(1.7rem, 4vw, 2.4rem);
  line-height: 1.15; letter-spacing: -0.005em; max-width: 24ch;
  text-wrap: balance;
}
.band p.sub { margin-top: 12px; max-width: 62ch; color: #3c5a60; }
.band.ink p.sub { color: #cfdedd; }

/* ---------- Feature cards ---------- */

.cards {
  margin-top: 38px;
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--shadow);
}
.card .ic {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--sand); color: var(--teal);
  display: grid; place-items: center; margin-bottom: 16px;
}
.card .ic svg { width: 24px; height: 24px; }
.card h3 {
  font-family: "Fraunces", Georgia, serif; font-weight: 640;
  font-size: 1.2rem; margin-bottom: 8px;
}
.card p { font-size: 0.98rem; color: #3c5a60; }

/* ---------- Mile-marker strip (signature) ---------- */

.miles {
  margin-top: 40px;
  display: grid; gap: 0;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border-top: 2px dashed rgba(253, 246, 236, 0.35);
}
.mile {
  padding: 22px 18px 4px; text-align: left;
  border-left: 2px dashed rgba(253, 246, 236, 0.35);
}
.mile:first-child { border-left: none; }
.mile .t {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 640; color: #ffb39d;
  line-height: 1;
}
.mile .t small { font-size: 0.45em; font-weight: 800; letter-spacing: 0.1em; }
.mile .d {
  margin-top: 6px; font-weight: 800; font-size: 0.85rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: #e8f0ef;
}

/* ---------- Photo gallery ---------- */

.gallery {
  margin-top: 38px; display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.gallery figure {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); background: var(--white);
  border: 1px solid var(--line);
}
.gallery img { width: 100%; height: 240px; object-fit: cover; }
.gallery figcaption { padding: 10px 14px; font-size: 0.9rem; font-weight: 700; color: var(--teal); }

/* ---------- Rates ---------- */

.rates {
  margin-top: 38px; display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  align-items: start;
}
.rateblock {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.rateblock .head {
  background: var(--ink); color: #fdf6ec; padding: 20px 24px;
}
.rateblock .head h3 {
  font-family: "Fraunces", Georgia, serif; font-weight: 640; font-size: 1.35rem;
}
.rateblock .head p { font-size: 0.9rem; color: #cfdedd; margin-top: 4px; }
.rateblock ul { list-style: none; }
.rateblock li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 18px 24px; border-top: 1px solid var(--line);
}
.rateblock li:first-child { border-top: none; }
.rateblock .lot { font-weight: 800; }
.rateblock .note { display: block; font-size: 0.85rem; font-weight: 600; color: #6a8288; }
.rateblock .price {
  font-family: "Fraunces", Georgia, serif; font-weight: 700;
  font-size: 1.6rem; color: var(--coral-deep); white-space: nowrap;
}
.rateblock .price small { font-size: 0.55em; font-weight: 700; color: #6a8288; }

.fineprint { margin-top: 18px; font-size: 0.92rem; color: #55707a; max-width: 70ch; }

/* ---------- Attractions ---------- */

.attractions { margin-top: 38px; display: grid; gap: 20px; }
.attraction {
  display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: center;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px;
}
.attraction .time {
  text-align: center; border-right: 2px dashed var(--line); padding-right: 18px;
}
.attraction .time .n {
  font-family: "Fraunces", Georgia, serif; font-weight: 640;
  font-size: 2.2rem; color: var(--teal); line-height: 1;
}
.attraction .time .u {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: #6a8288; margin-top: 4px;
}
.attraction h3 {
  font-family: "Fraunces", Georgia, serif; font-weight: 640; font-size: 1.3rem;
}
.attraction p { margin-top: 6px; color: #3c5a60; font-size: 0.98rem; }
.attraction a { color: var(--coral-deep); font-weight: 800; }

@media (max-width: 540px) {
  .attraction { grid-template-columns: 1fr; }
  .attraction .time { border-right: none; border-bottom: 2px dashed var(--line); padding: 0 0 14px; }
}

/* ---------- Contact ---------- */

.contactgrid {
  margin-top: 38px; display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.contactcard {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px;
}
.contactcard h3 {
  font-family: "Fraunces", Georgia, serif; font-weight: 640; font-size: 1.15rem;
  margin-bottom: 8px;
}
.contactcard p, .contactcard address { font-style: normal; color: #3c5a60; font-size: 0.98rem; }
.contactcard a { color: var(--coral-deep); font-weight: 800; text-decoration: none; }
.contactcard a:hover { text-decoration: underline; }
.contactcard .big {
  font-family: "Fraunces", Georgia, serif; font-size: 1.5rem; font-weight: 700;
}

/* ---------- CTA banner ---------- */

.ctabanner {
  background: linear-gradient(115deg, var(--coral) 0%, var(--coral-deep) 100%);
  color: #fff; border-radius: var(--radius);
  padding: 40px 36px; margin-top: 46px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 22px; flex-wrap: wrap;
}
.ctabanner h2 {
  font-family: "Fraunces", Georgia, serif; font-weight: 640;
  font-size: clamp(1.4rem, 3.5vw, 1.9rem); max-width: 24ch; text-wrap: balance;
}
.ctabanner p { margin-top: 6px; color: #ffe3d8; }
.ctabanner .btn { background: #fff; color: var(--coral-deep); }
.ctabanner .btn:hover { background: #ffe9df; }

/* ---------- Footer ---------- */

footer.site {
  background: var(--ink); color: #cfdedd; margin-top: 70px;
  padding: 48px 0 34px; font-size: 0.95rem;
}
footer.site .cols {
  display: grid; gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
footer.site h4 {
  font-family: "Fraunces", Georgia, serif; color: #fdf6ec;
  font-weight: 640; font-size: 1.05rem; margin-bottom: 12px;
}
footer.site a { color: #cfdedd; text-decoration: none; }
footer.site a:hover { color: #ffb39d; }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 8px; }
footer.site .legal {
  margin-top: 36px; padding-top: 20px;
  border-top: 1px solid rgba(253,246,236,0.15);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 0.85rem; color: #8fa8a6;
}

/* ---------- Utility ---------- */

.mt { margin-top: 28px; }
.center { text-align: center; }
