/* ==========================================================================
   Ranthambore Taxi and Cab - design polish layer
   Loaded last on every page. Presentation only: no content, markup or URL
   depends on this file, and removing its <link> restores the original look.
   ========================================================================== */

:root {
  --gold: #deaf03;
  --gold-deep: #7d5f00;        /* readable gold for text on white (6:1) */
  --gold-bright: #f4cf4d;      /* gold for text on dark */
  --gold-soft: #fbf4d6;
  --ink: #1c1a14;              /* warm near-black, tinted toward the gold */
  --ink-2: #3a372f;
  --paper-warm: #f7f5ef;
  --line: #e9e4d6;
  --r-s: 8px;
  --r-m: 14px;
  --sh-1: 0 1px 2px rgba(28, 26, 20, .05), 0 6px 18px rgba(28, 26, 20, .07);
  --sh-2: 0 2px 4px rgba(28, 26, 20, .06), 0 18px 40px rgba(28, 26, 20, .13);
  --ease: cubic-bezier(.22, .8, .3, 1);
  --dur: .22s;
}

/* ---------- Base type ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  color: var(--ink-2);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--gold); color: var(--ink); }

h1, h2, h3, h4, h5, h6 { text-wrap: balance; letter-spacing: -.005em; }
#main-content p { text-wrap: pretty; }
#main-content .et_pb_text_inner p { line-height: 1.75; }

/* A heading that follows body copy needs air above it */
#main-content .et_pb_text_inner :is(p, ul, ol) + :is(h2, h3, h4, h5) { margin-top: 1.5em; }
#main-content .et_pb_text_inner :is(h1, h2, h3, h4) { padding-bottom: .55em; }

/* Lists inside content */
#main-content .et_pb_text_inner :is(ul, ol) { padding-left: 1.25em; padding-bottom: .6em; }
#main-content .et_pb_text_inner li { padding-left: .25em; margin-bottom: .4em; line-height: 1.65; }
#main-content .et_pb_text_inner li::marker { color: var(--gold); font-weight: 700; }

/* Links inside content: readable gold, clear underline */
#main-content .et_pb_text_inner a:not(.et_pb_button) {
  color: var(--gold-deep);
  text-decoration: underline;
  text-decoration-color: rgba(222, 175, 3, .65);
  text-decoration-thickness: 1.5px;
  text-underline-offset: .2em;
  transition: color var(--dur) var(--ease), text-decoration-color var(--dur) var(--ease);
}
#main-content .et_pb_text_inner a:not(.et_pb_button) :is(span, strong, b) { color: inherit !important; }
#main-content .et_pb_text_inner a:not(.et_pb_button):hover {
  color: var(--ink);
  text-decoration-color: var(--gold);
}
#main-content .et_pb_bg_layout_dark .et_pb_text_inner a:not(.et_pb_button) { color: var(--gold-bright); }
#main-content .et_pb_bg_layout_dark .et_pb_text_inner a:not(.et_pb_button):hover { color: #fff; }

/* ---------- Focus: visible on light and dark backgrounds ---------- */
:is(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--ink);
  border-radius: 4px;
}

/* ---------- Header ---------- */
#main-header {
  box-shadow: 0 1px 0 var(--line), 0 8px 26px rgba(28, 26, 20, .05) !important;
}
#main-header #top-menu li a {
  color: var(--ink);
  font-size: 17px;
  letter-spacing: .01em;
  transition: color var(--dur) var(--ease);
  text-decoration: underline 2px transparent;
  text-underline-offset: 9px;
}
#main-header #top-menu li a:hover {
  color: var(--gold-deep);
  opacity: 1 !important;
  text-decoration-color: var(--gold);
}
#main-header #top-menu li.current-menu-item > a {
  color: var(--gold-deep) !important;
  text-decoration-color: var(--gold);
}
/* Logo stays legible when the header shrinks on scroll */
#main-header.et-fixed-header #logo { max-height: 84% !important; }
@media (min-width: 981px) {
  .et_header_style_left #main-header.et-fixed-header #et-top-navigation { padding-top: 26px !important; }
  .et_header_style_left #main-header.et-fixed-header #top-menu > li > a { padding-bottom: 26px !important; }
}

