/*
Theme Name: Hızlı Okuma Akademisi
Theme URI: https://ornek-site.com/hizli-okuma-akademisi
Author: Eğitim Teknolojileri
Author URI: https://ornek-site.com
Description: Hızlı Okuma ve Göz Egzersizleri Atölyesi Pro eklentisi ile tam uyumlu, sınıf seviyelerine göre filtreleme, Gece/Sepya okuma modları ve dikkat dağıtmayan tam ekran egzersiz şablonu içeren modern eğitim teması.
Version: 1.0.0
License: GPL v2 or later
Text Domain: hizli-okuma-akademisi
*/

:root {
    --ho-bg: #f8fafc;
    --ho-surface: #ffffff;
    --ho-surface-alt: #f1f5f9;
    --ho-text: #0f172a;
    --ho-text-muted: #64748b;
    --ho-primary: #4f46e5;
    --ho-primary-hover: #4338ca;
    --ho-accent: #10b981;
    --ho-border: #e2e8f0;
    --ho-hero-grad: linear-gradient(135deg, #1e1b4b 0%, #312e81 55%, #4338ca 100%);
}

body.ho-mode-sepia {
    --ho-bg: #fdf6e3;
    --ho-surface: #fffbeb;
    --ho-surface-alt: #fef3c7;
    --ho-text: #292524;
    --ho-text-muted: #78716c;
    --ho-border: #fde68a;
}

body.ho-mode-dark {
    --ho-bg: #0b0f19;
    --ho-surface: #111827;
    --ho-surface-alt: #1e293b;
    --ho-text: #f8fafc;
    --ho-text-muted: #94a3b8;
    --ho-border: #334155;
}

/* Dark/Sepia overrides for plugin */
body.ho-mode-dark .ho-pro-wrap,
body.ho-mode-dark .ho-panel,
body.ho-mode-dark .ho-controls-row,
body.ho-mode-dark .ho-quiz-card {
    background: var(--ho-surface) !important;
    color: var(--ho-text) !important;
    border-color: var(--ho-border) !important;
}
body.ho-mode-dark .ho-pro-title { color: #e0e7ff !important; }
body.ho-mode-dark .ho-schulte-cell {
    background: #1e293b !important;
    color: #f8fafc !important;
    border-color: #475569 !important;
}
body.ho-mode-dark .ho-reading-paper {
    background: #1e293b !important;
    color: #f1f5f9 !important;
    border-color: #334155 !important;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--ho-bg);
    color: var(--ho-text);
    line-height: 1.6;
    transition: background-color 0.25s ease, color 0.25s ease;
}

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

.ho-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.ho-site-header {
    background: var(--ho-surface);
    border-bottom: 1px solid var(--ho-border);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.ho-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
    gap: 16px;
}
.ho-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 900;
    color: var(--ho-text);
}
.ho-logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--ho-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.ho-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}
.ho-nav a {
    color: var(--ho-text);
    font-weight: 600;
    font-size: 15px;
}
.ho-nav a:hover { color: var(--ho-primary); }

.ho-mode-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--ho-surface-alt);
    padding: 5px;
    border-radius: 10px;
    border: 1px solid var(--ho-border);
}
.ho-mode-btn {
    border: none;
    background: transparent;
    color: var(--ho-text-muted);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.15s;
}
.ho-mode-btn.active {
    background: var(--ho-surface);
    color: var(--ho-primary);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Hero Section */
.ho-hero {
    background: var(--ho-hero-grad);
    color: #ffffff;
    padding: 56px 0;
    margin-bottom: 40px;
}
.ho-hero-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 32px;
    align-items: center;
}
.ho-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: #e0e7ff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}
.ho-hero h1 {
    font-size: 40px;
    line-height: 1.2;
    margin: 0 0 16px;
    font-weight: 900;
}
.ho-hero p {
    font-size: 17px;
    color: #cbd5e1;
    margin: 0 0 26px;
    max-width: 600px;
}
.ho-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.ho-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    border: none;
}
.ho-cta-primary {
    background: #10b981;
    color: #ffffff;
}
.ho-cta-primary:hover { background: #059669; color: #fff; }
.ho-cta-outline {
    background: rgba(255,255,255,0.12);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.25);
}
.ho-cta-outline:hover { background: rgba(255,255,255,0.2); color: #fff; }

.ho-hero-gauge-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 28px;
    text-align: center;
}
.ho-gauge-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 10px solid rgba(16, 185, 129, 0.25);
    border-top-color: #10b981;
    border-right-color: #10b981;
    margin: 12px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.ho-gauge-circle strong { font-size: 36px; font-weight: 900; line-height: 1; }
.ho-gauge-circle span { font-size: 13px; color: #cbd5e1; margin-top: 4px; }

/* Grade Level Cards */
.ho-section-title {
    text-align: center;
    margin-bottom: 28px;
}
.ho-section-title h2 {
    font-size: 28px;
    font-weight: 900;
    margin: 0 0 8px;
}
.ho-section-title p {
    color: var(--ho-text-muted);
    margin: 0;
}
.ho-grade-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 44px;
}
.ho-grade-card {
    background: var(--ho-surface);
    border: 1px solid var(--ho-border);
    border-radius: 16px;
    padding: 22px;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.ho-grade-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -6px rgba(79, 70, 229, 0.15);
    border-color: var(--ho-primary);
}
.ho-grade-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 8px;
    margin-bottom: 12px;
}
.ho-grade-card h3 { margin: 0 0 6px; font-size: 20px; font-weight: 800; }
.ho-grade-card p { margin: 0 0 14px; font-size: 14px; color: var(--ho-text-muted); }
.ho-grade-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--ho-primary);
    border-top: 1px solid var(--ho-border);
    padding-top: 12px;
}

/* Text Cards Grid */
.ho-texts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}
.ho-text-card {
    background: var(--ho-surface);
    border: 1px solid var(--ho-border);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.ho-text-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.ho-text-card h4 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 800;
}
.ho-text-excerpt {
    font-size: 14px;
    color: var(--ho-text-muted);
    margin-bottom: 16px;
}

/* Footer */
.ho-footer {
    background: var(--ho-surface);
    border-top: 1px solid var(--ho-border);
    padding: 32px 0;
    margin-top: 60px;
    text-align: center;
    font-size: 14px;
    color: var(--ho-text-muted);
}

@media (max-width: 860px) {
    .ho-hero-grid { grid-template-columns: 1fr; }
    .ho-nav { display: none; }
    .ho-hero h1 { font-size: 30px; }
}
