/*
Theme Name: AkCanvas Sohbet Teması
Theme URI: https://sohbettemasi.net/tema/akcanvas/
Description: Sol sekmeli yan menülü, kanal listeli, IRC komut rehberli ve iletişim formlu sohbet + blog teması. Renkler panelden değiştirilir. PHP 8.5 uyumlu, dahili SEO modülü.
Author: OFSBilisim
Author URI: https://www.ofsbilisim.com
Version: 3.1.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 8.1
License: Ticari - sohbettemasi.net lisansı
Text Domain: akcanvas
*/

/* Asıl tasarım css/app.css içindedir. Bu dosya v3.1.0 uyum eklemelerini taşır. */

/* Sayfa yükleme ekranı (eskiden header.php içinde satır içiydi) */
.loader { position: fixed; left: 0; top: 0; width: 100%; height: 100%; background: #F5F8FA url(images/back.png); z-index: 9998; text-align: center; }
.plane-container { position: absolute; top: 50%; left: 50%; }

body { margin-top: 0 !important; }
.home .tab-content,
.home .sidebar { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.home .copyright { display: none !important; }

/* Ekran okuyucu metni */
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }

/* Kart başlıklarında H1/H2 eski strong boyutunda kalsın */
.card-header h1 { display: inline; font-size: 16px; font-weight: 700; margin: 0; line-height: inherit; }
.card-header h2 { display: inline; font-size: 13px; font-weight: 700; margin: 0; line-height: inherit; }

/* WordPress hizalama sınıfları */
.alignleft { float: left; margin: 0 1em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1em; }
.aligncenter { display: block; margin: 0 auto 1em; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: #777; text-align: center; }
.card-body img { max-width: 100%; height: auto; }

/* Yorumlar */
.comment-respond { margin-top: 20px; }
.comment-respond textarea, .comment-respond input[type=text], .comment-respond input[type=email], .comment-respond input[type=url] { width: 100%; padding: 8px 10px; border: 1px solid #ddd; border-radius: 3px; margin-bottom: 10px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 30px; }

/* 404 sayfası */
.error-page {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 40px auto;
    max-width: 600px;
}

.error-code {
    font-size: 120px;
    font-weight: bold;
    color: #98464c;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.error-title {
    font-size: 32px;
    color: #333;
    margin: 20px 0;
}

.error-message {
    font-size: 18px;
    color: #666;
    margin: 20px 0 40px 0;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.error-btn {
    background: #98464c;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: background 0.3s;
}

.error-btn:hover {
    background: #7a383d;
    color: white;
    text-decoration: none;
}

.error-btn.secondary {
    background: #f1f1f1;
    color: #333;
}

.error-btn.secondary:hover {
    background: #e1e1e1;
    color: #333;
}

.search-box {
    margin: 40px 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.search-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.search-btn {
    background: #98464c;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    margin-left: 10px;
    cursor: pointer;
}

.recent-posts {
    margin-top: 40px;
    text-align: left;
}

.recent-posts h2 {
    font-size: 22px;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.post-item {
    background: #f9f9f9;
    padding: 15px;
    margin: 10px 0;
    border-radius: 5px;
    border-left: 4px solid #98464c;
}

.post-item a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

.post-item a:hover {
    color: #98464c;
}

.post-meta {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}
