/* ========== BLOG POST SAYFALARI - ÖZEL STILLER ========== */
/* Header, footer ve genel stiller style.css'den gelir */

/* HERO BANNER - ÇOK FARKLI VE ÖZEL */
.post-hero {
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a2a 0%, #1a1a4a 50%, #0a0a2a 100%);
}

/* Chatbot Hero için özel gradient */
.chatbot-hero {
    background: linear-gradient(135deg, #0a0a2a 0%, #2a1a4a 30%, #1a0a3a 70%, #0a0a2a 100%);
}

/* WhatsApp Hero için özel gradient */
.whatsapp-hero {
    background: linear-gradient(135deg, #0a2a2a 0%, #1a4a3a 30%, #0a3a2a 70%, #0a2a2a 100%);
}

/* KVKK Hero için özel gradient */
.kvkk-hero {
    background: linear-gradient(135deg, #0a0a2a 0%, #2a1a2a 30%, #3a0a2a 70%, #0a0a2a 100%);
}

/* Site Hızı Hero için özel gradient */
.speed-hero {
    background: linear-gradient(135deg, #0a0a2a 0%, #2a2a1a 30%, #3a2a0a 70%, #0a0a2a 100%);
}

/* SEO Hero için özel gradient */
.seo-hero {
    background: linear-gradient(135deg, #0a0a2a 0%, #1a2a3a 30%, #0a3a2a 70%, #0a0a2a 100%);
}

/* Yapay Zeka ile Satış Hero için özel gradient */
.sales-hero {
    background: linear-gradient(135deg, #0a0a2a 0%, #2a1a3a 30%, #3a1a4a 70%, #0a0a2a 100%);
}

.post-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(139,92,246,0.15), transparent 70%);
    pointer-events: none;
}

.post-hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.post-hero-particles .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(139,92,246,0.5);
    border-radius: 50%;
    animation: floatParticle linear infinite;
}

.post-hero-particles .particle:nth-child(1) { top: 20%; left: 10%; animation-duration: 8s; }
.post-hero-particles .particle:nth-child(2) { top: 50%; left: 85%; animation-duration: 12s; }
.post-hero-particles .particle:nth-child(3) { top: 70%; left: 20%; animation-duration: 10s; }
.post-hero-particles .particle:nth-child(4) { top: 30%; left: 75%; animation-duration: 14s; }
.post-hero-particles .particle:nth-child(5) { top: 80%; left: 50%; animation-duration: 9s; }

@keyframes floatParticle {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

.post-hero-content {
    position: relative;
    max-width: 800px;
    padding: 80px 24px;
    z-index: 10;
}

.post-category {
    display: inline-block;
    background: rgba(139,92,246,0.15);
    backdrop-filter: blur(10px);
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.85rem;
    color: #c084fc;
    margin-bottom: 24px;
    border: 1px solid rgba(139,92,246,0.3);
    animation: fadeInDown 0.6s ease;
}

.post-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
}

.post-hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease 0.1s backwards;
}

.post-hero-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.post-hero-meta span {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.85rem;
    color: #cbd5e1;
}

.post-hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 5;
}

.post-hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
}

.post-hero-wave svg path {
    fill: #ffffff;
}

body.dark-mode .post-hero-wave svg path {
    fill: #0a0f2a;
}

/* ANİMASYONLAR */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* İÇERİK BÖLÜMÜ */
.post-content {
    padding: 70px 0;
    background: #ffffff;
}

body.dark-mode .post-content {
    background: #0a0f2a;
}

.post-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

/* SOL SIDEBAR */
.post-sidebar {
    position: relative;
}

.sidebar-sticky {
    position: sticky;
    top: 100px;
    background: #f8fafc;
    border-radius: 20px;
    padding: 25px;
    border: 1px solid #e2e8f0;
}

body.dark-mode .sidebar-sticky {
    background: #11173b;
    border-color: #1e2a5e;
}

.sidebar-sticky h3 {
    font-size: 1.2rem;
    color: #1e3a8a;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

body.dark-mode .sidebar-sticky h3 {
    color: #60a5fa;
    border-bottom-color: #1e2a5e;
}

.sidebar-sticky ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-sticky li {
    margin-bottom: 12px;
}

.sidebar-sticky a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    display: block;
    padding: 5px 0;
}

body.dark-mode .sidebar-sticky a {
    color: #cbd5e1;
}

.sidebar-sticky a:hover {
    color: #c084fc;
    transform: translateX(5px);
}

.sidebar-cta {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

body.dark-mode .sidebar-cta {
    border-top-color: #1e2a5e;
}

.sidebar-cta h4 {
    font-size: 1rem;
    color: #1e3a8a;
    margin-bottom: 8px;
}

body.dark-mode .sidebar-cta h4 {
    color: #60a5fa;
}

.sidebar-cta p {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 15px;
}

.sidebar-btn {
    display: inline-block;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    padding: 8px 20px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s;
}

.sidebar-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139,92,246,0.3);
}

/* SAĞ ANA İÇERİK */
.post-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.post-section {
    scroll-margin-top: 100px;
}

