/* Premium Theme - Widget Stilleri */

/* Global Font - Exo (ikonlar hariç) */
*:not([class*="icofont"]) {
    font-family: 'Exo', sans-serif;
}

html {
    margin: 0;
    padding: 0;
    background: #e74c3c;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Exo', sans-serif;
    background: #fff;
}

main {
    background: #f5f5f5;
    padding-top: 30px;
}

/* Başlıklar */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Exo', sans-serif;
    font-weight: 400 !important;
}

h1 {
    font-size: 28px !important;
}

h2 {
    font-size: 24px !important;
}

h3 {
    font-size: 20px !important;
}

h4 {
    font-size: 18px !important;
}

h5 {
    font-size: 16px !important;
}

h6 {
    font-size: 14px !important;
}

/* Header Stilleri */
.header-form {
    width: auto;
    flex: 1;
    max-width: 600px;
    margin: 0 20px;
}

.header-widget-group a {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50px;
    margin-right: 5px;
    display: inline-block;
}

.header-widget-group a i {
    font-size: 18px;
}

.blog-widget-title {
    font-family: 'Exo', sans-serif;
    font-weight: 400 !important;
}

/* Yazı Listesi - Tek sütun ve temiz görünüm */
.row-cols-1 > .col {
    width: 100%;
}

.product-standard {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-left: 4px solid #e74c3c;
}

.standard-name {
    margin-bottom: 5px;
    text-transform: capitalize;
}

.standard-name h4 {
    font-size: 14px !important;
}

.standard-name a {
    color: #333;
    text-decoration: none;
    transition: all linear .3s;
    -webkit-transition: all linear .3s;
    -moz-transition: all linear .3s;
    -ms-transition: all linear .3s;
    -o-transition: all linear .3s;
}

.standard-name a:hover {
    color: #e74c3c;
}

.standard-rating {
    display: flex;
    gap: 20px;
    color: #777;
    font-size: 14px;
}

.standard-rating i {
    margin-right: 5px;
    color: #e74c3c;
}

/* Blog Widget - Genel */
.blog-widget {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.blog-widget-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 3px solid #e74c3c;
    position: relative;
}

.blog-widget-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #3498db;
}

/* Widget Grid - 2x2 Düzeni */
.widgets-grid {
    margin-top: 30px;
    gap: 20px;
}

.widgets-grid .col-lg-6 {
    margin-bottom: 20px;
}

