/* ============================================================
   Falah Car Location — Soft & Bright Pink design layer
   Loaded last; overrides the cloned theme's visual language.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&display=swap');

/* ---------- Arabic typography ---------- */
html[lang="ar"] body,
html[lang="ar"] p,
html[lang="ar"] span,
html[lang="ar"] a,
html[lang="ar"] li,
html[lang="ar"] input,
html[lang="ar"] select,
html[lang="ar"] textarea,
html[lang="ar"] button,
html[lang="ar"] label,
html[lang="ar"] .elementor-widget-text-editor,
html[lang="ar"] .elementor-button,
html[lang="ar"] .fc-label, html[lang="ar"] .fc-sub, html[lang="ar"] .fc-q,
html[lang="ar"] .fc-svc-body p, html[lang="ar"] .fc-step p, html[lang="ar"] .fc-review p {
  font-family: 'Cairo', sans-serif !important;
}
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3,
html[lang="ar"] h4, html[lang="ar"] h5, html[lang="ar"] h6,
html[lang="ar"] .elementor-heading-title,
html[lang="ar"] .elementor-widget-heading .elementor-heading-title,
html[lang="ar"] .fc-title, html[lang="ar"] .fc-svc-group-title,
html[lang="ar"] .fc-step h3, html[lang="ar"] .fc-svc-body h3,
html[lang="ar"] .fc-who b, html[lang="ar"] .fc-num {
  font-family: 'Cairo', sans-serif !important;
  letter-spacing: 0 !important;
}
/* Arabic nav & small UI text: bolder so the baseline doesn't read as a strike */
html[lang="ar"] .elementskit-menu-container a,
html[lang="ar"] nav a,
html[lang="ar"] .elementor-nav-menu a {
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

:root {
  --falah-pink: #EC4899;
  --falah-pink-soft: #F472B6;
  --falah-pink-light: #FCE7F3;
  --falah-pink-bg: #FFF5FA;
  --falah-plum: #3B0A2A;
  --falah-plum-soft: #6B2150;
  --falah-text: #4A1533;
  --falah-radius: 24px;
  --falah-shadow: 0 14px 34px rgba(236, 72, 153, .14);
}

/* ---------- Base ---------- */
body {
  background: var(--falah-pink-bg);
  color: var(--falah-text);
}
h1, h2, h3, h4, h5, h6,
.elementor-heading-title,
.elementor-widget-heading .elementor-heading-title {
  font-family: 'Poppins', 'Epilogue', sans-serif !important;
  color: var(--falah-plum);
}
p, .elementor-widget-text-editor {
  color: var(--falah-text);
}
a { transition: color .25s ease; }
a:hover { color: var(--falah-pink); }

/* ---------- Header ---------- */
.ekit-template-content-header {
  background: rgba(255, 255, 255, .88) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 30px rgba(236, 72, 153, .10);
  border-bottom: 1px solid var(--falah-pink-light);
}
.ekit-template-content-header .elementskit-menu-container a {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
}
.ekit-template-content-header .elementskit-menu-container a:hover {
  color: var(--falah-pink) !important;
}

/* ---------- Hero / page headers ---------- */
.bg-section::before,
.elementor-element.bg-section::before {
  background: linear-gradient(180deg, rgba(255, 252, 253, .30) 0%, rgba(255, 231, 243, .68) 100%) !important;
}
.bg-section .elementor-heading-title,
.bg-section h1, .bg-section h2, .bg-section h3 {
  color: var(--falah-plum) !important;
  text-shadow: 0 2px 22px rgba(255, 255, 255, .85);
}
.bg-section p,
.bg-section .elementor-widget-text-editor,
.bg-section .elementor-widget-text-editor p {
  color: var(--falah-plum-soft) !important;
  text-shadow: 0 1px 12px rgba(255, 255, 255, .9);
}
.bg-section {
  border-radius: 34px !important;
}

/* Eyebrow labels (asterisk + small title above headings) */
.bg-section .elementor-widget-heading h5,
.bg-section .elementor-widget-heading h6 {
  color: var(--falah-pink) !important;
}

/* ---------- Buttons ---------- */
.elementor-button,
button[type="submit"],
input[type="submit"],
.wpcf7-submit {
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--falah-pink) 0%, var(--falah-pink-soft) 100%) !important;
  background-color: var(--falah-pink) !important;
  box-shadow: 0 10px 26px rgba(236, 72, 153, .32) !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 600 !important;
  color: #fff !important;
  border: none !important;
  padding: 14px 30px !important;
}
.elementor-button:hover,
button[type="submit"]:hover,
input[type="submit"]:hover,
.wpcf7-submit:hover {
  background: linear-gradient(135deg, #DB2777 0%, var(--falah-pink) 100%) !important;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 34px rgba(236, 72, 153, .42) !important;
  color: #fff !important;
}
/* White secondary buttons */
.elementor-button.elementor-size-sm[style*="background"],
a.elementor-button-link[style*="background"] {
  /* leave inline-styled variants alone */
}

/* ---------- Cards ---------- */
.swiper-slide,
.post-item,
article.post,
.novaride-car-item,
.falah-card {
  border-radius: var(--falah-radius) !important;
  overflow: hidden;
}
.falah-card, .swiper-slide > * {
  border-radius: var(--falah-radius);
}
.falah-card:hover {
  box-shadow: 0 22px 48px rgba(236, 72, 153, .20);
}
/* Elementor loop/grid cards */
.elementor-loop-item,
.e-loop-item {
  border-radius: var(--falah-radius);
  background: #fff;
  box-shadow: var(--falah-shadow);
  border: 1px solid var(--falah-pink-light);
}

/* ---------- Icon boxes / features ---------- */
.elementskit-infobox,
.elementskit-icon-box,
.icon-box {
  border-radius: var(--falah-radius) !important;
  background: #fff;
  box-shadow: var(--falah-shadow);
  border: 1px solid var(--falah-pink-light);
  transition: transform .3s ease, box-shadow .3s ease;
}
.elementskit-infobox:hover,
.elementskit-icon-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(236, 72, 153, .22);
}

