/* ================================
   JAWAISTAY TAXI
   ================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;

    background: #eee8dc;
    color: #25231f;

    font-family: Arial, Helvetica, sans-serif;
}


/* ================================
   PAGE
   ================================ */

.taxi-page {
    padding: 30px 5vw 100px;
}


/* ================================
   BACK
   ================================ */

.back-link {
    display: inline-block;

    color: #25231f;
    text-decoration: none;

    font-size: 12px;
    letter-spacing: 1px;

    margin-bottom: 25px;

    transition: opacity 0.3s ease;
}

.back-link:hover {
    opacity: 0.5;
}


/* ================================
   HERO
   ================================ */
/* 
.taxi-hero {
    position: relative;

    min-height: 78vh;

    display: flex;
    align-items: flex-end;

    overflow: hidden;

    background-image: url("../images/car/taxi-bg.png");
    background-size: cover;
    background-position: center;
}

.taxi-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.78),
            rgba(0, 0, 0, 0.15) 65%,
            rgba(0, 0, 0, 0.3)
        );
}

.taxi-hero-content {
    position: relative;
    z-index: 2;

    color: #f5f0e6;

    padding: 70px 6vw;

    max-width: 900px;
}

.royal-label {
    font-size: 10px;
    letter-spacing: 4px;

    opacity: 0.75;

    margin-bottom: 25px;
}

.taxi-hero h1 {
    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(60px, 9vw, 125px);

    font-weight: 400;

    line-height: 0.88;

    letter-spacing: -5px;
}

.hero-line {
    width: 100px;
    height: 1px;

    background: rgba(255, 255, 255, 0.6);

    margin: 35px 0 25px;
}

.hero-description {
    max-width: 440px;

    font-size: 16px;

    line-height: 1.7;

    opacity: 0.8;
}

.hero-services {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 35px;
}

.hero-services span {
    border: 1px solid rgba(255, 255, 255, 0.35);

    padding: 9px 14px;

    font-size: 9px;

    letter-spacing: 1.5px;
} */


/* ================================
   INTRO
   ================================ */

.taxi-intro {
    padding: 30px 0 110px;

    max-width: 900px;
}

.section-label {
    font-size: 10px;

    letter-spacing: 4px;

    opacity: 0.55;

    margin-bottom: 25px;
}

.taxi-intro h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(55px, 7vw, 100px);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: -4px;
}

.vehicle-heading h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 4vw, 50px);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: -3px;
}

.intro-text {
    max-width: 470px;

    margin-top: 35px;

    font-size: 17px;

    line-height: 1.8;

    color: #676259;
}


/* ================================
   VEHICLE SECTION
   ================================ */

.vehicle-section {
    padding-bottom: 20px;
}

.vehicle-heading {
    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    margin-bottom: 50px;
}

.fleet-note {
    max-width: 220px;

    font-size: 13px;

    line-height: 1.6;

    color: #716e65;
}

.fleet-whatsapp {
    display: inline-block;

    padding: 14px 24px;

    background: #c8f7d2;
    border: 1px solid #9edfac;
    border-radius: 30px;

    color: #173d24;
    text-decoration: none;

    font-size: 13px;
    font-weight: 600;

    transition: all 0.3s ease;
}

.fleet-whatsapp:hover {
    background: #a9edb8;
    color: #173d24;
}

/* ================================
   VEHICLE WINDOW
   ================================ */

.vehicle-window {
    background: #20201d;

    padding: 16px;

    border-radius: 2px;

    color: #f3eee4;

    overflow: hidden;
}

.vehicle-window-top,
.vehicle-window-bottom {
    display: flex;

    justify-content: space-between;

    padding: 4px 6px 16px;

    font-size: 9px;

    letter-spacing: 2px;

    opacity: 0.55;
}

.vehicle-window-bottom {
    padding: 16px 6px 4px;
}


/* ================================
   SLIDER
   ================================ */

.vehicle-slider {
    width: 100%;

    overflow: hidden;
}

.vehicle-track {
    display: flex;

    gap: 16px;

    width: max-content;

    animation: taxiSlider 38s linear infinite;
}

.vehicle-track:hover {
    animation-play-state: paused;
}


/* ================================
   VEHICLE CARD
   ================================ */

.vehicle-card {
    position: relative;

    width: min(52vw, 700px);

    height: 500px;

    flex-shrink: 0;

    overflow: hidden;
}

.vehicle-card img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.8s ease;
}

.vehicle-card:hover img {
    transform: scale(1.035);
}

.vehicle-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.82),
            transparent 65%
        );
}