.post-section h2 {
    font-size: 1.8rem;
    color: #1e3a8a;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e7ff;
}

body.dark-mode .post-section h2 {
    color: #60a5fa;
    border-bottom-color: #1e2a5e;
}

.post-section p {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 16px;
    font-size: 1rem;
}

body.dark-mode .post-section p {
    color: #cbd5e1;
}

.post-section strong {
    color: #1e3a8a;
}

body.dark-mode .post-section strong {
    color: #93c5fd;
}

/* INFO BOX */
.info-box {
    background: #f5f3ff;
    border-left: 4px solid #8b5cf6;
    padding: 20px;
    border-radius: 16px;
    margin: 20px 0;
}

body.dark-mode .info-box {
    background: #0a0f2a;
    border-left-color: #8b5cf6;
}

/* TEKNOLOJİ KARTLARI */
.tech-grid-post {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 25px 0;
}

.tech-card-post {
    background: #f8fafc;
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s;
}

body.dark-mode .tech-card-post {
    background: #11173b;
}

.tech-card-post:hover {
    transform: translateY(-5px);
}

.tech-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.tech-card-post h4 {
    font-size: 1.1rem;
    color: #1e3a8a;
    margin-bottom: 10px;
}

body.dark-mode .tech-card-post h4 {
    color: #60a5fa;
}

.tech-card-post p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* FAYDALAR GRID */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 25px 0;
}

.benefit-item {
    background: #f8fafc;
    padding: 25px;
    border-radius: 20px;
    transition: transform 0.3s;
}

body.dark-mode .benefit-item {
    background: #11173b;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 15px;
}

.benefit-item h4 {
    font-size: 1.1rem;
    color: #1e3a8a;
    margin-bottom: 10px;
}

body.dark-mode .benefit-item h4 {
    color: #60a5fa;
}

.benefit-item p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* KULLANIM ALANLARI */
.use-cases {
    margin: 20px 0;
    padding-left: 24px;
}

.use-cases li {
    color: #475569;
    margin-bottom: 12px;
    line-height: 1.6;
}

body.dark-mode .use-cases li {
    color: #cbd5e1;
}

/* KARŞILAŞTIRMA TABLOSU */
.comparison-table {
    margin: 25px 0;
    background: #f8fafc;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

body.dark-mode .comparison-table {
    background: #11173b;
    border-color: #1e2a5e;
}

.comparison-header {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    font-weight: 600;
}

.comparison-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid #e2e8f0;
}

body.dark-mode .comparison-row {
    border-bottom-color: #1e2a5e;
}

.comparison-cell {
    padding: 12px 16px;
    text-align: center;
}

.comparison-cell:first-child {
    text-align: left;
}

/* POST CTA */
.post-cta {
    text-align: center;
    margin: 40px 0;
}

.btn-post {
    display: inline-block;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    padding: 14px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30,58,138,0.2);
}

/* YAZAR BİLGİSİ */
.post-author {
    display: flex;
    gap: 20px;
    background: #f8fafc;
    padding: 25px;
    border-radius: 20px;
    margin-top: 40px;
}

body.dark-mode .post-author {
    background: #11173b;
}

.author-avatar {
    font-size: 3rem;
}

.author-info h4 {
    font-size: 1.2rem;
    color: #1e3a8a;
    margin-bottom: 8px;
}

body.dark-mode .author-info h4 {
    color: #60a5fa;
}

.author-info p {
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.author-social {
    display: flex;
    gap: 12px;
}

.author-social a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s;
}

.author-social a:hover {
    color: #8b5cf6;
}

/* PAYLAŞIM BUTONLARI */
.post-share {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    margin-top: 20px;
}

body.dark-mode .post-share {
    border-top-color: #1e2a5e;
}

.post-share span {
    font-size: 0.9rem;
    color: #64748b;
}

.share-link {
    background: #f1f5f9;
    padding: 8px 14px;
    border-radius: 30px;
    text-decoration: none;
    color: #1e3a8a;
    transition: all 0.3s;
}

body.dark-mode .share-link {
    background: #1e2a5e;
    color: #cbd5e1;
}

.share-link:hover {
    background: #8b5cf6;
    color: white;
}

/* MOBİL UYUM */
@media (max-width: 968px) {
    .post-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .post-sidebar {
        display: none;
    }
    
    .post-hero-title {
        font-size: 2.2rem;
    }
    
    .post-hero-subtitle {
        font-size: 1rem;
    }
    
    .post-hero-meta {
        gap: 15px;
    }
    
    .post-hero-meta span {
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .post-hero {
        min-height: 450px;
    }
    
    .post-hero-title {
        font-size: 1.8rem;
    }
    
    .post-section h2 {
        font-size: 1.5rem;
    }
    
    .benefits-grid,
    .tech-grid-post {
        grid-template-columns: 1fr;
    }
    
    .post-author {
        flex-direction: column;
        text-align: center;
    }
    
    .author-social {
        justify-content: center;
    }
    
    .post-share {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .post-hero-title {
        font-size: 1.5rem;
    }
    
    .post-category {
        font-size: 0.7rem;
    }
    
    .post-section h2 {
        font-size: 1.3rem;
    }
}
