/* ==========================================================================
   VIZAGLO — MODULAR COMPONENT: VEHICLES SHOWCASE & FLEET CAROUSEL
   Full Swiper.js Touch-Slider Support, Zero Slide Cutoff, and High-Conversion Cards
   ========================================================================== */

.section-vehicles-showcase {
    position: relative;
    overflow: hidden;
}

/* Swiper Container & Wrapper Safety */
.swiper-container-wrap {
    position: relative;
    width: 100%;
    margin: 24px 0 16px;
    padding: 0 4px;
}

.vehicles-swiper,
.trips-swiper {
    width: 100%;
    padding: 12px 6px 42px 6px !important;
    overflow: hidden !important;
}

/* Swiper wrapper must strictly be flex, never CSS grid! */
.vehicles-swiper .swiper-wrapper,
.trips-swiper .swiper-wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

.vehicles-swiper .swiper-slide,
.trips-swiper .swiper-slide {
    height: auto !important;
    display: flex !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
}

/* Vehicle Preview Card */
.vehicle-card-preview {
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}

.vehicle-card-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(0, 119, 182, 0.12);
    border-color: #90E0EF;
}

/* Card Image Header */
.veh-card-img {
    position: relative;
    height: 160px;
    background: linear-gradient(135deg, #0077B6, #00B8D9);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 12px;
}

.veh-type-badge {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.badge-self {
    background: #10B981;
    color: #FFFFFF;
}

.badge-chau {
    background: #0077B6;
    color: #FFFFFF;
}

/* Card Body */
.veh-card-body {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.veh-card-body h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0F172A;
    margin: 0 0 10px;
    line-height: 1.3;
}

/* Spec Pills */
.veh-meta-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.pill-spec {
    display: inline-flex;
    align-items: center;
    background: #F1F5F9;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
}

.veh-use-desc {
    font-size: 0.8125rem;
    color: #64748B;
    line-height: 1.5;
    margin: 0 0 16px;
    flex-grow: 1;
}

/* Pricing Row & Quote Button */
.veh-pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 14px;
    border-top: 1px solid #F1F5F9;
    gap: 12px;
}

.rate-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94A3B8;
    margin-bottom: 2px;
}

.rate-value {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0077B6;
    display: block;
}

.btn-quote-veh {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    background: linear-gradient(135deg, #FFB703 0%, #FB8500 100%);
    color: #0F172A;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.18s ease;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(251, 133, 0, 0.25);
}

.btn-quote-veh:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 133, 0, 0.35);
    color: #000000;
}

/* Swiper Pagination Dots */
.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #CBD5E1;
    opacity: 1;
    transition: all 0.25s ease;
}

.swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 4px;
    background: #0077B6 !important;
}
