/*
Theme Name: Forex İnceleme
Theme URI: https://wordpress.org/themes/forex-inceleme/
Author: Forex İnceleme
Author URI: https://wordpress.org/
Description: Forex firmalarını detaylı olarak gösteren, modern ve profesyonel tema.
Version: 1.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: forex-inceleme
Tags: forex, finans, firma-inceleme, tailwind
*/

/* 
NOT: Temel özelleştirmeler burada yapılacak, ana stil tailwind CDN ile sağlanacak.
*/

/* TailwindCSS kullanılacağından sadece temel reset ve özel işlemler burada yapılacak */

/* Genel Sıfırlamalar */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #f97316;
    --accent-dark: #ea580c;
    --text: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --border: #e5e7eb;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background-color: var(--bg-light);
}

/* === HEADER STYLES === */
.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: var(--white);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    box-shadow: var(--shadow);
}

.header-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 16px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.site-branding {
    display: flex;
    align-items: center;
}

.site-logo img {
    max-height: 40px;
    width: auto;
}

.site-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.site-title a {
    color: var(--primary);
    text-decoration: none;
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
}

@media (min-width: 1024px) {
    .desktop-nav {
        display: flex;
    }
    
    .header-container {
        height: 72px;
    }
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.desktop-nav li {
    position: relative;
}

.desktop-nav a {
    display: block;
    padding: 8px 16px;
    color: var(--text);
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.2s;
}

.desktop-nav a:hover {
    background-color: rgba(37, 99, 235, 0.05);
    color: var(--primary);
}

.desktop-nav li.current-menu-item a {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    font-weight: 600;
}

/* Action Buttons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cta-button {
    background-color: var(--accent);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cta-button svg {
    height: 16px;
    width: 16px;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1024px) {
    .mobile-toggle {
        display: none;
    }
}

.mobile-toggle svg {
    width: 24px;
    height: 24px;
    color: var(--text);
}

/* Mobile Menu Dropdown */
.mobile-menu {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 999;
}

.mobile-menu.active {
    max-height: 400px;
    overflow-y: auto;
}

.mobile-menu-content {
    padding: 16px;
}

.mobile-menu-content ul {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

.mobile-menu-content li {
    margin-bottom: 4px;
}

.mobile-menu-content a {
    display: block;
    padding: 12px 16px;
    color: var(--text);
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.mobile-menu-content a:hover,
.mobile-menu-content li.current-menu-item a {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary);
}

.mobile-menu-content .cta-button {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
    padding: 12px;
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    padding: 8px 16px 6px;
    z-index: 990;
}

@media (min-width: 1024px) {
    .mobile-bottom-nav {
        display: none;
    }
}

/* Özel animasyonlar */
.transition-all {
    transition: all 0.3s ease;
}

/* Forex tema özel stiller */
.firma-kart {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.firma-kart:hover {
    transform: translateY(-5px);
}

/* Puan göstergesi */
.puan-gostergesi {
    display: inline-flex;
}

.puan-gostergesi i {
    color: #FFD700;
    margin-right: 2px;
}

/* Rozet stilleri */
.rozet {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
}

/* Artılar ve Eksiler bölümü için özel stiller */
.artilar-eksiler {
    margin-top: 2rem;
}

.artilar-listesi li, .eksiler-listesi li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.artilar-listesi li:before {
    content: "✓";
    color: #10B981;
    position: absolute;
    left: 0;
}

.eksiler-listesi li:before {
    content: "✗";
    color: #EF4444;
    position: absolute;
    left: 0;
}

/* Mobil uyumluluk için ek stiller */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* İçerik alanı stil düzenlemeleri - SEO dostu */
.tab-content .entry-content h1,
.tab-content .entry-content h2,
.tab-content .entry-content h3,
.tab-content .entry-content h4,
.tab-content .entry-content h5,
.tab-content .entry-content h6,
.tab-content h1,
.tab-content h2,
.tab-content h3,
.tab-content h4,
.tab-content h5,
.tab-content h6 {
        color: #111827;
    font-weight: 700;
    margin-top: 1.75em;
    margin-bottom: 0.85em;
    line-height: 1.4;
}

.tab-content h1 {
    font-size: 1.8rem;
}

.tab-content h2 {
    font-size: 1.5rem;
    padding-bottom: 0.25rem;
}

.tab-content h3 {
    font-size: 1.25rem;
}

.tab-content h4 {
    font-size: 1.125rem;
}

.tab-content h5 {
    font-size: 1rem;
}

.tab-content h6 {
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

.tab-content p {
    margin-top: 0.75rem;
    margin-bottom: 1.25rem;
    color: #374151;
    line-height: 1.7;
    font-size: 1rem;
}

.tab-content a {
    color: #2563EB;
    text-decoration: none;
    font-weight: 500;
}

.tab-content a:hover {
    text-decoration: underline;
}

.tab-content strong, 
.tab-content b {
    font-weight: 600;
    color: #111827;
}

.tab-content ul, 
.tab-content ol {
    margin-top: 0.75rem;
    margin-bottom: 1.25rem;
    padding-left: 1.75rem;
}

.tab-content ul {
    list-style-type: disc;
}

.tab-content ol {
    list-style-type: decimal;
}

.tab-content ul li, 
.tab-content ol li {
    margin-bottom: 0.65rem;
    padding-left: 0.25rem;
    line-height: 1.6;
}

.tab-content blockquote {
    border-left: 4px solid #E5E7EB;
    padding-left: 1rem;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 1rem;
    color: #6B7280;
    font-style: italic;
}

.tab-content code {
    font-family: monospace;
    background-color: #F3F4F6;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

.tab-content pre {
    background-color: #F3F4F6;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin-bottom: 1rem;
}

.tab-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1rem 0;
}

.tab-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.tab-content table th {
    background-color: #F9FAFB;
    font-weight: 600;
    text-align: left;
    padding: 0.75rem;
    border-bottom: 2px solid #E5E7EB;
}

.tab-content table td {
    padding: 0.75rem;
    border-bottom: 1px solid #E5E7EB;
}

.tab-content table tr:hover {
    background-color: #F9FAFB;
}

/* Özel onay işareti stili */
.tab-content .check-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.tab-content .check-item:before {
    content: "✓";
    color: #10B981;
    margin-right: 0.5rem;
    font-weight: bold;
}

/* Özel çarpı işareti stili */
.tab-content .cross-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.tab-content .cross-item:before {
    content: "✗";
    color: #EF4444;
    margin-right: 0.5rem;
    font-weight: bold;
}

/* Özel buton stilini tanımla ve tab-content a stilinden etkilenmesini engelle */
.btn {
    display: inline-block;
    text-decoration: none !important;
    color: white !important;
    font-weight: 600;
    text-align: center;
}

.btn:hover {
    opacity: 0.9;
    text-decoration: none !important;
} 