/* =========================================
   CHILL RIDES - BOOKING PAGE
========================================= */


/* =========================================
   1. BOOKING HERO
========================================= */

.booking-hero {
    position: relative;
    overflow: hidden;
    padding: 85px 0 90px;
    background:
        linear-gradient(110deg,
            rgba(69, 82, 48, 0.78),
            rgba(117, 117, 69, 0.55)),
        url("../assets/images/self-drive-hero-bg.webp") center/cover no-repeat;
    color: var(--cream);
}

.booking-hero::after {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    right: -100px;
    bottom: -190px;
    border: 65px solid rgba(235, 235, 216, 0.09);
    border-radius: 50%;
    pointer-events: none;
}

.booking-hero-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
}

.booking-hero .section-tag {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--cream);
    background: rgba(235, 235, 216, 0.13);
    border: 1px solid rgba(235, 235, 216, 0.25);
    padding: 9px 15px;
    border-radius: 30px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.booking-hero h1 {
    max-width: 700px;
    margin: 25px 0 17px;
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 5vw, 4.5rem);
    line-height: 1.12;
    color: var(--cream);
}

.booking-hero h1 span {
    color: #D7DFC5;
    font-style: italic;
}

.booking-hero-content>p {
    max-width: 590px;
    margin: 0;
    color: rgba(235, 235, 216, 0.85);
    font-size: 1.04rem;
    line-height: 1.8;
}

.booking-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 30px;
}

.booking-hero-points span {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--cream);
    font-size: 0.88rem;
    font-weight: 600;
}

.booking-hero-points i {
    color: #D7DFC5;
}


/* =========================================
   2. BOOKING PROGRESS
========================================= */

.booking-progress-section {
    padding: 25px 0;
    background: #DDE0CE;
    border-bottom: 1px solid rgba(69, 82, 48, 0.12);
}

.booking-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    max-width: 850px;
    margin: auto;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0.55;
}

.progress-step.active {
    opacity: 1;
}

.progress-number {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--sage);
    color: var(--forest);
    font-size: 0.85rem;
    font-weight: 800;
}

.progress-step.active .progress-number {
    background: var(--forest);
    color: var(--cream);
}

.progress-step strong,
.progress-step small {
    display: block;
}

.progress-step strong {
    color: var(--forest);
    font-size: 0.86rem;
}

.progress-step small {
    margin-top: 3px;
    color: #697257;
    font-size: 0.72rem;
}

.progress-line {
    width: 65px;
    height: 2px;
    flex-shrink: 0;
    background: #AAB296;
}


/* =========================================
   3. BOOKING MAIN LAYOUT
========================================= */

.booking-main {
    padding: 65px 0 85px;
    background: var(--cream);
}

.booking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.85fr);
    align-items: start;
    gap: 35px;
}

.booking-form-column {
    min-width: 0;
}

.booking-section-heading {
    margin-bottom: 30px;
}

.booking-section-heading .section-tag {
    color: var(--olive);
    font-weight: 800;
    font-size: 0.76rem;
    letter-spacing: 1.1px;
}

.booking-section-heading h2 {
    margin: 12px 0 10px;
    color: var(--forest);
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    line-height: 1.2;
}

.booking-section-heading p {
    margin: 0;
    color: #737A63;
    font-size: 0.94rem;
    line-height: 1.7;
}


/* =========================================
   4. BOOKING FORM CARDS
========================================= */

.booking-form-card {
    margin-bottom: 22px;
    padding: 27px;
    background: #F0F0E2;
    border: 1px solid rgba(99, 117, 69, 0.22);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 24px rgba(69, 82, 48, 0.055);
}

.booking-card-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 25px;
}

.booking-icon {
    display: grid;
    place-items: center;
    width: 47px;
    height: 47px;
    flex-shrink: 0;
    border-radius: 13px;
    background: #DDE3D0;
    color: var(--forest);
    font-size: 1.15rem;
}

.booking-card-heading h3 {
    margin: 0 0 5px;
    color: var(--forest);
    font-size: 1.12rem;
    font-weight: 800;
}

.booking-card-heading p {
    margin: 0;
    color: #777E68;
    font-size: 0.82rem;
}


/* =========================================
   5. FORM INPUTS
========================================= */

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 19px;
}

.form-grid .form-group {
    margin-bottom: 0;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    color: var(--forest);
    font-size: 0.85rem;
    font-weight: 700;
}

