﻿/* Homepage quick search (Bootstrap 5 friendly). */
.hp-quick-search .dropdown-menu {
    display: none;
}

    .hp-quick-search .dropdown-menu.show {
        display: block;
    }

.hpqs-shell {
    background: rgba(255,255,255,.96);
}

.hpqs-item {
    cursor: pointer;
}

    .hpqs-item:hover {
        background: rgba(0, 0, 0, 0.03);
    }

.hpqs-submit {
    height: 100%;
}

@media (min-width: 768px) {
    .hpqs-submit {
        min-width: 56px;
    }
}

/* ✅ Guests trigger MUST behave like form-control inside input-group */
.hpqs-guests .input-group > .hpqs-guests-trigger {
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}

/* Guests trigger styling (looks like Booking field) */
.hpqs-guests-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background-color: #f8f9fa;
    border: 1px solid rgba(0,0,0,.14);
    border-radius: .375rem;
    padding: .375rem .75rem;
    cursor: pointer;
}

    .hpqs-guests-trigger:focus {
        box-shadow: 0 0 0 .2rem rgba(13,110,253,.15);
        outline: 0;
    }

.hpqs-caret {
    opacity: .65;
}

/* Guests popover */
.hpqs-guests-popover {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    z-index: 1050;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,.16);
    padding: 12px;
}

.hpqs-guests-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 6px;
}

.hpqs-guests-label {
    font-weight: 600;
    color: rgba(0,0,0,.75);
}

/* Stepper (consistent sizes) */
.hpqs-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(0,0,0,.18);
    border-radius: 12px;
    overflow: hidden;
    height: 38px;
}

.hpqs-stepper-btn {
    width: 40px;
    height: 38px;
    border: 0;
    padding: 0;
    background: rgba(0,0,0,.04);
    font-size: 18px;
    line-height: 38px;
    text-align: center;
    user-select: none;
}

    .hpqs-stepper-btn:hover {
        background: rgba(0,0,0,.08);
    }

.hpqs-stepper-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 38px;
    font-weight: 700;
    background: #fff;
}

.hpqs-guests-actions {
    padding-top: 8px;
}
/* --- HPQS: force consistent control height + bottom alignment --- */
.hpqs-row {
    --hpqs-control-h: 44px; /* tune if you want 42/46 */
}

    .hpqs-row .hpqs-control > .input-group-text,
    .hpqs-row .hpqs-control > .form-control,
    .hpqs-row .hpqs-control > .hpqs-guests-trigger {
        height: var(--hpqs-control-h);
    }

    /* Make button-form-control behave like input */
    .hpqs-row .hpqs-control > .hpqs-guests-trigger {
        padding-top: .5rem;
        padding-bottom: .5rem;
        line-height: 1.25;
    }

    /* Keep date inputs consistent (some browsers render date slightly different) */
    .hpqs-row input[type="date"].form-control {
        padding-top: .5rem;
        padding-bottom: .5rem;
    }

/* Submit same height as controls */
.hpqs-control-btn {
    height: var(--hpqs-control-h);
}

/* Destination required highlight */
.hpqs-invalid {
    border-color: #dc3545 !important; /* bootstrap danger */
    box-shadow: 0 0 0 .2rem rgba(220,53,69,.15);
}

.hpqs-invalid-feedback {
    display: block;
    margin-top: .25rem;
    font-size: .875rem;
    color: #dc3545;
}

/* Homepage hero */
.home-hero-section {
    position: relative;
    overflow: hidden;
}

.home-hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 224, 178, 0.22), transparent 34%),
        linear-gradient(135deg, rgba(14, 35, 52, 0.18), rgba(14, 35, 52, 0.04));
    pointer-events: none;
}

.home-hero-section > .container {
    position: relative;
    z-index: 1;
}

.home-hero-content {
    max-width: none;
    width: 100%;
}

.home-hero-title {
    width: 100%;
    max-width: none;
    font-size: clamp(2.15rem, 3.2vw, 3.4rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    text-wrap: normal;
    text-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

.home-hero-lead {
    max-width: none;
    font-size: clamp(1.05rem, 1.35vw, 1.35rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88) !important;
    text-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.hpqs-shell {
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 24px 60px rgba(10, 29, 43, 0.22) !important;
    backdrop-filter: blur(8px);
}

.hpqs-shell .form-label {
    color: #587082 !important;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hpqs-row .hpqs-control > .input-group-text,
.hpqs-row .hpqs-control > .form-control,
.hpqs-row .hpqs-control > .hpqs-guests-trigger {
    border-radius: 16px;
    border-color: rgba(31, 52, 68, 0.12);
    background: #f8fafb;
}

.hpqs-row .hpqs-control > .input-group-text {
    color: #365367;
}

.hpqs-row .hpqs-control > .form-control:focus,
.hpqs-guests-trigger:focus {
    border-color: rgba(235, 125, 58, 0.42);
    box-shadow: 0 0 0 .2rem rgba(235, 125, 58, 0.14);
    background: #fff;
}

.hpqs-control-btn.btn {
    border-radius: 16px;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 14px 28px rgba(235, 125, 58, 0.24);
}

.home-hero-jump {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    width: 100%;
    padding: 1rem 1.15rem;
    border-radius: 24px;
    background: rgba(8, 22, 32, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(6px);
}

.home-hero-jump-label {
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-hero-jump-links {
    gap: 0.65rem !important;
}

.home-hero-jump-btn.btn {
    min-height: 42px;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    font-weight: 700;
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.home-hero-jump-btn.btn:hover,
.home-hero-jump-btn.btn:focus {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.34);
    color: #fff;
}

.home-hero-jump-btn-primary.btn {
    background: linear-gradient(135deg, #f39a56, #ea7136);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 14px 24px rgba(234, 113, 54, 0.28);
}

.home-hero-jump-btn-primary.btn:hover,
.home-hero-jump-btn-primary.btn:focus {
    background: linear-gradient(135deg, #f59d55, #df642d);
    color: #fff;
}

/* Homepage trust / one-click destinations */
.home-trust-section {
    position: relative;
    background:
        radial-gradient(circle at top left, rgba(244, 228, 209, 0.44), transparent 34%),
        linear-gradient(180deg, #fbf7f2 0%, #f7f9fb 100%);
    border-bottom-color: rgba(26, 45, 59, 0.08) !important;
}

.home-trust-card {
    height: 100%;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(29, 48, 64, 0.08);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 40px rgba(21, 41, 57, 0.08);
}

.home-trust-title {
    margin-bottom: 0.55rem;
    color: #163447;
    font-size: clamp(1.15rem, 1.6vw, 1.45rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.home-trust-desc {
    color: #4c6576;
    font-size: clamp(1rem, 1.2vw, 1.14rem);
    line-height: 1.7;
    font-weight: 500;
}

@media (max-width: 991.98px) {
    .home-hero-jump {
        display: flex;
        width: 100%;
    }

    .home-hero-title {
        letter-spacing: -0.03em;
    }
}

@media (max-width: 767.98px) {
    .home-hero-content {
        max-width: none;
    }

    .home-hero-lead {
        font-size: 1rem;
        line-height: 1.6;
    }

    .home-hero-jump {
        padding: 0.95rem 1rem;
        border-radius: 20px;
    }

    .home-hero-jump-btn.btn {
        min-height: 40px;
        padding: 0.5rem 0.85rem;
    }

    .home-trust-card {
        padding: 0.9rem 0.85rem;
        border-radius: 16px;
    }

    .home-trust-title {
        font-size: 1.1rem;
    }

    .home-trust-desc {
        font-size: 1rem;
        line-height: 1.65;
    }
}
