﻿/* ==========================================================
   CROWNLINE AIRPORT TRANSFERS
   HOME / QUOTE FORM
   WHITE + GOLD + BLUE PREMIUM THEME
========================================================== */

:root {
    --gold: #C9A227;
    --gold-light: #E0C45C;
    --gold-soft: #F8F1D8;
    --blue: #123B63;
    --blue-light: #EAF2F8;
    --blue-dark: #0B2A47;
    --white: #ffffff;
    --background: #F7F8FA;
    --text: #1F2933;
    --text-light: #667085;
    --border: #E2E6EA;
}


/* ==========================================================
   BODY
========================================================== */

body {
    background: var(--white);
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    color: var(--text);
}


/* ==========================================================
   HERO
========================================================== */

.hero-section {
    min-height: 95vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 24, 39, .60);
}


/* ==========================================================
   HERO CONTENT
========================================================== */

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--white);
}


/* ==========================================================
   HERO BADGE
========================================================== */

.hero-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .2px;
    margin-bottom: 20px;
}


/* ==========================================================
   MAIN HERO HEADING
========================================================== */

.hero-content h1 {
    margin: 0;
    color: var(--white);
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -1.5px;
    white-space: nowrap;
}


/* ==========================================================
   HERO DESCRIPTION
========================================================== */

.hero-content p {
    max-width: 650px;
    margin-top: 24px;
    color: rgba(255, 255, 255, .92);
    font-size: 17px;
    line-height: 1.7;
    font-weight: 400;
}


/* ==========================================================
   HERO FEATURES
========================================================== */

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 35px;
}

    .hero-features div {
        color: var(--white);
        font-size: 15px;
        font-weight: 500;
    }

    .hero-features i {
        color: var(--gold);
        margin-right: 8px;
    }


/* ==========================================================
   HOME QUOTE / BOOKING CARD
========================================================== */

.booking-card {
    position: relative;
    z-index: 20;
    width: 100%;
    box-sizing: border-box;
    padding: 32px;
    background: var(--white) !important;
    border: 1px solid var(--border) !important;
    border-top: 4px solid var(--gold) !important;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(18, 59, 99, .16);
    transition: .3s ease;
}

    .booking-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 25px 60px rgba(18, 59, 99, .20);
    }


/* Keep the shared journey search still on every page. */
#journey-search,
#journey-search *,
#journey-search::before,
#journey-search::after,
#journey-search *::before,
#journey-search *::after {
    animation: none !important;
    transition: none !important;
}

#journey-search,
#journey-search:hover,
#journey-search .return-toggle,
#journey-search .quote-button {
    transform: none !important;
}

/* ==========================================================
   BOOKING HEADER
========================================================== */

.booking-header {
    margin-bottom: 26px;
}

    .booking-header h3 {
        margin: 0 0 7px;
        color: var(--blue) !important;
        font-size: 27px;
        font-weight: 700;
        letter-spacing: -.4px;
    }

        .booking-header h3 i {
            margin-right: 8px;
            color: var(--gold);
        }

    .booking-header p {
        margin: 0;
        color: var(--text-light);
        font-size: 13px;
    }


/* ==========================================================
   FORM FIELDS
========================================================== */

.booking-field {
    margin-bottom: 18px;
}

    .booking-field label {
        display: block;
        margin-bottom: 7px;
        color: var(--blue) !important;
        font-size: 14px;
        font-weight: 600;
    }


/* ==========================================================
   INPUT WRAPPER
========================================================== */

.booking-input {
    position: relative;
    width: 100%;
}

    .booking-input i {
        position: absolute;
        top: 50%;
        left: 15px;
        z-index: 2;
        color: var(--white);
        font-size: 14px;
        transform: translateY(-50%);
        pointer-events: none;
    }


    /* ==========================================================
   GOLD ICON AREA
========================================================== */

    .booking-input::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 43px;
        height: 52px;
        background: var(--gold);
        border-radius: 8px 0 0 8px;
        z-index: 1;
    }


    /* ==========================================================
   INPUT
========================================================== */

    .booking-input input {
        width: 100%;
        height: 52px;
        box-sizing: border-box;
        padding: 0 15px 0 48px;
        border: 1px solid var(--border) !important;
        border-radius: 8px !important;
        outline: none;
        background: var(--white) !important;
        color: var(--text) !important;
        font-family: 'Poppins', 'Segoe UI', sans-serif;
        font-size: 14px;
        transition: .25s ease;
    }

        .booking-input input::placeholder {
            color: #98A2B3;
        }

        .booking-input input:hover {
            border-color: #C9D1D9 !important;
        }

        .booking-input input:focus {
            border-color: var(--gold) !important;
            box-shadow: 0 0 0 3px rgba(201, 162, 39, .12);
            background: var(--white) !important;
            color: var(--text) !important;
        }


/* ==========================================================
   PICKUP DATE + RETURN BUTTON
========================================================== */

.date-return-row {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    width: 100%;
}

.pickup-date-field {
    flex: 1;
    margin-bottom: 18px;
}

.return-button-wrapper {
    flex: 0 0 auto;
}


/* ==========================================================
   RETURN BUTTON
========================================================== */

.return-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 52px;
    min-width: 105px;
    padding: 0 18px;
    border: 1px solid var(--blue);
    border-radius: 8px;
    background: var(--blue);
    color: var(--white);
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: .25s ease;
}

    .return-toggle:hover {
        background: var(--gold);
        border-color: var(--gold);
        color: var(--white);
        transform: translateY(-1px);
    }

.return-toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
}


/* ==========================================================
   RETURN DATE
========================================================== */

.return-field {
    display: none;
}

    .return-field.show {
        display: block;
    }


/* ==========================================================
   RETURN DATE HEADER
========================================================== */

