/*
Theme Name: iyiDizayn Sohbet
Theme URI: https://iyidizayn.com
Author: iyidizayn Team
Author URI: https://iyidizayn.com
Description: Modern sohbet siteleri için özel olarak tasarlanmış, mor/pembe/teal renk paletine sahip responsive WordPress sohbet teması. Mobil uyumlu, hızlı ve SEO dostu. Sohbet giriş, mobil uygulama indirme, blog ve sohbet odaları bölümleri içerir.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sekershell
Tags: sohbet, chat, mirc, mobil, blog, two-columns, right-sidebar, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready, rtl-language-support
*/

/* ==========================================================================
   SekerShell Sohbet Teması - Stil Dosyası
   Renk Paleti: Mor / Pembe / Teal
   ========================================================================== */

:root {
    /* Ana Renkler */
    --color-primary: #7C3AED;        /* Mor */
    --color-primary-dark: #6D28D9;
    --color-primary-light: #A78BFA;
    --color-secondary: #EC4899;      /* Pembe */
    --color-secondary-dark: #DB2777;
    --color-accent: #06B6D4;         /* Teal */
    --color-accent-dark: #0891B2;

    /* Nötr Renkler */
    --color-bg: #FAF5FF;
    --color-bg-alt: #F5F3FF;
    --color-surface: #FFFFFF;
    --color-text: #1E1B4B;
    --color-text-muted: #6B7280;
    --color-border: #E9D5FF;
    --color-dark: #1E1B4B;
    --color-dark-alt: #312E81;

    /* Gradient'lar */
    --gradient-primary: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
    --gradient-accent: linear-gradient(135deg, #06B6D4 0%, #7C3AED 100%);
    --gradient-dark: linear-gradient(135deg, #1E1B4B 0%, #4C1D95 100%);
    --gradient-hero: linear-gradient(135deg, #4C1D95 0%, #7C3AED 50%, #EC4899 100%);

    /* Gölgeler */
    --shadow-sm: 0 2px 4px rgba(124, 58, 237, 0.06);
    --shadow-md: 0 8px 24px rgba(124, 58, 237, 0.12);
    --shadow-lg: 0 16px 48px rgba(124, 58, 237, 0.18);
    --shadow-pink: 0 12px 32px rgba(236, 72, 153, 0.25);
    --shadow-teal: 0 12px 32px rgba(6, 182, 212, 0.25);

    /* Yarıçaplar */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Geçişler */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Reset & Temel Stiller
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Segoe UI', 'Inter', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 0.6em;
    font-weight: 800;
    line-height: 1.25;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }

p { margin: 0 0 1.2em; }

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}
a:hover { color: var(--color-secondary); }

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

ul, ol { margin: 0 0 1.2em; padding-left: 1.2em; }

blockquote {
    margin: 1.5em 0;
    padding: 1em 1.5em;
    border-left: 4px solid var(--color-secondary);
    background: var(--color-bg-alt);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--color-text);
    font-style: italic;
}

code, pre {
    font-family: 'Fira Code', 'Courier New', monospace;
    background: var(--color-dark);
    color: #E9D5FF;
    border-radius: var(--radius-sm);
}
code { padding: 2px 6px; font-size: 0.9em; }
pre { padding: 1em; overflow-x: auto; }

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--color-border); }
th { background: var(--gradient-primary); color: #fff; font-weight: 700; }

/* ==========================================================================
   Container & Layout
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-main { padding: 40px 0; min-height: 60vh; }

.content-area {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
}
@media (max-width: 900px) {
    .content-area { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Top Bar
   ========================================================================== */
.top-bar {
    background: var(--color-dark);
    color: #E9D5FF;
    font-size: 0.85rem;
    padding: 8px 0;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.top-bar a { color: var(--color-primary-light); }
.top-bar a:hover { color: var(--color-secondary); }
.top-bar .social-icons { display: flex; gap: 12px; }
.top-bar .social-icons a { font-size: 0.95rem; }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    padding-bottom: 14px;
}

.site-branding { display: flex; align-items: center; gap: 12px; }

.site-logo {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 900;
    box-shadow: var(--shadow-md);
}

.site-title {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.site-title a { color: inherit; }
.site-description {
    margin: 0;
    font-size: 0.78rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* Ana Menü */
.main-navigation { display: flex; align-items: center; gap: 8px; }
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}
.main-navigation li { position: relative; }
.main-navigation a {
    display: block;
    padding: 10px 16px;
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.92rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a {
    background: var(--gradient-primary);
    color: #fff;
}

/* Sub menü */
.main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}
.main-navigation li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.main-navigation .sub-menu a { padding: 8px 14px; font-size: 0.88rem; }

/* CTA Butonu */
.nav-cta {
    background: var(--gradient-primary);
    color: #fff !important;
    padding: 10px 22px !important;
    border-radius: var(--radius-full);
    font-weight: 700;
    box-shadow: var(--shadow-md);
    margin-left: 8px;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-pink); }

/* Mobil Menü Toggle */
.menu-toggle {
    display: none;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

@media (max-width: 900px) {
    .menu-toggle { display: flex; align-items: center; justify-content: center; }
    .main-navigation ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: #fff;
        padding: 12px;
        gap: 4px;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--color-border);
    }
    .main-navigation.toggled ul { display: flex; }
    .main-navigation .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 16px;
    }
    .nav-cta { margin-left: 0; margin-top: 8px; text-align: center; }
}

