/* ===================================
   Blog Detay Sayfası - Modern & Profesyonel Tasarım
   Tam Genişlik, Responsive ve Kullanıcı Dostu
   =================================== */

:root {
    --primary: #f76e17;
    --primary-dark: #d85f13;
    --primary-light: #ff8533;
    --text-dark: #111827;
    --text-gray: #374151;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
    --bg-light: #f9fafb;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-detail-page {
    background: #fff;
    overflow-x: hidden;
}

/* Hero Section - Tam Genişlik */
.blog-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 73px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 4rem 0;
    width: 100%;
}

.blog-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.blog-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: kenburns 20s ease-in-out infinite alternate;
}

@keyframes kenburns {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.blog-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,26,26,0.85) 0%, rgba(247,110,23,0.7) 100%);
    z-index: 2;
}

.blog-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 4rem 0;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Breadcrumb - Modern Tasarım */
.blog-breadcrumb {
    margin-bottom: 2rem;
}

.blog-breadcrumb .breadcrumb {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    display: inline-flex;
    margin-bottom: 0;
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: var(--transition);
}

.blog-breadcrumb .breadcrumb:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.35);
}

.blog-breadcrumb .breadcrumb-item {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    font-weight: 500;
}

.blog-breadcrumb .breadcrumb-item a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.blog-breadcrumb .breadcrumb-item a:hover {
    color: rgba(255,255,255,1);
    text-shadow: 0 0 8px rgba(255,255,255,0.5);
}

.blog-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.6);
    content: "›";
    font-size: 1.2rem;
}

/* Category Badge - Geliştirilmiş */
.blog-category-badge {
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-category-badge a {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    background: rgba(255,255,255,0.18);
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.3);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.blog-category-badge a:hover {
    background: rgba(255,255,255,0.28);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.blog-category-badge a i {
    font-size: 1rem;
}

/* Title - Etkileyici Başlık */
.blog-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 900;
    color: white;
    margin-bottom: 2rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 16px rgba(0,0,0,0.4);
    animation: fadeInUp 0.6s ease-out 0.3s both;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Meta - Geliştirilmiş Bilgiler */
.blog-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.meta-item {
    color: rgba(255,255,255,0.95);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.meta-item:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.meta-item i {
    color: white;
    font-size: 1.1rem;
}

/* Excerpt - Öne Çıkan Açıklama */
.blog-excerpt {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.98);
    font-weight: 400;
    animation: fadeInUp 0.6s ease-out 0.5s both;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Content Section - Tam Genişlik İçerik */
.blog-content-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.blog-article {
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    padding: 4rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    position: relative;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.blog-article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 24px 24px 0 0;
}

/* Content */
.blog-content {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #374151;
}

.blog-content h1 {
    font-size: clamp(1.875rem, 4vw, 2.25rem);
    font-weight: 800;
    color: #111827;
    margin: 2.5rem 0 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--primary);
}

.blog-content h2 {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 700;
    color: #111827;
    margin: 2rem 0 1rem;
    padding-bottom: 0.625rem;
    border-bottom: 2px solid #e5e7eb;
}

.blog-content h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: #1f2937;
    margin: 1.75rem 0 0.875rem;
}

.blog-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
    margin: 1.5rem 0 0.75rem;
}

.blog-content p {
    margin-bottom: 1.25rem;
}

.blog-content strong {
    font-weight: 700;
    color: #1f2937;
}

.blog-content ul,
.blog-content ol {
    margin: 1.5rem 0;
    padding-left: 1.75rem;
}

.blog-content li {
    margin-bottom: 0.75rem;
}

.blog-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.blog-content a:hover {
    text-decoration: underline;
}

/* CTA Boxes */
.blog-content div[style*="background:#f0f0f0"],
.blog-content div[style*="background:#d4edda"],
.blog-content div[style*="background:#d1ecf1"],
.blog-content .cta-box {
    background: linear-gradient(135deg, #f76e17 0%, #ff8533 100%) !important;
    color: white !important;
    padding: 2rem !important;
    border-radius: 12px !important;
    margin: 2rem 0 !important;
    box-shadow: 0 8px 24px rgba(247,110,23,0.2) !important;
    border: none !important;
}

.blog-content div[style*="background:#f0f0f0"] h2,
.blog-content div[style*="background:#d4edda"] h2,
.blog-content .cta-box h2 {
    color: white !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 0.875rem !important;
    font-size: clamp(1.25rem, 3vw, 1.5rem) !important;
}

.blog-content div[style*="background:#f0f0f0"] p,
.blog-content div[style*="background:#d4edda"] p,
.blog-content .cta-box p {
    color: rgba(255,255,255,0.95) !important;
    margin-bottom: 0.75rem !important;
}

.blog-content div[style*="background:#f0f0f0"] a,
.blog-content div[style*="background:#d4edda"] a,
.blog-content .cta-box a {
    color: white !important;
    font-weight: 700 !important;
    border-bottom: 2px solid rgba(255,255,255,0.5) !important;
}

.blog-content div[style*="background:#f0f0f0"] a:hover,
.blog-content div[style*="background:#d4edda"] a:hover,
.blog-content .cta-box a:hover {
    border-bottom-color: white !important;
}

/* Tables */
.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.blog-content table thead {
    background: linear-gradient(135deg, #f76e17 0%, #ff8533 100%);
    color: white;
}

.blog-content table th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 700;
}

.blog-content table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e5e7eb;
}

