.mb-vehicle-showcase{
    padding: 0 50px;
}

.mb-vehicle-slide{
    max-width: 1440px;
    position: relative;
}

.mb-vehicle-slide h2,
.mb-vehicle-slide p{
    margin-bottom: 0;
}

.mb-vehicle-image{
    display: flex;
    justify-content: center;
    background: no-repeat;
    background-position: center;
    height: 100%;
    width: 100%;
    position: relative;
    overflow: visible; /* Allow overlay to extend beyond image */
}

.mb-vehicle-image img{
    width: 100%;
    height: 500px;
    object-fit: contain;
}

.mb-vehicle-info{
    display: flex;
    align-items: center;
    flex-direction: row;
    width: fit-content;
    text-align: center;
    padding: 20px;
    color: white;
    border: 1px solid rgba(245, 245, 245, 1);
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.mb-vehicle-details{
    font-family: Big Caslon, serif;
    font-weight: 500;
    font-size: 30px;
    border-right: 1px solid rgba(245, 245, 245, 1);
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 10px;
}

.mb-vehicle-capacity{
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 10px;
}

.mb-vehicle-details h2,
.mb-vehicle-capacity h2{
    font-family: Big Caslon, serif;
    font-weight: 500;
    font-size: 24px;
}

.mb-vehicle-details p,
.mb-vehicle-capacity p{
    font-family: Poppins, sans-serif;
    font-weight: 300;
    font-size: 16px;
}
.mb-vehicle-capacity h2{
    font-family: Big Caslon, serif;
    font-weight: 500;
    font-size: 24px;
}

.slick-prev,
.slick-next{
    width: 40px !important;
    height: 40px !important;
    z-index: 1000;
    border: none;
    border-radius: 0;
    background-color: transparent;
    backdrop-filter: none;
}

.slick-prev{
    left: 100px !important;
}

.slick-next{
    right: 100px !important;
}

.slick-prev:before,
.slick-next:before{
    content: '' !important;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 50%;
    opacity: 1 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.slick-prev:before{
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15,18 9,12 15,6'%3E%3C/polyline%3E%3C/svg%3E") !important;
}

.slick-next:before{
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9,18 15,12 9,6'%3E%3C/polyline%3E%3C/svg%3E") !important;
}

/* Tablet Styles */
@media (max-width: 1024px) and (min-width: 901px) {
    .mb-vehicle-showcase{
        padding: 0 30px;
    }

    .mb-vehicle-image img{
        height: 400px;
        min-width: 500px;
        max-width: 800px;
        padding: 0 40px;
    }

    .mb-vehicle-info{
        bottom: 15px;
        padding: 15px;
    }

    .mb-vehicle-details{
        padding: 0 25px;
        font-size: 24px;
    }

    .mb-vehicle-capacity{
        padding: 0 25px;
    }

    .mb-vehicle-details h2,
    .mb-vehicle-capacity h2{
        font-size: 20px;
    }

    .mb-vehicle-details p,
    .mb-vehicle-capacity p{
        font-size: 14px;
    }

    .slick-prev{
        left: 50px !important;
    }

    .slick-next{
        right: 50px !important;
    }
}

/* iPad Mini / Small Tablet Styles */
@media (max-width: 900px) and (min-width: 768px) {
    .mb-vehicle-showcase{
        padding: 0 20px;
    }

    .mb-vehicle-slide{
        padding-bottom: 50px;
    }

    .mb-vehicle-image img{
        height: 350px;
        width: 100%;
        max-width: 500px;
        object-fit: contain;
    }

    .mb-vehicle-info{
        padding: 18px;
        width: fit-content;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
    }

    .mb-vehicle-details{
        border-right: 1px solid rgba(245, 245, 245, 1);
        padding: 0 30px;
        font-size: 22px;
    }

    .mb-vehicle-capacity{
        padding: 0 30px;
    }

    .mb-vehicle-details h2,
    .mb-vehicle-capacity h2{
        font-size: 18px;
    }

    .mb-vehicle-details p,
    .mb-vehicle-capacity p{
        font-size: 14px;
    }

    .slick-prev{
        left: 30px !important;
    }

    .slick-next{
        right: 30px !important;
    }
}

/* Mobile Styles */
@media (max-width: 767px) {
    .mb-vehicle-showcase{
        padding: 0 15px;
        overflow: visible; /* Ensure showcase doesn't clip */
    }

    .mb-vehicle-slide{
        padding-bottom: 140px; /* Increase space for mobile overlay */
        overflow: visible; /* Ensure slide doesn't clip */
    }

    .mb-vehicle-image{
        overflow: visible; /* Ensure overlay can extend beyond image */
    }

    .mb-vehicle-image img{
        height: 280px;
        min-width: 250px;
        max-width: 300px;
        padding: 0 20px;
    }

    .mb-vehicle-info{
        flex-direction: column;
        bottom: 10px; /* Move up from negative value */
        padding: 15px;
        width: 60%;
        margin-bottom: 20px; /* Add margin for extra safety */
    }

    .mb-vehicle-details{
        border-right: none;
        border-bottom: 1px solid rgba(245, 245, 245, 1);
        padding: 0 0 15px 0;
        font-size: 20px;
    }

    .mb-vehicle-capacity{
        padding: 15px 0 0 0;
    }

    .mb-vehicle-details h2,
    .mb-vehicle-capacity h2{
        font-size: 18px;
    }

    .mb-vehicle-details p,
    .mb-vehicle-capacity p{
        font-size: 12px;
    }

    .slick-prev{
        left: -5px !important;
    }

    .slick-next{
        right: -20px !important;
    }

    .slick-prev:before,
    .slick-next:before{
        width: 25px;
        height: 25px;
        background-size: 15px 15px;
    }
}

