/* Kuran-ı Kerim Türkçe Okuyucu */

:root {
    --color-bg: #f5f0e8;
    --color-card: #ffffff;
    --color-primary: #2d5a27;
    --color-primary-dark: #1e3d1a;
    --color-text: #2c2416;
    --color-text-muted: #6b5d4f;
    --color-border: #e2d9cc;
    --shadow: 0 4px 20px rgba(45, 90, 39, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', -apple-system, sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    background: var(--color-card);
    padding: 1rem 0;
    box-shadow: var(--shadow);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.progress-bar {
    height: 6px;
    background: var(--color-border);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), #4a7c42);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
}

/* Main */
.main {
    flex: 1;
    padding: 2rem 0;
}

.reader-container {
    background: var(--color-card);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.verse-card {
    min-height: 280px;
    text-align: center;
}

.surah-info {
    font-size: 1rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.verse-arabic {
    font-family: 'Amiri', serif;
    font-size: 2rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    direction: rtl;
}

.verse-turkish {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    font-style: italic;
}

.verse-number {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-top: 1rem;
}

/* Controls */
.controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
    min-width: 140px;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--color-bg);
    color: var(--color-text);
}

.btn-secondary:hover {
    background: var(--color-border);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn:disabled:hover {
    transform: none;
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.btn-outline:hover {
    background: rgba(45, 90, 39, 0.08);
}

.controls-secondary {
    margin-top: 1rem;
}

/* Speed */
.speed-control {
    margin-top: 1.5rem;
    text-align: center;
}

.speed-control label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-right: 0.5rem;
}

.speed-control select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9375rem;
}

/* Footer */
.footer {
    text-align: center;
    padding: 1rem;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* Loading */
.loading .verse-arabic,
.loading .verse-turkish {
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 600px) {
    .verse-arabic {
        font-size: 1.5rem;
    }

    .verse-turkish {
        font-size: 1rem;
    }

    .controls {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .reader-container {
        padding: 1.5rem;
    }
}
