
/* =========================================
   LALITH TOURS AND TRAVELS - BOOKING FORM
========================================= */

.harshil-booking,
.harshil-booking * {
    box-sizing: border-box;
}

.harshil-booking {
    --form-teal: #087E83;
    --form-dark-teal: #075F64;
    --form-coral: #FF7867;
    --form-border: #dce7e6;
    --form-text: #173D46;

    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    overflow: hidden;
    color: var(--form-text);
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 16px;
    box-shadow: 0 22px 65px rgba(0, 0, 0, .18);
    font-family: "Poppins", Arial, sans-serif;
}

/* FORM HEADER */

.harshil-booking .booking-heading {
    padding: 22px 24px;
    background: var(--form-dark-teal);
    border-bottom: 3px solid var(--form-coral);
}

.harshil-booking .booking-kicker {
    display: block;
    margin-bottom: 7px;
    color: var(--form-coral);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.5px;
}

.harshil-booking .booking-heading h2 {
    margin: 0 0 7px;
    color: #fff;
    font-size: 23px;
    line-height: 1.35;
    font-weight: 600;
}

.harshil-booking .booking-heading p {
    margin: 0;
    color: rgba(255, 255, 255, .85);
    font-size: 11px;
    line-height: 1.7;
}

/* FORM BODY */

.harshil-booking #harshilBookingForm {
    padding: 22px 24px 20px;
}

.harshil-booking .form-label,
.harshil-booking .booking-field > label {
    display: block;
    margin: 0 0 7px;
    color: #2c454a;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
}

.harshil-booking .form-label span,
.harshil-booking .booking-field > label span {
    color: var(--form-coral);
}

/* SERVICE SELECTOR */

.harshil-booking .service-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
    margin-bottom: 18px;
    border: 1px solid var(--form-border);
    border-radius: 9px;
    background: #f3f8f7;
}

.harshil-booking .service-tab {
    min-width: 0;
    min-height: 40px;
    padding: 8px 5px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #425c60;
    font: inherit;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.harshil-booking .service-tab:hover {
    background: #e3efed;
}

.harshil-booking .service-tab.active {
    background: var(--form-teal);
    color: #fff;
    box-shadow: 0 2px 7px rgba(8, 126, 131, .2);
}

.harshil-booking .service-tab:focus-visible,
.harshil-booking .whatsapp-booking-btn:focus-visible {
    outline: 3px solid var(--form-coral);
    outline-offset: 3px;
}

/* FIELD GRIDS */

.harshil-booking .booking-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
    margin-bottom: 15px;
}

.harshil-booking .booking-grid.three-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.harshil-booking .booking-field {
    min-width: 0;
}

.harshil-booking .booking-field input,
.harshil-booking .booking-field select,
.harshil-booking .booking-field textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    border: 1px solid #cfdedc;
    border-radius: 7px;
    background: #fff;
    color: #173D46;
    font-family: inherit;
    font-size: 11px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.harshil-booking .booking-field input,
.harshil-booking .booking-field select {
    height: 43px;
    padding: 0 10px;
}

.harshil-booking .booking-field textarea {
    min-height: 65px;
    padding: 10px;
    line-height: 1.6;
    resize: vertical;
}

.harshil-booking .booking-field input::placeholder,
.harshil-booking .booking-field textarea::placeholder {
    color: #929baa;
}

.harshil-booking .booking-field input:focus,
.harshil-booking .booking-field select:focus,
.harshil-booking .booking-field textarea:focus {
    border-color: var(--form-teal);
    box-shadow: 0 0 0 3px rgba(8, 126, 131, .12);
}

.harshil-booking .booking-field small {
    display: block;
    margin-top: 5px;
    color: #7b8798;
    font-size: 9px;
    line-height: 1.5;
}

/* HIDE INACTIVE SERVICE FIELDS */

.harshil-booking [hidden] {
    display: none !important;
}

.harshil-booking .service-fields:not([hidden]) {
    display: block;
}

.harshil-booking .service-fields > .booking-field,
.harshil-booking .service-fields > .booking-grid {
    margin-bottom: 15px;
}

/* ONE WAY / ROUND TRIP */

.harshil-booking .trip-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    padding: 4px;
    border: 1px solid var(--form-border);
    border-radius: 9px;
    background: #f3f8f7;
}

.harshil-booking .trip-option {
    position: relative;
    display: block;
    min-width: 0;
    margin: 0;
    cursor: pointer;
}

.harshil-booking .trip-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.harshil-booking .trip-option span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 7px;
    border-radius: 6px;
    color: #3e5559;
    font-size: 11px;
    font-weight: 600;
    transition: background .2s ease, color .2s ease;
}

.harshil-booking .trip-option input:checked + span {
    background: var(--form-teal);
    color: #fff;
}

.harshil-booking .trip-option input:focus-visible + span {
    outline: 2px solid var(--form-coral);
    outline-offset: 2px;
}

/* VEHICLE AND EXTRAS */

.harshil-booking .vehicle-grid {
    margin-top: 16px;
}

