/* ========================================
   fatiha.net - Ana Stil Dosyasi
   ======================================== */

/* CSS Variables */
:root {
    --primary: #1a3a2f;
    --primary-light: #2d5a4a;
    --primary-dark: #0f1f1a;
    --gold: #c4a35a;
    --gold-light: #d4b36a;
    --gold-dark: #a88b4a;
    --white: #ffffff;
    --cream: #f5f0e8;
    --cream-dark: #e8e0d0;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --shadow: rgba(0,0,0,0.1);
    --shadow-heavy: rgba(0,0,0,0.2);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 58, 47, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
}

.nav-logo .gold {
    color: var(--gold);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-link {
    color: rgba(255,255,255,0.8);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
    background: rgba(196, 163, 90, 0.1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 60px;
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary) 100%);
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.logo-text {
    font-size: 13px;
    color: var(--gold);
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 25px;
    font-weight: 600;
}

.hero h1 {
    font-family: 'Amiri', serif;
    font-size: 80px;
    color: var(--white);
    margin: 0 0 10px;
    font-weight: 700;
    line-height: 1.1;
}

.hero .subtitle {
    font-size: 20px;
    color: var(--gold);
    margin-bottom: 50px;
    font-weight: 300;
    opacity: 0.9;
}

.arabic-fatiha {
    font-family: 'Amiri', serif;
    font-size: 38px;
    color: var(--white);
    line-height: 2.4;
    margin: 30px 0;
    direction: rtl;
}

.bismillah {
    font-size: 26px;
    color: var(--gold);
    margin-bottom: 25px;
    font-weight: 700;
}

.fatiha-verses {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.verse {
    display: inline-block;
    padding: 5px 15px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
}

.verse:hover {
    background: rgba(196, 163, 90, 0.15);
    transform: scale(1.02);
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
}

.btn {
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--gold);
    color: var(--primary);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(196, 163, 90, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(196, 163, 90, 0.1);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 13px;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    font-size: 18px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features {
    padding: 100px 20px;
}

.section-title {
    text-align: center;
    font-size: 38px;
    color: var(--primary);
    margin-bottom: 60px;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
    display: block;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--shadow-heavy);
}

.feature-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    font-size: 28px;
}

.feature-card h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

/* ========================================
   READ SECTION (Homepage)
   ======================================== */

.read-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 100px 20px;
}

.read-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 60px 40px;
    max-width: 750px;
    margin: 0 auto;
    border: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.read-title {
    font-size: 14px;
    color: var(--gold);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.read-arabic {
    font-family: 'Amiri', serif;
    font-size: 32px;
    color: var(--white);
    direction: rtl;
    line-height: 2.4;
    margin-bottom: 35px;
}

.read-arabic .bismillah-line {
    color: var(--gold);
    font-size: 26px;
    margin-bottom: 15px;
}

.read-turkish {
    font-size: 17px;
    color: var(--gold);
    line-height: 2;
    font-style: italic;
    opacity: 0.9;
}

.audio-player {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gold);
    border: none;
    color: var(--primary);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(196, 163, 90, 0.5);
}

.progress-bar {
    width: 220px;
    height: 5px;
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    width: 35%;
    height: 100%;
    background: var(--gold);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.time {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.reciter-select {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.reciter-select select {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    padding: 8px 15px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    cursor: pointer;
}

.reciter-select select option {
    background: var(--primary);
    color: var(--white);
}

/* ========================================
   STATS SECTION
   ======================================== */

.stats {
    padding: 80px 20px;
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: 'Amiri', serif;
    font-size: 56px;
    color: var(--gold);
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    color: var(--text-light);
    margin-top: 8px;
    font-weight: 500;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--primary-dark);
    padding: 60px 20px 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
}

.footer-logo .gold {
    color: var(--gold);
}

.footer-brand p {
    color: rgba(255,255,255,0.5);
    margin-top: 10px;
    font-size: 14px;
}

.footer-links h4 {
    color: var(--gold);
    font-size: 15px;
    margin-bottom: 18px;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-social h4 {
    color: var(--gold);
    font-size: 15px;
    margin-bottom: 18px;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gold);
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: rgba(255,255,255,0.4);
    font-size: 14px;
}

.footer-bottom .brand {
    color: var(--gold);
    font-weight: 600;
}

/* ========================================
   PAGE HEADER (Sub Pages)
   ======================================== */

.page-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 140px 20px 60px;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-family: 'Amiri', serif;
    font-size: 48px;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    font-weight: 300;
}

/* ========================================
   OKU PAGE - READ LAYOUT
   ======================================== */

.read-full {
    padding: 60px 20px;
}

.read-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.read-panel {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: 0 4px 20px var(--shadow);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--cream);
}

