/* =========================================
   RIDE ELITE — CLEAN LANDING PAGE RESET
========================================= */

html, body {
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden;
  background: #f5f5f5 !important;
}

body,
.site,
.site-content,
.wp-site-blocks,
.entry-content,
.wp-block-post-content,
main,
.content-area {
  margin: 0 !important;
  padding: 10 !important;
  width: 100% !important;
  max-width: 100% !important;
  background: #f5f5f5 !important;
}

.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: 100% !important;
}

.entry-header,
.entry-title,
.wp-block-post-title,
h1.entry-title,
.page .entry-title,
.single .entry-title,
.site-title,
.site-branding,
header.wp-block-template-part,
.wp-block-template-part,
.site-header {
  display: none !important;
}

.wp-block-custom-html,
.wp-block-shortcode {
  margin: 0 !important;
  padding: 0 !important;
}

/* keep shortcode hidden until popup opens */
.ride-elite-booking-wrap,
#ride-elite-booking {
  display: none;
}

#ride-elite-booking.is-open,
.ride-elite-modal.is-open {
  display: block !important;
}

/* =========================
   TOP NAV
========================= */
.elite-topnav {
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
  background: #000;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.elite-topnav-inner {
  max-width: 1480px;
  margin: 0 auto;
  min-height: 76px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.elite-topnav a,
.elite-landing-page a {
  text-decoration: none !important;
}

.elite-topnav-brand {
  color: #fff !important;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.6px;
  white-space: nowrap;
}

.elite-topnav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex: 1;
}

.elite-topnav-links a {
  color: #fff !important;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  transition: opacity .18s ease;
}

.elite-topnav-links a:hover {
  opacity: .75;
}

.elite-topnav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.elite-topnav-link,
.elite-topnav-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
}

.elite-topnav-link {
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.22);
}

.elite-topnav-book {
  background: #fff;
  color: #111 !important;
}

/* =========================
   LANDING PAGE
========================= */
.elite-landing-page {
  width: 100%;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  background: #f5f5f5;
}

.elite-landing-shell {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 46px 28px 56px;
}

.elite-landing-hero {
  display: grid;
  grid-template-columns: minmax(580px, 1.05fr) minmax(420px, .95fr);
  gap: 42px;
  align-items: center;
}

.elite-landing-copy {
  max-width: 760px;
}

.elite-landing-location {
  margin-bottom: 18px;
  color: #555;
  font-size: 18px;
  font-weight: 700;
}

.elite-landing-copy h1 {
  margin: 0 0 20px;
  color: #111;
  font-size: clamp(62px, 7vw, 112px);
  line-height: .92;
  letter-spacing: -2.8px;
  font-weight: 800;
}

.elite-landing-copy p {
  max-width: 720px;
  margin: 0 0 28px;
  color: #4a4a4a;
  font-size: 24px;
  line-height: 1.45;
}

.elite-landing-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.elite-landing-book-btn,
.elite-landing-call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 0 28px;
  border-radius: 18px;
  font-size: 19px;
  font-weight: 800;
  transition: transform .16s ease, opacity .16s ease;
}

.elite-landing-book-btn:hover,
.elite-topnav-book:hover,
.elite-topnav-link:hover,
.elite-landing-call-btn:hover {
  transform: translateY(-1px);
}

.elite-landing-book-btn {
  background: #000;
  color: #fff !important;
}

.elite-landing-call-btn {
  background: #e8e8e8;
  color: #111 !important;
  border: 1px solid rgba(0,0,0,.12);
}

.elite-landing-note {
  color: #666;
  font-size: 17px;
  line-height: 1.5;
}

/* =========================
   VISUAL
========================= */
.elite-landing-visual {
  display: flex;
}

.elite-landing-visual-card {
  position: relative;
  width: 100%;
  min-height: 660px;
  border-radius: 32px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)),
    url('https://rideelitefleet.com/wp-content/uploads/2026/03/269aaf4f46ff413580596a89a9be8e30.webp') center center / cover no-repeat;
  box-shadow: 0 20px 50px rgba(0,0,0,.10);
}

.elite-landing-visual-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.24));
}

.elite-landing-pill {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: #111;
  font-size: 14px;
  font-weight: 800;
}

.elite-landing-visual-overlay {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  display: grid;
  gap: 12px;
  width: min(280px, 100%);
}

.elite-landing-mini-stat {
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 38px rgba(0,0,0,.12);
}

.elite-landing-mini-stat span {
  display: block;
  margin-bottom: 6px;
  color: #666;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.elite-landing-mini-stat strong {
  color: #111;
  font-size: 28px;
  line-height: 1.05;
  font-weight: 800;
}

/* =========================
   BOOKING MODAL FIXES
========================= */
.ride-elite-modal,
#ride-elite-booking.ride-elite-modal {
  z-index: 100000 !important;
}

.ride-elite-modal .ride-elite-modal-panel,
#ride-elite-booking .ride-elite-modal-panel {
  border-radius: 28px !important;
  overflow: hidden;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 1100px) {
  .elite-landing-hero {
    grid-template-columns: 1fr;
  }

  .elite-landing-visual-card {
    min-height: 520px;
  }
}

@media (max-width: 900px) {
  .elite-topnav-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 14px 18px;
  }

  .elite-topnav-links {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    gap: 14px;
  }

  .elite-landing-shell {
    padding: 28px 16px 42px;
  }

  .elite-landing-copy h1 {
    font-size: 56px;
    letter-spacing: -1.9px;
  }

  .elite-landing-copy p {
    font-size: 19px;
  }
}

@media (max-width: 640px) {
  .elite-topnav-brand {
    font-size: 22px;
  }

  .elite-topnav-links a {
    font-size: 15px;
  }

  .elite-landing-copy h1 {
    font-size: 42px;
    line-height: .95;
    letter-spacing: -1.2px;
  }

  .elite-landing-location {
    font-size: 16px;
  }

  .elite-landing-copy p {
    font-size: 17px;
  }

  .elite-landing-book-btn,
  .elite-landing-call-btn {
    min-height: 54px;
    padding: 0 20px;
    font-size: 17px;
  }

  .elite-landing-visual-card {
    min-height: 400px;
  }

  .elite-landing-mini-stat strong {
    font-size: 22px;
  }
}
/* ===== RIDE ELITE FLEET — FULL WIDTH OVERRIDE ===== */
.ref-wrap {
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  width: 100vw !important;
  max-width: 100vw !important;
  position: relative;
  left: 0;
}

.wp-block-custom-html:has(.ref-wrap),
.wp-block-custom-html:has(.ref-wrap) > * {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

body:has(.ref-wrap) {
  background: #080808 !important;
  overflow-x: hidden;
}

@media screen and (max-width: 600px) {
    #wpadminbar {
        display: none !important;
    }
    html {
        margin-top: 0 !important;
    }
}