/* =========================================================
   Reservations – Flight Assistance Website
   Responsive stylesheet
   ========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7fb;
    color: #243447;
    line-height: 1.6;
}

/* =========================================================
   HEADER
   ========================================================= */

header {
    background: linear-gradient(135deg, #123b6d, #1769aa);
    color: #ffffff;
    text-align: center;
    padding: 55px 20px 45px;
}

header h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 14px;
    font-weight: 700;
}

header p {
    font-size: 18px;
    opacity: 0.95;
    max-width: 850px;
    margin: 0 auto;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

nav {
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav a {
    color: #243447;
    text-decoration: none;
    font-weight: 600;
    padding: 18px 22px;
    display: block;
    transition: all 0.25s ease;
    border-bottom: 3px solid transparent;
}

nav a:hover,
nav a.active {
    color: #1769aa;
    border-bottom-color: #1769aa;
    background: #f4f8fc;
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

section {
    max-width: 1150px;
    margin: 0 auto;
    padding: 65px 25px;
}

section h2 {
    color: #123b6d;
    font-size: 30px;
    text-align: center;
    margin-bottom: 28px;
}

section p {
    max-width: 950px;
    margin: 0 auto 18px;
    font-size: 16px;
}


/* =========================================================
   INTRODUCTION
   ========================================================= */

#intro {
    background: #ffffff;
    max-width: 100%;
    text-align: center;
}

#intro p {
    color: #4c5b6b;
}

#intro strong {
    color: #123b6d;
}


/* =========================================================
   SERVICE CARDS
   ========================================================= */

#cars {
    max-width: 1200px;
}

.cars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 35px;
}

.car-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 32px 25px;
    text-align: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
}

.car-card h3 {
    color: #1769aa;
    font-size: 22px;
    margin-bottom: 15px;
}

.car-card p {
    color: #5a6877;
    font-size: 15px;
}

.car-card .price {
    color: #123b6d;
    font-size: 16px;
    font-weight: 700;
    margin-top: 18px;
}


/* =========================================================
   ENQUIRY SECTION
   ========================================================= */

#enquiry {
    max-width: 850px;
}

form {
    background: #ffffff;
    padding: 38px;
    border-radius: 14px;
    border: 1px solid #e1e7ee;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
}

form label {
    display: block;
    color: #243447;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 8px;
    margin-top: 18px;
}

form label:first-child {
    margin-top: 0;
}

form input,
form select,
form textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    padding: 13px 14px;
    font-family: inherit;
    font-size: 15px;
    color: #243447;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

form textarea {
    resize: vertical;
    min-height: 110px;
}

form input:focus,
form select:focus,
form textarea:focus {
    outline: none;
    border-color: #1769aa;
    box-shadow: 0 0 0 3px rgba(23, 105, 170, 0.12);
}

form label:has(input[type="checkbox"]) {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400;
    font-size: 14px;
    color: #5a6877;
    margin-top: 22px;
}

form input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
    flex-shrink: 0;
}

form a {
    color: #1769aa;
    text-decoration: none;
    font-weight: 600;
}

form a:hover {
    text-decoration: underline;
}

form button {
    width: 100%;
    margin-top: 25px;
    padding: 15px 20px;
    border: none;
    border-radius: 7px;
    background: #1769aa;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease;
}

form button:hover {
    background: #123b6d;
    transform: translateY(-1px);
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    background: #102a43;
    color: #d9e2ec;
    text-align: center;
    padding: 45px 20px 90px;
}

footer p {
    margin-bottom: 15px;
    font-size: 14px;
}

footer strong {
    color: #ffffff;
}

footer a {
    color: #d9e2ec;
    text-decoration: none;
}

footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}


/* =========================================================
   STICKY PHONE BAR
   ========================================================= */

.tfn-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;

    background: #123b6d;
    color: #ffffff;

    text-align: center;
    padding: 13px 15px;

    font-size: 18px;
    font-weight: 700;

    box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.15);
}


/* =========================================================
   COOKIE BANNER
   ========================================================= */

.cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 70px;
    z-index: 2500;

    background: #ffffff;
    color: #243447;

    border: 1px solid #d9e2ec;
    border-radius: 10px;

    padding: 16px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.cookie-banner span {
    font-size: 14px;
}

.cookie-banner a {
    color: #1769aa;
    font-weight: 600;
    text-decoration: none;
}

.cookie-banner a:hover {
    text-decoration: underline;
}

.cookie-banner button {
    border: none;
    background: #1769aa;
    color: #ffffff;

    padding: 10px 22px;
    border-radius: 6px;

    font-weight: 700;
    cursor: pointer;

    white-space: nowrap;
}

.cookie-banner button:hover {
    background: #123b6d;
}


/* =========================================================
   TABLETS
   ========================================================= */

@media (max-width: 900px) {

    header h1 {
        font-size: 34px;
    }

    .cars {
        grid-template-columns: repeat(2, 1fr);
    }

    nav {
        flex-wrap: wrap;
    }

    nav a {
        padding: 14px 16px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    header {
        padding: 40px 18px 35px;
    }

    header h1 {
        font-size: 28px;
    }

    header p {
        font-size: 16px;
    }

    nav {
        position: relative;
        gap: 0;
        padding: 0;
    }

    nav a {
        width: 50%;
        text-align: center;
        padding: 13px 8px;
        font-size: 14px;
    }

    section {
        padding: 45px 18px;
    }

    section h2 {
        font-size: 26px;
    }

    .cars {
        grid-template-columns: 1fr;
    }

    form {
        padding: 25px 20px;
    }

    .cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 65px;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .cookie-banner button {
        width: 100%;
    }

    .tfn-bar {
        font-size: 16px;
        padding: 12px;
    }

}


/* =========================================================
   SMALL MOBILE DEVICES
   ========================================================= */

@media (max-width: 400px) {

    header h1 {
        font-size: 25px;
    }

    nav a {
        font-size: 13px;
    }

    section h2 {
        font-size: 23px;
    }

    form {
        padding: 20px 15px;
    }

}