.panel-header h2 {
    font-size: 18px;
    color: var(--primary);
    font-weight: 600;
}

.panel-controls {
    display: flex;
    gap: 8px;
}

.btn-sm {
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--cream-dark);
    background: var(--cream);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-sm:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Arabic Panel */
.arabic-text {
    font-family: 'Amiri', serif;
    direction: rtl;
    text-align: right;
}

.bismillah-text {
    font-size: 24px;
    color: var(--gold);
    margin-bottom: 20px;
    text-align: center;
}

.verse-block {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    transition: var(--transition);
    cursor: pointer;
}

.verse-block:hover {
    background: var(--cream);
}

.verse-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
}

.verse-text {
    font-size: 24px;
    color: var(--primary);
    line-height: 1.8;
}

/* Meaning Panel */
.audio-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--cream);
}

.reciter-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.reciter-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--cream);
}

.reciter-name {
    display: block;
    font-weight: 600;
    color: var(--primary);
    font-size: 15px;
}

.reciter-style {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
}

.audio-player-full {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.play-btn-large {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--gold);
    border: none;
    color: var(--primary);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.play-btn-large:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(196, 163, 90, 0.4);
}

.player-controls {
    flex: 1;
}

.progress-bar-full {
    width: 100%;
    height: 5px;
    background: var(--cream);
    border-radius: 3px;
    margin-bottom: 8px;
    overflow: hidden;
}

.player-times {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
}

.reciter-select-full {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-light);
}

.reciter-select-full select {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    background: var(--white);
    font-size: 14px;
    cursor: pointer;
}

/* Word List */
.meaning-section h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 18px;
    font-weight: 600;
}

.word-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.word-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    background: var(--cream);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.word-item:hover {
    background: var(--primary);
    color: var(--white);
}

.word-item:hover .word-meaning,
.word-item:hover .word-root {
    color: rgba(255,255,255,0.8);
}

.word-arabic {
    font-family: 'Amiri', serif;
    font-size: 20px;
    min-width: 100px;
    direction: rtl;
    text-align: right;
}

.word-meaning {
    flex: 1;
    font-size: 14px;
    color: var(--text);
}

.word-root {
    font-size: 12px;
    color: var(--text-muted);
    font-style: italic;
}

/* Meal Section */
.meal-section {
    padding: 80px 20px;
    background: var(--cream);
}

.meal-card {
    max-width: 800px;
    margin: 0 auto;
}

.meal-verse {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 15px var(--shadow);
    position: relative;
    padding-left: 70px;
}

.meal-num {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.meal-verse p {
    font-size: 16px;
    color: var(--text);
    line-height: 1.8;
}

.meal-verse .meal-detail {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--cream);
}

/* ========================================
   TEFSIR PAGE
   ======================================== */

.tefsir-section {
    padding: 60px 20px;
}

.tefsir-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.tefsir-tab {
    padding: 12px 24px;
    border-radius: 50px;
    border: 2px solid var(--cream-dark);
    background: var(--white);
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.tefsir-tab:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.tefsir-tab.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.tefsir-content {
    max-width: 900px;
    margin: 0 auto;
}

.tefsir-panel {
    display: none;
}

.tefsir-panel.active {
    display: block;
}

.tefsir-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--cream);
}

.tefsir-header h2 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 8px;
}

.tefsir-author {
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
}

.tefsir-intro {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 25px 30px;
    margin-bottom: 30px;
    border-left: 4px solid var(--gold);
}

.tefsir-intro p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
}

.tefsir-verse {
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--cream);
}

.tefsir-verse:last-child {
    border-bottom: none;
}

.tefsir-verse h3 {
    font-family: 'Amiri', serif;
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 18px;
    direction: rtl;
    text-align: right;
}

