/* =====================================================
   Search Banner Theme 1 - Travel/Hotel Style Design
   ===================================================== */

.search-banner-theme1 {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Background Image & Overlay - Fixed height for the image portion */
.search-banner-theme1 .search-banner-bg {
    position: relative;
    width: 100%;
    height: 600px;
    z-index: 1;
    overflow: hidden;
}

.search-banner-theme1 .banner-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.search-banner-theme1 .search-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2;
}

/* Content Area - Positioned over the background */
.search-banner-theme1 .search-banner-content {
    position: absolute;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.search-banner-theme1 .banner-text-center {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.search-banner-theme1 .banner-title {
    font-size: 52px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.search-banner-theme1 .banner-subtitle {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Search Bar Card - Overlaps the boundary between image and white space */
.search-banner-theme1 .search-bar-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-top: -65px;
    padding-bottom: 60px;
}

.search-banner-theme1 .search-bar-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    padding: 24px 32px;
    margin: 0 auto;
    max-width: 1100px;
}

.search-banner-theme1 .search-fields-row {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
}

.search-banner-theme1 .search-field-group {
    flex: 1;
    min-width: 200px;
}

.search-banner-theme1 .search-button-group {
    flex: 0 0 auto;
    min-width: 140px;
}

/* Field Labels */
.search-banner-theme1 .field-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 8px;
    text-transform: capitalize;
}

/* Field Input Wrapper */
.search-banner-theme1 .field-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-banner-theme1 .field-icon {
    position: absolute;
    left: 14px;
    color: var(--theme-color);
    font-size: 16px;
    z-index: 2;
}

.search-banner-theme1 .search-field,
.search-banner-theme1 .select2-container .select2-selection--single,
.search-banner-theme1 .form-control.select2 {
    width: 100%;
    height: 52px;
    padding: 12px 16px 12px 42px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #1f2937;
    background-color: #ffffff;
    transition: all 0.2s ease;
    outline: none;
}

.search-banner-theme1 .search-field::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.search-banner-theme1 .search-field:focus,
.search-banner-theme1 .form-control.select2:focus {
    border-color: var(--theme-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Select2 Styling Override */
.search-banner-theme1 .select2-container {
    width: 100% !important;
}

.search-banner-theme1 .select2-container .select2-selection--single {
    height: 52px;
    padding: 12px 16px 12px 42px;
    display: flex;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.search-banner-theme1 .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #1f2937;
    font-size: 15px;
    font-weight: 500;
    padding-left: 0;
    line-height: 28px;
}

.search-banner-theme1 .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 52px;
    right: 12px;
}

.search-banner-theme1 .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #6b7280 transparent transparent transparent;
    border-width: 5px 5px 0 5px;
}

/* Search Button */
.search-banner-theme1 .search-btn-theme1 {
    width: 100%;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0 24px;
}

.search-banner-theme1 .search-btn-theme1:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.search-banner-theme1 .search-btn-theme1:active {
    transform: translateY(0);
}

.search-banner-theme1 .search-btn-theme1 i {
    font-size: 16px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .search-banner-theme1 .search-banner-bg,
    .search-banner-theme1 .search-banner-content {
        height: 450px;
    }

    .search-banner-theme1 .banner-title {
        font-size: 40px;
    }

    .search-banner-theme1 .search-bar-wrapper {
        margin-top: -70px;
        padding-bottom: 50px;
    }

    .search-banner-theme1 .search-bar-card {
        padding: 20px 24px;
        margin: 0 20px;
    }

    .search-banner-theme1 .search-field-group {
        min-width: 160px;
    }
}

@media (max-width: 767px) {
    .search-banner-theme1 .search-banner-bg,
    .search-banner-theme1 .search-banner-content {
        height: 400px;
    }

    .search-banner-theme1 .search-banner-content {
        padding: 40px 16px 100px;
    }

    .search-banner-theme1 .banner-title {
        font-size: 32px;
    }

    .search-banner-theme1 .banner-subtitle {
        font-size: 16px;
    }

    .search-banner-theme1 .search-bar-wrapper {
        margin-top: -60px;
        padding: 0 16px 40px;
    }

    .search-banner-theme1 .search-bar-card {
        padding: 20px;
        border-radius: 10px;
        margin: 0;
    }

    .search-banner-theme1 .search-fields-row {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .search-banner-theme1 .search-field-group {
        min-width: 100%;
    }

    .search-banner-theme1 .search-button-group {
        width: 100%;
    }

    .search-banner-theme1 .search-btn-theme1 {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .search-banner-theme1 .search-banner-bg,
    .search-banner-theme1 .search-banner-content {
        height: 350px;
    }

    .search-banner-theme1 .banner-title {
        font-size: 26px;
    }

    .search-banner-theme1 .search-bar-card {
        padding: 16px;
    }

    .search-banner-theme1 .search-bar-wrapper {
        margin-top: -50px;
    }
}
