/* Blog CSS Styles */

/* Blog Hero Section */
.blog-hero {
    color: white;
    padding: 80px 0;
    text-align: center;
}

.blog-hero .hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.blog-hero .hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Section */
.blog-section {
    padding: 0;
    background-color: #f8f9fa;
    padding-top: 35px;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* Blog Card */
.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.blog-image {
    position: relative;
    height: 720px;
    overflow: hidden;
}

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

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

.blog-placeholder {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 2rem;
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
}

.category-badge {
    background: #333;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.blog-content {
    padding: 25px;
}

.blog-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.blog-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #888;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-meta i {
    font-size: 0.8rem;
}

/* Empty Blog */
.empty-blog {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 20px;
}

.empty-blog h3 {
    color: #666;
    margin-bottom: 10px;
}

.empty-blog p {
    color: #999;
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.pagination-list {
    display: flex;
    list-style: none;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.page-item {
    margin: 0;
    
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: white;
    color: #333;
    text-decoration: none;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

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

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

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 20px;
}

.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

/* Category List */
.category-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list li a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-list li a:hover {
    color: #667eea;
}

.category-list li.active a {
    color: #667eea;
    font-weight: 600;
}

.category-count {
    background: #f0f0f0;
    color: #666;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
}

/* Popular Posts */
.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.popular-post {
    display: flex;
    gap: 15px;
    align-items: center;
}

.post-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-placeholder {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1.2rem;
}

.post-content {
    flex: 1;
}

.post-title {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 5px;
    line-height: 1.4;
}

.post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.post-meta {
    font-size: 0.8rem;
    color: #888;
    display: flex;
    gap: 10px;
}

.post-views {
    display: flex;
    align-items: center;
    gap: 3px;
}

/* Blog Detail Styles */
.blog-detail-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

/* Blog Page Header with Background Image */
.blog-page-header {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.blog-page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.blog-page-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

@media (max-width: 768px) {
    .blog-page-header {
        min-height: 300px;
    }
    
    .blog-page-header h1 {
        font-size: 2rem;
    }
    
    .blog-page-header p {
        font-size: 1rem;
    }
}

.blog-detail {
    /* Light metallic grey background */
    background: linear-gradient(135deg, #f2f3f5 0%, #e7e9ec 100%);
    border-radius: 12px;
    padding: 40px;
    border: 1px solid #d9d9d9;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
}

/* Blog Detail Navigation */
.breadcrumb-nav {
    margin-bottom: 30px;
}

/* Override active breadcrumb item color for blog detail */
.breadcrumb-item.active {
    color: #fff !important;
    font-weight: 500;
    background: none !important;
    padding: 2px 8px;
}

/* Blog Image */
.blog-image {
    margin: 30px 0;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    position: relative;
}

.blog-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Blog Info */
.blog-info {
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    border-left: 6px solid #ffb900;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.blog-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    align-items: center;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #c0c0c0;
    font-weight: 500;
}

.meta-item i {
    color: #ffb900;
    font-size: 1rem;
    width: 18px;
    text-align: center;
}

.meta-item span {
    font-weight: 600;
    color: #e0e0e0;
}

/* Blog Excerpt */
.blog-excerpt {
    background: linear-gradient(135deg, #2a2a2a 0%, #404040 100%);
    padding: 25px;
    border-radius: 12px;
    margin: 30px 0;
    border-left: 6px solid #ffb900;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.blog-excerpt p {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.7;
    color: #e0e0e0;
    font-style: italic;
    font-weight: 500;
}

/* Blog Content */
.blog-content {
    line-height: 1.8;
    color: #333;
    font-size: 1.1rem;
}

.blog-content p {
    margin-bottom: 20px;
}

.blog-content h2, .blog-content h3, .blog-content h4 {
    margin: 30px 0 15px 0;
    color: #333;
}

.blog-content h2 {
    font-size: 1.8rem;
}

.blog-content h3 {
    font-size: 1.5rem;
}

.blog-content h4 {
    font-size: 1.3rem;
}

/* Blog Footer */
.blog-footer {
    margin-top: 40px;
    padding: 30px 25px;
    border-top: 1px solid #ddd;
    background: linear-gradient(135deg, #f2f3f5 0%, #e7e9ec 100%);
    border-radius: 12px;
    border: 1px solid #d9d9d9;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.blog-tags {
    margin-bottom: 25px;
}

.tags-label {
    font-weight: 600;
    color: #333;
    margin-right: 15px;
    font-size: 1rem;
}

.tag {
    display: inline-block;
    background: #333;
    color: #c0c0c0;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin: 5px 5px 5px 0;
    border: 1px solid #444;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #ffb900;
    color: #1a1a1a;
    border-color: #ffb900;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 185, 0, 0.3);
}

/* Social Share */
.social-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-label {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.share-btn:hover {
    transform: scale(1.1);
    border-color: #ffb900;
    box-shadow: 0 4px 15px rgba(255, 185, 0, 0.3);
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.whatsapp {
    background: #25d366;
}

/* Related Posts */
.related-posts {
    /* Match metallic grey theme with the detail container */
    background: linear-gradient(135deg, #f2f3f5 0%, #e7e9ec 100%);
    border-radius: 12px;
    padding: 40px;
    border: 1px solid #d9d9d9;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.section-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #333;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.related-post {
    display: flex;
    gap: 15px;
    align-items: center;
}

.related-post .post-image {
    width: 80px;
    height: 80px;
}

.related-post .post-title {
    font-size: 1rem;
    margin-bottom: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-hero .hero-title {
        font-size: 2rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-detail {
        padding: 20px;
    }
    
    .breadcrumb-container {
        padding: 12px 0;
    }
    
    .breadcrumb {
        font-size: 12px;
    }
    
    .breadcrumb-item + .breadcrumb-item::before {
        padding: 0 8px;
        
    }
    
    .blog-info {
        padding: 20px;
        margin-bottom: 25px;
    }
    
    .blog-meta-info {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .meta-item {
        font-size: 0.9rem;
    }
    
    .blog-excerpt {
        padding: 20px;
        margin: 25px 0;
    }
    
    .blog-excerpt p {
        font-size: 1.05rem;
    }
    
    .blog-footer {
        padding: 25px 20px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .social-share {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .share-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .breadcrumb-container {
        padding: 10px 0;
    }
    
    .breadcrumb {
        font-size: 11px;
    }
    
    .blog-info {
        padding: 18px;
        margin-bottom: 20px;
        border-left-width: 4px;
    }
    
    .blog-meta-info {
        gap: 12px;
    }
    
    .meta-item {
        font-size: 0.85rem;
    }
    
    .meta-item i {
        font-size: 0.9rem;
        width: 16px;
    }
    
    .blog-excerpt {
        padding: 18px;
        margin: 20px 0;
    }
    
    .blog-excerpt p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .blog-footer {
        padding: 20px 18px;
    }
    
    .tags-label {
        font-size: 0.95rem;
        margin-right: 12px;
    }
    
    .tag {
        padding: 6px 12px;
        font-size: 0.85rem;
        margin: 4px 4px 4px 0;
    }
    
    .share-label {
        font-size: 0.95rem;
    }
    
    .share-btn {
        width: 38px;
        height: 38px;
    }
    
    .blog-sidebar {
        position: static;
        margin-top: 30px;
    }
    
    .blog-card {
        margin-bottom: 20px;
    }
    
    .blog-content {
        padding: 20px;
    }
}

/* Anahtar Kelimeler Stilleri (Etiketler) */
.news-keywords {
    margin-top: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #333;
}

.news-keywords h4 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
}

.keywords-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.keyword-badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: #333;
    color: white;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.keyword-badge:hover {
    background-color: #555;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.blog-makaleler-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 40px;
}
@media (max-width: 900px) {
    .blog-makaleler-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
.blog-makale-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s;
}
.blog-makale-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
}
.blog-makale-image {
    width: 100%;
    height: 180px;
    background: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.blog-makale-image img {
    width: 100%;
    height: 170%;
    object-fit: cover;
    display: block;
    margin-top: 120px;
}
.blog-makale-content {
    padding: 22px 20px 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.blog-makale-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
    line-height: 1.4;
}
.blog-makale-badge {
    background: #616161;
    color: #fff;
    display: inline-block;
    padding: 4px 14px;
    border-radius: 14px;
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 0.2px;
}
.blog-makale-ozet {
    color: #555;
    font-size: 0.98rem;
    margin-bottom: 14px;
    min-height: 48px;
}
.blog-makale-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}
.blog-makale-date {
    font-size: 0.92rem;
    color: #888;
}
.blog-makale-button {
    background: #ffb900;
    color: #18191a;
    border-radius: 6px;
    padding: 7px 16px;
    font-size: 0.97rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
    border: none;
    outline: none;
    display: inline-block;
}
.blog-makale-button:hover {
    background: #18191a;
    color: #fff;
}
.blog-makale-button-wrapper {
  margin-top: 30px;
  text-align: center;
}
.blog-makale-dark-button {
  display: inline-block;
  width: 100%;
  max-width: 420px;
  padding: 18px 0;
  background: #18191a;
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.13rem;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}
.blog-makale-dark-button:hover {
  background: #ffb900;
  color: #18191a;
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
}

/* Blog ve Haber Kategori Butonları */
.category-filter-btn {
    display: inline-block;
    margin: 5px;
    padding: 8px 16px;
    background-color: #616161;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #616161;
}

.category-filter-btn:hover {
    background-color: #4a4a4a;
    color: white;
    border-color: #4a4a4a;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(97, 97, 97, 0.3);
}
