/* Additions on top of the CarRentalPro (Framer) styles for Victoria Falls Car Rentals.
   Brand: Bush Green #2F6B4F for filled accents (white text on it), Midnight Navy #15304A,
   white. Lora for headings, Barlow for text. */
:root {
  --crp-green: #2f6b4f;
  --crp-green-dark: #275a42;
  --crp-navy: #15304a;
  --crp-ink: #0a1621;
}
html, body { background-color: var(--crp-ink); }

/* ---------------------------------------------------------------- type */
h1.framer-text, h2.framer-text, h3.framer-text, h4.framer-text,
.framer-styles-preset-svhcup, .framer-styles-preset-1hoexpj, .framer-styles-preset-rkaekw,
.framer-styles-preset-wwxrm3, .framer-styles-preset-1mg8ug5,
[data-framer-name="7 Great Style Hacks "] p,
[data-framer-name="Branding"] p, [data-framer-name="Site Memberships"] h1, [data-framer-name="Site Memberships"] p {
  --framer-font-family: "Lora", Georgia, serif !important;
  font-family: "Lora", Georgia, serif !important;
  letter-spacing: -0.015em !important;
}
.crp-w { display: inline-block; will-change: transform; }
.crp-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.crp-dim { color: rgba(255, 255, 255, 0.55); }

/* ---------------------------------------------------------------- logo */
.crp-logolink { gap: 0 !important; }
.crp-logo { display: block; height: 34px; width: auto; }
footer .crp-logo { height: 44px; }
@media (max-width: 809.98px) { nav .crp-logo { height: 30px; } }

