/* Kategori Haberleri Sayfası Stilleri */

/* Hero Section - haber listesi ile uyumlu */
.sn-news-hero {
    background:
        radial-gradient(1200px 380px at 20% 0%, rgba(255, 255, 255, 0.18), transparent 60%),
        radial-gradient(900px 420px at 90% 10%, rgba(255, 255, 255, 0.12), transparent 55%),
        linear-gradient(135deg, #111827 0%, #1f2937 50%, #111827 100%);
    color: white;
    padding: 28px 0 22px;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.sn-news-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.18), transparent 45%, rgba(59, 130, 246, 0.14));
    pointer-events: none;
}

.sn-news-hero .container {
    position: relative;
    z-index: 2;
}

.sn-news-hero-subtitle {
    margin-top: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sn-news-hero-badges {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sn-news-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.92);
}

/* News Cards - haber listesi ile uyumlu */
.sn-news-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.sn-news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.sn-news-card .card-img-top {
    transition: transform 0.3s ease;
}

.sn-news-card:hover .card-img-top {
    transform: scale(1.05);
}

.sn-news-card .card-title,
.sn-news-card-title {
    font-size: 1.1rem !important;
    font-weight: 600;
    line-height: 1.4;
}

.sn-news-card .card-title a,
.sn-news-card-title a {
    color: #374151;
    text-decoration: none;
    transition: color 0.2s ease;
}

.sn-news-card .card-title a:hover,
.sn-news-card-title a:hover {
    color: #4f46e5;
}

.sn-news-meta .badge {
    font-size: 0.7rem;
    padding: 0.4rem 0.6rem;
}

/* Pagination - haber listesi ile uyumlu */
.sn-news-pagination {
    margin: 3rem 0;
}

.sn-news-pagination .page-link {
    border: none;
    border-radius: 10px;
    margin: 0 0.2rem;
    color: #667eea;
    font-weight: 500;
}

.sn-news-pagination .page-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.sn-news-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

