/* =====================================================
   CITY TAXI STRIP
   LEISURE TRAVELS INDIA
   ===================================================== */

.city-taxi-strip {
    width: 100%;
    padding: 28px 0;

    background: #000000;

    overflow: hidden;
}

.city-taxi-container {
    width: 92%;
    max-width: 1180px;

    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}


/* =====================================================
   CARD
   ===================================================== */

.city-taxi-card {
    position: relative;

    height: 155px;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    overflow: hidden;

    border-radius: 12px;

    text-decoration: none;

    background: #111;

    border: 1px solid rgba(212, 175, 55, 0.18);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}


.city-taxi-card img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform 0.45s ease;
}


/* =====================================================
   DARK IMAGE OVERLAY
   ===================================================== */

.city-taxi-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.82),
            rgba(0, 0, 0, 0.15)
        );

    z-index: 1;
}


/* =====================================================
   CITY NAME
   ===================================================== */

.city-taxi-card h3 {
    position: relative;

    z-index: 2;

    width: 82%;

    margin: 0 0 14px;

    padding: 8px 10px;

    text-align: center;

    color: #D4AF37;

    background: rgba(0, 0, 0, 0.62);

    border: 1px solid rgba(212, 175, 55, 0.20);

    border-radius: 5px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 16px;

    font-weight: 700;

    line-height: 1.2;

    letter-spacing: 0.3px;
}


/* =====================================================
   HOVER
   ===================================================== */

.city-taxi-card:hover {
    transform: translateY(-4px);

    border-color: #D4AF37;
}


.city-taxi-card:hover img {
    transform: scale(1.07);
}


.city-taxi-card:hover h3 {
    color: #FFD84D;

    border-color: rgba(212, 175, 55, 0.55);
}


/* =====================================================
   TABLET
   ===================================================== */

@media screen and (max-width: 800px) {

    .city-taxi-container {
        width: 92%;

        grid-template-columns:
            repeat(2, 1fr);

        gap: 14px;
    }

    .city-taxi-card {
        height: 135px;
    }

    .city-taxi-card h3 {
        font-size: 14px;

        margin-bottom: 11px;
    }
}


/* =====================================================
   MOBILE
   ===================================================== */

@media screen and (max-width: 480px) {

    .city-taxi-strip {
        padding: 20px 0;
    }

    .city-taxi-container {
        width: 91%;

        grid-template-columns:
            repeat(2, 1fr);

        gap: 10px;
    }

    .city-taxi-card {
        height: 105px;

        border-radius: 9px;
    }

    .city-taxi-card h3 {
        width: 88%;

        margin-bottom: 8px;

        padding: 6px 4px;

        font-size: 11px;

        letter-spacing: 0.2px;
    }
}


/* =====================================================
   VERY SMALL PHONES
   ===================================================== */

@media screen and (max-width: 360px) {

    .city-taxi-container {
        gap: 8px;
    }

    .city-taxi-card {
        height: 92px;
    }

    .city-taxi-card h3 {
        font-size: 10px;

        padding: 5px 3px;
    }
}