/*
Theme Name: Mircte SEO Pro
Theme URI: https://mircte.net
Author: Mircte
Description: GET tabanlı çift sürüm girişli, Schema ve H1-H4 semantik başlıklı, sıfır hata SEO uyumlu WordPress mircte sohbet ve chat teması.
Version: 2.1
Text Domain: mircte
*/

:root {
    --primary-dark: #0f172a;
    --primary-navy: #1e1b4b;
    --primary-mid: #312e81;
    --accent-teal: #06b6d4;
    --accent-mint: #10b981;
    --accent-coral: #f97316;
    --accent-coral-hover: #ea580c;
    --bg-soft: #f8fafc;
    --text-dark: #0f172a;
    --text-muted: #475569;
    --border-light: #e2e8f0;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.7;
}

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

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 5;
}

/* Üst Menü */
.top-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.nav-group {
    display: flex;
    gap: 22px;
    list-style: none;
}

.nav-group a {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
}

.nav-group a:hover {
    color: var(--accent-teal);
}

.site-logo {
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -0.4px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #ffffff;
}

.site-logo span.highlight {
    color: var(--accent-teal);
}

.site-logo .logo-dot {
    width: 9px;
    height: 9px;
    background: var(--accent-coral);
    border-radius: 50%;
    display: inline-block;
}

/* İç Sayfa Ortak Yapı (Sidebar Layout) */
.inner-page-wrapper {
    padding: 50px 0 70px;
}

.content-sidebar-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 35px;
}

.main-content-area {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 22px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.main-content-area h1, .main-content-area h2 {
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.main-content-area p {
    margin-bottom: 15px;
    color: var(--text-muted);
    font-size: 15px;
}

/* Sidebar Tasarımı */
.sidebar-area {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.widget {
    background: var(--bg-soft);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 24px;
}

.widget h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent-teal);
}

.widget ul {
    list-style: none;
}

.widget ul li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-light);
    font-size: 13.5px;
}

.widget ul li a:hover {
    color: var(--accent-teal);
}

/* Footer Tasarımı (Özel Mircte Renk Tonları ve Vurgu) */
.site-footer {
    position: relative;
    background: linear-gradient(135deg, #090d16 0%, #1e1b4b 55%, #312e81 100%);
    color: #ffffff;
    padding-top: 130px;
    padding-bottom: 32px;
    margin-top: 50px;
}

.footer-wave {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.footer-wave svg {
    width: 100%;
    height: 110px;
}

.footer-top-brand {
    margin-bottom: 40px;
    max-width: 480px;
}

.footer-top-brand p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 10px;
}

.footer-top-brand p span {
    color: var(--accent-coral);
    font-weight: 600;
}

.footer-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 35px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 14px;
    color: #ffffff;
}

.footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    list-style: none;
}

.footer-links a {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.72);
}

.footer-links a:hover {
    color: var(--accent-teal);
}

.social-icons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.social-icons a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #ffffff;
}

.social-icons a:hover {
    background: var(--accent-teal);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 22px;
    font-size: 13.5px !important;
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 400;
}

.footer-bottom strong {
    color: var(--accent-teal) !important;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* Genel Mobil ve Taşma Önleyici Kurallar */
@media (max-width: 992px) {
    .content-sidebar-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .main-content-area {
        padding: 20px 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .post-featured-image img, 
    .post-content img {
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }
    .blog-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .blog-card {
        margin-bottom: 16px !important;
    }
    .card-visual-header {
        height: 160px !important;
        max-height: 160px !important;
    }
    .dual-articles-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }
    .footer-columns {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-links, .social-icons {
        justify-content: center;
    }
    .mobile-top-chat-entry {
        display: block !important;
    }
    .pc-only-widget {
        display: none !important;
    }
}

/* Mobilde Ana İçerik Kutusunun Kenar Boşluklarını Düzenle */
@media (max-width: 992px) {
    .main-content-area, .article-box {
        padding: 22px 16px !important;
        border-radius: 18px !important;
    }
}

/* Header Mobil Menü Düzenlemesi */
@media (max-width: 992px) {
    .top-navbar {
        flex-direction: column !important;
        gap: 16px !important;
        text-align: center !important;
        padding: 16px 0 !important;
    }
    .nav-group {
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 14px !important;
    }
    .nav-right-empty {
        display: none !important;
    }
}

/* Masaüstünde Hamburger Butonu Gizli */
.mobile-menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 18px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Mobil Ekran Düzeni */
@media (max-width: 992px) {
    .top-navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        padding: 16px 0;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
    }

    /* Mobilde Başlangıçta Menüyü Gizle */
    .nav-group {
        display: none;
        width: 100%;
        flex-direction: column;
        background: #1e1b4b;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 16px;
        padding: 16px;
        margin-top: 14px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        text-align: center;
        gap: 12px;
    }

    /* JavaScript ile tıklandığında aktif olur */
    .nav-group.active {
        display: flex !important;
    }

    .nav-group li {
        border-bottom: 1px solid rgba(255, 255, 255,.08);
        padding-bottom: 8px;
    }

    .nav-group li:last-child {
        border-bottom: none;
    }
}

/* Arşiv Sayfası Mobil Düzenlemesi */
@media (max-width: 992px) {
    .main-content-area .blog-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Sağ Sidebar Hızlı Sohbet Girişi Renk ve Tasarım Düzeltmesi */
.sidebar-area .widget:first-child,
.widget.pc-only-widget {
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-mid)) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 20px !important;
    padding: 24px !important;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.1) !important;
}

.sidebar-area .widget:first-child h3,
.widget.pc-only-widget h3 {
    color: #ffffff !important;
    border-bottom-color: var(--accent-coral) !important;
    margin-bottom: 12px !important;
}

.sidebar-area .widget:first-child p,
.widget.pc-only-widget p {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 12.5px !important;
    margin-bottom: 14px !important;
}

.sidebar-area .widget:first-child input[type="text"],
.widget.pc-only-widget input[type="text"] {
    width: 100% !important;
    padding: 11px 16px !important;
    border-radius: 50px !important;
    border: none !important;
    font-size: 13px !important;
    margin-bottom: 10px !important;
    outline: none !important;
    background: rgba(255, 255, 255, 0.95) !important;
    color: var(--text-dark) !important;
}

.sidebar-area .widget:first-child button[type="submit"],
.widget.pc-only-widget button[type="submit"] {
    width: 100% !important;
    padding: 11px !important;
    border-radius: 50px !important;
    border: none !important;
    background: var(--accent-coral) !important;
    color: #fff !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    font-size: 13px !important;
    transition: opacity 0.2s ease !important;
}

.sidebar-area .widget:first-child button[type="submit"]:hover,
.widget.pc-only-widget button[type="submit"]:hover {
    opacity: 0.9 !important;
}