.vehicle-info {
    position: absolute;

    left: 30px;
    right: 30px;
    bottom: 30px;

    z-index: 2;
}

.vehicle-info span {
    display: block;

    font-size: 10px;

    letter-spacing: 2px;

    opacity: 0.6;

    margin-bottom: 12px;
}

.vehicle-info h3 {
    font-family: Georgia, "Times New Roman", serif;

    font-size: 38px;

    font-weight: 400;

    margin-bottom: 8px;
}

.vehicle-info p {
    max-width: 330px;

    font-size: 13px;

    line-height: 1.6;

    opacity: 0.75;
}


/* ================================
   SLIDER ANIMATION
   ================================ */

@keyframes taxiSlider {

    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 8px));
    }

}


/* ================================
   JOURNEY SERVICES
   ================================ */

.journey-section {
    padding: 80px 0 120px;
}

.journey-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.journey-card {
    border-top: 1px solid rgba(37, 35, 31, 0.25);

    padding-top: 20px;
}

.journey-card > span {
    font-size: 10px;

    letter-spacing: 2px;

    opacity: 0.45;
}

.journey-card h3 {
    font-family: Georgia, "Times New Roman", serif;

    font-size: 30px;

    font-weight: 400;

    margin: 45px 0 15px;
}

.journey-card p {
    max-width: 300px;

    color: #69655d;

    font-size: 14px;

    line-height: 1.7;
}


/* ================================
   CTA
   ================================ */

.taxi-cta {
    min-height: 55vh;

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 40px;

    padding: 70px 6vw;

    color: #f3eee4;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.58),
            rgba(0, 0, 0, 0.7)
        ),
        url("../images/car/dam.png");

    background-size: cover;

    background-position: center;
}

.taxi-cta h2 {
    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(60px, 8vw, 110px);

    font-weight: 400;

    line-height: 0.85;

    letter-spacing: -5px;
}

.book-button {
    display: inline-block;

    padding: 17px 26px;

    border: 1px solid rgba(255, 255, 255, 0.55);

    border-radius: 50px;

    color: #fff;

    text-decoration: none;

    font-size: 12px;

    letter-spacing: 0.5px;

    transition:
        background 0.3s ease,
        color 0.3s ease;
}

.book-button:hover {
    background: #fff;

    color: #222;
}


/* ================================
   MOBILE
   ================================ */

@media (max-width: 768px) {

    .taxi-page {
        padding: 20px 4vw 70px;
    }

    .back-link {
        margin-bottom: 20px;
    }

    .taxi-hero {
        min-height: 75vh;

        background-position: center;
    }

    .taxi-hero-content {
        padding: 45px 7vw;
    }

    .taxi-hero h1 {
        font-size: clamp(52px, 15vw, 78px);

        letter-spacing: -3px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-services {
        gap: 7px;
    }

    .hero-services span {
        font-size: 8px;

        padding: 8px 10px;
    }

    .taxi-intro {
        padding: 85px 0 80px;
    }

    .taxi-intro h2 {
        font-family: Georgia, "Times New Roman", serif;
        font-size: clamp(55px, 7vw, 100px);
        font-weight: 400;
        line-height: 0.9;
        letter-spacing: -4px;
    }

    .vehicle-heading h2 {
        font-family: Georgia, "Times New Roman", serif;
        font-size: clamp(40px, 4.5vw, 65px);
        font-weight: 400;
        line-height: 0.9;
        letter-spacing: -3px;
    }

    .intro-text {
        font-size: 15px;
    }

    .vehicle-heading {
        display: block;
    }

    .fleet-whatsapp {
        display: inline-block;
        margin-top: 25px;
    }

    /* .vehicle-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    } */

    .vehicle-card {
        width: 88vw;
        height: 430px;
    }

    .vehicle-info {
        left: 22px;
        right: 22px;
        bottom: 23px;
    }

    .vehicle-info h3 {
        font-size: 31px;
    }

    .vehicle-window {
        padding: 11px;
    }

    .journey-section {
        padding: 60px 0 80px;
    }

    .journey-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .journey-card h3 {
        margin-top: 25px;
    }

    .taxi-cta {
        min-height: 65vh;

        flex-direction: column;

        align-items: flex-start;

        justify-content: flex-end;

        padding: 50px 7vw;
    }

    .taxi-cta h2 {
        font-size: clamp(55px, 15vw, 80px);

        letter-spacing: -3px;
    }

    @media (max-width: 768px) {

        .vehicle-heading {
            margin-bottom: 25px;
        }

    }
}