/* UpTaxis Theme Stylesheet (Readability & Dark Mode Switcher) */

/* 1. LIGHT MODE READABILITY IMPROVEMENTS */
:root {
    --body-color: #242628 !important;   /* High contrast dark charcoal instead of light gray */
    --title-color: #0c0d0e !important;  /* Deep rich black for headers */
    --light-color: #5a5d62 !important;  /* Mid-tone gray that passes WCAG contrast */
    --smoke-color: #f4f5f8 !important;  /* Soft cool gray background */
}

/* Ensure common template elements use the high-contrast variables */
body {
    color: var(--body-color) !important;
}

p, span, li, td, th, a, label {
    text-shadow: none !important; /* Remove any template shadows that reduce readability */
}

/* Improve header top link color contrast in light mode */
.header-links ul li, 
.header-links ul li a {
    color: #ffffff !important; /* Top bar email/phone has dark background, so keep pure white */
}

.footer-text, .footer-info-title, .footer-links ul li a {
    color: #e0e0e0 !important; /* Footer has dark background, must stay light */
}

/* 2. DARK MODE OVERRIDES */
html.dark-theme,
body.dark-theme {
    background-color: #121212 !important;
    color: #e2e4e9 !important;
    --body-color: #e2e4e9 !important;
    --title-color: #ffffff !important;
    --light-color: #a8adb7 !important;
    --smoke-color: #18191b !important;
    --white-color: #1f2022 !important;
    --border-color: #2c2d30 !important;
}

body.dark-theme .bg-smoke,
body.dark-theme section.bg-smoke,
body.dark-theme .bg-white,
body.dark-theme .space,
body.dark-theme .service-card.style3,
body.dark-theme .taxi-area2,
body.dark-theme .counter-wrap.style3,
body.dark-theme .process-item,
body.dark-theme .price-card.style2 {
    background-color: #18191b !important;
    color: #e2e4e9 !important;
}

body.dark-theme .sec-title,
body.dark-theme .hero-title,
body.dark-theme .about_title,
body.dark-theme .service-card_title a,
body.dark-theme .taxi-title,
body.dark-theme .feature-box_title,
body.dark-theme .counter-card_text,
body.dark-theme .process-item_title,
body.dark-theme .price-card_title,
body.dark-theme .price-card_subtitle,
body.dark-theme .testi-item_name,
body.dark-theme .testi-item_desig,
body.dark-theme .booking-title,
body.dark-theme .breadcumb-title,
body.dark-theme .footer-info-title,
body.dark-theme .widget_title {
    color: #ffffff !important;
}

body.dark-theme p,
body.dark-theme span,
body.dark-theme .sec-text,
body.dark-theme .hero-text,
body.dark-theme .about_text,
body.dark-theme .service-card_text,
body.dark-theme .feature-box_text,
body.dark-theme .process-item_text,
body.dark-theme .testi-item_text,
body.dark-theme .booking-desc,
body.dark-theme .footer-text,
body.dark-theme .info-card_text {
    color: #c4c8d0 !important;
}

/* Header & Menu dark state */
body.dark-theme .sticky-wrapper.sticky .menu-area {
    background-color: #121212 !important;
    border-bottom: 1px solid #28292c !important;
}

body.dark-theme .main-menu ul li a {
    color: #ffffff !important;
}

body.dark-theme .th-menu-area {
    background-color: #18191b !important;
}

body.dark-theme .th-mobile-menu ul li a {
    color: #ffffff !important;
}

/* Forms & Inputs in dark mode */
body.dark-theme .booking-form-area,
body.dark-theme .booking-form4 {
    background-color: #1f2022 !important;
    border: 1px solid #2c2d30 !important;
}

body.dark-theme .form-control,
body.dark-theme .form-select,
body.dark-theme .nice-select {
    background-color: #28292c !important;
    color: #ffffff !important;
    border: 1px solid #3c3d42 !important;
}

body.dark-theme .form-control::placeholder {
    color: #888e99 !important;
}

body.dark-theme .nice-select .list {
    background-color: #28292c !important;
    border: 1px solid #3c3d42 !important;
}

body.dark-theme .nice-select .option {
    color: #ffffff !important;
}

body.dark-theme .nice-select .option:hover,
body.dark-theme .nice-select .option.selected.focus {
    background-color: #3c3d42 !important;
}

