/* ============================================
   Home Page Redesign Styles
   ============================================ */

/* ---------- Booking Form Card ---------- */
.booking-form-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 30;
}

/* Ensure form sits above the car image */
.aud-slider .img-side-slide {
    z-index: 1 !important;
}

.aud-slider .vertical-middle .container {
    position: relative;
    z-index: 25;
}

/* Prevent hero from clipping the form */
.aud-slider .slider-inner,
.aud-slider .vertical-middle {
    overflow: visible !important;
}

/* Let clicks pass through overlays to the form */
.aud-slider .video-wrap,
.aud-slider .video-overlay,
.aud-slider .img-side-slide {
    pointer-events: none !important;
}

/* Ensure the booking form captures all clicks */
.booking-form-card,
.booking-form-card * {
    pointer-events: auto !important;
}

.booking-tabs {
    display: flex;
    border-bottom: 2px solid #eee;
}

.booking-tab {
    flex: 1;
    padding: 18px 20px;
    background: transparent;
    border: none;
    font-family: "Lato", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #999;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.booking-tab.active {
    color: #222;
}

.booking-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #222;
}

.booking-form {
    padding: 20px 24px 24px;
}

.booking-field {
    display: flex;
    align-items: center;
    background: #f5f5f7;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 12px;
    gap: 14px;
}

.booking-field-icon {
    width: 36px;
    height: 36px;
    background: #e8e8ea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.booking-field-icon i {
    color: #555;
    font-size: 14px;
}

.booking-field-content {
    flex: 1;
    min-width: 0;
}

.booking-field-content label {
    display: block;
    font-family: "Lato", sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #888;
    margin-bottom: 2px;
    text-transform: none;
}

.booking-field-content input,
.booking-field-content select {
    width: 100%;
    border: none;
    background: transparent;
    font-family: "Lato", sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #222;
    outline: none;
    padding: 0;
}

.booking-field-content input::placeholder {
    color: #aaa;
    font-weight: 400;
}

.booking-field-content select {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.booking-note {
    font-family: "Lato", sans-serif;
    font-size: 13px;
    color: #999;
    margin: 4px 0 16px;
    padding: 0;
}

.booking-search-btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #e85d04, var(--aud-color-orange));
    color: #fff;
    font-family: "Lato", sans-serif;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.2s ease;
}

.booking-search-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Flatpickr overrides */
.flatpickr-calendar {
    border-radius: 12px !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25) !important;
    font-family: "Lato", sans-serif !important;
}

.flatpickr-calendar.dark .flatpickr-day.selected,
.flatpickr-calendar.dark .flatpickr-day.selected:hover {
    background: var(--aud-color-orange) !important;
    border-color: var(--aud-color-orange) !important;
}

.flatpickr-calendar.dark .flatpickr-day:hover {
    background: rgba(254, 131, 2, 0.2) !important;
}

.flatpickr-calendar.dark .flatpickr-day.today {
    border-color: var(--aud-color-orange) !important;
}

.booking-field-content input[readonly] {
    cursor: pointer;
}

/* Google Places Autocomplete Element styling */
gmp-place-autocomplete {
    width: 100%;
    --gmpx-color-surface: transparent;
    --gmpx-color-on-surface: #222;
    --gmpx-font-family-base: "Lato", sans-serif;
    --gmpx-font-size-base: 15px;
}

gmp-place-autocomplete::part(input) {
    border: none;
    background: transparent;
    font-family: "Lato", sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #222;
    outline: none;
    padding: 0;
    width: 100%;
}

gmp-place-autocomplete::part(input)::placeholder {
    color: #aaa;
    font-weight: 400;
}

gmp-place-autocomplete::part(predictions) {
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: none;
    z-index: 10000;
}

.booking-field-place .booking-field-content {
    overflow: visible;
}

/* ---------- Hero Section ---------- */
.hero-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 480px;
    line-height: 1.6;
}

.hero-cta-group .btn-outline-light {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    border-radius: 2px;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 16px;
}

.hero-cta-group .btn-outline-light:hover {
    background: #fff;
    color: #000;
}

/* ---------- Trust Bar ---------- */
.trust-bar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: rgba(255, 255, 255, 0.85);
    font-family: "Lato", sans-serif;
    font-size: 14px;
    font-weight: 400;
}

