/**
 * News Styles CSS
 * Haber sayfası için özel stiller
 */

/* Article Image Styling */
.article-image {
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.article-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* Share Buttons Styling */
.article-share {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.article-share strong {
    color: #374151;
    font-weight: 500;
    margin-right: 5px;
}

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

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.share-btn.facebook:hover {
    background: #166fe5;
    border-color: #1877f2;
}

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

.share-btn.twitter:hover {
    background: #1a91da;
    border-color: #1da1f2;
}

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

.share-btn.whatsapp:hover {
    background: #22c55e;
    border-color: #25d366;
}

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

.share-btn.linkedin:hover {
    background: #006ba1;
    border-color: #0077b5;
}

.share-btn.telegram {
    background: #0088cc;
    color: white;
}

.share-btn.telegram:hover {
    background: #0077b3;
    border-color: #0088cc;
}

/* Source Link Styling - Pastel ve Subtle */
.article-source-link {
    margin-top: 30px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #6c757d;
    border-radius: 0 8px 8px 0;
    font-size: 14px;
    color: #6c757d;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.article-source-link:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    color: #495057;
    text-decoration: none;
    transform: translateX(2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.article-source-link::before {
    content: "🔗 ";
    margin-right: 8px;
    font-size: 12px;
}

/* AI Generated Content Styling */
.ai-generated-content {
    position: relative;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #28a745;
}

.ai-generated-content::before {
    content: "🤖 AI ile oluşturuldu";
    position: absolute;
    top: -10px;
    left: 20px;
    background: #28a745;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
}

/* News Content Styling */
.news-content {
    line-height: 1.8;
    font-size: 15px;
    color: #333;
    margin-bottom: 30px;
}

/* Article Text Styling */
.article-text {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
}

/* Article Excerpt Styling */
.article-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

/* Article Title Styling */
.article-title {
    font-size: 25px;
    font-weight: 700;
    line-height: 1.2;
    color: #2c3e50;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .article-title {
        font-size: 20px;
    }
}

/* Article Tags Styling */
.article-tags-top {
    /* background: #f8f9fa; */
    /* border: 1px solid #e5e7eb; */
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
}

.article-tags-top .tag-link {
    font-size: 10px;
    padding: 4px 8px;
    background: #f8f9fa;
    color: #6c757d;
    text-decoration: none;
    border-radius: 12px;
    display: inline-block;
    margin-right: 5px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.article-tags-top .tag-link:hover {
    background: #007bff;
    color: white;
    transform: translateY(-1px);
}

.news-content h2 {
    color: #2c3e50;
    margin: 30px 0 15px 0;
    font-size: 24px;
    font-weight: 600;
}

.news-content h3 {
    color: #34495e;
    margin: 25px 0 12px 0;
    font-size: 20px;
    font-weight: 500;
}

.news-content p {
    margin-bottom: 16px;
    text-align: justify;
}

/* Related News Styling */
.related-news {
    margin-top: 40px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 1px solid #dee2e6;
}

.related-news h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
}

.related-news ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-news li {
    margin-bottom: 12px;
    padding: 12px 16px;
    background: white;
    border-radius: 6px;
    border-left: 3px solid #007bff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.related-news li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-left-color: #0056b3;
}

.related-news li::before {
    content: "📰 ";
    margin-right: 8px;
    font-size: 14px;
}

/* Meta Information Styling */
.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 14px;
    color: #6c757d;
}

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

.news-meta span::before {
    font-size: 12px;
}

.news-meta .category::before {
    content: "📂 ";
}

.news-meta .date::before {
    content: "📅 ";
}

.news-meta .views::before {
    content: "👁️ ";
}

.news-meta .author::before {
    content: "✍️ ";
}

/* Responsive Design */
@media (max-width: 768px) {
    .article-image {
        margin-bottom: 15px;
    }
    
    .article-source-link {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .news-content {
        font-size: 15px;
        width: 100% !important;
    }
    
    .news-content h2 {
        font-size: 20px;
    }
    
    .news-content h3 {
        font-size: 18px;
    }
    
    .article-content {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .content-wrapper {
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .container {
        width: 100% !important;
        max-width: none !important;
        padding: 0 10px !important;
        margin: 0 !important;
    }
    
    .main-content-single {
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .news-article {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 15px !important;
    }
    
    .related-news {
        padding: 20px 15px;
    }
    
    .news-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 15px !important;
        max-width: none !important;
    }
    
    .news-card {
        width: 100% !important;
        margin: 0 !important;
    }
    
    .similar-news .news-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 15px !important;
    }
    
    .news-meta {
        flex-direction: column;
        gap: 10px;
    }
}

/* Page Header Styles */
.page-header {
    text-align: center;
    margin: 40px 0 60px 0;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 1px solid #dee2e6;
}

/* Loading Indicator Styles */
.loading-indicator {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    margin: 20px 0;
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: #6c757d;
}

.loading-spinner i {
    font-size: 24px;
    color: #dc2626;
}

.loading-spinner span {
    font-size: 14px;
    font-weight: 500;
}

/* End Indicator Styles */
.end-indicator {
    text-align: center;
    padding: 30px 20px;
    background: #e8f5e8;
    border-radius: 12px;
    margin: 20px 0;
    border: 1px solid #c3e6c3;
}

.end-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #28a745;
}

.end-message i {
    font-size: 20px;
}

.end-message span {
    font-size: 14px;
    font-weight: 500;
}

.page-title {
    font-size: 42px;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-description {
    font-size: 18px;
    color: #6c757d;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Social Sharing Styles */
.article-share {
    /* margin: 20px 0; */
    /* padding: 15px; */
    background: #f8f9fa;
    /* border-radius: 8px; */
    /* border-left: 4px solid #007bff; */
}

.article-share strong {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-size: 14px;
}

.share-btn {
    display: inline-block;
    margin: 5px 8px 5px 0;
    padding: 8px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

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

.share-btn.facebook:hover {
    background: #166fe5;
    transform: translateY(-1px);
}

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

.share-btn.twitter:hover {
    background: #1a91da;
    transform: translateY(-1px);
}

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

.share-btn.whatsapp:hover {
    background: #22c55e;
    transform: translateY(-1px);
}

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

.share-btn.linkedin:hover {
    background: #006ba1;
    transform: translateY(-1px);
}

.share-btn.telegram {
    background: #0088cc;
    color: white;
}

.share-btn.telegram:hover {
    background: #0077b3;
    transform: translateY(-1px);
}

/* Print Styles */
@media print {
    .article-source-link {
        background: #f8f9fa !important;
        color: #333 !important;
        border: 1px solid #ddd !important;
    }
    
    .related-news {
        display: none;
    }
    
    .ai-generated-content::before {
        display: none;
    }
    
    .article-share {
        display: none;
    }
}

/* Haber Kaynağı Linki */
.news-source-link {
    margin-top: 20px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #495057;
}

.news-source-link i {
    color: #007bff;
    font-size: 16px;
}

.news-source-link .source-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.news-source-link .source-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Tepki Butonları - Haber İçeriğinin İçinde */
.article-reactions-inline {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    text-align: center;
}

.article-reactions-inline .reaction-label {
    font-size: 16px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 15px;
    display: block;
}

.article-reactions-inline .reaction-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.article-reactions-inline .reaction-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 16px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 70px;
}

.article-reactions-inline .reaction-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
}

.article-reactions-inline .reaction-btn i {
    font-size: 20px;
    margin-bottom: 6px;
}

.article-reactions-inline .reaction-count {
    font-size: 12px;
    font-weight: 600;
    color: #495057;
}

@media (max-width: 768px) {
    .news-source-link {
        margin: 15px 0;
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .article-reactions-inline {
        margin: 20px 0;
        padding: 15px;
    }
    
    .article-reactions-inline .reaction-buttons {
        gap: 8px;
    }
    
    .article-reactions-inline .reaction-btn {
        padding: 10px 12px;
        min-width: 60px;
    }
    
    .article-reactions-inline .reaction-btn i {
        font-size: 18px;
        margin-bottom: 4px;
    }
    
    .article-reactions-inline .reaction-count {
        font-size: 11px;
    }
}
