/* Köşe Yazıları Ana Sayfası Stilleri */

/* ===== GENEL STİLLER ===== */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem 0;
    border-radius: 10px;
    margin-bottom: 2rem;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

/* ===== ARAMA VE FİLTRELER ===== */
.search-filters {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-filters .form-control,
.search-filters .form-select {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
}

.search-filters .btn-primary {
    background: #667eea;
    border-color: #667eea;
    border-radius: 8px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
}

/* ===== ÖNE ÇIKAN KÖŞE YAZILARI ===== */
.featured-columns {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #667eea;
}

.featured-column-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.featured-column-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.featured-column-card .column-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.featured-column-card .column-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-column-card:hover .column-image img {
    transform: scale(1.05);
}

.featured-column-card .column-content {
    padding: 1.5rem;
}

.column-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #666;
}

.column-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.column-meta a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.column-meta a:hover {
    color: #5a6fd8;
    text-decoration: underline;
}

.column-title {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.column-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.column-title a:hover {
    color: #667eea;
}

.column-summary {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.column-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #888;
}

.column-stats span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* ===== TÜM KÖŞE YAZILARI ===== */
.column-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.column-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.column-card .column-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.column-card .column-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.column-card:hover .column-image img {
    transform: scale(1.03);
}

.featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ffd700;
    color: #333;
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.column-card .column-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
}

.column-card .column-title {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.column-card .column-summary {
    flex: 1;
    margin-bottom: 1rem;
}

.column-footer {
    margin-top: auto;
}

.column-tags {
    margin-top: 0.75rem;
}

.tag {
    display: inline-block;
    background: #e9ecef;
    color: #495057;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    text-decoration: none;
    margin-right: 0.3rem;
    margin-bottom: 0.3rem;
    transition: all 0.2s ease;
}

.tag:hover {
    background: #667eea;
    color: white;
    text-decoration: none;
}

/* ===== SAYFALAMA ===== */
.pagination {
    margin-top: 2rem;
}

.page-link {
    border: 1px solid #ddd;
    color: #667eea;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    margin: 0 0.2rem;
}

.page-link:hover {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

.page-item.active .page-link {
    background: #e0e0e0; /* Gri arka plan */
    border-color: #e0e0e0;
    color: #000000; /* Siyah yazı */
    font-weight: 600;
}

/* ===== KENAR ÇUBUĞU ===== */
.sidebar {
    padding-top: 1rem;
}

.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* ===== ETİKET BULUTU ===== */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-item {
    display: inline-block;
    background: #f8f9fa;
    color: #495057;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.tag-item:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-1px);
    text-decoration: none;
}

.tag-item .count {
    opacity: 0.7;
    font-size: 0.8em;
}

/* ===== KATEGORİ LİSTESİ ===== */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 0.5rem;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    color: #495057;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.category-list a:hover {
    background: #f8f9fa;
    border-color: #e9ecef;
    color: #667eea;
    text-decoration: none;
}

.category-list .count {
    font-size: 0.8rem;
    opacity: 0.7;
    background: #e9ecef;
    padding: 0.1rem 0.4rem;
    border-radius: 10px;
}

/* ===== POPÜLER LİSTE ===== */
.popular-list .popular-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.popular-list .popular-item:last-child {
    border-bottom: none;
}

.popular-list h6 {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.3rem;
}

.popular-list h6 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.2s ease;
}

.popular-list h6 a:hover {
    color: #667eea;
}

.popular-list small {
    font-size: 0.75rem;
    color: #888;
}

/* ===== SONUÇ BULUNAMADI ===== */
.no-results {
    background: white;
    border-radius: 12px;
    padding: 3rem 2rem;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.no-results i {
    color: #ccc;
}

.no-results h4 {
    color: #666;
    margin-bottom: 1rem;
}

/* ===== YÜKLENİYOR DURUMU ===== */
.loading {
    text-align: center;
    padding: 1rem;
    color: #888;
}

.loading i {
    margin-right: 0.5rem;
}

/* ===== RESPONSİF TASARIM ===== */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .search-filters {
        padding: 1rem;
    }
    
    .search-filters .row > div {
        margin-bottom: 0.5rem;
    }
    
    .column-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .featured-column-card .column-content,
    .column-card .column-content {
        padding: 1rem;
    }
    
    .column-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .sidebar {
        margin-top: 2rem;
    }
    
    .tag-cloud {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding: 1.5rem 1rem;
        margin: 0 -15px 2rem;
        border-radius: 0;
    }
    
    .search-filters {
        margin: 0 -15px 2rem;
        border-radius: 0;
    }
    
    .featured-column-card .column-image,
    .column-card .column-image {
        height: 150px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .column-title {
        font-size: 1.1rem;
    }
}

/* ===== ANİMASYONLAR ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.column-card,
.featured-column-card,
.sidebar-widget {
    animation: fadeIn 0.6s ease-out;
}

/* ===== PRINT STİLLERİ ===== */
@media print {
    .sidebar,
    .search-filters,
    .pagination {
        display: none;
    }
    
    .column-card,
    .featured-column-card {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }
}

/* Dark mode support removed to maintain consistent light theme */