/*
 * ONWHEELZ UI REFRESH
 * Visual-only stylesheet. Existing page copy, vehicle names, specifications,
 * prices, forms, links and PHP functionality are intentionally untouched.
 * Loaded after main.css and style.css so these rules act as a visual layer.
 */

:root {
  --ow-ink: #111318;
  --ow-ink-soft: #292d34;
  --ow-muted: #6d737d;
  --ow-paper: #f5f6f7;
  --ow-white: #fff;
  --ow-line: rgba(17, 19, 24, .09);
  --ow-glass: rgba(255,255,255,.68);
  --ow-glass-strong: rgba(255,255,255,.84);
  --ow-shadow: 0 18px 55px rgba(16, 24, 40, .09);
  --ow-shadow-hover: 0 24px 65px rgba(16, 24, 40, .15);
  --ow-radius: 22px;
  --ow-radius-sm: 14px;
  --ow-accent: #ed5729;
  --ow-accent-dark: #d9471d;
}

html { scroll-behavior: smooth; }
body {
  color: var(--ow-ink);
  background: #fff;
  font-family: "Montserrat", "Plus Jakarta Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(237,87,41,.18); color: var(--ow-ink); }
a { transition: color .22s ease, opacity .22s ease; }
img { max-width: 100%; }

/* Header: refined floating glass navigation */
.header-style-one {
  position: relative;
  z-index: 1000;
}
.header-style-one .at_topbar {
  background: #111318 !important;
  color: rgba(255,255,255,.82);
  border: 0;
}
.header-style-one .at_topbar a,
.header-style-one .at_topbar p { color: rgba(255,255,255,.86); }
.header-style-one .at_topbar a:hover { color: #fff; }
.header-style-one .at_header_nav {
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(17,19,24,.07);
  box-shadow: 0 8px 28px rgba(17,19,24,.045);
}
.header-style-one.header-sticky,
.header-style-one.header-sticky .at_header_nav { transition: all .25s ease; }
.at_nav_menu ul { gap: 5px; }
.at_nav_menu ul li a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 15px;
  border-radius: 999px;
  color: #252932;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .01em;
}
.at_nav_menu ul li a:hover,
.at_nav_menu ul li.active > a {
  color: var(--ow-accent);
  background: rgba(237,87,41,.08);
}
.header-toggle-btn {
  border-radius: 50%;
  transition: transform .2s ease, background .2s ease;
}
.header-toggle-btn:hover { transform: translateY(-2px); background: rgba(237,87,41,.09); }
.mobile-menu {
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
}
.mobile-menu .mobile-menu-wrapper a {
  display: block;
  padding: 12px 16px;
  border-radius: 12px;
}
.mobile-menu .mobile-menu-wrapper a:hover {
  color: var(--ow-accent);
  background: rgba(237,87,41,.08);
}

/* General section rhythm and typography */
section:not(.rent-hero-glass) { position: relative; }
.md-section-title h2,
.title-style-2 h2,
.section-title h2,
h1, h2, h3, h4, h5, h6 {
  letter-spacing: -.035em;
}
.md-section-title h2,
.title-style-2 h2 { line-height: 1.16; }
p { line-height: 1.75; }
.container { position: relative; }

/* Hero: cinematic background + layered glass card */
.rent-hero-glass {
  min-height: 760px;
  isolation: isolate;
  background: #111318;
}
.rent-hero-glass .hero-bg-image {
  filter: blur(3px) saturate(.82);
  transform: scale(1.045);
}
.rent-hero-glass .hero-bg-overlay {
  background:
    radial-gradient(circle at 80% 18%, rgba(237,87,41,.22), transparent 34%),
    linear-gradient(115deg, rgba(7,9,13,.91), rgba(13,16,22,.66) 58%, rgba(7,9,13,.82));
}
.glass-hero-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.24) !important;
  border-radius: 30px !important;
  background: linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.055)) !important;
  -webkit-backdrop-filter: blur(24px) saturate(145%);
  backdrop-filter: blur(24px) saturate(145%);
  box-shadow: 0 30px 90px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.22);
}
.glass-hero-card:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,.11), transparent 38%, transparent 70%, rgba(237,87,41,.08));
}
.glass-hero-card > * { position: relative; z-index: 1; }
.stat-glass-card {
  border-radius: 18px !important;
  background: rgba(255,255,255,.10) !important;
  border: 1px solid rgba(255,255,255,.19) !important;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.stat-glass-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,.16) !important;
  box-shadow: 0 18px 38px rgba(0,0,0,.2);
}
.booking-glass-form {
  border: 1px solid rgba(255,255,255,.5) !important;
  border-radius: 22px !important;
  background: rgba(255,255,255,.88) !important;
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  box-shadow: 0 22px 55px rgba(0,0,0,.2);
}