/* Kategori Widget */
.blog-widget-category {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-widget-category li {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.blog-widget-category li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.blog-widget-category li a {
    display: block;
    color: #555;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    padding: 5px 0 5px 0;
    border-left: 3px solid transparent;
    padding-left: 10px;
}

.blog-widget-category li a:hover {
    color: #e74c3c;
    border-left-color: #e74c3c;
}

/* Popüler Yazılar Widget */
.widget-post-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-post-list li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.widget-post-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.widget-post-list li a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
    display: block;
    transition: color 0.3s ease;
}

.widget-post-list li a:hover {
    color: #e74c3c;
}

.widget-post-list li a i {
    color: #e74c3c;
    margin-right: 8px;
}

.widget-post-list li small {
    display: block;
    color: #999;
    font-size: 12px;
    margin-top: 5px;
}

/* Üyelik Widget */
.member-auth-widget {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.member-auth-widget .blog-widget-title {
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.3);
}

.member-auth-widget .blog-widget-title::after {
    background: #fff;
}

/* Widget Content */
.widget-content {
    font-size: 14px;
    line-height: 1.8;
}

/* Dark Mode Widget Stilleri */
body.dark-theme .blog-widget {
    background: #2c3e50;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

body.dark-theme .blog-widget-title {
    color: #ecf0f1;
    border-bottom-color: #e74c3c;
}

body.dark-theme .blog-widget-category li {
    border-bottom-color: #34495e;
}

body.dark-theme .blog-widget-category li a {
    color: #bdc3c7;
}

body.dark-theme .blog-widget-category li a:hover {
    color: #3498db;
}

body.dark-theme .blog-widget-category li a span {
    background: #34495e;
    color: #95a5a6;
}

body.dark-theme .widget-post-list li {
    border-bottom-color: #34495e;
}

body.dark-theme .widget-post-list li a {
    color: #ecf0f1;
}

body.dark-theme .widget-post-list li a:hover {
    color: #3498db;
}

/* Icon font override */
[class*="icofont-"],
[class^="icofont-"] {
    font-family: 'IcoFont' !important;
}

/* Header & Navbar Stilleri */
.header-part {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}

.navbar-content {
    background: #fff;
    border-top: 1px solid #e0e0e0;
    margin-top: 0;
    padding: 8px 0;
}

.navbar-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.navbar-list .nav-item {
    margin: 0 5px 0 0;
}

.navbar-list .nav-link {
    display: block;
    padding: 10px 18px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.navbar-list .nav-link:hover,
.navbar-list .nav-item.active .nav-link {
    background: #e74c3c;
    color: #fff;
}

/* Footer Stilleri */
.dk-footer {
    background: #fff;
    padding-bottom: 0;
    margin-bottom: 0;
}

.copyright {
    background: #e74c3c;
    color: #fff;
    padding: 15px 0;
    margin: 0;
}

.copyright span,
.copyright a {
    color: #fff;
    white-space: nowrap;
}

.copyright a:hover {
    color: #fff;
    opacity: 0.8;
}

/* ============================================
   POST CONTENT STYLING (Yazı İçerik Stilleri)
   ============================================ */

/* Yazı içeriği genel container */
.post-content {
    font-family: 'Exo', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin: 30px 0;
}

/* Yazı içeriği paragrafları */
.post-content p {
    margin-bottom: 20px;
    text-align: justify;
    line-height: 1.8;
}

/* Yazı içeriği başlıkları */
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    font-family: 'Exo', sans-serif;
    font-weight: 600 !important;
    color: #1e293b;
    margin-top: 30px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.post-content h2 {
    font-size: 26px !important;
    padding-bottom: 10px;
    border-bottom: 2px solid #e74c3c;
}

.post-content h3 {
    font-size: 22px !important;
    color: #334155;
}

.post-content h4 {
    font-size: 18px !important;
    color: #475569;
}

/* Listeler */
.post-content ul,
.post-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.post-content ul li,
.post-content ol li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.post-content ul {
    list-style-type: disc;
}

.post-content ol {
    list-style-type: decimal;
}

/* Linkler */
.post-content a {
    color: #e74c3c;
    text-decoration: none;
    border-bottom: 1px dotted #e74c3c;
    transition: all 0.3s;
}

.post-content a:hover {
    color: #c0392b;
    border-bottom-style: solid;
}

/* Görseller */
.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Alıntılar (Blockquote) */
.post-content blockquote {
    margin: 25px 0;
    padding: 20px 25px;
    background: #f8fafc;
    border-left: 4px solid #e74c3c;
    font-style: italic;
    color: #475569;
}

.post-content blockquote p {
    margin: 0;
}

/* Kod blokları */
.post-content pre {
    background: #1e293b;
    color: #f1f5f9;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
}

.post-content code {
    background: #f1f5f9;
    color: #e74c3c;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.post-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

/* Tablolar */
.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.post-content table th,
.post-content table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #e2e8f0;
}

.post-content table th {
    background: #e74c3c;
    color: #fff;
    font-weight: 600;
}

.post-content table tr:nth-child(even) {
    background: #f8fafc;
}

.post-content table tr:hover {
    background: #f1f5f9;
}

/* Yatay çizgi */
.post-content hr {
    border: none;
    border-top: 2px solid #e2e8f0;
    margin: 30px 0;
}

/* Strong ve em */
.post-content strong,
.post-content b {
    font-weight: 700;
    color: #1e293b;
}

.post-content em,
.post-content i {
    font-style: italic;
}

/* Featured Image */
.post-featured-image {
    margin: 25px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    box-shadow: none;
}

/* Post Header */
.post-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.post-title {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #1e293b;
    margin: 15px 0 !important;
    line-height: 1.3;
}

.post-category {
    display: inline-block;
    background: #e74c3c;
    color: #fff;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.post-category:hover {
    background: #c0392b;
    color: #fff;
}

.post-meta {
    display: flex;
    gap: 20px;
    color: #64748b;
    font-size: 14px;
    margin-top: 10px;
}

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

.post-meta i {
    color: #e74c3c;
}

/* Post Footer */
.post-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e2e8f0;
}

.post-tags {
    margin-bottom: 20px;
}

.post-tags i {
    color: #e74c3c;
    margin-right: 8px;
}

.post-tags .tag {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 13px;
    margin-right: 8px;
    margin-bottom: 8px;
}

/* Sosyal Paylaşım */
.post-share {
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-share strong {
    color: #1e293b;
    font-size: 15px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s;
    text-decoration: none;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

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

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

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

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

.share-btn.linkedin {
    background: #0a66c2;
}

/* İlgili Yazılar */
.related-posts {
    margin-top: 50px;
    padding: 30px;
    background: #f8fafc;
    border-radius: 12px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: #e74c3c;
}

.related-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s;
    margin-bottom: 20px;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.related-image {
    display: block;
    width: 100%;
    height: 150px;
    overflow: hidden;
}

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

.related-card:hover .related-image img {
    transform: scale(1.1);
}

.related-content {
    padding: 15px;
}

.related-content h4 {
    font-size: 16px !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.4;
}

.related-content a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s;
}

.related-content a:hover {
    color: #e74c3c;
}

.related-date {
    color: #94a3b8;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ============================================
   MODERN TEMA (Modern Tarzı) - TAM KOPYALA
   ============================================ */

/* Ortalı Başlık */
.alert-info {
    background: #e74c3c;
    padding: 30px 20px;
    margin-bottom: 30px;
    text-align: center;
}

.alert-info h1 {
    /* font-size tipografi ayarlarından gelecek (header.php'de tanımlı) */
    font-weight: 700 !important;
    color: #fff !important;
    margin: 0 !important;
    line-height: 1.4;
}

/* Breadcrumb - blog-widget-title içinde ol */
.blog-widget-title ol {
    list-style: none;
    padding: 8px 12px;
    margin: 10px 0;
    font-size: 14px;
    color: #666;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.blog-widget-title ol li {
    display: inline;
}

.blog-widget-title ol li a {
    color: #e74c3c;
    text-decoration: none;
}

.blog-widget-title ol li a:hover {
    text-decoration: underline;
}

/* Meta Bilgiler */
.blog-details-meta {
    list-style: none;
    padding: 10px 15px;
    margin: 10px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
    color: #666;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

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

.blog-details-meta li a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.blog-details-meta li a:hover {
    color: #e74c3c;
}

.blog-details-meta li i {
    color: #e74c3c;
}

/* Sosyal Paylaşım */
.blog-details-footer {
    margin-bottom: 20px;
}

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

.blog-details-share li {
    margin: 0;
}

.blog-details-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    transition: all 0.2s;
    text-decoration: none;
}

.blog-details-share a:hover {
    opacity: 0.8;
}

.share-facebook a {
    background: #3b5998;
}

.share-x a {
    background: #1da1f2;
}

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

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

.share-telegram a {
    background: #0088cc;
}

.share-telegram svg {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

.share-mail a {
    background: #777;
}

.share-pinterest a {
    background: #bd081c;
}

/* Görsel Gizle */
.blog-details-thumb {
    display: none;
}

/* İçerik */
.post-content-body {
    text-align: justify;
    line-height: 1.8;
    margin-top: 20px;
}

/* Liste Stilleri - post-content-body için */
.post-content-body ul,
.post-content-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.post-content-body ul li,
.post-content-body ol li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.post-content-body ul {
    list-style-type: disc;
}

.post-content-body ol {
    list-style-type: decimal;
}

/* Benzer Yazılar Başlık */
.user-form-remind {
    background: #e74c3c;
    padding: 12px 20px;
    margin: 40px 0 20px 0;
    border-radius: 5px;
}

.user-form-remind p {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Benzer Yazılar Kartlar */
.product-standard {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-left: 3px solid #e74c3c;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.product-standard:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.standard-media {
    width: 100%;
    overflow: hidden;
}

.standard-media img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.product-standard:hover .standard-media img {
    transform: scale(1.05);
}

.standard-content {
    padding: 6px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: auto;
}

.standard-name {
    font-size: 16px !important;
    font-weight: 600 !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.3;
}

/* Footer Sosyal Medya İkonları */
.footer-social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #e74c3c;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-links a:hover {
    background: #c0392b;
    transform: translateY(-3px);
}

.footer-social-links a i {
    font-size: 18px;
}

.standard-name a {
    color: #333;
    text-decoration: none;
}

.standard-name a:hover {
    color: #e74c3c;
}

.standard-rating {
    font-size: 12px;
    color: #999;
    line-height: 1.2;
    margin: 0;
}

.standard-rating i {
    color: #e74c3c;
    margin-right: 3px;
}

/* Görsel Açıklama Gizle */
.standard-desc {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .alert-info h1 {
        /* Mobilde başlık boyutu %75'i olacak, header.php'de tanımlanacak */
    }

    .blog-details-meta {
        flex-direction: column;
        gap: 8px;
    }

    .blog-details-share {
        flex-wrap: wrap;
    }
}