.harshil-booking .additional-field {
    margin: 0 0 17px;
}

/* WHATSAPP BUTTON */

.harshil-booking .whatsapp-booking-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 49px;
    padding: 12px 14px;
    border: 0;
    border-radius: 7px;
    background: #16804d;
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.harshil-booking .whatsapp-booking-btn:hover {
    background: #106b3f;
    transform: translateY(-1px);
}

.harshil-booking .whatsapp-booking-btn svg {
    flex: 0 0 21px;
    width: 21px;
    height: 21px;
}

.harshil-booking .whatsapp-booking-btn > span:nth-child(2) {
    min-width: 0;
}

.harshil-booking .booking-arrow {
    margin-left: auto;
    font-size: 16px;
}

.harshil-booking .booking-footnote {
    margin: 10px 0 15px;
    color: #7c8797;
    font-size: 9px;
    line-height: 1.6;
    text-align: center;
}

.harshil-booking .booking-call {
    padding-top: 14px;
    border-top: 1px solid #e7ebf0;
    color: #657084;
    font-size: 11px;
    text-align: center;
}

.harshil-booking .booking-call a {
    display: inline-block;
    margin-left: 5px;
    color: var(--form-dark-teal);
    font-weight: 700;
    text-decoration: none;
}

.harshil-booking .booking-call a:hover {
    color: var(--form-coral);
}

/* TABLET */

@media (max-width: 1000px) {
    .harshil-booking #harshilBookingForm {
        padding: 19px;
    }

    .harshil-booking .booking-heading {
        padding: 20px;
    }

    .harshil-booking .booking-grid.three-cols {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .harshil-booking .booking-grid.three-cols .booking-field:last-child {
        grid-column: 1 / -1;
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .harshil-booking {
        border-radius: 12px;
    }

    .harshil-booking .booking-heading {
        padding: 19px 17px;
    }

    .harshil-booking .booking-heading h2 {
        font-size: 21px;
    }

    .harshil-booking #harshilBookingForm {
        padding: 17px 15px;
    }

    .harshil-booking .booking-grid,
    .harshil-booking .booking-grid.three-cols {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 13px 9px;
    }

    .harshil-booking .booking-grid.three-cols .booking-field:last-child {
        grid-column: auto;
    }

    .harshil-booking .booking-field input,
    .harshil-booking .booking-field select {
        height: 43px;
        padding: 0 8px;
        font-size: 11px;
    }

    .harshil-booking .booking-field > label,
    .harshil-booking .form-label {
        font-size: 10px;
    }

    .harshil-booking .service-tab {
        min-height: 39px;
        font-size: 10px;
    }

    .harshil-booking .whatsapp-booking-btn {
        font-size: 11px;
    }

    .ht-hero-form .harshil-booking {
        padding: 0;
    }
}

/* VERY SMALL MOBILE */

@media (max-width: 350px) {
    .harshil-booking .booking-grid,
    .harshil-booking .booking-grid.three-cols {
        grid-template-columns: minmax(0, 1fr);
    }

    .harshil-booking .booking-grid.three-cols .booking-field:last-child {
        grid-column: auto;
    }
}

/* =================================
   HERO DESKTOP LAYOUT FIX
================================= */

.ht-hero {
    position: relative;
    isolation: isolate;
    width: 100%;
    overflow: hidden;
}

.ht-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.ht-hero-container {
    position: relative;
    z-index: 1;
    width: min(1240px, calc(100% - 48px));
    margin-inline: auto;
    padding-block: 64px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.82fr);
    align-items: center;
    gap: clamp(28px, 4vw, 64px);
}

.ht-hero-content {
    min-width: 0;
    width: 100%;
}

.ht-hero-content h1 {
    max-width: 650px;
    font-size: clamp(38px, 4.2vw, 64px);
    line-height: 1.12;
    overflow-wrap: break-word;
}

.ht-hero-description {
    max-width: 570px;
    line-height: 1.8;
}

.ht-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ht-hero-form {
    width: 100%;
    min-width: 0;
}

#booking-form-container {
    width: 100%;
    min-width: 0;
}

.ht-hero-form .harshil-booking {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.ht-hero-form .harshil-booking * {
    box-sizing: border-box;
}

/* TABLET */

@media (max-width: 900px) {
    .ht-hero-container {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
        gap: 24px;
        width: min(100% - 32px, 760px);
        padding-block: 44px;
    }

    .ht-hero-content h1 {
        font-size: clamp(34px, 4.5vw, 44px);
    }
}

/* MOBILE: STACK CONTENT AND FORM */

@media (max-width: 680px) {
    .ht-hero-container {
        width: calc(100% - 32px);
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        padding-block: 40px;
    }

    .ht-hero-content h1 {
        font-size: clamp(36px, 9vw, 48px);
        line-height: 1.15;
    }

    .ht-hero-description {
        font-size: 15px;
    }

    .ht-hero-buttons {
        align-items: stretch;
    }

    .ht-hero-form {
        width: 100%;
    }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    .harshil-booking *,
    .harshil-booking *::before,
    .harshil-booking *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