.tefsir-verse p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text);
    margin-bottom: 15px;
}

/* ========================================
   EZBER PAGE
   ======================================== */

.ezber-section {
    padding: 60px 20px;
}

.ezber-progress {
    max-width: 600px;
    margin: 0 auto 40px;
    text-align: center;
}

.progress-bar-ezber {
    width: 100%;
    height: 8px;
    background: var(--cream);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill-ezber {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 4px;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.ezber-modes {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.mode-btn {
    padding: 12px 24px;
    border-radius: 50px;
    border: 2px solid var(--cream-dark);
    background: var(--white);
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.mode-btn:hover {
    border-color: var(--gold);
}

.mode-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.ezber-content {
    max-width: 800px;
    margin: 0 auto;
}

.ezber-panel {
    display: none;
}

.ezber-panel.active {
    display: block;
}

.ezber-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: 0 4px 20px var(--shadow);
}

/* Word Mode */
.ezber-step {
    text-align: center;
    margin-bottom: 30px;
}

.step-num {
    display: block;
    font-size: 12px;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.ezber-step h3 {
    font-size: 24px;
    color: var(--primary);
}

.word-practice {
    text-align: center;
    margin-bottom: 30px;
}

.word-flash {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius);
    padding: 40px;
    margin-bottom: 25px;
    color: var(--white);
}

.flash-arabic {
    display: block;
    font-family: 'Amiri', serif;
    font-size: 48px;
    margin-bottom: 15px;
}

.flash-meaning {
    display: block;
    font-size: 18px;
    color: var(--gold);
}

.word-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.btn-word {
    padding: 10px 24px;
    border-radius: 50px;
    border: 2px solid var(--cream-dark);
    background: var(--white);
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-word:hover {
    border-color: var(--gold);
}

.btn-word.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.word-counter {
    font-size: 14px;
    color: var(--text-muted);
}

.word-list-ezber {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.word-item-ezber {
    text-align: center;
    padding: 15px;
    border-radius: var(--radius-sm);
    background: var(--cream);
    transition: var(--transition);
}

.word-item-ezber.active {
    background: var(--primary);
    color: var(--white);
}

.word-item-ezber.active .word-meaning-small {
    color: rgba(255,255,255,0.8);
}

.word-arabic-small {
    display: block;
    font-family: 'Amiri', serif;
    font-size: 20px;
    margin-bottom: 5px;
}

.word-meaning-small {
    font-size: 12px;
    color: var(--text-light);
}

/* Verse Mode */
.verse-practice {
    text-align: center;
}

.verse-display {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius);
    padding: 40px;
    margin-bottom: 25px;
    color: var(--white);
}

.verse-number {
    display: block;
    font-size: 12px;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.verse-arabic {
    font-family: 'Amiri', serif;
    font-size: 36px;
    margin-bottom: 15px;
    direction: rtl;
}

.verse-turkish {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    font-style: italic;
}

.verse-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.btn-verse {
    padding: 10px 24px;
    border-radius: 50px;
    border: 2px solid var(--cream-dark);
    background: var(--white);
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-verse:hover {
    border-color: var(--gold);
}

.btn-verse.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.verse-tracker {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.verse-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--cream);
    cursor: pointer;
    transition: var(--transition);
}

.verse-dot.active {
    background: var(--gold);
    transform: scale(1.2);
}

/* Full Mode */
.full-practice {
    text-align: center;
}

.full-text {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 25px;
    font-family: 'Amiri', serif;
    direction: rtl;
}

.full-bismillah {
    font-size: 28px;
    color: var(--gold);
    margin-bottom: 20px;
}

.full-verse {
    font-size: 24px;
    color: var(--primary);
    line-height: 2.2;
    margin-bottom: 5px;
}

.full-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-full {
    padding: 12px 28px;
    border-radius: 50px;
    border: 2px solid var(--cream-dark);
    background: var(--white);
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-full:hover {
    border-color: var(--gold);
}

.btn-full.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Test Mode */
.test-practice {
    text-align: center;
}

.test-question {
    margin-bottom: 30px;
}

.test-prompt {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.test-arabic {
    font-family: 'Amiri', serif;
    font-size: 32px;
    color: var(--primary);
    direction: rtl;
}

.test-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto 25px;
}

.test-option {
    padding: 15px 25px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--cream-dark);
    background: var(--white);
    color: var(--text);
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.test-option:hover {
    border-color: var(--gold);
    background: var(--cream);
}

.test-option.correct {
    border-color: #2d8a4e;
    background: rgba(45, 138, 78, 0.1);
}

.test-option.wrong {
    border-color: #c0392b;
    background: rgba(192, 57, 43, 0.1);
}

.test-result {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    min-height: 30px;
}

.test-score {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 14px;
    color: var(--text-light);
}

/* Ezber Tips */
.ezber-tips {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid var(--cream-dark);
}

.ezber-tips h3 {
    text-align: center;
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 30px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.tip-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 15px var(--shadow);
    transition: var(--transition);
}

.tip-card:hover {
    transform: translateY(-5px);
}

.tip-icon {
    font-size: 36px;
    margin-bottom: 15px;
    display: block;
}

.tip-card h4 {
    font-size: 17px;
    color: var(--primary);
    margin-bottom: 10px;
}

.tip-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ========================================
   NAMAZ VAKITLERI PAGE
   ======================================== */

.namaz-section {
    padding: 60px 20px;
}

.location-selector {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 2px 15px var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.location-input {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.location-input label {
    font-weight: 600;
    color: var(--primary);
}

.location-input select {
    padding: 10px 15px;
    border: 2px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    font-size: 14px;
    background: var(--white);
    cursor: pointer;
    min-width: 180px;
}

.current-date {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.current-date span {
    font-size: 14px;
    color: var(--text-light);
}

.current-date #hijriDate {
    color: var(--gold);
    font-weight: 600;
}

/* Prayer Cards */
.prayer-times {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.prayer-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 2px 15px var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.prayer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-heavy);
}

.prayer-card.current {
    border-color: var(--gold);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
}

.prayer-card.current .prayer-name,
.prayer-card.current .prayer-time,
.prayer-card.current .prayer-remaining {
    color: var(--white);
}

.prayer-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.prayer-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.prayer-time {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    font-variant-numeric: tabular-nums;
}

.prayer-remaining {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Next Prayer */
.next-prayer {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: var(--radius);
    padding: 25px;
    text-align: center;
    margin-bottom: 50px;
}

.next-prayer-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.next-label {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

.next-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.next-countdown {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    font-variant-numeric: tabular-nums;
    background: rgba(255,255,255,0.3);
    padding: 8px 20px;
    border-radius: 50px;
}

/* Qibla */
.qibla-section {
    text-align: center;
    margin-bottom: 50px;
}

.qibla-section h2 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 25px;
}

.qibla-compass {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.compass-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px var(--shadow-heavy);
}

.compass-needle {
    width: 4px;
    height: 80px;
    background: var(--gold);
    position: absolute;
    transform: rotate(145deg);
    transform-origin: bottom center;
    border-radius: 2px;
    top: 20px;
}

.compass-needle::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--gold);
    border-radius: 50%;
}

.compass-markers {
    position: absolute;
    width: 100%;
    height: 100%;
}

.marker {
    position: absolute;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
}

.marker.n { top: 10px; left: 50%; transform: translateX(-50%); }
.marker.e { right: 10px; top: 50%; transform: translateY(-50%); }
.marker.s { bottom: 10px; left: 50%; transform: translateX(-50%); }
.marker.w { left: 10px; top: 50%; transform: translateY(-50%); }

.qibla-direction {
    position: absolute;
    bottom: 40px;
    font-size: 12px;
    color: var(--gold);
    font-weight: 600;
}

.qibla-note {
    font-size: 14px;
    color: var(--text-light);
}

/* Monthly Calendar */
.monthly-calendar {
    margin-top: 50px;
}

.monthly-calendar h2 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 25px;
    text-align: center;
}

.calendar-table-wrapper {
    overflow-x: auto;
}

.calendar-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 15px var(--shadow);
}

.calendar-table th {
    background: var(--primary);
    color: var(--white);
    padding: 15px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.calendar-table td {
    padding: 12px 15px;
    text-align: center;
    font-size: 14px;
    border-bottom: 1px solid var(--cream);
}

.calendar-table tr:hover td {
    background: var(--cream);
}

/* ========================================
   HAKKIMIZDA PAGE
   ======================================== */

.about-section {
    padding: 60px 20px;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    margin-bottom: 60px;
}

.about-text h2 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    color: var(--text);
    line-height: 1.9;
    margin-bottom: 15px;
}

.about-mission {
    margin-bottom: 60px;
}

.about-mission h2 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 30px;
}

.mission-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.mission-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 15px var(--shadow);
    transition: var(--transition);
}

.mission-card:hover {
    transform: translateY(-5px);
}

.mission-icon {
    font-size: 36px;
    margin-bottom: 15px;
    display: block;
}

.mission-card h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 10px;
}

.mission-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.about-features {
    margin-bottom: 60px;
}

.about-features h2 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 30px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-detail {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: 0 2px 15px var(--shadow);
    border-left: 4px solid var(--gold);
}

.feature-detail h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 10px;
}

