/* ====================================
   TİPOGRAFİ
   Fontlar, heading'ler, text stilleri
   ==================================== */

/* ---------- FONT AİLESİ ---------- */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--ink);
}

/* ---------- HEADING'LER ---------- */
h1,
.h1 {
    font-size: 42px;
    line-height: 1.05;
    font-weight: var(--font-semibold);
    letter-spacing: -0.02em;
    color: var(--primary);
}

@media (min-width: 768px) {

    h1,
    .h1 {
        font-size: var(--text-6xl);
    }
}

h2,
.h2 {
    font-size: var(--text-2xl);
    font-weight: var(--font-semibold);
}

@media (min-width: 768px) {

    h2,
    .h2 {
        font-size: var(--text-3xl);
    }
}

h3,
.h3 {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
}

h4,
.h4 {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
}

/* ---------- TEXT STİLLERİ ---------- */
.text-xs {
    font-size: var(--text-xs);
}

.text-sm {
    font-size: var(--text-sm);
}

.text-base {
    font-size: var(--text-base);
}

.text-lg {
    font-size: var(--text-lg);
}

.text-xl {
    font-size: var(--text-xl);
}

.text-2xl {
    font-size: var(--text-2xl);
}

.text-3xl {
    font-size: var(--text-3xl);
}

.text-4xl {
    font-size: var(--text-4xl);
}

.text-5xl {
    font-size: var(--text-5xl);
}

/* Font weights */
.font-normal {
    font-weight: var(--font-normal);
}

.font-medium {
    font-weight: var(--font-medium);
}

.font-semibold {
    font-weight: var(--font-semibold);
}

.font-bold {
    font-weight: var(--font-bold);
}

.font-extrabold {
    font-weight: var(--font-extrabold);
}

/* Text colors */
.text-ink {
    color: var(--ink);
}

.text-muted {
    color: var(--muted);
}

.text-muted-light {
    color: var(--muted-light);
}

.text-primary {
    color: var(--primary);
}

.text-sky {
    color: var(--sky);
}

.text-sky-dark {
    color: var(--sky-dark);
}

.text-emerald {
    color: var(--emerald);
}

.text-emerald-dark {
    color: var(--emerald-dark);
}

.text-amber {
    color: var(--amber);
}

.text-amber-dark {
    color: var(--amber-dark);
}

/* Text alignment */
.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

/* Letter spacing */
.tracking-tight {
    letter-spacing: -0.02em;
}

.tracking-wide {
    letter-spacing: 0.025em;
}

.tracking-wider {
    letter-spacing: 0.05em;
}

/* Line height */
.leading-tight {
    line-height: 1.2;
}

.leading-normal {
    line-height: 1.5;
}

.leading-loose {
    line-height: 1.8;
}

/* ---------- HIGHLIGHT KUTULARI ---------- */
.highlight {
    display: inline-flex;
    align-items: center;
    padding: var(--spacing-2) var(--spacing-4);
    border-radius: var(--radius-md);
    font-weight: var(--font-semibold);
}

.highlight-sky {
    background: var(--sky-bg);
    border: 1px solid var(--sky-border);
    color: var(--sky-dark);
}

.highlight-indigo {
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    color: #4338ca;
}

/* ---------- LINK STİLLERİ ---------- */
.link {
    color: var(--muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.link:hover {
    color: var(--primary);
}

.link-underline {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.link-underline:hover {
    text-decoration-thickness: 2px;
}