/*
Theme Name: Sohbetimsen
Theme URI: https://sohbetimsen.com.tr
Author: eFe
Author URI: https://sohbetimsen.com.tr
Description: Sohbetimsen.com.tr için özel olarak tasarlanmış, PHP 8.5 ve 2027 SEO standartlarına uygun, hızlı, mobil uyumlu ve lisans korumalı WordPress sohbet teması.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.7
Text Domain: sohbetimsen
*/

/* ==========================================
   1. Genel Stiller ve Temel Ayarlar (Özel Renk Paleti)
   ========================================== */
:root {
    --primary-color: #ff7a00;
    --primary-hover: #e06c00;
    --dark-color: #0b0e23;
    --text-color: #333333;
    --light-bg: #f8f9fa;
    --border-color: #dee2e6;
    --transition: all 0.3s ease-in-out;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--light-bg);
    color: var(--text-color);
    overflow-x: hidden;
}

a {
    transition: var(--transition);
}

/* ==========================================
   2. Header & Menü Stilleri
   ========================================== */
.logo img {
    max-height: 80px;
    width: auto;
}

.navbar {
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
    background-color: #ffffff !important;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--dark-color) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 0.375rem;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    background-color: rgba(255, 122, 0, 0.05);
}

/* ==========================================
   3. Sohbet Giriş Paneli (Sol Alan & Sidebar)
   ========================================== */
.chat-login,
.chat-login-form {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-tabs .nav-link {
    border: none;
    color: #6c757d;
    background: #f1f3f5;
    border-radius: 0.5rem;
    margin-right: 0.5rem;
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-tabs .nav-link.active {
    color: #ffffff !important;
    background-color: var(--primary-color) !important;
}

.chat-form input,
.chat-login-form input {
    height: 48px;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    padding-left: 1rem;
    font-size: 0.95rem;
}

.chat-form input:focus,
.chat-login-form input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(255, 122, 0, 0.15);
}

.chat-form button.baglan,
.chat-login-form button.baglan,
.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
    height: 48px;
    border-radius: 0.5rem;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.chat-form button.baglan:hover,
.chat-login-form button.baglan:hover,
.btn-primary:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
}

/* ==========================================
   4. Popüler Odalar & Badge Yapısı
   ========================================== */
.room-clm .room-name span,
.badge {
    display: inline-block;
    font-weight: 600;
    border-radius: 2rem;
    transition: var(--transition);
    cursor: pointer;
}

.room-clm .room-name span:hover,
.badge:hover {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    border-color: var(--primary-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 .25rem .5rem rgba(0, 0, 0, 0.1);
}

/* ==========================================
   5. Blog ve Yazı Kartları (.post_box)
   ========================================== */
.post_box {
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 1rem;
    transition: var(--transition);
    background: #ffffff;
}

.post_box:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, 0.08) !important;
}

.post_box h4 a {
    color: var(--dark-color);
}

.post_box h4 a:hover {
    color: var(--primary-color);
}

.post_img img {
    border-radius: 0.5rem;
    transition: var(--transition);
}

.post_box:hover .post_img img {
    transform: scale(1.03);
}

/* ==========================================
   6. Görsel Bannerlar & Dekoratif Çizgiler
   ========================================== */
.room-wal img,
.post-bg img,
.hom-line img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.room-wal {
    max-height: 150px;
    overflow: hidden;
}

/* ==========================================
   7. Footer Tasarımı (Koyu Lacivert Uyumlu)
   ========================================== */
.footer {
    background-color: #0b0e23 !important;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer a {
    color: #adb5bd;
}

.footer a:hover {
    color: var(--primary-color) !important;
}

/* ==========================================
   8. Responsive Düzenlemeler ve İç Sayfa Hizalama
   ========================================== */
@media (max-width: 991.98px) {
    .chat-login {
        margin-bottom: 2rem;
    }
    
    .title-clm h1 {
        font-size: 1.75rem;
    }
}

.site-main {
    width: 100% !important;
    max-width: 100% !important;
}

.container {
    width: 100% !important;
    max-width: 1320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Sol panelin ve form elemanlarının esnek ama kararlı yapısı */
.chat-login {
    width: 100% !important;
    box-sizing: border-box !important;
}

.chat-login form, 
.chat-login .form_clm, 
.chat-login .input-group,
.chat-login input.form-control {
    width: 100% !important;
    box-sizing: border-box !important;
}

@media (max-width: 575.98px) {
    .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

body.single-post .site-main > .container,
body.single-post .site-main > div {
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

body.single-post .entry-content {
    max-width: 100%;
}
/* Yorum Gönder ve Form Butonlarını Maviye Sabitleme */
#submit, 
input[type="submit"], 
.comment-form input#submit, 
.form-submit input#submit {
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
    color: #ffffff !important;
    padding: 10px 24px !important;
    font-weight: bold !important;
    border-radius: 0.375rem !important;
    transition: all 0.3s ease !important;
}

#submit:hover, 
input[type="submit"]:hover, 
.comment-form input#submit:hover, 
.form-submit input#submit:hover {
    background-color: #0b5ed7 !important;
    border-color: #0a58ca !important;
}