﻿/* ==================== ARAMA SAYFASI ÖZELLEŞTİRMELERİ ==================== */

/* Arama Başlığı */
h1 {
    color: var(--color-accent);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Lead Paragraf */
.lead {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 2rem;
}

    .lead strong {
        color: var(--color-primary-dark);
        font-weight: 600;
    }

/* Liste Grupları - Arama Sonuçları */
.list-group {
    margin-top: 2rem;
}

.list-group-item {
    border: 1px solid rgba(var(--color-primary-rgb), 0.2);
    transition: var(--transition-normal);
    background: var(--color-bg-secondary);
    margin: 0.5rem 0;
    border-radius: var(--radius-sm) !important;
    border-left: 4px solid transparent;
    padding: 1.5rem;
    animation: fadeIn 0.5s ease-out;
}

    .list-group-item:hover {
        background: linear-gradient(90deg, rgba(var(--color-primary-rgb), 0.1) 0%, transparent 100%);
        border-left-color: var(--color-primary);
        padding-left: 2rem;
        transform: translateX(8px);
        box-shadow: var(--shadow-md);
    }

    .list-group-item h5 {
        color: var(--color-accent);
        font-weight: 600;
        margin-bottom: 0.75rem;
        transition: color 0.3s ease;
    }

    .list-group-item:hover h5 {
        color: var(--color-primary-dark) !important;
    }

    .list-group-item small {
        color: var(--color-primary-dark);
        font-weight: 500;
        background: rgba(var(--color-primary-rgb), 0.15);
        padding: 0.25rem 0.75rem;
        border-radius: var(--radius-lg);
        display: inline-block;
    }

    .list-group-item .mb-1 {
        color: var(--color-text-light);
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* Animasyonlu Yükleme */
    .list-group-item:nth-child(1) {
        animation-delay: 0.1s;
    }

    .list-group-item:nth-child(2) {
        animation-delay: 0.15s;
    }

    .list-group-item:nth-child(3) {
        animation-delay: 0.2s;
    }

    .list-group-item:nth-child(4) {
        animation-delay: 0.25s;
    }

    .list-group-item:nth-child(5) {
        animation-delay: 0.3s;
    }

    .list-group-item:nth-child(n+6) {
        animation-delay: 0.35s;
    }

/* Responsive İyileştirmeler */
@media (max-width: 768px) {
    .list-group-item {
        padding: 1.25rem;
    }

        .list-group-item:hover {
            padding-left: 1.75rem;
        }

    .lead {
        font-size: 1rem;
    }
}

/* fadeIn animasyonu (eğer global CSS'de yoksa) */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