.trust-icon {
    color: var(--aud-color-orange);
    font-size: 18px;
}

.trust-divider {
    width: 1px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.15);
}

/* ---------- Our Services Section ---------- */
.sec-services-new h2 {
    text-transform: uppercase;
}

.service-featured-card {
    padding: 30px;
}

.service-featured-header h3 {
    font-size: 22px;
    color: #fff;
}

.service-mini-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    transition: background 0.3s ease;
}

.service-mini-card:hover {
    background: rgba(255, 255, 255, 0.1);
}

.service-mini-card h5 {
    font-size: 14px;
    color: #fff;
    font-family: "Lato", sans-serif;
}

.service-mini-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    line-height: 1.5;
}

/* ---------- Fleet Cards ---------- */
.fleet-card-new {
    background: var(--aud-bg-secondary-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fleet-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.fleet-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.fleet-card-body {
    padding: 20px;
}

.fleet-card-body h4 {
    font-family: 'Optima', sans-serif;
    font-size: 18px;
    color: #fff;
}

.fleet-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
}

.fleet-specs li {
    font-family: "Lato", sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    padding: 3px 0;
}

.fleet-specs li i {
    color: var(--aud-color-orange);
    width: 20px;
    margin-right: 5px;
    font-size: 12px;
}

.fleet-card-body .btn-sm {
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 4px;
    text-align: center;
}

.fleet-card-img[src$=".png"] {
    object-fit: contain;
    background: #111;
    padding: 10px;
}

/* ---------- Special Trips ---------- */
.sec-special-trips h2 {
    text-transform: uppercase;
}

.trip-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 350px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.trip-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.trip-card-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    width: 100%;
}

.trip-icon-badge {
    width: 50px;
    height: 50px;
    background: var(--aud-color-orange);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 20px;
    color: #fff;
}

.trip-icon-badge.trip-flag {
    font-size: 28px;
    background: rgba(255, 255, 255, 0.15);
}

.trip-card h4 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 10px;
}

.trip-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.btn-outline-orange {
    background: transparent;
    border: 2px solid var(--aud-color-orange);
    color: var(--aud-color-orange);
    border-radius: 4px;
    font-family: "Lato", sans-serif;
}

.btn-outline-orange:hover {
    background: var(--aud-color-orange);
    color: #fff;
}

/* ---------- Why Clients Choose Us ---------- */
.why-choose-section {
    padding: 30px;
}

.why-feature-item {
    padding: 20px 10px;
}

.why-feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(254, 131, 2, 0.1);
    border: 1px solid rgba(254, 131, 2, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px auto;
}

.why-feature-icon img {
    max-width: 35px;
    max-height: 35px;
}

.why-feature-item p {
    font-family: "Lato", sans-serif;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    line-height: 1.4;
}

.why-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.why-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: background 0.3s ease;
    cursor: pointer;
}

.why-dots .dot.active {
    background: var(--aud-color-orange);
}

/* ---------- Book Your Ride CTA ---------- */
.sec-book-cta .book-cta-icon {
    font-size: 40px;
}

.sec-book-cta .btn-outline-light {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    border-radius: 2px;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 16px;
}

.sec-book-cta .btn-outline-light:hover {
    background: #fff;
    color: #000;
}