.form-group label span {
    color: #A64B3E;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid #C7CDB8;
    border-radius: 9px;
    outline: none;
    background: #F9F9EF;
    color: var(--forest);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input,
.form-group select {
    min-height: 49px;
}

.form-group textarea {
    resize: vertical;
    min-height: 105px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #A0A48F;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--olive);
    box-shadow: 0 0 0 3px rgba(99, 117, 69, 0.13);
}

.form-group small {
    color: #818772;
    font-size: 0.75rem;
    line-height: 1.5;
}


/* =========================================
   6. RENTAL OPTIONS
========================================= */

.rental-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.rental-option {
    position: relative;
    cursor: pointer;
}

.rental-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.rental-option-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 145px;
    padding: 20px;
    border: 1px solid #C7CDB8;
    border-radius: 12px;
    background: #F9F9EF;
    transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.rental-option-content>i {
    margin-bottom: 13px;
    color: var(--olive);
    font-size: 1.45rem;
}

.rental-option-content strong {
    color: var(--forest);
    font-size: 0.95rem;
}

.rental-option-content small {
    margin-top: 6px;
    color: #7C836E;
    font-size: 0.76rem;
    line-height: 1.5;
}

.rental-option input:checked+.rental-option-content {
    border: 2px solid var(--olive);
    background: #E5E9D9;
    box-shadow: 0 5px 15px rgba(69, 82, 48, 0.09);
}

.rental-option input:focus-visible+.rental-option-content {
    outline: 3px solid rgba(99, 117, 69, 0.25);
    outline-offset: 3px;
}

.booking-option-note {
    margin: 15px 0 0;
    color: #7C836E;
    font-size: 0.77rem;
    line-height: 1.6;
}


/* =========================================
   7. TERMS AND CONDITIONS
========================================= */

.booking-terms {
    margin: 20px 0;
    padding: 16px;
    border-radius: 10px;
    background: #E4E8D9;
}

.booking-terms label {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    cursor: pointer;
}

.booking-terms input {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--olive);
}

.booking-terms span {
    color: #59634B;
    font-size: 0.79rem;
    line-height: 1.6;
}


/* =========================================
   8. SUBMIT BUTTON
========================================= */

.booking-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    width: 100%;
    padding: 17px 22px;
    border: none;
    border-radius: 10px;
    background: var(--forest);
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.booking-submit-btn:hover {
    background: var(--olive);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(69, 82, 48, 0.18);
}

.booking-submit-btn:focus-visible {
    outline: 3px solid var(--sage);
    outline-offset: 4px;
}

.booking-submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.booking-secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 14px 0 0;
    color: #7A826B;
    font-size: 0.77rem;
}


/* =========================================
   9. BOOKING SUMMARY COLUMN
========================================= */

.booking-summary-column {
    position: sticky;
    top: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.booking-summary-card {
    overflow: hidden;
    border: 1px solid rgba(99, 117, 69, 0.24);
    border-radius: var(--radius-lg);
    background: #F0F0E2;
    box-shadow: 0 8px 25px rgba(69, 82, 48, 0.07);
}

.summary-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 19px 21px;
    background: var(--forest);
    color: var(--cream);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.summary-card-heading i {
    color: #D5DCC4;
    font-size: 1.1rem;
}


/* =========================================
   10. SELECTED VEHICLE
========================================= */

.selected-vehicle-image {
    position: relative;
    height: 190px;
    overflow: hidden;
    background: #DDE0CE;
}

.selected-vehicle-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vehicle-selected-label {
    position: absolute;
    left: 13px;
    bottom: 13px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 30px;
    background: rgba(235, 235, 216, 0.95);
    color: var(--forest);
    font-size: 0.72rem;
    font-weight: 800;
}

.vehicle-selected-label i {
    color: var(--olive);
}

.selected-vehicle-details {
    padding: 21px;
}

.selected-vehicle-details h3 {
    margin: 0;
    color: var(--forest);
    font-family: var(--font-heading);
    font-size: 1.45rem;
}

.selected-vehicle-details>p {
    margin: 7px 0 17px;
    color: #7B826B;
    font-size: 0.82rem;
}

.selected-vehicle-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 17px;
    padding: 14px 0;
    border-top: 1px solid #D7DCCB;
    border-bottom: 1px solid #D7DCCB;
}

.selected-vehicle-specs span {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #657052;
    font-size: 0.78rem;
}

.selected-vehicle-specs i {
    color: var(--olive);
}

.change-vehicle-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 17px;
    color: var(--olive);
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
    transition: color var(--transition);
}

.change-vehicle-link:hover {
    color: var(--forest);
}


/* =========================================
   11. PRICE SUMMARY
========================================= */

.price-summary-content {
    padding: 22px;
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    color: #727A61;
    font-size: 0.83rem;
}

.price-row strong {
    color: var(--forest);
    font-size: 0.84rem;
    text-align: right;
}

.price-divider {
    height: 1px;
    margin: 21px 0;
    background: #CDD3BF;
}

.price-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--forest);
    font-size: 0.9rem;
    font-weight: 800;
}