/* ---------------------------------------------------------------- photos */
img.crp-car { object-fit: contain !important; padding: 7% 9%; box-sizing: border-box; }
img.crp-plate { background: #fff; }
.crp-platebox { background-color: #fff !important; }
img.crp-placeholder { object-fit: cover !important; }
/* hero: the vehicle on a navy stage */
[data-crp-slide] { background: radial-gradient(ellipse 70% 60% at 62% 48%, #24496c 0%, var(--crp-navy) 38%, var(--crp-ink) 100%); }
img.crp-heroimg { padding: 17vh 8vw 30vh 34vw !important; transform-origin: 60% 50%; }
@media (max-width: 809.98px) { img.crp-heroimg { padding: 18vh 6vw 34vh !important; } }
[data-crp-slide]::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(to top, rgba(10, 22, 33, 0.9), transparent); pointer-events: none; z-index: 0; }
[data-crp-slide] [data-framer-name="Caption"] { z-index: 1; }
.crp-media-car { background: radial-gradient(ellipse 70% 60% at 50% 55%, #24496c 0%, var(--crp-navy) 45%, var(--crp-ink) 100%); }
.crp-gallery { background: radial-gradient(ellipse 75% 65% at 50% 50%, #24496c 0%, var(--crp-navy) 50%, #0d1e2e 100%); }
.crp-gallery.crp-platebox { background: #fff; }

/* the pointer arrow over the hero's halves */
.crp-cursor {
  position: fixed; left: 0; top: 0; z-index: 50; width: 40px; height: 40px; display: grid; place-items: center;
  background: #fff; color: var(--crp-ink); font: 500 16px/1 "Barlow", sans-serif; pointer-events: none;
  opacity: 0; transition: opacity 0.2s;
}
.crp-cursor.on { opacity: 1; }
@media (hover: none) { .crp-cursor { display: none; } [data-crp-prev], [data-crp-next] { cursor: pointer !important; } }

/* ---------------------------------------------------------------- accent: Bush Green fills, white text */
[data-crp-filter] { transition: background-color 0.25s, border-color 0.25s; }
[data-crp-filter][aria-pressed="true"] { background-color: var(--crp-green) !important; --border-color: var(--crp-green) !important; }
[data-crp-filter][aria-pressed="true"] p { --framer-text-color: #fff !important; color: #fff !important; }
a[data-framer-name="Filled"] { background-color: var(--crp-green) !important; transition: background-color 0.25s; }
a[data-framer-name="Filled"]:hover { background-color: var(--crp-green-dark) !important; }
a[data-framer-name="Filled"] p { --framer-text-color: #fff !important; color: #fff !important; }
/* the template's sliding button hover: a green panel rises and the label rolls up */
[data-framer-name="Overlay"] { background-color: var(--crp-green) !important; transition: bottom 0.45s cubic-bezier(.22,1,.36,1); }
[data-framer-name="Label Stack"] { transition: transform 0.45s cubic-bezier(.22,1,.36,1); }
.hover > [data-framer-name="Button Container"] [data-framer-name="Label Stack"],
a:focus-visible [data-framer-name="Label Stack"] { transform: translateY(-19px); }
[data-framer-name="Lower Text"] p { --framer-text-color: #fff !important; color: #fff !important; }
/* the rolling label is 19px tall in the template; keep Barlow to that so the hidden copy stays hidden */
[data-framer-name="Upper Text"] p, [data-framer-name="Lower Text"] p { --framer-line-height: 19px !important; line-height: 19px !important; }
[data-framer-name="Normal"] .framer-nqcnr3, [data-framer-name="Normal"] .framer-fqqnts, [data-framer-name="Button"] .framer-vnun1i { transition: right 0.3s; }
/* guide cards reveal "Read more" on hover, as in the template */
a.hover [data-framer-name="Button"], a:focus-visible [data-framer-name="Button"] { opacity: 1 !important; transition: opacity 0.3s; }
[data-framer-name="Media"] img { transition: transform 0.6s cubic-bezier(.22,1,.36,1); }
a.hover [data-framer-name="Media"] img { transform: scale(1.04); }

/* ---------------------------------------------------------------- fleet */
[data-crp-card][hidden] { display: none !important; }
[data-crp-tabs] { flex-wrap: wrap; row-gap: 8px; }
@media (max-width: 809.98px) {
  [data-crp-tabs] { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; padding-bottom: 2px; }
  [data-crp-tabs]::-webkit-scrollbar { display: none; }
  [data-crp-tabs] > * { flex-shrink: 0; }
}
.crp-selectbox { position: relative; }
.crp-select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font: inherit; color: #000; }
.crp-selectbox:focus-within { outline: 2px solid #fff; outline-offset: 2px; }
.crp-empty { max-width: 1400px; margin: 24px auto 0; padding: 0 20px; font: 500 16px/1.5 "Barlow", sans-serif; color: rgba(255, 255, 255, 0.75); }
.crp-empty button { font: inherit; color: #fff; background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }

/* the moving strip of the fleet (in place of the template's video) */
.crp-fleetstrip { display: flex !important; flex-direction: column; justify-content: center; gap: 2vw; overflow: hidden; background: radial-gradient(ellipse 80% 70% at 50% 50%, #1d4060 0%, var(--crp-navy) 45%, var(--crp-ink) 100%); }
.crp-strip { overflow: hidden; width: 100%; }
.crp-strip-track { display: flex; width: max-content; gap: 3vw; animation: crp-strip 90s linear infinite; }
.crp-strip-rev .crp-strip-track { animation-direction: reverse; animation-duration: 110s; }
.crp-strip img { height: clamp(90px, 13vw, 210px); width: auto; display: block; }
@keyframes crp-strip { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- rich text (vehicle groups, guides, policies) */
.crp-prose-wrap { max-width: 1400px; margin: 0 auto; padding: 96px 20px 24px; box-sizing: border-box; }
.crp-prose-wrap .crp-prose { max-width: 760px; margin-left: auto; margin-right: 0; }
@media (max-width: 1199.98px) { .crp-prose-wrap .crp-prose { margin: 0; } }
.crp-prose { font-family: "Barlow", sans-serif; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, 0.82); width: 100%; }
.crp-prose > * + * { margin-top: 14px; }
.crp-prose h2 { margin-top: 40px; font-family: "Lora", Georgia, serif; font-weight: 500; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; letter-spacing: -0.01em; color: #fff; }
.crp-prose h2:first-child { margin-top: 0; }
.crp-prose ul { padding-left: 1.2em; list-style: disc; }
.crp-prose li + li { margin-top: 6px; }
.crp-prose a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.45); }
.crp-prose a:hover { text-decoration-color: #fff; }
.crp-prose strong { color: #fff; font-weight: 600; }
.crp-prose em { font-style: italic; }
.crp-prose .crp-lead { font-size: 21px; color: #fff; }
.crp-prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.crp-prose th, .crp-prose td { padding: 10px 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); text-align: left; vertical-align: top; }
.crp-prose th { color: #fff; font-weight: 600; }
.crp-prose .vfa-table-scroll { overflow-x: auto; }
.crp-prose a.crp-button, a.crp-button {
  display: inline-block; margin-top: 8px; padding: 12px 24px; background: var(--crp-green); color: #fff; text-decoration: none;
  font: 500 16px/1.2 "Barlow", sans-serif; transition: background-color 0.25s;
}
a.crp-button:hover { background: var(--crp-green-dark); }
section[data-framer-name="Content"] > .crp-prose { flex: 1 1 0; min-width: 0; }
.crp-plainlink { color: inherit; text-decoration: none; }
.crp-plainlink:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- forms */
.crp-row { display: flex; width: 100%; }
.crp-fullrow { flex: 1 1 auto; width: 100% !important; }
textarea.crp-textarea { display: block; width: 100%; min-height: 120px; resize: vertical; background: transparent; border: 0; color: #fff; font: 500 18px/1.4 "Barlow", sans-serif; padding: 12px 0; }
textarea.crp-textarea::placeholder { color: #fff; opacity: 1; }
.crp-formnote { width: 100%; margin-top: 8px; font: 500 14px/1.5 "Barlow", sans-serif; color: rgba(255, 255, 255, 0.6); }
.crp-formnote a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.crp-formstatus { width: 100%; margin-top: 12px; padding: 12px 14px; font: 500 15px/1.5 "Barlow", sans-serif; color: #fff; background: rgba(180, 40, 40, 0.25); border: 1px solid rgba(255, 120, 120, 0.4); }
.crp-formstatus.ok { background: var(--crp-green); border-color: var(--crp-green); }
.crp-formstatus a { color: #fff; }
[aria-invalid="true"] { box-shadow: 0 2px 0 0 #ff9b9b; }

/* ---------------------------------------------------------------- keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible, [role="button"]:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .crp-strip-track { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ---------------------------------------------------------------- icons (Lucide, inline SVG) */
.crp-icon { display: inline-block; flex: none; vertical-align: -0.125em; stroke-width: 2; }
p > .crp-icon:only-child { display: block; }
[data-framer-name="Specs"] .crp-icon, [data-framer-name^="Iteam"] .crp-icon { color: rgba(255, 255, 255, 0.6); stroke-width: 1.75; }
.crp-selectbox .crp-icon { color: #fff; }
.crp-cursor .crp-icon { width: 18px; height: 18px; }

/* ---------------------------------------------------------------- touch screens: 44px tap targets */
@media (max-width: 809.98px) {
  footer a, nav a, .crp-plainlink, a[data-framer-name="Normal"], [data-framer-name="Category"] a,
  [data-framer-name="Contact Info"] a, .crp-prose-wrap a, .crp-empty button {
    display: inline-flex !important; align-items: center; min-height: 44px; min-width: 44px; box-sizing: border-box;
  }
  a[data-framer-name="Scaling Button"], a[data-framer-name="Filled"], [data-crp-filter], .crp-selectbox, .crp-button {
    min-height: 44px !important; box-sizing: border-box;
  }
  [data-crp-menu] { min-width: 44px; min-height: 44px; }
}
.crp-fullrow .framer-form-input-wrapper { height: auto !important; overflow: visible !important; }
.crp-fullrow { height: auto !important; }
textarea.crp-textarea { min-height: 112px; padding: 10px 0 12px !important; }

/* the rate card badge: Bush Green with white text */
[data-framer-name="Badge"] { background-color: var(--crp-green) !important; }
[data-framer-name="Badge"] p { --framer-text-color: #fff !important; color: #fff !important; }

/* vehicle pages below desktop width: the template keeps the photo sticky in a single column,
   where it slides over the title; let it scroll with the page instead */
@media (max-width: 1199.98px) {
  [data-framer-name="Image Container"] { position: relative !important; top: auto !important; }
}
/* the note under the price: wrap instead of being cut off on narrow screens */
[data-framer-name="Left Content"] [data-framer-name="Highlight 1"],
[data-framer-name="Left Content"] [data-framer-name="Highlight 1"] * { white-space: normal !important; height: auto !important; }
[data-framer-name="Left Content"] [data-framer-name="Highlight 1"] [data-framer-component-type="RichTextContainer"] { flex: 1 1 auto !important; width: auto !important; min-width: 0 !important; }
[data-framer-name="Left Content"] [data-framer-name="Highlight 1"][class*="framer-v-"] { width: 100% !important; }
@media (max-width: 809.98px) {
  footer [data-framer-name="All Link"], footer [data-framer-name="Link"] { gap: 0 !important; }
}
.crp-fleetstrip { width: 100%; height: 100%; }

/* Home fleet title: the h1 is longer than the template's, so its row may wrap the small label under it instead of overlapping */
main [data-framer-name="Title"] div:has(> div > h1.framer-text) { flex-wrap: wrap !important; max-width: 100% !important; column-gap: 16px !important; row-gap: 4px !important; }
