/* ===============================
   QuettaTaxiBooking - style.css
   Main Website Styles
================================ */


/* ===============================
   GLOBAL
================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #f4f7fb;
    color: #333;
    line-height: 1.6;
}


/* ===============================
   HEADER
================================ */

header {
    background: #003366;
    color: #fff;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 15px 8%;

    position: sticky;
    top: 0;

    z-index: 1000;
}

.logo h2 {
    color: #FFD700;
}


/* ===============================
   NAVIGATION
================================ */

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;

    transition: 0.3s;
}

nav ul li a:hover {
    color: #FFD700;
}


/* ===============================
   HERO
================================ */

.hero {

    min-height: 500px;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.60),
            rgba(0, 0, 0, 0.60)
        ),
        url("../images/banner.jpg");

    background-size: cover;
    background-position: center;

    display: flex;

    justify-content: center;
    align-items: center;

    text-align: center;

    color: white;

    padding: 40px 20px;
}


/* Hero Content */

.hero-content {

    max-width: 800px;

    padding: 20px;
}


.hero h1 {

    font-size: 50px;

    margin-bottom: 20px;

    color: #FFD700;
}


.hero p {

    font-size: 19px;

    max-width: 750px;

    margin: 0 auto 15px;

}


/* ===============================
   MAIN BUTTON
================================ */

.login-btn {

    display: inline-block;

    background: #FFD700;

    color: #003366;

    text-decoration: none;

    padding: 14px 30px;

    border-radius: 8px;

    border: none;

    font-size: 17px;

    font-weight: bold;

    cursor: pointer;

    margin-top: 15px;

    transition: 0.3s;
}


.login-btn:hover {

    background: #ffbf00;

    transform: translateY(-2px);

}


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

.services {

    padding: 65px 8%;

    background: #f4f7fb;
}


.services > h2 {

    text-align: center;

    color: #003366;

    font-size: 32px;

    margin-bottom: 40px;
}


/* Service Grid */

.service-grid {

    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(230px, 1fr)
        );

    gap: 25px;

    max-width: 1200px;

    margin: auto;
}


/* Service Card */

.service-card {

    background: white;

    padding: 30px 25px;

    border-radius: 12px;

    text-align: center;

    box-shadow:
        0 5px 15px
        rgba(0, 0, 0, 0.10);

    transition: 0.3s;
}


.service-card:hover {

    transform: translateY(-7px);

    box-shadow:
        0 8px 20px
        rgba(0, 0, 0, 0.15);
}


.service-card h3 {

    color: #003366;

    margin-bottom: 15px;

    font-size: 21px;
}


.service-card p {

    color: #555;

    font-size: 15px;
}


/* ===============================
   HOW IT WORKS
================================ */

.how-it-works {

    background: white;

    padding: 65px 8%;
}


.how-it-works > h2 {

    text-align: center;

    color: #003366;

    font-size: 32px;

    margin-bottom: 45px;
}


/* Steps */

.steps {

    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(200px, 1fr)
        );

    gap: 30px;
}


.step {

    text-align: center;

    padding: 20px;
}


.step span {

    display: flex;

    width: 55px;

    height: 55px;

    margin: 0 auto 15px;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #003366;

    color: #FFD700;

    font-size: 23px;

    font-weight: bold;
}


.step h3 {

    color: #003366;

    margin-bottom: 10px;
}


.step p {

    color: #555;

    font-size: 15px;
}


/* ===============================
   BOOK NOW SECTION
================================ */

.book-now {

    background: #003366;

    color: white;

    text-align: center;

    padding: 65px 20px;
}


.book-now h2 {

    font-size: 32px;

    margin-bottom: 10px;

    color: #FFD700;
}


.book-now p {

    font-size: 18px;

    margin-bottom: 15px;
}


/* ===============================
   BOOKING SEARCH
================================ */

.booking-search {

    width: 90%;

    max-width: 1000px;

    margin: 50px auto;

    background: white;

    padding: 30px;

    border-radius: 10px;

    box-shadow:
        0 5px 15px
        rgba(0, 0, 0, 0.1);
}


.booking-search h2 {

    text-align: center;

    margin-bottom: 20px;

    color: #003366;
}


.booking-search form {

    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(200px, 1fr)
        );

    gap: 15px;
}


.booking-search label {

    font-weight: bold;
}


.booking-search input,
.booking-search select {

    width: 100%;

    padding: 12px;

    border: 1px solid #ccc;

    border-radius: 6px;
}


.booking-search button {

    background: #003366;

    color: white;

    border: none;

    padding: 12px;

    border-radius: 6px;

    cursor: pointer;

    font-size: 16px;
}


.booking-search button:hover {

    background: #004c99;
}


/* ===============================
   FLEET
================================ */

.fleet {

    padding: 60px 8%;
}


.fleet h2 {

    text-align: center;

    margin-bottom: 35px;

    color: #003366;
}


.cars {

    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(250px, 1fr)
        );

    gap: 25px;
}


.car {

    background: white;

    border-radius: 10px;

    overflow: hidden;

    box-shadow:
        0 5px 12px
        rgba(0, 0, 0, 0.12);

    transition: 0.3s;

    text-align: center;
}


.car:hover {

    transform: translateY(-8px);
}


.car img {

    width: 100%;

    height: 180px;

    object-fit: cover;
}


.car h3 {

    color: #003366;

    margin: 15px 0 10px;
}


.car p {

    margin-bottom: 10px;
}


/* ===============================
   ABOUT
================================ */

.about {

    background: #003366;

    color: white;

    padding: 60px 8%;
}


.about h2 {

    text-align: center;

    margin-bottom: 25px;
}


.about ul {

    max-width: 700px;

    margin: auto;
}


.about li {

    margin: 12px 0;

    font-size: 18px;
}


/* ===============================
   FOOTER
================================ */

footer {

    background: #001d3d;

    color: white;

    text-align: center;

    padding: 20px;
}


footer p {

    margin: 3px 0;
}


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

@media (max-width: 768px) {

    header {

        flex-direction: column;

        padding: 15px 5%;
    }


    .logo {

        margin-bottom: 10px;
    }


    nav ul {

        flex-direction: column;

        align-items: center;

        margin-top: 5px;
    }


    nav ul li {

        margin: 6px 0;
    }


    .hero {

        min-height: 500px;

        padding: 30px 15px;
    }


    .hero h1 {

        font-size: 34px;
    }


    .hero p {

        font-size: 16px;
    }


    .services {

        padding: 45px 5%;
    }


    .services > h2 {

        font-size: 27px;
    }


    .how-it-works {

        padding: 45px 5%;
    }


    .how-it-works > h2 {

        font-size: 27px;
    }


    .book-now h2 {

        font-size: 27px;
    }


    .service-grid {

        grid-template-columns: 1fr;
    }


    .steps {

        grid-template-columns: 1fr;
    }


    .booking-search {

        width: 92%;

        padding: 20px;
    }


    .booking-search form {

        grid-template-columns: 1fr;
    }

}