/* Fleet items in dark mode */
body.dark-theme .taxi-feature_title,
body.dark-theme .taxi-feature_info,
body.dark-theme .taxi-about_title,
body.dark-theme .taxi-about_text {
    color: #ffffff !important;
}

body.dark-theme .taxi-tab button:not(.active) {
    background-color: #28292c !important;
    color: #ffffff !important;
}

/* Reviews and Prices in dark mode */
body.dark-theme .testi-item.style2 {
    background-color: #1f2022 !important;
    border: 1px solid #2c2d30 !important;
}

body.dark-theme .price-card_content {
    background-color: #1f2022 !important;
}

body.dark-theme .price-card.style2 {
    border: 1px solid #2c2d30 !important;
}

/* 3. SWITCH BUTTON STYLING */
.dark-mode-btn {
    background: none !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    transition: color 0.3s ease;
}

.dark-mode-btn:hover {
    color: var(--theme-color, #FFC000) !important;
}

.dark-mode-btn i {
    font-size: 14px;
}

/* 4. DATETIMEPICKER READABILITY OVERRIDES */
.xdsoft_datetimepicker {
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid #e7e7e7 !important;
    font-family: inherit !important;
    padding: 10px !important;
    background-color: #ffffff !important;
}

.xdsoft_datetimepicker .xdsoft_calendar td,
.xdsoft_datetimepicker .xdsoft_calendar th,
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box > div > div {
    background-color: #f8f9fa !important;
    border: 1px solid #e7e7e7 !important;
    color: #242628 !important;
}

.xdsoft_datetimepicker span,
.xdsoft_datetimepicker div,
.xdsoft_datetimepicker button,
.xdsoft_datetimepicker td,
.xdsoft_datetimepicker th {
    text-shadow: none !important;
}

/* Force inner text nodes to inherit contrast color to prevent global span/div style interference */
.xdsoft_datetimepicker .xdsoft_calendar td *,
.xdsoft_datetimepicker .xdsoft_calendar th *,
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box div * {
    color: inherit !important;
}

.xdsoft_datetimepicker .xdsoft_calendar th {
    background-color: #f1f2f5 !important;
    color: #5a5d62 !important;
    font-weight: 600 !important;
}

.xdsoft_datetimepicker .xdsoft_monthpicker,
.xdsoft_datetimepicker .xdsoft_label {
    background-color: #ffffff !important;
    color: #242628 !important;
}

.xdsoft_datetimepicker .xdsoft_calendar td:hover,
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box > div > div:hover {
    background-color: #e7e7e7 !important;
    color: #000000 !important;
}

/* Active dates/times - Kept in brand yellow for high-contrast visibility */
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_current,
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box > div > div.xdsoft_current {
    background-color: #FFC000 !important;
    color: #000000 !important;
    font-weight: 700 !important;
}

/* Dark Mode datetimepicker overrides */
body.dark-theme .xdsoft_datetimepicker {
    background-color: #1f2022 !important;
    border: 1px solid #3c3d42 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

body.dark-theme .xdsoft_datetimepicker .xdsoft_calendar td,
body.dark-theme .xdsoft_datetimepicker .xdsoft_calendar th,
body.dark-theme .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box > div > div {
    background-color: #28292c !important;
    border: 1px solid #3c3d42 !important;
    color: #ffffff !important;
}

body.dark-theme .xdsoft_datetimepicker .xdsoft_calendar th {
    background-color: #18191b !important;
    color: #a8adb7 !important;
}

body.dark-theme .xdsoft_datetimepicker .xdsoft_monthpicker,
body.dark-theme .xdsoft_datetimepicker .xdsoft_label {
    background-color: #1f2022 !important;
    color: #ffffff !important;
}

body.dark-theme .xdsoft_datetimepicker .xdsoft_calendar td:hover,
body.dark-theme .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box > div > div:hover {
    background-color: #3c3d42 !important;
    color: #ffffff !important;
}

body.dark-theme .xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_current,
body.dark-theme .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box > div > div.xdsoft_current {
    background-color: #FFC000 !important;
    color: #000000 !important;
}

body.dark-theme .xdsoft_datetimepicker .xdsoft_scrollbar > .xdsoft_scroller {
    background: #3c3d42 !important;
}

/* 5. NATIVE SELECT OPTION CONTRAST FIX */
select option {
    background-color: #ffffff !important;
    color: #242628 !important;
}
body.dark-theme select option {
    background-color: #28292c !important;
    color: #ffffff !important;
}

/* 6. ESTIMATE PRICE DISPLAY BOX (High-contrast callout) */
.estimate-price-box {
    background-color: #18191b !important;
    border: 2px dashed #FFC000 !important;
    border-radius: 8px !important;
    padding: 20px !important;
    text-align: center !important;
    margin: 15px 0 !important;
}
.estimate-price-box span.text-white {
    color: #ffffff !important;
}

/* 7. MODERN ESTIMATOR CONTAINER & INPUTS */
.estimator-container {
    background: rgba(18, 18, 18, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 192, 0, 0.3) !important;
    border-radius: 16px !important;
    padding: 40px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

.estimator-input {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    height: 50px !important;
    border-radius: 8px !important;
    padding: 0 15px !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
}

.estimator-input:focus {
    border-color: #FFC000 !important;
    background-color: rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 0 0 3px rgba(255, 192, 0, 0.25) !important;
    outline: none !important;
    color: #ffffff !important;
}

.estimator-container label {
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
}

/* SVG Arrow for custom styling on dark selects */
.estimator-container select.form-select.estimator-input {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    background-size: 12px 12px !important;
    padding-right: 40px !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.estimator-container select.form-select.estimator-input option {
    background-color: #121212 !important;
    color: #ffffff !important;
}

/* 8. FLOATING WHATSAPP WIDGET */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px; /* Relocated to left side of screen */
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    transition: all 0.3s ease;
    cursor: pointer;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

/* 9. FAQ ACCORDION PREMIUM STYLING */
.accordion-button:not(.collapsed) {
    background-color: rgba(255, 192, 0, 0.08) !important;
    color: var(--theme-color, #FFC000) !important;
}

.accordion-button:focus {
    box-shadow: none !important;
    border-color: rgba(255, 192, 0, 0.25) !important;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23242628' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23FFC000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
}

body.dark-theme .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
}

body.dark-theme .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23FFC000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
}

/* 10. RESPONSIVE MOBILE NAVIGATION & MOBILE OPTIMIZATIONS (NO BURGER MENU) */
@media (max-width: 991px) {
    .logo-bg {
        display: none !important;
    }
    .sticky-wrapper {
        position: relative !important;
        background-color: #1a1a1a !important;
    }
    body.dark-theme .sticky-wrapper {
        background-color: #121212 !important;
    }
    .menu-area {
        padding: 15px 0 !important;
        background-color: #1a1a1a !important;
    }
    body.dark-theme .menu-area {
        background-color: #121212 !important;
    }
    .menu-area .row {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 12px !important;
    }
    .menu-area .col-auto {
        width: 100% !important;
        text-align: center !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    .main-menu {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 5px 0 !important;
    }
    .main-menu::-webkit-scrollbar {
        height: 4px;
    }
    .main-menu::-webkit-scrollbar-thumb {
        background-color: rgba(255, 192, 0, 0.4);
        border-radius: 2px;
    }
    .main-menu ul {
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 0 10px !important;
        margin: 0 !important;
        list-style: none !important;
    }
    .main-menu ul li {
        display: inline-block !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .main-menu ul li a {
        color: #ffffff !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        padding: 6px 12px !important;
        border-radius: 30px !important;
        background: rgba(255, 255, 255, 0.08) !important;
        transition: all 0.2s ease !important;
        display: block !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    .main-menu ul li a.active-menu-item {
        background: #FFC000 !important;
        color: #000000 !important;
        border-color: #FFC000 !important;
    }
    .th-menu-toggle {
        display: none !important;
    }
    .th-menu-wrapper {
        display: none !important;
    }
    .main-menu ul li.hide-on-mobile {
        display: none !important;
    }
    .floating-whatsapp {
        width: 45px !important;
        height: 45px !important;
        bottom: 20px !important;
        left: 20px !important;
        font-size: 22px !important;
    }
}

@media (max-width: 575px) {
    .estimator-container {
        padding: 24px 16px !important;
    }
}

/* High Contrast Phone Links */
a.high-contrast-phone,
.info-card_link[href^="tel:"],
.about-call-btn[href^="tel:"] {
    color: #FFC000 !important;
    font-weight: bold !important;
}
