/**
 * Autocomplete Search Styles - COMMENTED OUT
 * ENTIRE FILE COMMENTED OUT - Search section disabled
 */

/*
.hp-search-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 120px 0 140px;
    text-align: center;
    position: relative;
    overflow: visible;
    min-height: 500px;
    background-image: url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hp-search-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.search-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.search-content {
    color: white;
}

.search-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.search-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Background Image */
.search-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.search-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Autocomplete Search Form */
.autocomplete-search {
    max-width: 800px;
    margin: 0 auto;
}

.search-form {
    display: block;
    width: 100%;
}

.search-controls-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.search-input-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Transaction Type Toggle - Integrated */
.transaction-toggle-wrapper {
    flex-shrink: 0;
    padding: 8px;
}

.transaction-toggle {
    position: relative;
    display: flex;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    padding: 3px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    width: 138px;
    height: 54px;
    align-items: center;
}

.transaction-radio {
    display: none;
}

.transaction-label {
    position: relative;
    z-index: 2;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
    border-radius: 3px;
    width: 66px;
    text-align: center;
    user-select: none;
    flex-shrink: 0;
}

.transaction-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 66px;
    height: calc(100% - 6px);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
    transition: transform 0.3s ease;
    z-index: 1;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.transaction-radio:checked + .transaction-label {
    color: white;
    font-weight: 700;
}

.transaction-radio:nth-of-type(2):checked ~ .transaction-slider {
    transform: translateX(66px);
}

.search-input-wrapper:focus-within {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.search-input {
    flex: 1;
    padding: 25px 35px;
    font-size: 1.3rem;
    border: none !important;
    border-right: none !important;
    background: transparent;
    outline: none;
    color: #333;
    border-radius: 6px 0 0 6px !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    line-height: 1;
    box-sizing: border-box;
}

.search-input::placeholder {
    color: #666;
    font-weight: 400;
}

.search-btn {
    padding: 25px 35px;
    background: #ff6b6b;
    color: white;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-radius: 0 6px 6px 0;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 70px;
    min-height: 70px;
}

.search-btn:hover {
    background: #ff5252;
}

.search-btn i {
    margin-right: 8px;
}

/* Search Results Dropdown */
.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 6px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    margin-top: 10px;
    max-height: 400px;
    overflow-y: auto;
}

/* Search Groups */
.search-group {
    border-bottom: 1px solid #f0f0f0;
}

.search-group:last-child {
    border-bottom: none;
}

.search-group-header {
    padding: 15px 20px 10px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #f8f9fa;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.search-group:not(:first-child) .search-group-header {
    border-radius: 0;
}

/* Search Result Items */
.search-result-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover,
.search-result-item.active {
    background: #f8f9fa;
}

.result-content {
    flex: 1;
    text-align: left;
}

.result-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    font-size: 1rem;
}

.result-meta {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    color: #666;
}

.result-price {
    color: #ff6b6b;
    font-weight: 600;
}

.result-transaction {
    color: #28a745;
    font-weight: 500;
}

.result-beds,
.result-baths {
    color: #666;
}

.result-days {
    color: #ff9800;
    font-weight: 500;
}

.result-count {
    color: #007bff;
}

.result-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #f0f0f0;
    color: #666;
    margin-left: 15px;
    overflow: hidden;
}

.result-icon i {
    font-size: 1.1rem;
}

.result-thumbnail {
    width: 40px;
    height: 40px;
    object-fit: cover;
    object-position: center;
    border-radius: 6px;
    display: block;
}

/* Different icon colors for different types */
.search-result-item[data-type="property"] .result-icon {
    background: #e3f2fd;
    color: #1976d2;
}

.search-result-item[data-type="location"] .result-icon {
    background: #e8f5e8;
    color: #388e3c;
}

.search-result-item[data-type="condo"] .result-icon {
    background: #fff3e0;
    color: #f57c00;
}

/* Loading, Error, and No Results States */
.search-loading,
.search-error,
.search-no-results {
    padding: 20px;
    text-align: center;
    color: #666;
    font-style: italic;
}

.search-loading {
    color: #007bff;
}

.search-error {
    color: #dc3545;
}

.search-no-results {
    color: #6c757d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hp-search-section {
        padding: 80px 0 100px;
        min-height: 400px;
        background-attachment: scroll;
    }
    
    .search-title {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .search-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .autocomplete-search {
        max-width: 90%;
    }
    
    .search-input {
        padding: 20px 25px;
        font-size: 1.1rem;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
    }
    
    .search-btn {
        padding: 20px 25px;
        font-size: 1rem;
        height: 60px;
        min-height: 60px;
    }
    
    .search-container {
        padding: 0 15px;
    }
    
    .search-input-wrapper {
        flex-wrap: wrap;
    }
    
    .transaction-toggle-wrapper {
        padding: 6px;
        order: -1;
        width: 100%;
        justify-content: center;
        display: flex;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .search-input {
        border-radius: 0 !important;
    }
    
    .search-btn {
        border-radius: 0 0 6px 6px;
        height: 50px;
        min-height: 50px;
    }
    
    .search-results-dropdown {
        margin-top: 5px;
    }
    
    .search-result-item {
        padding: 12px 15px;
    }
    
    .result-title {
        font-size: 0.95rem;
    }
    
    .result-meta {
        font-size: 0.85rem;
        gap: 10px;
    }
    
    .result-icon {
        width: 35px;
        height: 35px;
        margin-left: 10px;
    }
    
    .result-thumbnail {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .hp-search-section {
        padding: 60px 0 80px;
        min-height: 350px;
    }
    
    .search-title {
        font-size: 2rem;
    }
    
    .search-subtitle {
        font-size: 1rem;
    }
    
    .search-input {
        padding: 18px 20px;
        font-size: 1rem;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
    }
    
    .search-btn {
        padding: 18px 20px;
        font-size: 0.9rem;
        height: 50px;
        min-height: 50px;
    }
    
    .search-btn i {
        margin-right: 5px;
    }
    
    .search-group-header {
        padding: 12px 15px 8px;
        font-size: 0.85rem;
    }
    
    .result-meta {
        flex-direction: column;
        gap: 5px;
    }
}

/* Scroll styling for dropdown */
.search-results-dropdown::-webkit-scrollbar {
    width: 6px;
}

.search-results-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.search-results-dropdown::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.search-results-dropdown::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Animation for dropdown appearance */
.search-results-dropdown {
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
*/
