/* Trending Searches Section - React-free vanilla CSS */

.trending-searches-section {
    position: relative;
    padding: 4rem 0;
    background: white;
}

@media (min-width: 768px) {
    .trending-searches-section {
        padding: 5rem 0;
    }
}

.trending-searches-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .trending-searches-container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .trending-searches-container {
        padding: 0 2rem;
    }
}

/* Header section */
.trending-searches-header {
    text-align: center;
    margin-bottom: 3rem;
}

.trending-searches-title {
    margin-bottom: 1.5rem;
    font-size: clamp(1.875rem, 4vw, 3.75rem);
    font-weight: 800;
    color: #111827;
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.trending-searches-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.trending-searches-subtitle {
    color: #6b7280;
    max-width: 42rem;
    margin: 0 auto;
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out 0.1s, transform 0.6s ease-out 0.1s;
}

.trending-searches-subtitle.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Tags container */
.trending-searches-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out 0.2s, transform 0.6s ease-out 0.2s;
}

.trending-searches-tags.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Individual tag/link */
.trending-search-tag {
    position: relative;
    padding: 0.625rem 1rem;
    border-radius: 9999px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    color: #374151;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.trending-search-tag.visible {
    opacity: 1;
    transform: scale(1);
}

.trending-search-tag:hover {
    background: linear-gradient(to right, #ea580c, #f97316);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 8px -2px rgba(234, 88, 12, 0.3), 0 2px 4px -1px rgba(249, 115, 22, 0.2);
    transform: translateY(-2px) scale(1.02);
}

.trending-search-tag span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.trending-search-tag .emoji {
    font-size: 1.125rem;
}

/* Hover glow effect - Reduced intensity - Corporate Orange */
.trending-search-tag::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: linear-gradient(to right, #ea580c, #f97316);
    filter: blur(8px);
    transform: scale(1.05);
    z-index: -1;
}

.trending-search-tag:hover::before {
    opacity: 0.4;
}

/* Bottom CTA */
.trending-searches-cta {
    margin-top: 3rem;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out 0.4s, transform 0.6s ease-out 0.4s;
}

.trending-searches-cta.visible {
    opacity: 1;
    transform: translateY(0);
}

.trending-searches-cta-text {
    color: #6b7280;
    font-size: 0.875rem;
}

.trending-searches-cta-link {
    margin-left: 0.5rem;
    color: #ea580c;
    font-weight: 500;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.trending-searches-cta-link:hover {
    color: #f97316;
}