/* ---------- Forms ---------- */
input[type="text"], input[type="email"], input[type="tel"],
input[type="date"], input[type="number"], select, textarea {
  border-radius: 14px !important;
  border: 1.5px solid #F9A8D4 !important;
  background: #fff !important;
  padding: 12px 16px !important;
  font-family: 'Poppins', sans-serif;
  transition: border-color .25s ease, box-shadow .25s ease;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--falah-pink) !important;
  box-shadow: 0 0 0 4px rgba(236, 72, 153, .15) !important;
  outline: none !important;
}
.wpcf7-form label {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: var(--falah-plum);
}

/* Booking popup modal */
.ekit-popup-modal.falah-popup-open .ekit-popup-modal__content {
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(59, 10, 42, .35);
  border: 1px solid var(--falah-pink-light);
}
.ekit-popup-modal__title {
  font-family: 'Poppins', sans-serif !important;
  color: var(--falah-plum) !important;
}

/* ---------- Sections rhythm ---------- */
.elementor-section, .e-con {
  /* keep layout, only soften backgrounds where pink-tinted */
}
.section-pink, .bg-soft-pink {
  background: var(--falah-pink-light) !important;
}

/* ---------- Dark panels: keep text white ---------- */
.contact-info-form p,
.contact-info-form span,
.contact-info-form li,
.contact-info-form .elementor-widget-text-editor,
.contact-info-form .elementor-widget-text-editor p,
.contact-info-form .elementor-icon-list-text {
  color: #FFFFFF !important;
  text-shadow: none !important;
}

