/* Baku Best Transfer — additions on top of the Renax Dark theme (style.css) */

:root {
  --font-main: "Outfit", sans-serif;
  --accent: #f5b754;
  --bg: #1b1b1b;
  --bg-card: #222;
  --bg-card-2: #2a2a2a;
  --border: rgba(255, 255, 255, 0.08);
}

/* The layout sets --font-main per locale (src/lib/fonts.ts) */

/* ===== Hero (static version of the slider) ===== */
.header.slider-fade {
  position: relative;
}
.header .caption h5 {
  max-width: 620px;
  line-height: 1.7em;
}
@media (max-width: 767px) {
  .header .caption h1 {
    font-size: 48px;
  }
}

/* ===== Price table ===== */
.prices-section {
  background: var(--bg);
}
.price-search {
  position: relative;
  max-width: 360px;
  margin: 0 auto 30px;
}
.price-search .ti-search {
  position: absolute;
  inset-inline-start: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
}
.price-search input[type="text"] {
  margin: 0;
  padding-inline-start: 50px;
}
.price-table-scroll {
  overflow-x: auto;
  border-radius: 20px;
  background: var(--bg-card);
  -webkit-overflow-scrolling: touch;
}
.price-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  color: #ccc;
}
.price-table th,
.price-table td {
  padding: 16px 18px;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.price-table thead th {
  background: var(--bg-card-2);
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4em;
}
.price-table .col-route {
  text-align: start;
  position: sticky;
  inset-inline-start: 0;
  z-index: 1;
  background: inherit;
}
.price-table tbody .col-route {
  background: var(--bg-card);
  color: #fff;
  font-weight: 500;
}
.price-table tbody .col-route i {
  color: var(--accent);
  font-size: 13px;
  margin-inline-end: 6px;
}
.price-table thead .col-route {
  background: var(--bg-card-2);
}
.price-table .vh-category {
  display: block;
  color: var(--accent);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 3px;
}
.price-table .vh-name {
  display: block;
  font-size: 15px;
}
.price-table .vh-specs {
  display: block;
  color: #999;
  font-size: 12px;
  font-weight: 300;
}
.price-table .vh-specs i,
.vo-specs i {
  margin-inline-start: 6px;
}
.price-table tbody tr {
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.price-table tbody tr:hover,
.price-table tbody tr:hover .col-route,
.price-table tbody tr:focus-visible,
.price-table tbody tr:focus-visible .col-route {
  background: #2c2c2c;
  outline: none;
}
.price-table tbody tr:last-child td {
  border-bottom: none;
}
.price-table .col-distance {
  color: #999;
}
.price-pill {
  display: inline-block;
  min-width: 72px;
  padding: 6px 16px;
  border-radius: 30px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s ease;
}
.price-table td.col-price:hover .price-pill {
  background: var(--accent);
  color: var(--bg);
}
.price-none {
  color: #555;
}
.price-table .no-results td {
  cursor: default;
  color: #999;
  padding: 30px;
}
.price-hint {
  margin-top: 15px;
  text-align: center;
  font-size: 13px;
}
.price-hint span {
  color: var(--accent);
  margin-inline-end: 5px;
}

/* ===== Booking modal ===== */
.booking-modal {
  display: block;
  overflow-y: auto;
}
.booking-modal .modal-content {
  background: var(--bg-card);
  border-radius: 20px;
  border: 1px solid var(--border);
}
.booking-modal .modal-header {
  padding: 20px 25px;
  align-items: flex-start;
}
.booking-modal .modal-title {
  color: var(--bg);
  font-size: 22px;
  font-weight: 600;
}
.booking-modal .modal-header .btn-close {
  margin: 0;
  margin-inline-start: auto;
}
.booking-modal .modal-body {
  padding: 25px;
  background: var(--bg-card);
}
.booking-meta {
  color: rgba(27, 27, 27, 0.75);
  font-size: 13px;
  font-weight: 500;
}
.booking-label {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
}
.vehicle-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 25px;
}
.vehicle-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 10px;
  border-radius: 15px;
  border: 1px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  transition: border-color 0.2s ease;
  line-height: 1.3em;
}
.vehicle-option:hover {
  border-color: rgba(245, 183, 84, 0.5);
}
.vehicle-option.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent) inset;
}
.vehicle-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.vehicle-option img {
  width: 70px;
  height: 50px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}
.vo-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.vo-category {
  color: var(--accent);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.vo-name {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}
.vo-specs {
  color: #999;
  font-size: 12px;
}
.vo-price {
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
}
.booking-fields input[type="date"],
.booking-fields input[type="time"],
.booking-fields input[type="text"],
.booking-fields select {
  width: 100%;
  margin-bottom: 15px;
  padding: 12px 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 30px;
  color: #ccc;
  font-size: 14px;
  color-scheme: dark;
  height: 48px;
}
.booking-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}
.book-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 30px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.book-btn i {
  font-size: 20px;
}
.book-btn:hover {
  color: #fff;
  transform: translateY(-3px);
  filter: brightness(1.1);
}
.book-btn.whatsapp {
  background: #25d366;
}
.book-btn.telegram {
  background: #229ed9;
}
.booking-note {
  margin: 15px 0 0;
  font-size: 12px;
  line-height: 1.6em;
  text-align: center;
}
.booking-note span {
  color: var(--accent);
}
@media (max-width: 575px) {
  .vehicle-options {
    grid-template-columns: 1fr;
  }
  .booking-actions {
    flex-direction: column;
  }
  .booking-modal .modal-body {
    padding: 20px 15px;
  }
}