/* Filters - haber listesi ile uyumlu */
.sn-news-filters {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

/* Dark Mode */
body.sn-dark-mode .sn-news-filters,
body.dark-mode .sn-news-filters {
    background: #111827;
    border: 1px solid #374151;
    box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}

body.sn-dark-mode .sn-news-filters.mb-4,
body.dark-mode .sn-news-filters.mb-4 {
    background: #111827 !important;
    border: 1px solid #374151 !important;
    box-shadow: 0 10px 24px rgba(0,0,0,0.25) !important;
}

body.sn-dark-mode .sn-news-filters .form-label,
body.dark-mode .sn-news-filters .form-label {
    color: #e5e7eb;
}

body.sn-dark-mode .sn-news-filters .form-control,
body.dark-mode .sn-news-filters .form-control,
body.sn-dark-mode .sn-news-filters .form-select,
body.dark-mode .sn-news-filters .form-select {
    background: #0b1220;
    border-color: #374151;
    color: #e5e7eb;
}

body.sn-dark-mode .sn-news-card,
body.dark-mode .sn-news-card {
    background: #111827;
    border: 1px solid #374151;
    box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}

body.sn-dark-mode .card.h-100.shadow-sm.sn-news-card,
body.dark-mode .card.h-100.shadow-sm.sn-news-card {
    background: #111827 !important;
    border: 1px solid #374151 !important;
    box-shadow: 0 10px 24px rgba(0,0,0,0.25) !important;
}

body.sn-dark-mode .sn-news-card .card-body,
body.dark-mode .sn-news-card .card-body {
    color: #cbd5e1;
}

body.sn-dark-mode .sn-news-card .card-title a,
body.dark-mode .sn-news-card .card-title a,
body.sn-dark-mode .sn-news-card-title a,
body.dark-mode .sn-news-card-title a {
    color: #e5e7eb;
}

body.sn-dark-mode .sn-news-hero,
body.dark-mode .sn-news-hero {
    color: #fff;
}

body.sn-dark-mode .sn-news-card .card-text,
body.dark-mode .sn-news-card .card-text {
    color: #9ca3af !important;
}

body.sn-dark-mode .sn-news-pagination .page-link,
body.dark-mode .sn-news-pagination .page-link {
    background: #111827;
    color: #93c5fd;
    border: 1px solid #374151;
}

body.sn-dark-mode .pagination.justify-content-center .page-link,
body.dark-mode .pagination.justify-content-center .page-link {
    background: #111827 !important;
    color: #93c5fd !important;
    border: 1px solid #374151 !important;
}

body.sn-dark-mode .pagination.justify-content-center .page-link:hover,
body.dark-mode .pagination.justify-content-center .page-link:hover {
    background: #1f2937 !important;
    border-color: #4b5563 !important;
    color: #fff !important;
}

body.sn-dark-mode .sn-news-pagination .page-link:hover,
body.dark-mode .sn-news-pagination .page-link:hover {
    background: #1f2937;
    border-color: #4b5563;
    color: #fff;
}

body.sn-dark-mode .sn-news-pagination .page-item.active .page-link,
body.dark-mode .sn-news-pagination .page-item.active .page-link {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

/* Stats - haber listesi ile uyumlu */
.sn-news-stats {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 2rem;
}

.category-news-container {
    background: linear-gradient(135deg, #fef7ff 0%, #f3e8ff 100%);
    min-height: 100vh;
}

.category-header {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: white;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.category-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
}

.category-info {
    position: relative;
    z-index: 2;
    text-align: center;
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.category-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.category-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 300;
}

.category-description {
    font-size: 1rem;
    opacity: 0.8;
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.category-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.category-stat {
    text-align: center;
    padding: 1rem 1.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.category-stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
}

.category-stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.3rem;
}

.breadcrumb-section {
    background: rgba(255,255,255,0.1);
    padding: 1rem 0;
    backdrop-filter: blur(10px);
}

.breadcrumb {
    background: transparent;
    margin: 0;
    padding: 0;
}

.breadcrumb-item a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: white;
}

.breadcrumb-item.active {
    color: white;
}

.subcategories-section {
    padding: 2rem 0;
    background: white;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.subcategories-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.subcategories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.subcategory-link {
    background: #f8fafc;
    color: #374151;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.subcategory-link:hover {
    background: #7c3aed;
    color: white;
    border-color: #7c3aed;
    transform: translateY(-1px);
}

.subcategory-link.active {
    background: #7c3aed;
    color: white;
    border-color: #7c3aed;
}

.news-section {
    padding: 3rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sort-options {
    display: flex;
    gap: 0.5rem;
}

.sort-btn {
    background: #f8fafc;
    color: #374151;
    border: 1px solid #e2e8f0;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sort-btn:hover,
.sort-btn.active {
    background: #7c3aed;
    color: white;
    border-color: #7c3aed;
}

.category-news-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.category-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.news-image-container {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-news-card:hover .news-image {
    transform: scale(1.05);
}

.news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-news-card:hover .news-overlay {
    opacity: 1;
}

.news-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.priority-badge {
    background: linear-gradient(45deg, #ef4444, #dc2626);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.date-badge {
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.news-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-headline {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.8rem;
    flex: 1;
}

.news-headline a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-headline a:hover {
    color: #7c3aed;
}

.news-excerpt {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.news-tag {
    background: #f3e8ff;
    color: #7c3aed;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.news-tag:hover {
    background: #7c3aed;
    color: white;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.06);
    margin-top: auto;
}

.news-author {
    font-size: 0.8rem;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.news-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: #9ca3af;
}

.news-stat {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.featured-news {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.featured-news::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
}

.featured-content {
    position: relative;
    z-index: 2;
}

.featured-badge {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.featured-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.featured-excerpt {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.featured-link {
    background: white;
    color: #7c3aed;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.featured-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.pagination-section {
    padding: 2rem 0;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.page-link {
    padding: 0.6rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    color: #374151;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.page-link:hover {
    background: #7c3aed;
    border-color: #7c3aed;
    color: white;
    transform: translateY(-1px);
}

.page-item.active .page-link {
    background: #7c3aed;
    border-color: #7c3aed;
    color: white;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .category-header {
        padding: 2rem 0;
    }
    
    .category-title {
        font-size: 2rem;
    }
    
    .category-subtitle {
        font-size: 1rem;
    }
    
    .category-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .category-stat {
        padding: 0.8rem 1rem;
    }
    
    .subcategories-section {
        padding: 1.5rem 0;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .sort-options {
        width: 100%;
        justify-content: center;
    }
    
    .news-content {
        padding: 1.2rem;
    }
    
    .news-headline {
        font-size: 1rem;
    }
    
    .news-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .featured-news {
        padding: 1.5rem;
    }
    
    .featured-title {
        font-size: 1.5rem;
    }
}
