/* ═══════════════════════════════════════════════
   Anasayfa SEO Detay — Hero + Smart Search
   ═══════════════════════════════════════════════ */

/* ─── Hero Section ─── */
.seo-hero {
    background: linear-gradient(180deg, #0d1525 0%, #111b2e 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-xl);
    padding: 36px 32px 28px;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    overflow: visible;
}

/* Subtle ambient glow */
.seo-hero::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.seo-hero-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.3;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    position: relative;
}

.seo-hero-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
    position: relative;
}

/* ─── Trust Badges ─── */
.seo-hero-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    position: relative;
}

.seo-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: 24px;
    white-space: nowrap;
}

.seo-hero-badge i {
    color: var(--accent-blue);
    font-size: 13px;
}

/* ─── Search Box ─── */
.seo-search-wrap {
    max-width: 520px;
    margin: 0 auto;
    position: relative;
    z-index: 100;
}

.seo-search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 0 16px;
    transition: all var(--transition-fast);
    position: relative;
}

.seo-search-box:focus-within {
    border-color: rgba(59, 130, 246, 0.4);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.08);
}

.seo-search-icon {
    color: var(--text-muted);
    font-size: 14px;
    flex-shrink: 0;
}

.seo-search-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 14px;
    font-family: var(--font-family);
    padding: 12px;
    width: 100%;
}

.seo-search-input::placeholder {
    color: var(--text-muted);
}

/* Loading */
.seo-search-loading {
    display: none;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
    margin-left: 8px;
    white-space: nowrap;
}

.seo-search-wrap.is-loading .seo-search-loading {
    display: inline-flex;
}

.seo-search-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-top-color: var(--accent-blue);
    border-radius: 50%;
    animation: seo-spin 0.7s linear infinite;
}

@keyframes seo-spin {
    to { transform: rotate(360deg); }
}

/* ─── Search Results Dropdown ─── */
.seo-search-results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #111b2e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    max-height: 340px;
    overflow-y: auto;
    display: none;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    padding: 6px;
}

.seo-search-results.active {
    display: block;
}

/* Tek sonuç kartı */
.seo-result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-primary);
    transition: background var(--transition-fast);
}

.seo-result:hover,
.seo-result:focus {
    background: rgba(255, 255, 255, 0.06);
    outline: none;
}

.seo-result:focus-visible {
    box-shadow: inset 0 0 0 2px var(--accent-blue);
}

.seo-result-icon {
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
}

.seo-result-info {
    flex: 1;
    min-width: 0;
}

.seo-result-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.2px;
}

.seo-result-meta {
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 1px;
}

.seo-result-meta i {
    font-size: 10px;
    color: var(--accent-blue);
}

.seo-result-type {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 7px;
    border-radius: 6px;
    flex-shrink: 0;
}

.seo-result-type.city {
    color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.12);
}

.seo-result-type.district {
    color: var(--accent-green);
    background: rgba(16, 185, 129, 0.12);
}

.seo-result-temp {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    flex-shrink: 0;
    letter-spacing: -1px;
}

/* No results */
.seo-no-results {
    text-align: center;
    padding: 20px;
    color: var(--text-muted);
    font-size: 13px;
}

.seo-no-results i {
    display: block;
    font-size: 20px;
    margin-bottom: 6px;
    color: var(--text-muted);
}

.seo-no-results a {
    color: var(--accent-blue);
    font-weight: 600;
    text-decoration: none;
    margin-left: 4px;
}

.seo-no-results a:hover {
    text-decoration: underline;
}

/* Scrollbar */
.seo-search-results::-webkit-scrollbar {
    width: 4px;
}

.seo-search-results::-webkit-scrollbar-track {
    background: transparent;
}

.seo-search-results::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .seo-hero {
        padding: 28px 18px 22px;
    }

    .seo-hero-title {
        font-size: 20px;
    }

    .seo-hero-subtitle {
        font-size: 13px;
    }

    .seo-hero-badges {
        gap: 6px;
    }

    .seo-hero-badge {
        font-size: 11px;
        padding: 5px 10px;
    }

    .seo-search-input {
        font-size: 13px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .seo-hero-title {
        font-size: 18px;
    }

    .seo-hero-badge {
        font-size: 10px;
        padding: 4px 8px;
    }
}