/* Search Page Specific Styles */

/* Search Hero Section */
.search-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.search-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="30" cy="30" r="2" fill="rgba(255,255,255,0.15)"/><circle cx="70" cy="70" r="3" fill="rgba(255,255,255,0.15)"/></svg>');
    opacity: 0.5;
}

.search-hero-content {
    position: relative;
    z-index: 1;
}

.search-icon-large {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.search-hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.search-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
}

.search-main {
    padding: 3rem 0;
}

.search-container {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.search-bar-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    border-radius: 50px;
    padding: 0.5rem 0.5rem 0.5rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    transition: box-shadow 0.3s ease;
}

.search-bar-wrapper:focus-within {
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.search-icon-input {
    color: #667eea;
    font-size: 1.2rem;
}

.search-bar-wrapper input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    background: transparent;
    font-size: 1.1rem;
    outline: none;
}

.search-bar-wrapper input::placeholder {
    color: #aaa;
}

.search-bar-wrapper .btn {
    border-radius: 30px;
    padding: 12px 30px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-filters {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.filter-item label {
    font-weight: 600;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-item label i {
    color: #667eea;
}

.filter-item select {
    padding: 0.7rem 2.5rem 0.7rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    background: white;
    color: var(--text-color);
    transition: all 0.3s ease;
    appearance: none;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23667eea"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    background-size: 1.2rem;
}

.filter-item select:hover {
    border-color: #667eea;
}

.filter-item select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 12px;
}

.results-header h3 {
    margin: 0;
    color: #667eea;
    font-size: 1.8rem;
}

.results-count {
    color: var(--light-text);
    font-size: 1.1rem;
    font-weight: 500;
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--light-text);
}

.no-results p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.no-results .suggestion {
    font-size: 1rem;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .search-hero h2 {
        font-size: 2rem;
    }
    
    .search-icon-large {
        font-size: 3rem;
    }
    
    .search-bar-wrapper {
        flex-direction: column;
        padding: 1rem;
        border-radius: 15px;
    }
    
    .search-bar-wrapper .btn {
        width: 100%;
        justify-content: center;
    }
    
    .search-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-item {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-item select {
        width: 100%;
    }
    
    .results-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
