/* Search Page - Complete Redesign */

.premium-search-page {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    min-height: 100vh;
    padding-top: 80px;
}

/* Hero Section */
.search-hero-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    padding: 60px 0;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background: url('https://images.unsplash.com/photo-1566073771259-6a8506099945?w=1920') center/cover;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.title-gradient {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-highlight {
    color: white;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
    margin-bottom: 40px;
}

/* Advanced Search Bar */
.advanced-search-bar {
    max-width: 1000px;
    margin: 0 auto 32px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 8px;
}

.search-inputs {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 8px;
}

.search-input-group {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0 16px;
    position: relative;
}

.search-input-group i {
    color: #fbbf24;
    margin-right: 12px;
    font-size: 16px;
    width: 18px;
    text-align: center;
}

.search-input,
.search-select {
    background: transparent;
    border: none;
    color: white;
    padding: 14px 0;
    width: 100%;
    outline: none;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-select option {
    background: #1e293b;
}

.search-submit-btn {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1f2937;
    border: none;
    border-radius: 12px;
    padding: 14px 32px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
}

/* Quick Filters */
.quick-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.quick-filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-filter-btn:hover,
.quick-filter-btn.active {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1f2937;
    border-color: #fbbf24;
}

/* Results Section */
.search-results-section {
    padding: 0 0 80px;
}

/* Advertisement Area */
.advertisement-area {
    position: sticky;
    top: 100px;
}

.premium-ad-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
}

.ad-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.ad-title {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.ad-badge {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1f2937;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

.ad-image {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
}

.ad-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.ad-partner-name {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.ad-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 16px;
}

.ad-cta-btn {
    width: 100%;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1f2937;
    border: none;
    border-radius: 12px;
    padding: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ad-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
}

/* Special Offer Banner */
.special-offer-banner {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
}

.offer-content {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.offer-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.offer-text h4 {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px 0;
}

.offer-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    margin: 0;
}

.offer-btn {
    width: 100%;
    background: white;
    color: #059669;
    border: none;
    border-radius: 12px;
    padding: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.offer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Newsletter Card */
.newsletter-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px;
}

.newsletter-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.newsletter-header i {
    color: #fbbf24;
    font-size: 24px;
}

.newsletter-header h4 {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.newsletter-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px;
    color: white;
    outline: none;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-btn {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1f2937;
    border: none;
    border-radius: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
}

/* Results Header */
.results-header {
    margin-bottom: 32px;
}

.results-title {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.results-count {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

/* Property Grid */
.premium-property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.premium-property-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.premium-property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(251, 191, 36, 0.3);
}

.property-image-section {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.property-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.premium-property-card:hover .property-image {
    transform: scale(1.05);
}

.no-image {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
}

.property-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.premium-property-card:hover .property-overlay {
    opacity: 1;
}

.property-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    gap: 8px;
}

.property-badge {
    background: rgba(255, 255, 255, 0.9);
    color: #1f2937;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.property-badge.featured {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.property-favorite {
    position: absolute;
    top: 16px;
    right: 16px;
}

.favorite-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: #ef4444;
    cursor: pointer;
    transition: all 0.3s ease;
}

.favorite-btn:hover {
    background: white;
    transform: scale(1.1);
}

.property-content-section {
    padding: 24px;
}

.property-price {
    color: #fbbf24;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.property-title {
    margin-bottom: 12px;
}

.property-title a {
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.property-title a:hover {
    color: #fbbf24;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 16px;
}

.property-location i {
    color: #fbbf24;
}

.property-features {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.feature-item i {
    color: #fbbf24;
}

.property-actions {
    display: flex;
    gap: 12px;
}

.action-btn {
    flex: 1;
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary-action {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1f2937;
}

.btn-primary-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
    color: #1f2937;
}

.btn-secondary-action {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary-action:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 80px 20px;
}

.no-results-icon {
    font-size: 64px;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 24px;
}

.no-results h3 {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.no-results p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
}

.btn-reset {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1f2937;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-reset:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
    color: #1f2937;
}

/* Pagination */
.pagination-modern {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.pagination-btn.active {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1f2937;
    border-color: #fbbf24;
}

/* Responsive */
@media (max-width: 1200px) {
    .premium-property-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .search-inputs {
        grid-template-columns: 1fr;
    }
    
    .premium-property-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advertisement-area {
        position: static;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .search-hero-section {
        padding: 40px 0;
    }
    
    .premium-property-grid {
        grid-template-columns: 1fr;
    }
}
