/* ============================================
   BLOG ANA SAYFA STYLES
   ============================================ */

/* Blog Hero Section */
.blog-hero {
    position: relative;
    padding: 80px 20px;
    text-align: center;
    color: white;
    overflow: hidden;
    background: linear-gradient(135deg, #26bcc2 0%, #0c3a3c 100%);
}

.blog-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(-45deg, #26bcc2, #0c3a3c, #1e7a7f, #26bcc2);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: 0;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.blog-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.blog-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.blog-hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 0;
    opacity: 0.95;
}

/* Blog Main Section */
.blog-main {
    background: #f8fafc; /* Araç sayfaları ile aynı */
    padding: 80px 20px;
}

/* Blog Categories */
.blog-categories {
    background: linear-gradient(135deg, rgba(166, 230, 233, 0.06) 0%, rgba(38, 188, 194, 0.04) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(38, 188, 194, 0.2);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.blog-categories-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-main);
    text-align: center;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

.category-card {
    background: var(--bg-body);
    border-radius: 12px;
    padding: 30px 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    border: 1px solid var(--border);
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.category-card:hover {
    background: #26bcc2;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(38, 188, 194, 0.3);
}

.category-card:hover .category-card-icon {
    color: white;
}
.category-card:hover .category-card-title {
    color: white;
}
.category-card:hover .category-card-desc {
    color: rgba(255, 255, 255, 0.9);
}
.category-card:hover .category-card-count {
    color: rgba(255, 255, 255, 0.9);
}

/* Category Card Color Variants */
.category-card-purple .category-card-icon {
    color: #a855f7;
}

.category-card-purple:hover {
    background: linear-gradient(135deg, #a855f7, #ec4899);
}

.category-card-blue .category-card-icon {
    color: #3b82f6;
}

.category-card-blue:hover {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.category-card-green .category-card-icon {
    color: #10b981;
}

.category-card-green:hover {
    background: linear-gradient(135deg, #10b981, #84cc16);
}

.category-card-yellow .category-card-icon {
    color: #f59e0b;
}

.category-card-yellow:hover {
    background: linear-gradient(135deg, #f59e0b, #eab308);
}

.category-card-red .category-card-icon {
    color: #ef4444;
}

.category-card-red:hover {
    background: linear-gradient(135deg, #ef4444, #f97316);
}

.category-card-indigo .category-card-icon {
    color: #6366f1;
}

.category-card-indigo:hover {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.category-card-orange .category-card-icon {
    color: #f97316;
}

.category-card-orange:hover {
    background: linear-gradient(135deg, #f97316, #fb923c);
}

.category-card-teal .category-card-icon {
    color: #14b8a6;
}

.category-card-teal:hover {
    background: linear-gradient(135deg, #14b8a6, #06b6d4);
}

.category-card-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.category-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.category-card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.category-card-count {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Blog Articles Section */
.blog-articles-section {
    background: linear-gradient(135deg, rgba(166, 230, 233, 0.06) 0%, rgba(38, 188, 194, 0.04) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
}

.blog-articles-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-main);
    text-align: center;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
    gap: 30px;
}

.article-card {
    background: var(--bg-body);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    border: 1px solid var(--border);
}

.article-card a {
    text-decoration: none;
    color: inherit;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.article-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #26bcc2 0%, #0c3a3c 100%);
}

.article-card-content {
    padding: 25px;
}

.article-card-category {
    display: inline-block;
    background: #26bcc2;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.article-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
    line-height: 1.4;
}

.article-card-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.6;
}

.article-card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.article-card-meta i {
    color: var(--primary);
}

/* Coming Soon Badge */
.coming-soon-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 20px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

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

.blog-empty-icon {
    font-size: 5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.blog-empty-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-main);
}

.blog-empty-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .blog-hero {
        background: linear-gradient(135deg, #0c3a3c 0%, #0f172a 100%);
    }

    .blog-hero::before {
        background: linear-gradient(-45deg, #0c3a3c, #0f172a, #1e293b, #0c3a3c);
        background-size: 400% 400%;
    }

    .blog-main {
        background: #0f172a; /* Araç sayfaları dark mode ile aynı */
    }

    .blog-categories,
    .blog-articles-section {
        background: #0f2d2e; /* Koyu turkuaz ton - dark mode */
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-hero-title {
        font-size: 2rem;
    }
    .blog-hero-subtitle {
        font-size: 1rem;
    }

    .blog-categories,
    .blog-articles-section {
        padding: 30px 20px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        padding: 60px 16px;
    }

    .blog-hero-title {
        font-size: 1.75rem;
    }

    .blog-hero-subtitle {
        font-size: 0.95rem;
    }

    .blog-categories,
    .blog-articles-section {
        padding: 24px 16px;
    }

    .category-card {
        padding: 24px;
    }

    .category-card-icon {
        font-size: 2.5rem;
    }
}

/* ============================================
   BLOG ARTICLE PAGE STYLES
   ============================================ */

/* Blog Article Main */
.blog-article-main {
    background: #f8fafc; /* Araç sayfaları ile aynı */
    padding: 40px 20px 40px;
    min-height: 100vh;
}

/* Blog Article Container */
.blog-article {
    max-width: 1400px; /* 1200px'den 1400px'e artırıldı */
    margin: 0 auto;
}

/* Article Header */
.article-header {
    background: linear-gradient(135deg, rgba(166, 230, 233, 0.06) 0%, rgba(38, 188, 194, 0.04) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px 16px 0 0;
    padding: 40px;
    border: 1px solid rgba(38, 188, 194, 0.2);
    border-bottom: none;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.article-category {
    display: inline-block;
    background: linear-gradient(135deg, #26bcc2 0%, #0c3a3c 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-reading-time {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-reading-time i {
    color: var(--primary);
}

.article-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-date::before {
    content: "📅";
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-main);
    margin-bottom: 30px;
}

.article-featured-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-top: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Article Content */
.article-content {
    background: linear-gradient(135deg, rgba(166, 230, 233, 0.06) 0%, rgba(38, 188, 194, 0.04) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0 0 16px 16px;
    padding: 50px;
    border: 1px solid var(--border);
    border-top: 3px solid #26bcc2;
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--text-main);
}

.article-content p {
    margin-bottom: 24px;
    text-align: justify;
}

.article-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 50px;
    margin-bottom: 24px;
    color: var(--text-main);
    padding-bottom: 12px;
    border-bottom: 3px solid #26bcc2;
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--text-main);
}

.article-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 16px;
    color: var(--text-main);
}

.article-content a {
    color: #26bcc2;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.article-content a:hover {
    border-bottom-color: #26bcc2;
}

.article-content strong {
    font-weight: 700;
    color: var(--text-main);
}

.article-content ul,
.article-content ol {
    margin-bottom: 24px;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 12px;
}

.article-content code {
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: "Courier New", monospace;
    font-size: 0.95em;
    color: #e11d48;
}

.article-content pre {
    background: #1e293b;
    color: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 24px;
}

.article-content pre code {
    background: none;
    color: inherit;
    padding: 0;
}

.article-content blockquote {
    border-left: 4px solid #26bcc2;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: var(--text-muted);
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 0.95rem;
}

.article-content table th,
.article-content table td {
    padding: 12px;
    border: 1px solid var(--border);
    text-align: left;
}

.article-content table th {
    background: #26bcc2;
    color: white;
    font-weight: 600;
}

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

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .blog-article-main {
        background: #0f172a; /* Araç sayfaları dark mode ile aynı */
    }

    .article-header,
    .article-content {
        background: linear-gradient(135deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.5) 100%);
        border-color: rgba(38, 188, 194, 0.2);
    }

    .article-content code {
        background: #0f172a;
        color: #fbbf24;
    }

    .article-content table tr:nth-child(even) {
        background: #0f172a;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-article-main {
        padding: 20px 16px 60px;
    }

    .article-header {
        padding: 30px 24px;
        border-radius: 12px 12px 0 0;
    }

    .article-title {
        font-size: 1.8rem;
    }

    .article-content {
        padding: 30px 24px;
        border-radius: 0 0 12px 12px;
        font-size: 1rem;
    }

    .article-content h2 {
        font-size: 1.6rem;
        margin-top: 40px;
    }

    .article-content h3 {
        font-size: 1.3rem;
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .article-header {
        padding: 24px 16px;
    }

    .article-title {
        font-size: 1.5rem;
    }

    .article-content {
        padding: 24px 16px;
        font-size: 0.95rem;
    }

    .article-content h2 {
        font-size: 1.4rem;
    }

    .article-content h3 {
        font-size: 1.2rem;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ============================================
   BLOG SAYFASINA ÖZEL İLGİLİ ARAÇLAR
   ============================================ */

/* Blog sayfalarında related-tools-section üst margini kaldır */
.page-blog-article .related-tools-section {
    margin-top: 0;
}

/* ============================================
   BLOG KATEGORİ SAYFASI STYLES
   ============================================ */

/* Category Hero Section */
.category-hero {
    background: linear-gradient(135deg, #26bcc2 0%, #0c3a3c 100%);
    padding: 60px 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.category-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(-45deg, #26bcc2, #0c3a3c, #1e7a7f, #26bcc2);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: 0;
}

.category-hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.category-icon-wrapper {
    margin-bottom: 20px;
}

.category-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin: 0 auto;
}

.category-icon-purple {
    background: linear-gradient(135deg, #a855f7, #ec4899);
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
}

.category-icon-blue {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.category-icon-green {
    background: linear-gradient(135deg, #10b981, #84cc16);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

.category-icon-yellow {
    background: linear-gradient(135deg, #f59e0b, #eab308);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
}

.category-icon-red {
    background: linear-gradient(135deg, #ef4444, #f97316);
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4);
}

.category-icon-indigo {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.category-icon-orange {
    background: linear-gradient(135deg, #f97316, #fb923c);
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
}

.category-icon-teal {
    background: linear-gradient(135deg, #14b8a6, #06b6d4);
    box-shadow: 0 4px 20px rgba(20, 184, 166, 0.4);
}

.category-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.category-hero-description {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.95;
    line-height: 1.6;
}

.category-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    font-size: 0.95rem;
    opacity: 0.9;
}

.category-count,
.category-tools {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Category Main */
.category-main {
    background: #f8fafc;
    padding: 60px 20px 80px;
}

.category-articles {
    max-width: 1400px;
    margin: 0 auto;
}

/* Articles Grid - Kategori sayfası için */
.category-articles .articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
    gap: 30px;
}

/* Category Badge Colors */
.category-badge-purple {
    background: linear-gradient(135deg, #a855f7, #ec4899);
}

.category-badge-blue {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.category-badge-green {
    background: linear-gradient(135deg, #10b981, #84cc16);
}

.category-badge-yellow {
    background: linear-gradient(135deg, #f59e0b, #eab308);
}

.category-badge-red {
    background: linear-gradient(135deg, #ef4444, #f97316);
}

.category-badge-indigo {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.category-badge-orange {
    background: linear-gradient(135deg, #f97316, #fb923c);
}

.category-badge-teal {
    background: linear-gradient(135deg, #14b8a6, #06b6d4);
}

/* Empty State for Categories */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-state i {
    font-size: 5rem;
    color: var(--primary);
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-main);
}

.empty-state p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.empty-state .btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #26bcc2 0%, #0c3a3c 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.empty-state .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(38, 188, 194, 0.3);
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .category-hero {
        background: linear-gradient(135deg, #0c3a3c 0%, #0f172a 100%);
    }

    .category-hero::before {
        background: linear-gradient(-45deg, #0c3a3c, #0f172a, #1e293b, #0c3a3c);
        background-size: 400% 400%;
    }

    .category-main {
        background: #0f172a;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .category-hero {
        padding: 50px 20px;
    }

    .category-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .category-hero-title {
        font-size: 2rem;
    }

    .category-hero-description {
        font-size: 1rem;
    }

    .category-meta {
        flex-direction: column;
        gap: 15px;
    }

    .category-main {
        padding: 40px 16px 60px;
    }
}

@media (max-width: 480px) {
    .category-hero {
        padding: 40px 16px;
    }

    .category-hero-title {
        font-size: 1.75rem;
    }

    .category-hero-description {
        font-size: 0.95rem;
    }
}