/* Mobile menu */
#main-header .mobile_menu_bar:before { color: var(--ink) !important; }
#main-header .et_mobile_menu {
  border-top: 3px solid var(--gold) !important;
  border-radius: 0 0 var(--r-m) var(--r-m);
  box-shadow: var(--sh-2);
  padding: 8px 0 !important;
}
#main-header .et_mobile_menu li a {
  color: var(--ink);
  font-size: 17px;
  padding: 14px 6%;
  border-bottom: 1px solid var(--line);
}
#main-header .et_mobile_menu li:last-child a { border-bottom: 0; }
#main-header .et_mobile_menu li.current-menu-item > a { color: var(--gold-deep); }
#main-header .et_mobile_menu li a:hover { background: var(--gold-soft); opacity: 1; }

/* ---------- Buttons ---------- */
.et_pb_button,
.et_pb_contact_submit.et_pb_button {
  border-radius: var(--r-s) !important;
  letter-spacing: .03em;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), padding .3s var(--ease) !important;
}
/* Dark label on gold (was white on gold, 2:1 contrast); hover stays black with white */
body #page-container #main-content .et_pb_button,
body #page-container #main-content .et_pb_button::after { color: var(--ink) !important; }
body #page-container #main-content .et_pb_button:hover,
body #page-container #main-content .et_pb_button:hover::after {
  color: #fff !important;
  background-color: var(--ink) !important;
  border-color: var(--ink) !important;
}
.et_pb_button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(125, 95, 0, .26);
}
.et_pb_button:active { transform: translateY(0); box-shadow: 0 2px 6px rgba(125, 95, 0, .2); }

/* ---------- Images ---------- */
#main-content img { height: auto; }

/* ---------- Enquiry form ---------- */
.et_pb_contact_form .input,
.et_pb_contact_form .et_pb_contact_captcha {
  border: 1px solid #d9d3c2 !important;
  border-radius: var(--r-s) !important;
  background-color: #fff !important;
  color: var(--ink) !important;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.et_pb_contact_form .input::placeholder { color: #7a766a !important; opacity: 1; }
.et_pb_contact_form .input:hover { border-color: #b9b19a !important; }
.et_pb_contact_form .input:focus,
.et_pb_contact_form .input:focus-visible {
  border-color: var(--gold-deep) !important;
  box-shadow: 0 0 0 4px rgba(222, 175, 3, .28);
  outline: 0;
}
.et_pb_contact_form .et_pb_contact_submit[disabled] { opacity: .6; cursor: progress; transform: none; }
.et-pb-contact-message p {
  margin: 0 0 18px;
  padding: 12px 16px;
  border-radius: var(--r-s);
  border-left: 4px solid var(--gold);
  background: var(--gold-soft);
  color: var(--ink);
  line-height: 1.5;
}

/* ---------- Footer ---------- */
#main-footer { background-color: #100f0b !important; }
#main-footer #footer-widgets { padding-top: 64px; }
/* Four even columns that stay inside the container (the old float layout ran
   past the right edge and caused sideways scrolling on tablets) */
#main-footer #footer-widgets {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.25fr;
  gap: 40px 36px;
  width: auto !important;
  max-width: 100%;
  margin: 0 !important;
  padding-bottom: 48px;
}
#main-footer #footer-widgets::before,
#main-footer #footer-widgets::after { display: none; }
body #main-footer #footer-widgets .footer-widget {
  float: none;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  overflow-wrap: anywhere;
}
#main-footer .footer-widget :is(h3, h4) {
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 18px;
  padding-bottom: 12px;
  position: relative;
}
#main-footer .footer-widget :is(h3, h4)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: var(--gold);
}
#main-footer .footer-widget,
#main-footer .footer-widget a { color: #d8d4c7; }
#main-footer .footer-widget a {
  display: inline-block;
  padding: 2px 0;
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
#main-footer .footer-widget a:hover { color: var(--gold-bright); transform: translateX(3px); }
#footer-bottom { background-color: #090806 !important; padding: 18px 0 !important; }
#footer-bottom #footer-info { color: #aaa698; line-height: 1.7; }
#footer-bottom #footer-info a { color: #e9e5d8; transition: color var(--dur) var(--ease); }
#footer-bottom #footer-info a:hover { color: var(--gold-bright); }

