/* === Taxi Services Slider === */
:root {
    --accent: #f5c518;
    --dark: #1a1a1a;
    --card-radius: 16px;
}

.taxi-slider-section {
    padding: 40px 20px 50px;
    background: #f5f5f0;
    font-family: 'Georgia', serif;
}

/* Swiper container */
.taxi-swiper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 60px 20px !important;
    box-sizing: border-box;
}

/* Individual slide */
.taxi-slide {
    height: auto;
}

/* Card wrapper */
.taxi-card {
    border-radius: var(--card-radius);
    overflow: visible;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Image area */
.taxi-card__image {
    position: relative;
    height: 260px;
    background-size: cover;
    background-position: center;
    border-radius: var(--card-radius) var(--card-radius) 0 0;
    overflow: hidden;
    z-index: 1;
}

.taxi-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.08) 0%,
        rgba(0,0,0,0.55) 100%
    );
}

.taxi-card__title {
    position: absolute;
    bottom: 16px;
    left: 18px;
    right: 18px;
    margin: 0;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.2;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
    font-family: 'Georgia', serif;
}

/* Body / text area — the yellow card */
.taxi-card__body {
    background: var(--accent);
    border-radius: 0 0 var(--card-radius) var(--card-radius);
    padding: 20px 18px 22px;
    position: relative;
    /* overlap up over the image bottom */
    margin-top: -10px;
    z-index: 2;
    box-shadow: 0 6px 24px rgba(0,0,0,0.13);
}

/* Dark inner box for description text */
.taxi-card__body p {
    background: rgba(20, 20, 20, 0.88);
    color: #fff;
    font-size: 0.88rem;
    line-height: 1.65;
    margin: 0;
    padding: 14px 16px;
    border-radius: 10px;
    font-family: 'Helvetica Neue', sans-serif;
}

/* === Navigation Arrows === */
.taxi-btn-prev,
.taxi-btn-next {
    position: absolute;
    top: 50%;
    transform: translateY(-60%);
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.85);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.6rem;
    color: #333;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    transition: background 0.2s, color 0.2s;
    user-select: none;
    /* override Swiper defaults */
    color: #333 !important;
}

.taxi-btn-prev::after,
.taxi-btn-next::after {
    display: none !important;
}

.taxi-btn-prev {
    left: 8px;
}

.taxi-btn-next {
    right: 8px;
}

.taxi-btn-prev:hover,
.taxi-btn-next:hover {
    background: var(--accent);
    color: #1a1a1a !important;
}

/* === CTA Button === */
.taxi-slider-cta {
    text-align: center;
    margin-top: 36px;
}

.taxi-cta-btn {
    display: inline-block;
    background: var(--accent);
    color: #1a1a1a;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 40px;
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 18px rgba(245, 197, 24, 0.35);
    font-family: 'Helvetica Neue', sans-serif;
}

.taxi-cta-btn:hover {
    background: #e0b400;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(245, 197, 24, 0.45);
    color: #1a1a1a;
}

/* === Responsive === */
@media (max-width: 768px) {
    .taxi-swiper {
        padding: 10px 50px 20px !important;
    }

    .taxi-card__image {
        height: 200px;
    }

    .taxi-card__title {
        font-size: 1.15rem;
    }
}

@media (max-width: 480px) {
    .taxi-swiper {
        padding: 10px 40px 20px !important;
    }
}