.price-total-row strong {
    color: var(--olive);
    font-size: 1.55rem;
}

.price-disclaimer {
    margin: 17px 0 0;
    padding: 12px;
    border-radius: 8px;
    background: #E3E7D8;
    color: #727A61;
    font-size: 0.72rem;
    line-height: 1.65;
}


/* =========================================
   12. BOOKING BENEFITS
========================================= */

.booking-benefits-card {
    padding: 22px;
    border-radius: var(--radius-lg);
    background: #DDE3D0;
    border: 1px solid rgba(99, 117, 69, 0.2);
}

.booking-benefits-card h3 {
    margin: 0 0 17px;
    color: var(--forest);
    font-family: var(--font-heading);
    font-size: 1.15rem;
}

.booking-benefits-card h3 i {
    margin-right: 7px;
    color: var(--olive);
}

.booking-benefits-card ul {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.booking-benefits-card li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #606B50;
    font-size: 0.81rem;
}

.booking-benefits-card li i {
    color: var(--olive);
}


/* =========================================
   13. HELP CARD
========================================= */

.booking-help-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 21px;
    border-radius: var(--radius-lg);
    background: var(--forest);
    color: var(--cream);
}

.help-icon {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(235, 235, 216, 0.14);
    color: #D5DCC4;
    font-size: 1.15rem;
}

.booking-help-card h3 {
    margin: 0 0 7px;
    color: var(--cream);
    font-size: 0.97rem;
}

.booking-help-card p {
    margin: 0 0 13px;
    color: rgba(235, 235, 216, 0.77);
    font-size: 0.78rem;
    line-height: 1.6;
}

.booking-help-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #D5DCC4;
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: none;
}

.booking-help-card a:hover {
    color: var(--cream);
}


/* =========================================
   14. TABLET RESPONSIVENESS
========================================= */

@media (max-width: 1050px) {

    .booking-layout {
        grid-template-columns: minmax(0, 1.35fr) minmax(270px, 0.8fr);
        gap: 22px;
    }

    .booking-form-card {
        padding: 23px;
    }

    .booking-summary-column {
        top: 15px;
    }

}


/* =========================================
   15. TABLET / SMALL LAPTOP
========================================= */

@media (max-width: 850px) {

    .booking-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .booking-summary-column {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .vehicle-summary-card {
        grid-column: 1 / -1;
    }

    .booking-help-card {
        align-self: stretch;
    }

}


/* =========================================
   16. MOBILE RESPONSIVENESS
========================================= */

@media (max-width: 600px) {

    .booking-hero {
        padding: 65px 0;
    }

    .booking-hero h1 {
        font-size: 2.55rem;
    }

    .booking-hero-content>p {
        font-size: 0.91rem;
    }

    .booking-hero-points {
        gap: 13px 18px;
    }

    .booking-hero-points span {
        font-size: 0.76rem;
    }

    .booking-progress {
        justify-content: space-between;
        gap: 8px;
    }

    .progress-step {
        gap: 7px;
    }

    .progress-number {
        width: 34px;
        height: 34px;
        font-size: 0.73rem;
    }

    .progress-step strong {
        font-size: 0.7rem;
    }

    .progress-step small {
        font-size: 0.62rem;
    }

    .progress-line {
        width: 20px;
    }

    .booking-main {
        padding: 45px 0 60px;
    }

    .booking-form-card {
        padding: 19px;
    }

    .booking-card-heading {
        gap: 11px;
    }

    .booking-icon {
        width: 41px;
        height: 41px;
        font-size: 1rem;
    }

    .booking-card-heading h3 {
        font-size: 0.99rem;
    }

    .booking-card-heading p {
        font-size: 0.74rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .form-group.full-width {
        grid-column: auto;
    }

    .rental-options {
        grid-template-columns: 1fr;
    }

    .rental-option-content {
        min-height: 125px;
    }

    .booking-summary-column {
        grid-template-columns: 1fr;
    }

    .vehicle-summary-card {
        grid-column: auto;
    }

    .selected-vehicle-image {
        height: 210px;
    }

    .price-summary-content {
        padding: 19px;
    }

}


/* =========================================
   17. SMALL MOBILE
========================================= */

@media (max-width: 380px) {

    .booking-hero h1 {
        font-size: 2.2rem;
    }

    .booking-hero-points {
        flex-direction: column;
        gap: 11px;
    }

    .progress-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .progress-line {
        width: 14px;
    }

    .booking-form-card {
        padding: 15px;
    }

}


/* =========================================
   18. REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    .booking-submit-btn,
    .form-group input,
    .form-group select,
    .form-group textarea,
    .rental-option-content,
    .change-vehicle-link {
        transition: none;
    }

}