/* ---------- Tablet and below ---------- */
@media (max-width: 980px) {
  #main-footer #footer-widgets { padding-top: 48px; }
  #main-footer #footer-widgets { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 32px; }
  #main-footer .footer-widget a { padding: 6px 0; }
  /* keep the credit line clear of the floating call / WhatsApp buttons */
  #footer-bottom { padding-bottom: 92px !important; }
}

/* ---------- Phones ---------- */
@media (max-width: 600px) {
  #main-footer #footer-widgets { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 767px) {
  #main-content h1 { font-size: 28px !important; line-height: 1.22 !important; }
  #main-content h2 { font-size: 24px !important; line-height: 1.25 !important; }
  #main-content h3 { font-size: 20px !important; line-height: 1.3 !important; }
  #main-content h4 { font-size: 18px !important; line-height: 1.35 !important; }
  #main-content .et_pb_text_inner p { line-height: 1.7; }

  /* floating contact buttons: same size, less of the page covered */
  #callnowbutton.call-now-button {
    width: 52px !important;
    height: 52px !important;
    left: 16px !important;
    bottom: 16px !important;
    box-shadow: var(--sh-2);
  }
  #ht-ctc-chat.ht-ctc { zoom: .8; }
}

/* ---------- Route fact box (distance / time / fare under the H1) ---------- */
#main-content .et_pb_text_inner ul.route-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  margin: 4px 0 22px;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  overflow: hidden;
}
#main-content .et_pb_text_inner ul.route-facts li {
  flex: 1 1 150px;
  margin: 0;
  padding: 12px 16px;
  background: var(--paper-warm);
  line-height: 1.35;
}
#main-content .et_pb_text_inner ul.route-facts li::marker { content: none; }
.route-facts span {
  display: block;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6d695d;
  margin-bottom: 3px;
}
.route-facts strong { font-size: 16px; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- Route link blocks (home: popular routes, pages: related routes) ---------- */
.seo-routes { background: var(--paper-warm); border-top: 1px solid var(--line); padding: 56px 0; }
.seo-routes__inner { width: 80%; max-width: 1080px; margin: 0 auto; }
.seo-routes h2 { font-size: 28px; line-height: 1.25; padding-bottom: 22px; text-align: center; }
#main-content ul.seo-routes__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
}
#main-content ul.seo-routes__grid li { list-style: none; margin: 0; padding: 0; }
.seo-routes__grid a {
  display: block;
  height: 100%;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--r-s);
  color: var(--ink);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.seo-routes__grid a:hover { transform: translateY(-2px); box-shadow: var(--sh-1); border-color: var(--gold); }
.seo-routes__name { display: block; font-family: "Josefin Sans", Helvetica, Arial, sans-serif; font-weight: 700; font-size: 17px; line-height: 1.3; }
.seo-routes__meta { display: block; margin-top: 4px; font-size: 14px; color: #6d695d; font-variant-numeric: tabular-nums; }
@media (max-width: 767px) {
  .seo-routes { padding: 40px 0; }
  .seo-routes h2 { font-size: 24px; }
}

/* ---------- Enquiry consent + privacy policy ---------- */
.et_pb_contact_form .enq-consent { clear: both; width: 100%; margin: 0 0 14px; padding: 0 0 0 3%; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.et_pb_contact_form .enq-consent label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.et_pb_contact_form .enq-consent input[type=checkbox] { display: inline-block !important; position: static !important; opacity: 1 !important; visibility: visible !important; -webkit-appearance: checkbox !important; appearance: auto !important; flex: 0 0 18px; width: 18px !important; height: 18px !important; min-width: 18px; margin: 2px 0 0 !important; padding: 0 !important; border: 0; accent-color: var(--gold-deep); }
.et_pb_contact_form .enq-consent a { color: var(--gold-deep); text-decoration: underline; }
.et-pb-contact-message p.is-error { border-left-color: #b3261e; background: #fdecea; }
.policy-page { padding: 64px 0; max-width: 820px; }
.policy-page h1 { padding-bottom: 16px; }
.policy-page h2 { font-size: 22px; margin-top: 1.4em; padding-bottom: .4em; }
.policy-page p, .policy-page li { line-height: 1.75; }
.policy-page ul { padding: 0 0 1em 1.25em; list-style: disc; }
.policy-page li::marker { color: var(--gold); }
.policy-page a { color: var(--gold-deep); text-decoration: underline; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
