/*
Theme Name: Sohbetimsen
Theme URI: https://sohbetimsen.com.tr
Author: Sohbetimsen
Author URI: https://sohbetimsen.com.tr
Description: Sohbetimsen.com.tr sohbet, chat odaları, sohbet siteleri, sohbet odalari, chat sitesi ve mircte sohbet teması.
Version: 2.1
Text Domain: sohbetimsen
*/

/* =========================================================
1. TEMEL AYARLAR & SOHBET SİTESİ RENK PALETİ
========================================================= */
:root {
    --sohbet-primary: #1E3A8A;
    --sohbet-primary-dark: #0F172A;
    --sohbet-secondary: #2563EB;
    --sohbet-accent: #06B6D4;
    --sohbet-warm: #F59E0B;
    --sohbet-bg: #F4F7FB;
    --sohbet-surface: #FFFFFF;
    --sohbet-text: #1E293B;
    --sohbet-muted: #64748B;
    --sohbet-border: #E2E8F0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--sohbet-bg) !important;
    color: var(--sohbet-text);
    overflow-x: hidden !important;
    width: 100% !important;
    line-height: 1.6;
}

a {
    text-decoration: none;
    transition: all 0.25s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container-custom {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 15px;
}

/* =========================================================
2. ÜST MENÜ (NAVBAR) & LOGO
========================================================= */
.navbar {
    padding: 16px 0;
    background: var(--sohbet-primary-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.logo {
    font-size: 1.85rem;
    font-weight: 700;
    color: #ffffff !important;
    font-family: Georgia, serif;
}

.nav-link {
    color: #ffffff !important;
    font-weight: 500;
    margin-left: 12px;
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--sohbet-accent) !important;
}

/* =========================================================
3. HERO / SOHBET GİRİŞ KUTUSU ALANI
========================================================= */
.hero {
    margin-top: 20px;
    border-radius: 20px;
    padding: 45px 40px;
    background: linear-gradient(135deg, var(--sohbet-primary-dark) 0%, var(--sohbet-primary) 55%, var(--sohbet-secondary) 100%);
    color: #fff;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(6, 182, 212, 0.35);
    box-shadow: 0 14px 34px rgba(30, 58, 138, 0.18);
}

.hero h1 {
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff;
    font-family: Georgia, serif;
}

.gradient-text {
    color: var(--sohbet-accent);
}

.hero p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.92);
    margin-top: 15px;
}

.login-box {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.login-box .form-control {
    background: #ffffff;
    border: 1px solid var(--sohbet-border);
    color: var(--sohbet-text);
    height: 46px;
    border-radius: 10px;
    font-size: 0.95rem;
}

.login-box .form-control:focus {
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.35);
    border-color: var(--sohbet-accent);
}

.btn-sohbet {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--sohbet-secondary) 0%, var(--sohbet-accent) 100%);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.3px;
    box-shadow: 0 6px 16px rgba(6, 182, 212, 0.3);
}

.btn-sohbet:hover {
    filter: brightness(1.06);
    transform: translateY(-2px);
}

/* =========================================================
4. BÖLÜM BAŞLIKLARI & ÖZELLİK KUTULARI
========================================================= */
.section-title {
    text-align: center;
    margin-bottom: 35px;
}

.section-title h2 {
    font-weight: 700;
    font-size: 2rem;
    color: var(--sohbet-primary);
    font-family: Georgia, serif;
}

.feature-box {
    background: var(--sohbet-surface);
    border-radius: 18px;
    padding: 28px 22px;
    text-align: center;
    height: 100%;
    border: 1px solid var(--sohbet-border);
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.12);
    border-color: var(--sohbet-accent);
}

.feature-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--sohbet-primary) 0%, var(--sohbet-secondary) 100%);
    color: #ffffff;
    border: 2px solid #DBEAFE;
}

.feature-box h3,
.feature-box h4,
.feature-box h5,
.feature-box h6 {
    color: var(--sohbet-primary) !important;
    font-weight: 700;
}

.feature-box p {
    color: var(--sohbet-muted) !important;
    font-size: 0.92rem;
}

/* =========================================================
5. CHAT ODALARI & KANAL LİSTESİ KARTLARI
========================================================= */
.sohbet-card {
    background: var(--sohbet-surface);
    border-radius: 20px;
    border: 1px solid var(--sohbet-border);
    padding: 25px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.sohbet-room-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    border-radius: 12px;
    background: var(--sohbet-bg);
    border: 1px solid var(--sohbet-border);
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.sohbet-room-item:hover,
.sohbet-room-item.active {
    background: var(--sohbet-primary);
    color: #ffffff;
    border-color: var(--sohbet-primary);
}

.sohbet-room-item:hover span,
.sohbet-room-item.active span {
    color: #ffffff !important;
}

/* =========================================================
6. BLOG, MAKALE & ARŞİV KARTLARI
========================================================= */
.blog-card,
.custom-archive-card {
    background: var(--sohbet-surface);
    border-radius: 18px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--sohbet-border) !important;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.blog-card:hover,
.custom-archive-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.35) !important;
}

