/* --- CATEGORY DETAIL PAGE (SERVIS L襤STELEME) --- */

.category-header {
    background-color: var(--dark-bg);
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    margin-top: 70px;
}

.category-title {
    color: white;
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.category-desc {
    color: var(--text-muted);
    max-width: 600px;
}


/* Filtre Bar覺 */

.filter-bar {
    background-color: var(--card-bg-dark);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 70px;
    z-index: 90;
    overflow-x: auto;
    white-space: nowrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-right: 10px;
    display: inline-block;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    color: #fff;
}

.filter-btn.active {
    background: var(--gradient-main);
    color: white !important;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}



.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 50px 0;
}

.service-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.service-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-right: 20px;
    flex-shrink: 0;
    background: var(--gradient-main);
    /* Turuncu gradient yerine ana tema */
}

.service-info h5 {
    color: var(--text-main);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.service-info span {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.service-card::after {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #e2e8f0;
    font-size: 1.2rem;
    transition: 0.3s;
}

.service-card:hover::after {
    color: var(--primary-color);
    right: 15px;
}

.service-hidden {
    display: none !important;
}

/* 1. Mevcut h5 bloğunu bununla güncelleyin */
.service-info h5 {
    color: var(--text-main);
    font-weight: 700;
    font-size: 1.1rem;
    
    /* YENİ EKLENENLER: Pozisyonlama ve boşluk ayarları */
    position: relative; /* Çizgiyi kendisine göre konumlandırmak için şart */
    padding-bottom: 6px; /* Yazı ile çizgi arasındaki dikey boşluk */
    margin-bottom: 8px; /* Çizgi ile alttaki 'span' arasındaki boşluk */
}

/* 2. Bu yeni bloğu ekleyin (Çizgiyi oluşturan kısım) */
.service-info h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    
    /* ESTETİK AYARLAR */
    width: 45px;        /* Çizginin uzunluğu (Kısa ve estetik) */
    height: 1px;        /* Çizginin kalınlığı (Daha ince) */
    background: #cbd5e1; /* Çizginin rengi (Yumuşak bir gri tonu) */
    /* Alternatif gri için: var(--text-muted) veya var(--border-color) kullanabilirsiniz */

    border-radius: 1px; /* Köşeleri hafifçe yumuşatır */
    transition: all 0.3s ease; /* Hover efekti için hazırlık */
}

/* OPSIYONEL: Karta mouse ile gelince çizgi biraz uzasın ve rengi değişsin isterseniz */
.service-card:hover .service-info h5::after {
     width: 65px; /* Çizgi biraz uzar */
     background: var(--primary-color); /* Rengi ana temanızın rengine döner */
}

.fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .filter-bar {
        padding: 15px 15px;
    }
    .service-grid {
        grid-template-columns: 1fr;
    }
}