/* ==========================================================================
   Hero Bölümü
   ========================================================================== */
.hero {
    position: relative;
    background: var(--gradient-hero);
    color: #fff;
    padding: 70px 0 90px;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(236, 72, 153, 0.4) 0%, transparent 40%),
                      radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.35) 0%, transparent 40%);
    pointer-events: none;
}
.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}
@media (max-width: 900px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { order: -1; }
}

.hero-content h1 {
    color: #fff;
    margin-bottom: 16px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.hero-content .hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.hero-content p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 28px;
    max-width: 540px;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 900px) { .hero-buttons { justify-content: center; } }

.hero-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3;
    background: rgba(255, 255, 255, 0.1);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Sohbet Giriş Kutusu
   ========================================================================== */
.chat-login-box {
    background: #fff;
    color: var(--color-text);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 440px;
    margin-top: 16px;
}
@media (max-width: 900px) { .chat-login-box { margin: 16px auto 0; } }

.chat-login-box h3 {
    margin: 0 0 6px;
    font-size: 1.4rem;
    color: var(--color-primary);
}
.chat-login-box .subtitle {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}
.chat-login-box label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-text);
}
.chat-login-box input[type="text"],
.chat-login-box input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 14px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--color-bg-alt);
}
.chat-login-box input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}
.chat-login-box .hint {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    margin: -6px 0 14px;
}
.chat-login-box .btn-block { width: 100%; margin-bottom: 10px; }

/* ==========================================================================
   Butonlar
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: var(--shadow-md);
}
.btn-primary:hover { color: #fff; box-shadow: var(--shadow-pink); }
.btn-secondary {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: var(--shadow-teal);
}
.btn-secondary:hover { color: #fff; }
.btn-pink {
    background: linear-gradient(135deg, #EC4899, #F43F5E);
    color: #fff;
    box-shadow: var(--shadow-pink);
}
.btn-pink:hover { color: #fff; }
.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6);
}
.btn-outline:hover { background: #fff; color: var(--color-primary); border-color: #fff; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }

/* ==========================================================================
   Bölüm Başlığı
   ========================================================================== */
.section { padding: 70px 0; }
.section-alt { background: var(--color-bg-alt); }

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
}
.section-header .eyebrow {
    display: inline-block;
    background: rgba(124, 58, 237, 0.12);
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 14px;
}
.section-header h2 {
    margin-bottom: 12px;
}
.section-header p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

/* ==========================================================================
   Mobil Sohbet Bölümü
   ========================================================================== */
.mobile-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
@media (max-width: 900px) {
    .mobile-section .container { grid-template-columns: 1fr; }
}

.mobile-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #06B6D4 0%, #EC4899 100%);
    box-shadow: var(--shadow-lg);
}
.mobile-visual img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: luminosity; opacity: 0.9; }

.mobile-content .eyebrow {
    display: inline-block;
    background: rgba(6, 182, 212, 0.12);
    color: var(--color-accent-dark);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 14px;
}
.mobile-content h2 { color: var(--color-text); }
.mobile-content p { color: var(--color-text-muted); margin-bottom: 24px; }