/* ---------- Corporate Card ---------- */
.corporate-card {
    border-radius: 20px;
    overflow: hidden;
    background: var(--aud-bg-secondary-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.corporate-card-inner {
    display: flex;
    align-items: stretch;
}

.corporate-card-img {
    width: 50%;
    object-fit: cover;
    min-height: 280px;
}

.corporate-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
}

.corporate-card-content .stars {
    color: var(--aud-color-orange);
    font-size: 16px;
}

.corporate-card-content h3 {
    color: #fff;
    font-size: 22px;
    line-height: 1.3;
}

.corporate-card-content p {
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   Responsive Styles
   ============================================ */

/* Tablets */
@media (min-width: 768px) and (max-width: 1024px) {
    .trust-item {
        padding: 8px 12px;
        font-size: 12px;
    }

    .trust-divider {
        display: none;
    }

    .fleet-card-img {
        height: 150px;
    }

    .trip-card {
        min-height: 280px;
    }

    .corporate-card-inner {
        flex-direction: column;
    }

    .corporate-card-img {
        width: 100%;
        min-height: 200px;
    }

    .corporate-card-content {
        width: 100%;
    }
}

/* Mobile - Flipcard touch support */
@media (hover: none) {
    .fleet-flipcard {
        cursor: pointer;
    }
    .fleet-flipcard.flipped .fleet-flipcard-inner {
        transform: rotateY(180deg);
    }
}

/* Mobile */
@media only screen and (max-width: 767px) {
    .booking-form-card {
        margin-top: 30px;
    }

    .booking-tab {
        font-size: 14px;
        padding: 14px 16px;
    }

    .booking-form {
        padding: 16px 18px 20px;
    }

    .booking-field {
        padding: 12px 14px;
    }

    .trust-bar .row {
        flex-wrap: wrap;
        justify-content: center;
    }

    .trust-item {
        padding: 6px 10px;
        font-size: 12px;
    }

    .trust-divider {
        display: none;
    }

    .service-featured-card {
        padding: 20px;
    }

    .fleet-card-new {
        max-width: 100%;
    }

    .fleet-card-img {
        height: 200px;
    }

    .fleet-flipcard {
        height: 380px;
    }

    .trip-card {
        min-height: 280px;
    }

    .why-choose-section {
        padding: 20px 10px;
    }

    .corporate-card-inner {
        flex-direction: column;
    }

    .corporate-card-img {
        width: 100%;
        min-height: 200px;
    }

    .corporate-card-content {
        width: 100%;
        padding: 20px;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .sec-book-cta .d-flex {
        justify-content: center;
    }
}

/* ---------- Fleet Flipcard (Services Page) ---------- */
.fleet-flipcard {
    perspective: 1000px;
    height: 420px;
    cursor: pointer;
}

.fleet-flipcard-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
}

.fleet-flipcard:hover .fleet-flipcard-inner {
    transform: rotateY(180deg);
}

.fleet-flipcard-front,
.fleet-flipcard-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 16px;
    overflow: hidden;
}

.fleet-flipcard-front {
    background: var(--aud-bg-secondary-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
}

.fleet-flipcard-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.fleet-flipcard-img[src$=".png"] {
    object-fit: contain;
    background: #111;
    padding: 10px;
}

.fleet-flipcard-info {
    padding: 20px;
}

.fleet-flipcard-info h4 {
    font-family: 'Optima', sans-serif;
    font-size: 18px;
    color: #fff;
}

.fleet-flipcard-info .sub-text {
    font-family: "Lato", sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.fleet-flipcard-specs {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fleet-flipcard-specs li {
    font-family: "Lato", sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    padding: 3px 0;
}

.fleet-flipcard-specs li i {
    color: var(--aud-color-orange);
    width: 20px;
    margin-right: 5px;
    font-size: 12px;
}

.fleet-flipcard-back {
    background: linear-gradient(135deg, #0d1820, #132030);
    border: 1px solid rgba(254, 131, 2, 0.3);
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fleet-flipcard-back-content {
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

.fleet-flipcard-back-content h4 {
    font-family: 'Optima', sans-serif;
    font-size: 20px;
    color: #fff;
}

.fleet-flipcard-back-content .sub-text {
    font-family: "Lato", sans-serif;
    font-size: 14px;
    color: var(--aud-color-orange);
}

.fleet-flipcard-desc {
    font-family: "Lato", sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
}

.fleet-flipcard-back .btn-sm {
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 4px;
}

.btn-outline-orange {
    background: transparent;
    border: 2px solid var(--aud-color-orange);
    color: var(--aud-color-orange);
    border-radius: 4px;
    font-family: "Lato", sans-serif;
}

.btn-outline-orange:hover {
    background: var(--aud-color-orange);
    color: #fff;
}

/* Small mobile */
@media (min-width: 320px) and (max-width: 766px) {
    .trust-item span {
        font-size: 11px;
    }

    .fleet-card-body h4 {
        font-size: 16px;
    }
}

/* iPad Pro */
@media only screen and (min-width: 1024px) and (max-width: 1360px) {
    .fleet-card-img {
        height: 160px;
    }

    .service-featured-card {
        padding: 25px;
    }
}