/* ===== Fleet ===== */
.fleet-card {
  background: var(--bg-card);
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
}
.fleet-img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.fleet-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.fleet-card:hover .fleet-img img {
  transform: scale(1.05);
}
.fleet-category {
  position: absolute;
  top: 20px;
  inset-inline-start: 20px;
  padding: 4px 14px;
  border-radius: 30px;
  background: var(--accent);
  color: var(--bg);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.fleet-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  padding: 25px 30px;
}
.fleet-body h4 {
  width: 100%;
  margin: 0;
  color: #fff;
  font-size: 22px;
}
.fleet-specs {
  display: flex;
  gap: 20px;
  flex: 1;
}
.fleet-specs i {
  color: var(--accent);
  margin-inline-end: 5px;
}
.fleet-price {
  color: var(--accent);
  font-size: 24px;
  font-weight: 700;
}
.fleet-price small {
  color: #999;
  font-size: 12px;
  font-weight: 300;
}

/* ===== Contact ===== */
.contact-card {
  display: block;
  height: 100%;
  padding: 40px 25px;
  text-align: center;
  background: var(--bg-card);
  border-radius: 20px;
  transition: transform 0.3s ease;
}
.contact-card:hover {
  transform: translateY(-6px);
}
.cc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 15px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  font-size: 26px;
}
.contact-card h5 {
  color: #fff;
  margin-bottom: 5px;
}
.contact-card p {
  margin: 0;
  word-break: break-word;
}
.contact-map {
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(0.9);
}

/* ===== Floating WhatsApp / Telegram ===== */
.floating-contact {
  position: fixed;
  bottom: 25px;
  inset-inline-end: 25px;
  z-index: 98;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.floating-contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  font-size: 28px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease;
}
.floating-contact a:hover {
  color: #fff;
  transform: scale(1.08);
}
.fc-whatsapp {
  background: #25d366;
}
.fc-telegram {
  background: #229ed9;
}

/* ===== Navbar tweaks ===== */
.navbar .navbar-nav .nav-link {
  white-space: nowrap;
}
.navbar .dropdown-menu .dropdown-item.active span {
  color: var(--accent);
}
@media (min-width: 992px) and (max-width: 1199px) {
  .navbar .navbar-right {
    display: none;
  }
}
@media (max-width: 991px) {
  .navbar .dropdown-menu.show {
    display: block;
  }
}

/* ===== RTL (Arabic) ===== */
[dir="rtl"] body {
  text-align: right;
}
[dir="rtl"] .navbar-nav.ms-auto {
  margin-left: 0 !important;
  margin-right: auto !important;
}
[dir="rtl"] .navbar .navbar-right {
  margin-left: 0;
  margin-right: 30px;
}
[dir="rtl"] .navbar .navbar-right .wrap .text {
  margin-left: 0;
  margin-right: 15px;
}
[dir="rtl"] .header .caption .button-1,
[dir="rtl"] .header .caption .button-2 {
  margin-right: 0;
  margin-left: 15px;
}
[dir="rtl"] .button-1 span,
[dir="rtl"] .button-2 span {
  margin-left: 0;
  margin-right: 5px;
  display: inline-block;
  transform: scaleX(-1);
}
[dir="rtl"] .about .list li .list-text {
  padding-left: 0;
  padding-right: 15px;
}
[dir="rtl"] .about .offset-lg-1 {
  margin-left: 0;
  margin-right: 8.333%;
}
[dir="rtl"] .offset-md-1 {
  margin-left: 0;
  margin-right: 8.333%;
}
[dir="rtl"] .vehicle-option {
  padding: 10px 10px 10px 14px;
}
[dir="rtl"] .section-subtitle {
  font-size: 13px;
}

/* Letter-spacing breaks Arabic-script joining and Devanagari conjuncts */
:is([dir="rtl"], :lang(hi)) :is(
    .section-subtitle,
    .header .caption h6,
    .banner-header h6,
    .price-table .vh-category,
    .vo-category,
    .fleet-category
  ) {
  letter-spacing: 0;
}

/* ===== Text logo ===== */
.logo-wrapper .logo h2,
.nav-scroll .logo-wrapper .logo h2,
.footer-logo h2 {
  font-family: "Outfit", sans-serif;
  font-size: 24px;
  letter-spacing: 0.5px;
}
/* Long menus (ru) must not push the logo or phone onto two lines */
@media (min-width: 992px) {
  .logo-wrapper .logo h2,
  .navbar .navbar-right .text h5 {
    white-space: nowrap;
  }
}
[dir="rtl"] .image-wrapper.footer-contact-link-icon {
  margin-right: 0;
  margin-left: 15px;
}
[dir="rtl"] .footer-logo h2 {
  justify-content: flex-end;
}