/* ---------- Footer ---------- */
.ekit-template-content-footer {
  background: linear-gradient(160deg, var(--falah-plum) 0%, #54073B 100%) !important;
  border-radius: 34px 34px 0 0;
}
.ekit-template-content-footer .elementor-heading-title,
.ekit-template-content-footer h1, .ekit-template-content-footer h2,
.ekit-template-content-footer h3, .ekit-template-content-footer h4,
.ekit-template-content-footer h5, .ekit-template-content-footer h6 {
  color: #fff !important;
}
.ekit-template-content-footer p,
.ekit-template-content-footer .elementor-widget-text-editor,
.ekit-template-content-footer .elementor-widget-text-editor p,
.ekit-template-content-footer li,
.ekit-template-content-footer span,
.ekit-template-content-footer .elementor-icon-list-text {
  color: #FBCFE8 !important;
}
.ekit-template-content-footer a {
  color: #FBCFE8 !important;
}
.ekit-template-content-footer a:hover {
  color: var(--falah-pink-soft) !important;
}
.ekit-template-content-footer input[type="email"] {
  background: rgba(255, 255, 255, .10) !important;
  border-color: rgba(244, 114, 182, .5) !important;
  color: #fff !important;
}
.ekit-template-content-footer input::placeholder {
  color: #E9A8C9 !important;
}

/* ---------- Language switcher pills ---------- */
.falah-lang-switcher {
  font-family: 'Poppins', sans-serif;
}

/* ---------- Scrollbar (subtle pink) ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--falah-pink-bg); }
::-webkit-scrollbar-thumb { background: var(--falah-pink-soft); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--falah-pink); }

/* ---------- Selection ---------- */
::selection { background: #FCE7F3; color: #3B0A2A; }

/* ---------- Active nav item as pill (avoids Arabic baseline reading as a strike) ---------- */
.elementskit-menu-container .current-menu-item > a,
.elementskit-menu-container .current_page_item > a,
.elementskit-menu-container .current-menu-parent > a,
.elementskit-menu-container .current-menu-ancestor > a,
nav .current-menu-item > a,
nav .current_page_item > a {
  background: linear-gradient(135deg, #EC4899, #F472B6) !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 8px 18px !important;
  box-shadow: 0 6px 16px rgba(236, 72, 153, .30);
}
.elementskit-menu-container .current-menu-item > a:hover,
nav .current-menu-item > a:hover {
  color: #fff !important;
}

/* ---------- Daily offer bar ---------- */
#falah-offer-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100001;
  display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap;
  background: linear-gradient(90deg, #9D174D, #EC4899, #9D174D);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 14.5px;
  padding: 8px 14px;
  box-shadow: 0 4px 18px rgba(157, 23, 77, .35);
}
#falah-offer-bar .fo-timer { display: inline-flex; gap: 8px; align-items: baseline; }
#falah-offer-bar .fo-ends { opacity: .9; font-size: 13px; }
#falah-offer-bar #falah-offer-clock {
  font-variant-numeric: tabular-nums;
  background: rgba(255,255,255,.18);
  padding: 2px 10px; border-radius: 999px;
}
body.falah-has-offer { padding-top: 40px !important; }

/* ---------- Trust badges ---------- */
.falah-badges {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin: 22px auto 0;
}
.fb-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border: 1px solid #FCE7F3;
  border-radius: 999px;
  padding: 9px 18px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px;
  color: #3B0A2A;
  box-shadow: 0 8px 22px rgba(236,72,153,.18);
  animation: fbFloat 4s ease-in-out infinite;
}
.fb-badge.fb-ta { animation-delay: 1.2s; }
.fb-stars { color: #EC4899; letter-spacing: 1px; }
@keyframes fbFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* ---------- Flag language switcher ---------- */
.falah-lang-switch { display: inline-flex; gap: 6px; align-items: center; margin: 0 12px; vertical-align: middle; }
.falah-lang-switch a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  font-family: 'Poppins', sans-serif; font-size: 12.5px; font-weight: 600;
  text-decoration: none; border: 1.5px solid #EC4899;
  background: transparent; color: #EC4899;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.falah-lang-switch a:hover { transform: translateY(-1px); background: #FCE7F3; }
.falah-lang-switch a.active, .falah-lang-switch a[aria-current="true"] { background: #EC4899; color: #fff; }
.falah-lang-switch svg { width: 18px; height: 18px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }

/* ---------- Live fleet cards ---------- */
.fc-fleet-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.swiper.fc-fleet-scroll .fc-fleet-grid { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 4px 26px; -webkit-overflow-scrolling: touch; }
.swiper.fc-fleet-scroll .fc-fleet-grid::-webkit-scrollbar { height: 8px; }
.fc-fleet-card {
  position: relative;
  background: #fff; border: 1px solid #FCE7F3; border-radius: 24px; overflow: hidden;
  box-shadow: 0 14px 34px rgba(236,72,153,.12);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.swiper.fc-fleet-scroll .fc-fleet-card { flex: 0 0 300px; scroll-snap-align: start; }
.fc-fleet-card:hover { transform: translateY(-8px); box-shadow: 0 22px 48px rgba(236,72,153,.22); }
.fc-fleet-img { position: relative; height: 190px; overflow: hidden; background: #fff; }
.fc-fleet-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .5s ease; }
.fc-fleet-card:hover .fc-fleet-img img { transform: scale(1.06); }
.fc-fleet-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.fc-fleet-type {
  align-self: flex-start;
  background: #FCE7F3; color: #9D174D;
  font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px;
  font-family: 'Poppins', sans-serif;
}
.fc-fleet-body h3 { font-family: 'Poppins', sans-serif; font-size: 19px; color: #3B0A2A; margin: 12px 0 10px; }
.fc-fleet-specs { display: flex; gap: 16px; font-size: 13.5px; color: #A04070; border-top: 1px dashed #FCE7F3; border-bottom: 1px dashed #FCE7F3; padding: 10px 0; margin-bottom: 14px; }
.fc-fleet-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.fc-fleet-price { font-family: 'Poppins', sans-serif; color: #3B0A2A; font-size: 15px; }
.fc-fleet-price b { font-size: 26px; font-weight: 800; }
.fc-fleet-price small { color: #A04070; font-size: 12.5px; }
.fc-fleet-btn {
  background: linear-gradient(135deg, #EC4899, #F472B6);
  color: #fff !important; text-decoration: none;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px;
  padding: 10px 20px; border-radius: 999px;
  box-shadow: 0 8px 18px rgba(236,72,153,.3);
  transition: transform .25s ease, box-shadow .25s ease;
}
.fc-fleet-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(236,72,153,.4); color: #fff !important; }
.fc-fleet-badge {
  position: absolute; top: 14px; inset-inline-start: 14px; z-index: 2;
  font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 600;
  padding: 5px 14px; border-radius: 999px; backdrop-filter: blur(6px);
}
.fc-fleet-badge.available { background: rgba(236,253,245,.92); color: #047857; }
.fc-fleet-badge.rented { background: rgba(239,246,255,.92); color: #1D4ED8; }
.fc-fleet-badge.maintenance { background: rgba(255,251,235,.92); color: #B45309; }
@media (max-width: 1100px) { .fc-fleet-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .fc-fleet-grid { grid-template-columns: 1fr; } }

/* ---------- Dynamic car detail page ---------- */
.fc-car-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 34px; max-width: 1200px; margin: 40px auto; padding: 0 20px; align-items: start; }
.fc-car-gallery { background: #fff; border: 1px solid #FCE7F3; border-radius: 28px; padding: 30px; box-shadow: 0 14px 34px rgba(236,72,153,.12); }
.fc-car-gallery img { width: 100%; object-fit: contain; }
.fc-car-panel { background: #fff; border: 1px solid #FCE7F3; border-radius: 28px; padding: 30px; box-shadow: 0 14px 34px rgba(236,72,153,.12); }
.fc-car-panel .fc-fleet-price b { font-size: 40px; }
.fc-car-specs { margin: 20px 0; }
.fc-car-specs .fc-fleet-specs { border: none; padding: 8px 0; margin: 0; }
.fc-car-book { margin-top: 26px; border-top: 1px solid #FCE7F3; padding-top: 22px; }
.fc-car-book h3 { font-family: 'Poppins', sans-serif; margin-bottom: 16px; }
.fc-car-book form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fc-car-book .full { grid-column: 1 / -1; }
.fc-car-unavail { background: #FFFBEB; border: 1px solid #FDE68A; color: #B45309; border-radius: 14px; padding: 14px 18px; font-weight: 600; margin-top: 20px; }
@media (max-width: 900px) { .fc-car-hero { grid-template-columns: 1fr; } }
.fc-fleet-price { white-space: nowrap; }
.fc-fleet-foot { flex-wrap: wrap; gap: 10px; }

/* Fleet slider fixes */
.swiper.fc-fleet-scroll { height: auto !important; }
.swiper.fc-fleet-scroll .fc-fleet-grid { align-items: flex-start !important; height: auto !important; }
.swiper.fc-fleet-scroll .fc-fleet-card { height: auto !important; align-self: flex-start; }
.fc-fleet-arrow {
  position: absolute; top: 38%; z-index: 20;
  width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, #EC4899, #F472B6); color: #fff;
  font-size: 22px; line-height: 1; font-family: 'Poppins', sans-serif;
  box-shadow: 0 10px 24px rgba(236,72,153,.4);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; align-items: center; justify-content: center;
}
.fc-fleet-arrow:hover { transform: scale(1.1); box-shadow: 0 14px 30px rgba(236,72,153,.5); }
.fc-fleet-arrow.prev { left: -10px; }
.fc-fleet-arrow.next { right: -10px; }
[dir="rtl"] .fc-fleet-arrow.prev { left: auto; right: -10px; }
[dir="rtl"] .fc-fleet-arrow.next { right: auto; left: -10px; }
@media (max-width: 700px) { .fc-fleet-arrow { display: none; } }