.app-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.app-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    color: #fff;
    font-weight: 600;
    transition: var(--transition);
}
.app-button:hover { transform: translateY(-2px); color: #fff; }
.app-button .app-icon { font-size: 1.5rem; }
.app-button .app-label { display: flex; flex-direction: column; line-height: 1.2; }
.app-button .app-label small { font-size: 0.7rem; opacity: 0.85; font-weight: 500; }
.app-button .app-label strong { font-size: 0.95rem; }
.app-google { background: linear-gradient(135deg, #06B6D4, #0891B2); }
.app-apple { background: linear-gradient(135deg, #1E1B4B, #4C1D95); }
.app-mirc { background: linear-gradient(135deg, #10B981, #059669); }

/* ==========================================================================
   Blog Kartları
   ========================================================================== */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.post-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
}
.post-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-light);
}

.post-card-thumbnail {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--gradient-primary);
    position: relative;
}
.post-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.post-card:hover .post-card-thumbnail img { transform: scale(1.06); }
.post-card-thumbnail .post-cat-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--gradient-primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.post-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.post-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.78rem;
    color: var(--color-text-muted);
    margin-bottom: 10px;
}
.post-card-meta .author { color: var(--color-primary); font-weight: 600; }
.post-card-meta .dot { width: 4px; height: 4px; background: var(--color-text-muted); border-radius: 50%; }

.post-card-body h3 {
    font-size: 1.1rem;
    margin: 0 0 8px;
    line-height: 1.35;
}
.post-card-body h3 a { color: var(--color-text); }
.post-card-body h3 a:hover { color: var(--color-primary); }

.post-card-excerpt {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
    flex: 1;
}

.post-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--color-border);
}
.read-more {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.read-more:hover { gap: 8px; color: var(--color-secondary); }

/* ==========================================================================
   Sidebar & Widget'lar
   ========================================================================== */
.sidebar { display: flex; flex-direction: column; gap: 24px; }

.widget {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}
.widget-title {
    margin: 0 0 16px;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-primary);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.widget ul li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--color-border);
    font-size: 0.92rem;
}
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: var(--color-text); }
.widget ul li a:hover { color: var(--color-primary); }

/* Öne çıkan yazılar listesi */
.popular-posts li {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px 0 !important;
}
.popular-posts .thumb {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: var(--gradient-primary);
    flex-shrink: 0;
}
.popular-posts .meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.popular-posts .meta strong { font-size: 0.9rem; color: var(--color-text); line-height: 1.3; }
.popular-posts .meta small { color: var(--color-text-muted); font-size: 0.75rem; }

/* Sohbet giriş widget'ı */
.widget-chat-login {
    background: var(--gradient-dark);
    color: #fff;
    text-align: center;
}
.widget-chat-login .widget-title { color: #fff; border-color: rgba(255,255,255,0.2); }
.widget-chat-login input[type="text"],
.widget-chat-login input[type="password"] {
    width: 100%;
    padding: 11px 14px;
    margin-bottom: 10px;
    border: none;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.92rem;
}
.widget-chat-login input::placeholder { color: rgba(255, 255, 255, 0.7); }
.widget-chat-login input:focus { outline: 2px solid var(--color-secondary); background: rgba(255, 255, 255, 0.15); }
.widget-chat-login .btn { width: 100%; }

/* Kategoriler */
.widget_categories ul { counter-reset: cat; }
.widget_categories li {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.widget_categories li a { flex: 1; }
.widget_categories li .count {
    background: var(--color-bg-alt);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: var(--radius-full);
}

/* ==========================================================================
   Sohbet Odaları Bölümü
   ========================================================================== */
.chat-rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.chat-room-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: var(--transition);
    cursor: pointer;
}
.chat-room-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary-light);
}
.chat-room-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 900;
}
.chat-room-card h4 { margin: 0 0 6px; font-size: 1.05rem; }
.chat-room-card .room-meta {
    color: var(--color-text-muted);
    font-size: 0.82rem;
    margin-bottom: 14px;
}
.chat-room-card .online-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    margin-right: 6px;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

/* ==========================================================================
   İstatistik Bölümü
   ========================================================================== */
