/* Autocomplete Container */
.autocomplete-container {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.location-input {
    width: 100%;
    padding: 15px 20px 15px 45px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 16px;
    background: white;
    transition: all 0.3s ease;
    min-height: 48px;
}

.location-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

.location-input:hover {
    background: #f8f9fa;
}

/* Input Icon */
.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    z-index: 2;
}

/* Autocomplete Results */
.autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    margin-top: 8px;
}

.autocomplete-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.2s ease;
}

.autocomplete-item:hover,
.autocomplete-item.active {
    background-color: #f8f9fa;
}

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

.autocomplete-item i {
    color: #6c757d;
    margin-right: 12px;
    font-size: 16px;
}

.location-info {
    flex: 1;
}

.location-main {
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.location-details {
    font-size: 12px;
    color: #6c757d;
}

.listing-count {
    font-size: 11px;
    background: #e9ecef;
    color: #495057;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
}

/* Konum butonu */
.btn-location {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 13px 15px;
    margin-left: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6c757d;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-location:hover {
    background: #e9ecef;
    border-color: #dee2e6;
    color: #495057;
}

.btn-location:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Hero Search Layout */
.hero-search .search-fields {
    display: flex;
    gap: 12px;
    align-items: stretch;

    /* EKLENEN DÜZELTME ↓↓↓ */
    background: white;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.hero-search .search-field {
    display: flex;
    align-items: center;
}

.hero-search .search-field:first-child {
    flex: 2;
    min-width: 300px;
}

.hero-search .search-field:nth-child(2),
.hero-search .search-field:nth-child(3) {
    flex: 1;
    min-width: 200px;
}

.hero-search select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 16px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 48px;
}

.hero-search select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

.hero-search .btn-search {
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-search .search-fields {
        flex-direction: column;
    }
    
    .hero-search .search-field {
        width: 100%;
    }
    
    .hero-search .search-field:first-child {
        min-width: auto;
    }
    
    .location-input,
    .hero-search select,
    .btn-location,
    .hero-search .btn-search {
        min-height: 44px;
    }
}

.search-box {
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

