/* Search Hero Form Styles */
.gti-search-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gti-search-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #87CEEB 0%, #98D8E8 50%, #B0E0E6 100%);
    background-image: 
        url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxsaW5lYXJHcmFkaWVudCBpZD0ibW91bnRhaW4iIHgxPSIwJSIgeTE9IjAlIiB4Mj0iMTAwJSIgeTI9IjEwMCUiPjxzdG9wIG9mZnNldD0iMCUiIHN0b3AtY29sb3I9IiM0QjY0MzciLz48c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM2OEEzNTAiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI21vdW50YWluKSIvPjwvc3ZnPg=='),
        url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxsaW5lYXJHcmFkaWVudCBpZD0iY2l0eSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMTAwJSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI0Y1RjVGNSIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI0VFRUVFRSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjY2l0eSkiLz48L3N2Zz4=');
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    z-index: 1;
}

.gti-search-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.gti-search-hero-form-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gti-search-hero-form {
    width: 100%;
}

.gti-search-form-row {
    display: flex;
    gap: 20px;
    align-items: end;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.gti-search-form-row:last-of-type {
    margin-bottom: 0;
}

.gti-form-field {
    flex: 1;
    min-width: 180px;
    position: relative;
}

.gti-field-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gti-field-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 16px;
    color: #333;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDEyIDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEuNDEgMEw2IDQuNTlMMTAuNTkgMEwxMiAxLjQxTDYgNy40MUwwIDEuNDFMMSAuNDFaIiBmaWxsPSIjZGM0NjQ2Ii8+PC9zdmc+');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 40px;
}

.gti-field-select:focus {
    outline: none;
    border-color: #dc4646;
    box-shadow: 0 0 0 3px rgba(220, 70, 70, 0.1);
}

.gti-field-select:hover {
    border-color: #dc4646;
}

.gti-field-select:disabled {
    background-color: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
}

.gti-field-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 16px;
    color: #333;
    background: white;
    transition: all 0.3s ease;
}

.gti-field-input:focus {
    outline: none;
    border-color: #dc4646;
    box-shadow: 0 0 0 3px rgba(220, 70, 70, 0.1);
}

.gti-field-input:hover {
    border-color: #dc4646;
}

.gti-field-input::placeholder {
    color: #999;
}

.gti-form-help {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 4px;
    font-style: italic;
}

.gti-search-hero-header {
    text-align: center;
    margin-bottom: 30px;
}

.gti-search-hero-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px 0;
}

.gti-search-hero-description {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.gti-price-range-section {
    margin-top: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e1e5e9;
}

.gti-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
}

.gti-price-range-grid {
    display: flex;
    gap: 15px;
    align-items: end;
}

.gti-price-range-grid .gti-form-field {
    flex: 1;
}

.gti-search-button-field {
    flex: 0 0 auto;
    min-width: 140px;
}

.gti-search-hero-btn {
    width: 100%;
    padding: 12px 24px;
    background: linear-gradient(135deg, #dc4646 0%, #c0392b 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(220, 70, 70, 0.3);
}

.gti-search-hero-btn:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 70, 70, 0.4);
}

.gti-search-hero-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(220, 70, 70, 0.3);
}

.gti-search-hero-btn i {
    font-size: 18px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gti-search-hero {
        min-height: 400px;
        padding: 20px 0;
    }
    
    .gti-search-hero-form-container {
        padding: 20px;
        border-radius: 15px;
    }
    
    .gti-search-form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .gti-form-field {
        min-width: 100%;
    }
    
    .gti-search-button-field {
        min-width: 100%;
    }
    
    .gti-field-select {
        font-size: 14px;
        padding: 10px 14px;
    }
    
    .gti-search-hero-btn {
        padding: 14px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .gti-search-hero-content {
        padding: 0 10px;
    }
    
    .gti-search-hero-form-container {
        padding: 15px;
    }
    
    .gti-field-label {
        font-size: 12px;
    }
    
    .gti-field-select {
        font-size: 13px;
        padding: 8px 12px;
    }
    
    .gti-search-hero-btn {
        padding: 12px 16px;
        font-size: 13px;
    }
}

/* Animation for form appearance */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gti-search-hero-form-container {
    animation: slideInUp 0.6s ease-out;
}

/* Placeholder styling */
.gti-field-select option {
    color: #333;
    background: white;
}

.gti-field-select option:first-child {
    color: #999;
}