.return-date-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 7px;
}

    .return-date-header label {
        margin: 0;
    }


/* ==========================================================
   REMOVE RETURN
========================================================== */

.remove-return {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--white);
    color: var(--text-light);
    cursor: pointer;
    transition: .2s ease;
}

    .remove-return:hover {
        border-color: var(--gold);
        background: var(--gold);
        color: var(--white);
    }


/* ==========================================================
   VALIDATION
========================================================== */

.booking-card .text-danger {
    display: block;
    margin-top: 5px;
    color: #D64545 !important;
    font-size: 12px;
}


/* ==========================================================
   QUOTE BUTTON
========================================================== */

.quote-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    height: 56px;
    margin-top: 8px;
    border: 1px solid var(--blue);
    border-radius: 9px;
    background: var(--blue);
    color: var(--white);
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: .25s ease;
}

    .quote-button:hover {
        background: var(--gold);
        border-color: var(--gold);
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(201, 162, 39, .20);
    }

    .quote-button:active {
        transform: translateY(0);
    }


/* ==========================================================
   LOADING
========================================================== */

.btn-loading {
    pointer-events: none;
    opacity: .75;
}


/* ==========================================================
   BOOTSTRAP OVERRIDE
========================================================== */

.booking-card .form-check {
    display: none !important;
}


/* ==========================================================
   FLATPICKR
========================================================== */

.flatpickr-input {
    background: var(--white) !important;
    color: var(--text) !important;
}

.flatpickr-calendar {
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(18, 59, 99, .18);
}

.flatpickr-months,
.flatpickr-weekdays {
    background: #8bb2d4;
}

.flatpickr-current-month,
.flatpickr-weekday {
    color: var(--white);
}

.flatpickr-day {
    color: var(--text);
}

    .flatpickr-day:hover {
        background: var(--blue-light);
        border-color: var(--blue-light);
    }

    .flatpickr-day.selected {
        background: var(--gold) !important;
        border-color: var(--gold) !important;
        color: var(--white) !important;
    }

    .flatpickr-day.today {
        border-color: var(--gold) !important;
    }


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 991px) {

    .hero-section {
        min-height: auto;
        padding: 60px 0;
    }

    .hero-content {
        margin-bottom: 40px;
        text-align: center;
    }

        .hero-content h1 {
            font-size: 42px;
        }

        .hero-content p {
            margin-left: auto;
            margin-right: auto;
        }

    .hero-features {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 576px) {

    .hero-section {
        padding: 45px 0;
    }

    .hero-content h1 {
        font-size: 30px;
        letter-spacing: -1px;
        white-space: normal;
    }

    .hero-content p {
        font-size: 15px;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

    .booking-card {
        padding: 22px;
    }

    .booking-header h3 {
        font-size: 23px;
    }

    .date-return-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .pickup-date-field {
        width: 100%;
        margin-bottom: 12px;
    }

    .return-button-wrapper {
        width: 100%;
        padding-bottom: 0;
    }

    .return-toggle {
        width: 100%;
    }
}
.rate-row {
    cursor: pointer;
    transition: all 0.2s ease;
}

    .rate-row:hover {
        background: rgba(201, 162, 39, 0.08);
    }

.rate-location {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

    .rate-location i {
        color: #C9A227;
    }

.rate-price {
    color: #C9A227;
    white-space: nowrap;
}

.rate-action {
    width: 50px;
    text-align: right;
    color: #C9A227;
}

    .rate-action i {
        transition: transform 0.2s ease;
    }

.rate-row:hover .rate-action i {
    transform: translateX(5px);
}

.rate-hidden-form {
    display: none;
}

/* =========================================================
   AIRPORT TRANSFERS
   ========================================================= */

.airport-transfers-section {
    padding: 80px 0;
    background: #ffffff;
}

.airport-grid-wrapper {
    margin-top: 40px;
    overflow-x: auto;
}

.airport-transfer-grid {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}

    .airport-transfer-grid thead th {
        padding: 14px 20px;
        text-align: left;
        color: #777;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        white-space: nowrap;
    }

.airport-transfer-row {
    background: #080808;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

    .airport-transfer-row:hover {
        background: #151515;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    }

    .airport-transfer-row td {
        padding: 20px;
        color: #ffffff;
        border-top: 1px solid #222222;
        border-bottom: 1px solid #222222;
        vertical-align: middle;
    }

        .airport-transfer-row td:first-child {
            border-left: 1px solid #222222;
            border-radius: 4px 0 0 4px;
        }

        .airport-transfer-row td:last-child {
            border-right: 1px solid #222222;
            border-radius: 0 4px 4px 0;
        }

.airport-name {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    min-width: 220px;
}

    .airport-name i {
        color: #c9a227;
        font-size: 17px;
    }

.airport-code {
    color: #c9a227;
    font-weight: 700;
    letter-spacing: 1px;
}

.airport-distance {
    color: #dddddd;
    white-space: nowrap;
}

.airport-price {
    color: #c9a227;
    font-size: 16px;
    white-space: nowrap;
}

.airport-price-unavailable {
    color: #999999;
    white-space: nowrap;
}

.airport-action {
    width: 55px;
    text-align: right;
    color: #c9a227 !important;
}

    .airport-action i {
        font-size: 15px;
        transition: transform 0.2s ease;
    }

.airport-transfer-row:hover .airport-action i {
    transform: translateX(5px);
}

.airport-hidden-form {
    display: none;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .airport-transfers-section {
        padding: 60px 0;
    }

    .airport-grid-wrapper {
        margin-top: 30px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .airport-transfer-grid {
        min-width: 850px;
    }

        .airport-transfer-grid thead th {
            padding: 12px 15px;
            font-size: 11px;
        }

    .airport-transfer-row td {
        padding: 16px 15px;
    }
}
