/* --- Search Section Background & Layout --- */
.property-search-section {
    position: relative;
    min-height: 100vh;
    /*display: flex;*/
    align-items: center;
    padding: 80px 0px;
    background: #000;
    /* Dark city background image */
    /*background: url('https://images.unsplash.com/photo-1449844908441-8829872d2607?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;*/
}

.search-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /*background: rgba(10, 10, 10, 0.85); */
    z-index: 1;
}

.search-container {
    position: relative;
    z-index: 2;
    /*max-width: 1000px;*/
    width: 100%;
    margin: 0 auto;
}

/* --- Header Styling --- */
.main-heading-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
}

/* --- Form Styling --- */
.search-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 10px;
}

.custom-input, .custom-select {
    background-color: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    border-radius: 0;
    padding: 12px 15px;
    font-size: 0.85rem;
    font-weight: 400;
    width: 100%;
    transition: border-color 0.3s ease;
}

.custom-select {
    /* Custom dropdown arrow for dark theme */
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    background-size: 12px 12px !important;
}

.custom-select option {
    background-color: #000;
    color: #fff;
}

.custom-input:focus, .custom-select:focus {
    box-shadow: none;
    border-color: #cda85f;
    color: #fff;
    outline: none;
}

/* --- Custom Range Slider --- */
.price-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.custom-range {
    -webkit-appearance: none;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    outline: none;
    margin-top: 15px;
    margin-bottom: 26px; /* Alignment match with inputs */
}

.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #cda85f;
    cursor: pointer;
    transition: transform 0.2s;
}

.custom-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* --- Action Buttons --- */
.btn-search-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px;
    width: 100%;
    border-radius: 0;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
}

.btn-title {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1;
    margin-bottom: 6px;
    font-family: var(--font-02);
}

.btn-sub {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    opacity: 0.8;
    font-family: var(--font-01);
}

.btn-reset {
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    color: #fff;
}

.btn-reset:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.btn-submit {
    border: 1px solid #a8873f;
    background: #a8873f;
    color: #fff;
}

.btn-submit:hover {
    background: #bfa157;
    border-color: #bfa157;
}

.btn-advanced {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    color: #fff;
    padding: 12px 35px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: var(--font-02);
}

.btn-advanced:hover {
    background: var(--color-1);
    color: #fff !important;
    border: 1px solid var(--color-1);
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .property-search-section { padding: 0px; }
    .btn-search-action { padding: 15px; margin-top: 15px; }
}