.blog-card img,
.otomatik-uzak-img,
.blog-card .post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.blog-content {
    padding: 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-content h3,
.blog-content h4,
.custom-post-title-link {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--sohbet-primary) !important;
    line-height: 1.4;
}

.custom-post-title-link:hover {
    color: var(--sohbet-secondary) !important;
}

.blog-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 9px 22px;
    border-radius: 50px;
    background: var(--sohbet-secondary);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.88rem;
    text-align: center;
}

.blog-btn:hover {
    background: var(--sohbet-primary);
    color: #ffffff !important;
}

/* =========================================================
7. YORUMLAR & SAYFALAMA
========================================================= */
.comment-box-wrapper .card {
    background-color: var(--sohbet-bg);
    border: 1px solid var(--sohbet-border) !important;
}

.comment-reply-link {
    background-color: var(--sohbet-primary);
    color: #ffffff !important;
    padding: 5px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

.comment-reply-link:hover {
    background-color: var(--sohbet-secondary);
}

.pagination .page-item.active .page-link {
    background-color: var(--sohbet-primary) !important;
    border-color: var(--sohbet-primary) !important;
    color: #ffffff !important;
}

.pagination .page-link {
    color: var(--sohbet-primary);
    border-color: var(--sohbet-border);
    border-radius: 8px;
    margin: 0 3px;
}

/* =========================================================
8. FAQ ACCORDION
========================================================= */
.accordion-item {
    border: 1px solid var(--sohbet-border) !important;
    border-radius: 12px !important;
    margin-bottom: 12px;
    overflow: hidden;
    background-color: var(--sohbet-surface);
}

.accordion-button {
    font-weight: 600;
    color: var(--sohbet-primary) !important;
    background-color: var(--sohbet-surface) !important;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background-color: var(--sohbet-bg) !important;
    color: var(--sohbet-primary) !important;
    border-bottom: 1px solid var(--sohbet-border);
}

/* =========================================================
9. FOOTER
========================================================= */
.footer {
    margin-top: 70px;
    background: var(--sohbet-primary-dark);
    color: #ffffff;
    padding: 55px 0 25px;
    border-top: 4px solid var(--sohbet-accent);
}

.footer h4 {
    margin-bottom: 18px;
    font-weight: 700;
    color: var(--sohbet-accent);
    font-size: 1.15rem;
}

.footer ul {
    list-style: none;
    padding: 0;
}

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

.footer ul li a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.92rem;
}

.footer ul li a:hover {
    color: var(--sohbet-accent);
    padding-left: 4px;
}

/* =========================================================
10. MOBİL UYUMLULUK
========================================================= */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.1rem;
    }
    .hero {
        padding: 30px 25px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.75rem;
    }
    .section-title h2 {
        font-size: 1.65rem;
    }
    .logo {
        font-size: 1.45rem;
    }
}

/* =========================================================
   YORUM ALANI DARALMA KORUMASI VE DÜZENLEMESİ
========================================================= */
.custom-comments-wrapper ol.comment-list,
.custom-comments-wrapper ul.children {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.custom-comments-wrapper ul.children {
    margin-top: 15px;
    padding-left: 20px !important;
    border-left: 2px solid var(--sohbet-border);
}

.custom-comments-wrapper .comment-body {
    background: var(--sohbet-bg);
    border: 1px solid var(--sohbet-border);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.custom-comments-wrapper .avatar {
    border-radius: 50%;
    margin-right: 12px;
    float: left;
}

.custom-comments-wrapper .comment-meta {
    font-size: 0.85rem;
    color: var(--sohbet-muted);
    margin-bottom: 8px;
}

.custom-comments-wrapper .comment-author cite {
    font-style: normal;
    font-weight: 700;
    color: var(--sohbet-primary);
}

@media (max-width: 576px) {
    .custom-comments-wrapper ul.children {
        padding-left: 10px !important;
    }
}

.top-nav-links a,
.top-social-links a {
    color: #475569;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.top-nav-links a:hover,
.top-social-links a:hover {
    color: var(--sohbet-secondary) !important;
}

.top-nav-links {
    display: flex;
    align-items: center;
    gap: 15px !important;
    margin-bottom: 0;
    list-style: none;
}

.top-nav-links li a {
    color: var(--sohbet-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.top-nav-links li a:hover {
    color: var(--sohbet-secondary) !important;
}