.stats-section {
    background: var(--gradient-dark);
    color: #fff;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(124, 58, 237, 0.4) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(236, 72, 153, 0.3) 0%, transparent 50%);
    pointer-events: none;
}
.stats-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    text-align: center;
}
.stat-item .stat-number {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    background: linear-gradient(135deg, #A78BFA, #F9A8D4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
}
.stat-item .stat-label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ==========================================================================
   Özellikler Bölümü
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.feature-card {
    background: #fff;
    padding: 30px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: var(--transition);
    text-align: center;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary-light);
}
.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
}
.feature-icon.purple { background: var(--gradient-primary); }
.feature-icon.teal { background: var(--gradient-accent); }
.feature-icon.pink { background: linear-gradient(135deg, #EC4899, #F43F5E); }
.feature-icon.green { background: linear-gradient(135deg, #10B981, #059669); }
.feature-card h4 { margin: 0 0 8px; font-size: 1.15rem; }
.feature-card p { color: var(--color-text-muted); font-size: 0.92rem; margin: 0; }

/* ==========================================================================
   CTA Bölümü
   ========================================================================== */
.cta-section {
    padding: 70px 0;
    background: var(--gradient-hero);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.15) 0%, transparent 60%);
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: #fff; margin-bottom: 14px; }
.cta-section p {
    color: rgba(255, 255, 255, 0.92);
    max-width: 600px;
    margin: 0 auto 28px;
    font-size: 1.1rem;
}
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--color-dark);
    color: #C4B5FD;
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
    .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand .site-title { font-size: 1.4rem; }
.footer-brand p { color: rgba(196, 181, 253, 0.8); font-size: 0.9rem; margin: 12px 0 16px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
}

.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 16px;
    font-weight: 700;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(196, 181, 253, 0.85); font-size: 0.9rem; }
.footer-col ul li a:hover { color: #fff; padding-left: 4px; }
.footer-col ul li i { margin-right: 6px; opacity: 0.7; }
.footer-widget { margin-bottom: 16px; }
.widget-title-footer {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 14px;
    font-weight: 700;
}
.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-widget ul li {
    margin-bottom: 10px;
    color: rgba(196, 181, 253, 0.85);
    font-size: 0.9rem;
}
.footer-widget ul li a { color: rgba(196, 181, 253, 0.85); }
.footer-widget ul li a:hover { color: #fff; }
.widget_search { background: #fff; }
.widget_search .search-form { padding: 0; }

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(196, 181, 253, 0.7);
}
.footer-bottom a { color: var(--color-primary-light); }

/* ==========================================================================
   Single Post / Page
   ========================================================================== */
.single-post-area {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}
.single-post-area .post-thumbnail {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 24px;
    aspect-ratio: 16 / 8;
}
.single-post-area .post-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.single-post-area h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 12px; }
.post-meta-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 12px 0;
    margin-bottom: 24px;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.85rem;
}
.post-meta-bar .author { color: var(--color-primary); font-weight: 600; }
.post-content { font-size: 1rem; line-height: 1.75; }
.post-content p { margin-bottom: 1.4em; }
.post-content h2, .post-content h3 { margin-top: 1.5em; }
.post-content img { border-radius: var(--radius-md); margin: 1.5em 0; }
.post-content a { color: var(--color-secondary-dark); text-decoration: underline; }
.post-content a:hover { color: var(--color-primary); }

.tags-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 30px 0;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}
.tag-pill {
    background: var(--color-bg-alt);
    color: var(--color-primary);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    transition: var(--transition);
}
.tag-pill:hover { background: var(--gradient-primary); color: #fff; }

/* Comments */
.comments-area { margin-top: 40px; }
.comments-area h3 { margin-bottom: 24px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 30px; }
.comment { padding: 18px; background: var(--color-bg-alt); border-radius: var(--radius-md); margin-bottom: 16px; }
.comment .comment-author { font-weight: 700; color: var(--color-primary); }
.comment .comment-meta { font-size: 0.8rem; color: var(--color-text-muted); margin-bottom: 8px; }

#commentform input, #commentform textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    font-family: inherit;
    font-size: 0.92rem;
}
#commentform input:focus, #commentform textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 40px 0 0;
    flex-wrap: wrap;
}
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    background: #fff;
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition);
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
}

/* ==========================================================================
   Breadcrumb
   ========================================================================== */
.breadcrumb {
    padding: 18px 0;
    background: var(--color-bg-alt);
    font-size: 0.85rem;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-border);
}
.breadcrumb a { color: var(--color-primary); font-weight: 600; }
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }

/* ==========================================================================
   404
   ========================================================================== */
.error-404 {
    text-align: center;
    padding: 80px 20px;
}
.error-404 .error-code {
    font-size: clamp(5rem, 18vw, 10rem);
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 16px;
}
.error-404 p { color: var(--color-text-muted); margin-bottom: 24px; }

/* ==========================================================================
   Animasyonlar
   ========================================================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.7s ease-out both; }

/* ==========================================================================
   Yardımcı Sınıflar
   ========================================================================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.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 !important; width: 1px; word-wrap: normal !important;
}

/* WordPress align sınıfları */
.alignleft { float: left; margin: 0 20px 20px 0; }
.alignright { float: right; margin: 0 0 20px 20px; }
.aligncenter { display: block; margin: 0 auto; }
.alignwide { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; color: var(--color-text-muted); text-align: center; margin-top: 8px; }
