/* ============================================
   PREMIUM SEARCH PAGE STYLES - 2-COLUMN LIST
============================================ */

/* Hero Section */
.search-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    color: white;
}

.search-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(212, 165, 116, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.search-hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
}

.search-hero-shape.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(212, 165, 116, 0.2);
    top: -100px;
    right: 10%;
    animation: searchFloat 20s infinite alternate ease-in-out;
}

.search-hero-shape.shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(30, 58, 138, 0.2);
    bottom: -80px;
    left: -80px;
    animation: searchFloat 18s infinite alternate-reverse ease-in-out;
}

@keyframes searchFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, 30px) scale(1.1);
    }
}

.search-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.search-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(212, 165, 116, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 165, 116, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.search-hero-badge i {
    color: #d4a574;
    font-size: 14px;
}

.search-hero-badge span {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #d4a574;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.search-hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
}

.search-hero h1 span {
    background: linear-gradient(135deg, #d4a574 0%, #f3d2b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.search-hero-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

/* Search Form Section */
.search-form-section {
    margin-top: -50px;
    position: relative;
    z-index: 10;
    padding-bottom: 40px;
}

.search-form-container {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: visible;
}

.search-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d4a574, #f3d2b3, #d4a574);
    background-size: 200% 100%;
    animation: gradientSlide 4s ease infinite;
}

@keyframes gradientSlide {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.search-form-header {
    text-align: center;
    margin-bottom: 25px;
}

.search-form-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.search-form-header h3 span {
    color: #d4a574;
}

.search-form-header p {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

/* Search Form - Aligned Buttons */
.premium-search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.search-field {
    flex: 1;
    min-width: 180px;
    position: relative;
    text-align: left;
}

.search-field label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.search-field input,
.search-field select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #0f172a;
    background: #fafbfc;
    transition: all 0.3s ease;
}

.search-field input:focus,
.search-field select:focus {
    outline: none;
    border-color: #d4a574;
    background: white;
    box-shadow: 0 0 0 4px rgba(212, 165, 116, 0.1);
}

.search-btn-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 5px;
}

.search-btn-premium {
    background: linear-gradient(135deg, #d4a574 0%, #b88a58 100%);
    color: #0f172a;
    border: none;
    padding: 12px 35px;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(212, 165, 116, 0.2);
}

.search-btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(212, 165, 116, 0.3);
}

/* OR Divider */
.search-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 25px 0;
}

.search-divider::before,
.search-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.search-divider span {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Autocomplete Premium */
.search-container {
    position: relative;
}

.autocomplete-suggestions-premium {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.autocomplete-suggestions-premium.show {
    display: block;
}

.autocomplete-suggestion-premium {
    padding: 12px 16px;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: #0f172a;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f1f5f9;
    word-wrap: break-word;
    white-space: normal;
    line-height: 1.5;
}

.autocomplete-suggestion-premium:last-child {
    border-bottom: none;
}

.autocomplete-suggestion-premium:hover {
    background: rgba(212, 165, 116, 0.08);
    color: #b88a58;
}

/* ============================================
   SEARCH RESULTS - 2-COLUMN LIST
============================================ */
.search-results-section {
    padding: 40px 0 80px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f5f9;
}

.results-count {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
}

.results-count span {
    color: #d4a574;
}

/* Results Grid - 2 Column Layout */
.results-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.result-card-premium {
    background: white;
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    height: 100%;
}

.result-card-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(212, 165, 116, 0.3);
}

.result-award-badge {
    width: 75px;
    height: 75px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 165, 116, 0.05);
    border-radius: 12px;
    padding: 8px;
}

.result-award-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.result-info {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    min-width: 0;
}

.result-main-content {
    flex: 1;
    min-width: 0;
}

.result-business-name {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.result-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.result-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    color: #64748b;
    min-width: 0;
}

.result-meta-item span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.result-meta-item i {
    color: #d4a574;
    font-size: 11px;
    width: 14px;
}

.result-view-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f1f5f9;
    color: #0f172a;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.result-view-btn i {
    font-size: 12px;
}

.result-card-premium:hover .result-view-btn {
    background: linear-gradient(135deg, #d4a574 0%, #b88a58 100%);
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.2);
}

/* No Results */
.no-results-premium {
    text-align: center;
    padding: 60px 20px;
}

.no-results-icon {
    width: 80px;
    height: 80px;
    background: rgba(212, 165, 116, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.no-results-icon i {
    font-size: 32px;
    color: #d4a574;
}

.no-results-premium h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.no-results-premium p {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #64748b;
    max-width: 400px;
    margin: 0 auto;
}

/* Pagination Premium */
.pagination-premium {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 2px solid #f1f5f9;
}

.pagination-premium a,
.pagination-premium span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    background: white;
    color: #64748b;
    border: 2px solid #e2e8f0;
}

.pagination-premium a:hover {
    border-color: #d4a574;
    color: #d4a574;
}

.pagination-premium a.active {
    background: linear-gradient(135deg, #d4a574 0%, #b88a58 100%);
    color: #0f172a;
    border-color: transparent;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 991px) {
    .results-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .search-hero h1 {
        font-size: 28px;
    }

    .search-form-container {
        padding: 20px 15px;
    }

    .results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .result-card-premium {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px 10px;
        gap: 12px;
        border-radius: 10px;
    }

    .result-award-badge {
        width: 50px;
        height: 50px;
        padding: 5px;
    }

    .result-info {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .result-business-name {
        font-size: 13px;
        margin-bottom: 4px;
        line-height: 1.2;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        white-space: normal;
    }

    .result-meta {
        display: flex;
        flex-direction: column;
        gap: 2px;
        margin-bottom: 8px;
    }

    .result-meta-item {
        font-size: 10px;
        justify-content: center;
        gap: 4px;
        color: #64748b;
        width: 100%;
    }

    .result-meta-item span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .result-meta-item i {
        font-size: 9px;
        width: 12px;
    }

    /* Hide year on mobile to save space as badge shows it */
    .result-meta-item:last-child {
        display: none;
    }

    .result-view-btn {
        width: 100%;
        height: 36px;
        font-size: 11px;
        padding: 0 10px;
        border-radius: 6px;
        gap: 4px;
    }

    .result-view-btn i {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .results-grid {
        gap: 8px;
    }

    .result-card-premium {
        padding: 12px 8px;
    }

    .result-business-name {
        font-size: 12px;
    }
}