/*
Theme Name: SohbetX Özel Tema
Theme URI: https://sohbetx.net.tr
Author: SohbetX Ekibi
Description: sohbetx.net.tr için özel tasarlanmış, %100 özgün, SEO, Schema ve OpenGraph uyumlu profesyonel sohbet teması.
Version: 1.0.0
Text Domain: sohbetx
*/

:root {
    --bg-body: #f8fafc;
    --surface-card: #ffffff;
    --brand-primary: #10b981;
    --brand-hover: #059669;
    --text-main: #0b132b;
    --text-sub: #64748b;
    --text-muted: #94a3b8;
    --border-light: #e2e8f0;
    --card-radius: 20px;
    --shadow-subtle: 0 10px 25px -5px rgba(15, 23, 42, 0.05);
    --shadow-accent: 0 10px 20px -5px rgba(16, 185, 129, 0.25);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: #ffffff;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 24px;
    font-weight: 900;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--brand-primary);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 24px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-sub);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: var(--brand-primary);
}

/* Hero Section */
.hero-section {
    padding: 40px 0 20px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 370px 1fr;
    gap: 40px;
    align-items: start;
}

/* Chat Form Box */
.chat-box {
    background: var(--surface-card);
    padding: 30px;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.sticky-chat {
    position: sticky;
    top: 90px;
}

.chat-box h2 {
    font-size: 22px;
    text-align: center;
    margin-bottom: 8px;
    font-weight: 800;
    color: var(--text-main);
}

.chat-box p.subtitle {
    font-size: 12px;
    color: var(--text-sub);
    text-align: center;
    margin-bottom: 24px;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-main);
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border-light);
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    background: #f8fafc;
    transition: all 0.2s;
}

.form-group input:focus {
    border-color: var(--brand-primary);
    background: #ffffff;
}

.btn-primary {
    width: 100%;
    padding: 14px;
    background: var(--brand-primary);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    box-shadow: var(--shadow-accent);
    transition: background 0.2s;
}

.btn-primary:hover {
    background: var(--brand-hover);
}

.btn-secondary {
    width: 100%;
    padding: 12px;
    background: #f1f5f9;
    color: var(--text-main);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: #e2e8f0;
}

/* Hero Content */
.hero-content {
    padding-top: 15px;
}

.hero-content h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 18px;
    color: var(--text-main);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.hero-content p {
    color: var(--text-sub);
    font-size: 15px;
    margin-bottom: 30px;
    max-width: 600px;
}

.app-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 35px;
}

.app-btn {
    padding: 10px 20px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 30px;
    text-decoration: none;
    color: var(--text-main);
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    transition: all 0.2s;
}

.app-btn:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.hero-features {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.feature-pill {
    background: #ffffff;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 13px;
    color: var(--text-sub);
    border: 1px solid var(--border-light);
    font-weight: 600;
}

/* Features Section */
.middle-intro {
    text-align: center;
    padding: 50px 0 30px;
}

.middle-intro h2 {
    font-size: 26px;
    max-width: 700px;
    margin: 0 auto 35px;
    color: var(--text-main);
    font-weight: 800;
    line-height: 1.4;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.feature-card {
    background: var(--surface-card);
    padding: 30px;
    border-radius: var(--card-radius);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-subtle);
    text-align: left;
}

.feature-card h3 {
    font-size: 17px;
    margin-bottom: 10px;
    color: var(--text-main);
    font-weight: 700;
}

.feature-card p {
    font-size: 13px;
    color: var(--text-sub);
    line-height: 1.6;
}

/* Blog Section */
.blog-section {
    padding: 40px 0 60px;
}

.section-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 35px;
    color: var(--text-main);
    font-weight: 800;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.post-card {
    background: var(--surface-card);
    border-radius: var(--card-radius);
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-subtle);
    display: flex;
    flex-direction: column;
}

.post-thumb img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.post-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-meta {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.post-title {
    font-size: 17px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.post-title a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 700;
}

.post-excerpt {
    font-size: 13px;
    color: var(--text-sub);
    margin-bottom: 20px;
    flex-grow: 1;
}

.read-more {
    font-size: 13px;
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 700;
}

/* Single Article Layout */
.single-layout {
    display: grid;
    grid-template-columns: 370px 1fr;
    gap: 35px;
    align-items: start;
    padding: 40px 0;
}

.single-content-box {
    background: var(--surface-card);
    padding: 40px;
    border-radius: var(--card-radius);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-subtle);
}

.single-title {
    font-size: 32px;
    color: var(--text-main);
    margin-bottom: 15px;
    font-weight: 800;
    line-height: 1.25;
}

.single-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--text-sub);
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 15px;
}

.single-featured-image {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 25px;
}

.single-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.entry-content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-main);
}

.entry-content p {
    margin-bottom: 20px;
}

/* Footer */
.site-footer {
    background: #ffffff;
    padding: 50px 0 25px;
    border-top: 1px solid var(--border-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 13px;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
    color: var(--text-main);
    font-weight: 800;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    text-decoration: none;
    color: var(--text-sub);
    font-size: 13px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
    padding-top: 25px;
    border-top: 1px solid var(--border-light);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid, .single-layout, .features-grid, .posts-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 32px;
    }
}