.blog-content table tbody tr:last-child td {
    border-bottom: none;
}

.blog-content table tbody tr:hover {
    background: #f9fafb;
}

/* Blog Footer */
.blog-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

/* Tags */
.blog-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.blog-tags strong {
    color: #374151;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-tags strong i {
    color: var(--primary);
}

.tag {
    background: #f3f4f6;
    color: #4b5563;
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.875rem;
    border: 1px solid #e5e7eb;
}

/* Share */
.blog-share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.blog-share strong {
    color: #374151;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-share strong i {
    color: var(--primary);
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

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

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.whatsapp { background: #25D366; }
.share-btn.linkedin { background: #0077b5; }

/* Products Section */
.products-section {
    padding: 4rem 0;
    background: #fafafa;
}

/* No Products CTA */
.no-products-cta {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, #fff 0%, #f9fafb 100%);
    padding: 4rem 3rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 2px solid #e5e7eb;
}

.cta-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 8px 24px rgba(247,110,23,0.3);
}

.cta-icon i {
    font-size: 2.5rem;
    color: white;
}

.no-products-cta h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: #111827;
    margin-bottom: 1rem;
}

.no-products-cta > p {
    font-size: 1.0625rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 2rem 0;
    border-top: 2px solid #e5e7eb;
    border-bottom: 2px solid #e5e7eb;
}

.cta-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.cta-feature i {
    font-size: 1.75rem;
    color: var(--primary);
}

.cta-feature span {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #374151;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cta-buttons .btn {
    flex: 0 1 auto;
    min-width: 200px;
}

.cta-info {
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.cta-info p {
    color: #6b7280;
    font-size: 0.9375rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cta-info i {
    color: var(--primary);
}

.cta-info strong {
    color: #374151;
}

/* Related Section */
.related-section {
    padding: 4rem 0;
    background: white;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.section-header h2 i {
    color: var(--primary);
}

.section-header p {
    font-size: 1.0625rem;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
}

/* Related Card */
.related-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s;
    height: 100%;
}

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

.related-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

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

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

.related-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(247,110,23,0.95);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.related-content {
    padding: 1.5rem;
}

.related-content h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 0.875rem;
    line-height: 1.4;
}

.related-content h3 a {
    color: #111827;
    text-decoration: none;
}

.related-content h3 a:hover {
    color: var(--primary);
}

.related-meta {
    display: flex;
    gap: 1rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.related-meta span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

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

/* Responsive */
@media (max-width: 991px) {
    .blog-hero {
        min-height: 400px;
    }

    .blog-hero-content {
        padding: 3rem 0;
    }

    .blog-content-section,
    .products-section,
    .related-section {
        padding: 3rem 0;
    }

    .blog-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .no-products-cta {
        padding: 3rem 2rem;
    }

    .cta-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .blog-hero {
        min-height: 350px;
    }

    .blog-hero-content {
        padding: 2rem 0;
    }

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

    .blog-meta {
        gap: 1rem;
        font-size: 0.875rem;
    }

    .blog-excerpt {
        font-size: 1rem;
    }

    .blog-content {
        font-size: 1rem;
    }

    .blog-content h1 {
        font-size: 1.75rem;
        margin: 2rem 0 1rem;
    }

    .blog-content h2 {
        font-size: 1.5rem;
        margin: 1.75rem 0 0.875rem;
    }

    .blog-content div[style*="background:#f0f0f0"],
    .blog-content div[style*="background:#d4edda"],
    .blog-content .cta-box {
        padding: 1.5rem !important;
        margin: 1.5rem 0 !important;
    }

    .blog-tags,
    .blog-share {
        width: 100%;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .blog-article {
        padding: 2rem 1.5rem;
    }

    .no-products-cta {
        padding: 2rem 1.5rem;
    }

    .cta-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
        min-width: auto;
    }

    .cta-info p {
        flex-direction: column;
        text-align: center;
    }
}
