/* ═══════════════════════════════════════════════════════
   KOLTUK SEO AUTO v3 - FRONTEND CSS
   ═══════════════════════════════════════════════════════ */

/* ──── GENEL STILLER ──── */
.kseo-customer-faq-section {
    margin: 40px 0;
}

.kseo-faq-widget {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    margin: 30px 0;
}

.kseo-faq-widget h3 {
    color: #333;
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 3px solid #333;
    padding-bottom: 15px;
}

.kseo-faq-intro {
    color: #666;
    font-size: 16px;
    margin: 15px 0 25px 0;
    line-height: 1.6;
}

/* ──── FAQ İTEM ──── */
.kseo-faq-item {
    margin: 15px 0;
    padding: 0;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.kseo-faq-q {
    padding: 15px 20px;
    background: white;
    cursor: pointer;
    font-weight: 600;
    color: #333;
    font-size: 15px;
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    transition: all 0.3s ease;
    border-left: 4px solid #ddd;
}

.kseo-faq-q:hover {
    background: #f5f5f5;
    border-left-color: #333;
}

.kseo-faq-a {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
    border-top: 1px solid #e0e0e0;
}

.kseo-faq-a.open {
    padding: 15px 20px;
    max-height: 1000px;
}

.kseo-faq-a p {
    color: #666;
    line-height: 1.7;
    font-size: 14px;
    margin: 10px 0;
}

.kseo-faq-a ul {
    margin-left: 20px;
}

.kseo-faq-a li {
    color: #666;
    margin: 8px 0;
    line-height: 1.6;
}

/* ──── CTA BOX ──── */
.kseo-cta-box {
    background: linear-gradient(135deg, #333, #555);
    color: white;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
    text-align: center;
}

.kseo-cta-box h3 {
    color: white;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 22px;
}

.kseo-cta-box p {
    margin: 15px 0;
}

.kseo-cta-box .button {
    margin: 0 10px;
    padding: 12px 30px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.kseo-cta-box .button-primary {
    background: white;
    color: #333;
    border: none;
}

.kseo-cta-box .button-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.kseo-cta-box .button-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid white;
}

.kseo-cta-box .button-secondary:hover {
    background: rgba(255,255,255,0.3);
}

/* ──── QUICK CTA ──── */
.kseo-quick-cta {
    background: #f5f5f5;
    border-left: 4px solid #333;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 4px;
    font-weight: 600;
}

.kseo-quick-cta span {
    display: inline-block;
    margin-right: 20px;
    color: #333;
}

.kseo-quick-cta a {
    color: #333;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid #333;
    transition: all 0.3s ease;
}

.kseo-quick-cta a:hover {
    color: #555;
    border-bottom-color: #555;
}

@media (max-width: 768px) {
    .kseo-quick-cta span {
        display: block;
        margin-bottom: 10px;
        margin-right: 0;
    }
    
    .kseo-cta-box {
        padding: 20px;
    }
    
    .kseo-cta-box .button {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    
    .kseo-faq-widget {
        padding: 20px;
    }
}

/* ──── YAZI LİSTESİ ──── */
.kseo-yazi-listesi {
    margin: 40px 0;
}

.kseo-yazi-kart {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.kseo-yazi-kart:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: #333;
}

.kseo-yazi-kart h3 {
    margin-top: 0;
    color: #333;
    font-size: 18px;
    line-height: 1.4;
}

.kseo-yazi-kart p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 15px 0;
}

.kseo-yazi-kart a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid #333;
    transition: all 0.3s ease;
}

.kseo-yazi-kart a:hover {
    color: #555;
    border-bottom-color: #555;
}

/* ──── İSTATİSTİK WİDGET ──── */
.kseo-istatistik-widget {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
}

.kseo-istatistik-widget h3 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}

.kseo-istatistik-widget ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.kseo-istatistik-widget li {
    padding: 10px 0;
    color: #666;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.kseo-istatistik-widget li:last-child {
    border-bottom: none;
}

.kseo-istatistik-widget li strong {
    color: #333;
    font-weight: 700;
}

/* ──── İMAGE ──── */
.kseo-featured-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ──── BAŞLIK VE PARAGRAPH ──── */
.kseo-wrap h2 {
    color: #333;
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}

.kseo-wrap h3 {
    color: #555;
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 15px;
}

.kseo-wrap p {
    color: #666;
    line-height: 1.8;
    font-size: 15px;
    margin: 15px 0;
}

.kseo-wrap ul,
.kseo-wrap ol {
    color: #666;
    margin-left: 20px;
    margin: 20px 0 20px 20px;
    line-height: 1.8;
}

.kseo-wrap li {
    margin: 10px 0;
}

/* ──── LINK ──── */
.kseo-wrap a {
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #ddd;
    transition: all 0.3s ease;
}

.kseo-wrap a:hover {
    color: #555;
    border-bottom-color: #333;
}

/* ──── TABLE ──── */
.kseo-wrap table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.kseo-wrap th {
    background: #f9f9f9;
    color: #333;
    padding: 12px;
    text-align: left;
    border-bottom: 2px solid #ddd;
    font-weight: 600;
}

.kseo-wrap td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
    color: #666;
}

.kseo-wrap tr:hover {
    background: #f9f9f9;
}

/* ──── BLOCKQUOTE ──── */
.kseo-wrap blockquote {
    border-left: 4px solid #333;
    margin: 30px 0;
    padding-left: 20px;
    color: #666;
    font-style: italic;
    font-size: 15px;
    line-height: 1.8;
}

/* ──── CODE ──── */
.kseo-wrap code {
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: monospace;
    color: #d63384;
}

.kseo-wrap pre {
    background: #f4f4f4;
    padding: 15px;
    border-radius: 4px;
    overflow-x: auto;
    border: 1px solid #ddd;
    margin: 20px 0;
}

.kseo-wrap pre code {
    color: #333;
    padding: 0;
    background: transparent;
}

/* ──── RESPONSIVE ──── */
@media (max-width: 768px) {
    .kseo-faq-widget {
        padding: 15px;
    }
    
    .kseo-faq-q {
        font-size: 14px;
        padding: 12px 15px;
    }
    
    .kseo-yazi-listesi {
        grid-template-columns: 1fr !important;
    }
    
    .kseo-wrap h2 {
        font-size: 20px;
    }
    
    .kseo-wrap h3 {
        font-size: 16px;
    }
    
    .kseo-wrap p {
        font-size: 14px;
    }
    
    .kseo-cta-box {
        padding: 20px;
    }
    
    .kseo-cta-box .button {
        display: block;
        margin: 10px 0;
        width: 100%;
    }
}

/* ──── DARK MODE SUPPORT ──── */
@media (prefers-color-scheme: dark) {
    .kseo-faq-widget {
        background: #222;
        border-color: #444;
    }
    
    .kseo-faq-q {
        background: #333;
        color: #fff;
        border-left-color: #666;
    }
    
    .kseo-faq-q:hover {
        background: #444;
        border-left-color: #fff;
    }
    
    .kseo-faq-a {
        background: #333;
        color: #ccc;
        border-top-color: #555;
    }
    
    .kseo-cta-box {
        background: #222;
    }
}