.feature-detail p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

.about-team,
.about-contact,
.about-donate {
    margin-bottom: 50px;
    text-align: center;
}

.about-team h2,
.about-contact h2,
.about-donate h2 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-team p,
.about-contact p,
.about-donate p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 20px;
}

.contact-link {
    color: var(--gold);
    font-weight: 600;
}

.contact-link:hover {
    text-decoration: underline;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .read-layout {
        grid-template-columns: 1fr;
    }

    .prayer-times {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        padding: 20px;
        gap: 5px;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .hero h1 {
        font-size: 52px;
    }

    .arabic-fatiha {
        font-size: 26px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .prayer-times {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .tefsir-tabs {
        gap: 8px;
    }

    .tefsir-tab {
        padding: 10px 16px;
        font-size: 13px;
    }

    .word-list-ezber {
        grid-template-columns: repeat(2, 1fr);
    }

    .location-selector {
        flex-direction: column;
        text-align: center;
    }

    .current-date {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 40px;
    }

    .arabic-fatiha {
        font-size: 22px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .prayer-times {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .word-list-ezber {
        grid-template-columns: 1fr;
    }

    .verse-arabic {
        font-size: 26px;
    }

    .read-arabic {
        font-size: 24px;
    }

    .page-header h1 {
        font-size: 32px;
    }
}

/* ========================================
   UTILITIES
   ======================================== */

.gold { color: var(--gold); }

/* Smooth scroll padding for fixed nav */
html { scroll-padding-top: 80px; }

/* Selection color */
::selection {
    background: var(--gold);
    color: var(--primary);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}


/* ========================================
   KELIME-ANLAM SAYFASI STILLERI
   ======================================== */

.kelime-section {
    padding: 60px 20px;
}

.kelime-verse-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.kv-tab {
    padding: 10px 20px;
    border-radius: 50px;
    border: 2px solid var(--cream-dark);
    background: var(--white);
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.kv-tab:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.kv-tab.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.kelime-content {
    max-width: 900px;
    margin: 0 auto;
}

.kelime-panel {
    display: none;
}

.kelime-panel.active {
    display: block;
}

.kelime-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius);
    padding: 40px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--white);
}

.kelime-verse-arabic {
    font-family: 'Amiri', serif;
    font-size: 32px;
    margin-bottom: 15px;
    direction: rtl;
}

.kelime-verse-turkish {
    font-size: 16px;
    color: var(--gold);
    font-style: italic;
}

.kelime-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.kelime-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px 30px;
    display: flex;
    align-items: flex-start;
    gap: 25px;
    box-shadow: 0 2px 15px var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--gold);
}

.kelime-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 25px var(--shadow-heavy);
}

.kelime-arabic {
    font-family: 'Amiri', serif;
    font-size: 28px;
    color: var(--primary);
    min-width: 140px;
    text-align: right;
    direction: rtl;
    flex-shrink: 0;
}

.kelime-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.kelime-meaning {
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
}

.kelime-root {
    font-size: 13px;
    color: var(--gold);
    font-weight: 500;
}

.kelime-grammar {
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
}

@media (max-width: 768px) {
    .kelime-item {
        flex-direction: column;
        gap: 15px;
    }
    .kelime-arabic {
        text-align: center;
        min-width: auto;
    }
    .kelime-verse-arabic {
        font-size: 24px;
    }
}