/* Breadcrumbs and page banners */
.breadcrumb-section {
  overflow: hidden;
  background-color: #15181e;
  background-image: linear-gradient(115deg, rgba(10,12,16,.92), rgba(31,35,42,.82));
}
.breadcrumb-section:after {
  content: "";
  position: absolute;
  width: 380px; height: 380px;
  right: -130px; top: -190px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 0 0 42px rgba(255,255,255,.025), 0 0 0 86px rgba(255,255,255,.018);
}
.breadcrumb-content-wrapper h1 {
  font-weight: 800;
  letter-spacing: -.045em;
}
.breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb a:hover { color: #fff; }

/* Vehicle cards and listing panels */
.car-card,
.md-listing-single,
.listing_card_item,
.inventory-card,
.vehicle-card {
  border: 1px solid var(--ow-line);
  border-radius: var(--ow-radius) !important;
  background: var(--ow-glass-strong);
  box-shadow: 0 10px 34px rgba(16,24,40,.055);
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.car-card:hover,
.listing_card_item:hover,
.inventory-card:hover,
.vehicle-card:hover {
  transform: translateY(-7px);
  border-color: rgba(237,87,41,.25);
  box-shadow: var(--ow-shadow-hover);
}
.md-listing-single {
  border: 0;
  box-shadow: none;
  background: transparent;
}
.listing_card_item { padding: 22px !important; }
.listing_card_item .thumb-wrapper {
  border-radius: 18px !important;
  background: #f3f4f5;
}
.listing_card_item .thumb-wrapper img,
.car-card .feature-img img {
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}
.listing_card_item:hover .thumb-wrapper img,
.car-card:hover .feature-img img { transform: scale(1.045); }
.car-card .feature-img {
  background: #f2f3f4;
  border-radius: 20px 20px 0 0;
}
.car-card .card-content {
  padding: 24px !important;
  border-radius: 0 0 20px 20px;
}
.car-card h5,
.md-listing-single h6,
.listing_card_item h5 { font-weight: 800; color: var(--ow-ink); }
.meta-list li,
.car-info li { color: var(--ow-muted); }
.star-rating {
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(17,19,24,.08);
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
  padding: 7px 12px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* Buttons: consistent, tactile, accessible */
.btn,
button.btn,
input[type="submit"] {
  border-radius: 999px !important;
  font-weight: 700;
  letter-spacing: .005em;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.btn:hover,
button.btn:hover,
input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(17,19,24,.13);
}
.btn-primary,
.btn-warning {
  color: #fff !important;
  background: linear-gradient(135deg, var(--ow-accent), var(--ow-accent-dark)) !important;
  border: 1px solid transparent !important;
}
.btn-primary:hover,
.btn-warning:hover { filter: brightness(1.04); }
.btn-secondary {
  background: #171a20 !important;
  border-color: #171a20 !important;
  color: #fff !important;
}
.outline-btn {
  border: 1px solid rgba(17,19,24,.2) !important;
  color: var(--ow-ink) !important;
  background: rgba(255,255,255,.75) !important;
}
.outline-btn:hover {
  color: var(--ow-accent) !important;
  border-color: var(--ow-accent) !important;
}

/* Inputs and forms */
.form-control,
.form-select,
select,
textarea,
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]) {
  min-height: 48px;
  border: 1px solid rgba(17,19,24,.13);
  border-radius: 13px;
  background-color: rgba(255,255,255,.88);
  color: var(--ow-ink);
  box-shadow: none;
}
textarea.form-control, textarea { min-height: 120px; }
.form-control:focus,
.form-select:focus,
textarea:focus,
input:focus {
  border-color: rgba(237,87,41,.65) !important;
  box-shadow: 0 0 0 4px rgba(237,87,41,.10) !important;
  outline: 0;
}
label { font-weight: 600; }

/* Content surfaces, contact panels, FAQs and tables */
.contact-info,
.contact-form,
.contact-box,
.faq-item,
.accordion-item,
.blog-card,
.blog-post,
.testimonial-item {
  border-radius: var(--ow-radius) !important;
}
.contact-box,
.faq-item,
.accordion-item,
.blog-card,
.testimonial-item {
  border: 1px solid var(--ow-line);
  box-shadow: 0 12px 35px rgba(16,24,40,.055);
  background: rgba(255,255,255,.82);
}
.accordion-button {
  font-weight: 700;
  border-radius: 14px !important;
}
.accordion-button:not(.collapsed) {
  color: var(--ow-accent);
  background: rgba(237,87,41,.07);
  box-shadow: none;
}
table {
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 14px;
}
table th { background: #171a20; color: #fff; }
table td, table th { padding: 13px 15px; border-color: var(--ow-line); }

/* Footer */
footer,
.footer-section,
.footer-area {
  background: #111318 !important;
  color: rgba(255,255,255,.72);
}
footer h4, footer h5, footer h6 { color: #fff; }
footer a { color: rgba(255,255,255,.72); }
footer a:hover { color: #fff; }
.footer-copyright {
  border-top: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.16);
}
.footer-copyright p { color: rgba(255,255,255,.62); }
.footer-copyright a { margin-left: 12px; }

/* Floating WhatsApp action */
.whats-app {
  z-index: 1100;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  transition: transform .25s ease, box-shadow .25s ease;
}
.whats-app:hover {
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 18px 36px rgba(0,0,0,.24);
}

/* Subtle entrance polish for existing animation/reveal classes */
[data-aos], .wow, .animate__animated { will-change: transform, opacity; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Responsive spacing */
@media (max-width: 991.98px) {
  .rent-hero-glass { min-height: auto; padding: 90px 0 65px; }
  .rent-hero-glass .min-vh-100 { min-height: auto !important; }
  .glass-hero-card { border-radius: 24px !important; }
  .at_header_nav { padding: 12px 0; }
}
@media (max-width: 767.98px) {
  .rent-hero-glass { padding: 65px 0 45px; }
  .glass-hero-card { padding: 24px !important; }
  .rent-hero-glass .display-2 { font-size: clamp(2.5rem, 11vw, 4rem); }
  .listing_card_item { padding: 16px !important; }
  .car-card .card-content { padding: 19px !important; }
  .breadcrumb-section { padding-top: 80px; padding-bottom: 80px; }
}
