/**
 * MinikOkur Global Base Styles & Resets
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    background-color: var(--mk-bg);
    color: var(--mk-text);
    line-height: 1.6;
    font-weight: 400;
    overflow-x: hidden;
}

/* Headings System with hierarchy */
h1, h2, h3, h4, h5, h6 {
    color: var(--mk-text);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: var(--space-4);
}

h1 {
    font-size: var(--font-3xl);
    letter-spacing: -0.02em;
    font-weight: 800;
}

h2 {
    font-size: var(--font-2xl);
    letter-spacing: -0.01em;
}

h3 {
    font-size: var(--font-xl);
}

h4 {
    font-size: var(--font-lg);
}

p {
    margin-bottom: var(--space-4);
    color: var(--mk-text-muted);
}

a {
    color: var(--mk-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--mk-primary-hover);
}

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

/* Dyslexia Friendly Overrides */
body.theme-dyslexia {
    --font-sans: Arial, Verdana, Tahoma, sans-serif;
    font-size: 18px;
    line-height: 1.7;
}

body.theme-dyslexia p {
    word-spacing: 0.12em;
    letter-spacing: 0.03em;
}

body.theme-dyslexia h1,
body.theme-dyslexia h2,
body.theme-dyslexia h3 {
    font-weight: bold;
    text-transform: none;
}

/* ═══════════════════════════════════════════════════════
 * BLOG HTML İÇERİK İSTİSNASI
 * Blog yazıları kendi HTML/CSS'leriyle yüklenir.
 * Aşağıdaki kurallar site stillerinin blog içeriğini
 * EZMESINI engeller — içerik kendi renklerini kullanır.
 * ═══════════════════════════════════════════════════════ */
.blog-html-content h1,
.blog-html-content h2,
.blog-html-content h3,
.blog-html-content h4,
.blog-html-content h5,
.blog-html-content h6 {
    all: revert;
}

.blog-html-content p {
    all: revert;
}

.blog-html-content a {
    all: revert;
}
