/* Our Fleet Carousel Section - Redesigned to match Services */
.fleet-section {
    padding: 90px 0;
    background-color: #f7f8f9;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    /* Diagonal diamond grid pattern overlay */
    background-image: 
        repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.015) 0px, rgba(0, 0, 0, 0.015) 1px, transparent 1px, transparent 36px),
        repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.015) 0px, rgba(0, 0, 0, 0.015) 1px, transparent 1px, transparent 36px);
}

/* Checkered taxi border on left edge */
.fleet-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 16px;
    height: 100%;
    z-index: 10;
    background: conic-gradient(#111 25%, #ffcc00 0 50%, #111 0 75%, #ffcc00 0) 0 0 / 16px 16px;
    box-shadow: 2px 0 10px rgba(0,0,0,0.05);
}

/* Checkered taxi border on right edge */
.fleet-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 16px;
    height: 100%;
    z-index: 10;
    background: conic-gradient(#111 25%, #ffcc00 0 50%, #111 0 75%, #ffcc00 0) 0 0 / 16px 16px;
    box-shadow: -2px 0 10px rgba(0,0,0,0.05);
}

.fleet-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.fleet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 55px;
}

.fleet-header h2 {
    font-size: 38px;
    font-weight: 850;
    color: #111;
    letter-spacing: -1px;
    margin: 0;
}

.fleet-header h2 span {
    color: #ff9e15; /* Custom brand orange highlight */
}

/* Slider navigation buttons layout */
.fleet-slider-nav {
    display: flex;
    gap: 12px;
}

.fleet-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.fleet-nav-btn:hover {
    background: #ffcc00;
    border-color: #ffcc00;
    color: #111;
    transform: scale(1.05);
}

.fleet-nav-btn:active {
    transform: scale(0.95);
}

/* Slider Track Layout - Native Hardware Acceleration */
.fleet-slider-container {
    width: 100%;
    overflow: visible;
    position: relative;
}

.fleet-slider-track {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    padding-bottom: 10px;
}

.fleet-slider-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Individual Slider Card */
.fleet-slider-card {
    flex: 0 0 calc(25% - 19px); /* exactly 4 cards in viewport */
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: transparent;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.fleet-class-name {
    font-size: 11px;
    font-weight: 800;
    color: #ff9e15;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    display: block;
}

/* Image wrapper with slanted crop mask */
.fleet-img-wrapper {
    width: 100%;
    height: 135px;
    overflow: hidden;
    position: relative;
    clip-path: polygon(0 15%, 100% 0, 100% 85%, 0 100%);
    background-color: transparent;
}

.fleet-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Slanted separator stripe */
.fleet-yellow-bar {
    width: 100%;
    height: 6px;
    background-color: #ffcc00;
    clip-path: polygon(0 15%, 100% 0, 100% 85%, 0 100%);
    margin-top: 8px;
    margin-bottom: 15px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.fleet-card-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fleet-card-seats {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 6px;
}

.fleet-card-seats i {
    color: #94a3b8;
}

.fleet-slider-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: #111;
    margin: 0 0 10px 0;
    letter-spacing: -0.3px;
    transition: color 0.3s ease;
}

.fleet-card-price {
    font-size: 13.5px;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 15px;
}

.price-val {
    color: #ff9e15;
    font-weight: 800;
    font-size: 16px;
}

/* Book button styling */
.fleet-book-btn {
    display: inline-block;
    background-color: #111111;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Hover effects & Micro-animations */
.fleet-slider-card:hover {
    transform: translateY(-4px);
}

.fleet-slider-card:hover .fleet-img-wrapper img {
    transform: scale(1.08);
}

.fleet-slider-card:hover .fleet-yellow-bar {
    background-color: #ff9e15;
    transform: scaleX(1.04);
}

.fleet-slider-card:hover h3 {
    color: #ff9e15;
}

.fleet-slider-card:hover .fleet-book-btn {
    background-color: #ff9e15;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 158, 21, 0.25);
}

/* Responsive breakpoint styling */
@media (max-width: 1200px) {
    .fleet-slider-card {
        flex: 0 0 calc(33.333% - 17px); /* exactly 3 cards in viewport */
    }
    .fleet-img-wrapper {
        height: 145px;
    }
}

@media (max-width: 991px) {
    .fleet-slider-card {
        flex: 0 0 calc(50% - 13px); /* exactly 2 cards in viewport */
    }
    .fleet-header {
        margin-bottom: 45px;
    }
}

@media (max-width: 768px) {
    .fleet-section {
        padding: 70px 0;
    }
    .fleet-section::before,
    .fleet-section::after {
        width: 10px;
        background: conic-gradient(#111 25%, #ffcc00 0 50%, #111 0 75%, #ffcc00 0) 0 0 / 10px 10px;
    }
}

@media (max-width: 576px) {
    .fleet-header {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        text-align: center;
        margin-bottom: 35px;
    }
    .fleet-slider-card {
        flex: 0 0 100%; /* exactly 1 card in viewport */
    }
    .fleet-img-wrapper {
        height: 160px;
    }
}
