/* ======================= KURAN OKUYUCU STİLLERİ ======================= */

/* Ana Container */
.quran-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 25px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
    min-height: 70vh;
}

/* ==================== SOL PANEL: SURE LİSTESİ ==================== */
.sure-sidebar {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 80px;
    height: fit-content;
    max-height: calc(100vh - 100px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sure-search {
    padding: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.sure-search input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--pastel-green);
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s;
}

.sure-search input:focus {
    outline: none;
    border-color: var(--terracotta);
}

.sure-search input::placeholder {
    color: #999;
}

.sure-list {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    max-height: calc(100vh - 200px);
}

.sure-item {
    cursor: pointer;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.3s;
    position: relative;
}

.sure-item-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
}

.sure-number {
    background: var(--pastel-green);
    color: var(--text-dark);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    transition: all 0.3s;
}

.sure-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.sure-name {
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 600;
}

.sure-ayat-count {
    font-size: 12px;
    color: #777;
}

.sure-item:hover {
    background: #f8f9fa;
}

.sure-item:hover .sure-number {
    background: var(--terracotta);
    color: white;
    transform: scale(1.05);
}

.sure-item.active {
    background: linear-gradient(to right, var(--pastel-green), transparent);
    border-left: 4px solid var(--terracotta);
}

.sure-item.active .sure-number {
    background: var(--terracotta);
    color: white;
}

.sure-item.active .sure-name {
    color: var(--terracotta);
    font-weight: 700;
}

/* ==================== SAĞ PANEL: AYETLER ==================== */
.ayat-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.ayat-header {
    padding: 25px 30px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    background: linear-gradient(to right, var(--pastel-green), transparent);
    border-radius: 12px 12px 0 0;
}

#sureTitle {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--text-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.sure-number-badge {
    background: var(--terracotta);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
}

#sureTitle small {
    font-size: 1rem;
    color: #777;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

.ayat-controls {
    display: flex;
    gap: 10px;
}

.ayat-controls button {
    background: white;
    border: 2px solid var(--pastel-green);
    width: 45px;
    height: 45px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 18px;
    color: var(--text-dark);
}

.ayat-controls button:hover {
    background: var(--pastel-green);
    border-color: var(--terracotta);
    transform: translateY(-2px);
}

.ayat-controls button.active {
    background: var(--terracotta);
    border-color: var(--terracotta);
    color: white;
}

.ayat-container {
    padding: 30px;
    overflow-y: auto;
    max-height: calc(100vh - 220px);
}

/* Ayet Kartları */
.ayat-card {
    background: #fafafa;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 12px;
    border-left: 5px solid var(--terracotta);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.ayat-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.ayat-number {
    display: inline-block;
    background: var(--terracotta);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 16px;
}

.ayat-arabic {
    font-size: 28px;
    text-align: right;
    direction: rtl;
    line-height: 2.2;
    margin: 20px 0;
    color: #2e7d32; /* Koyu yeşil */
    font-weight: 700; /* Kalın */
    padding: 15px;
    background: #f0f7f4; /* Hafif yeşil arka plan */
    border-radius: 8px;
}

.ayat-phonetic {
    font-size: 16px;
    color: #666;
    font-style: italic; /* İtalik */
    font-weight: 400;
    font-family: 'Montserrat', Georgia, 'Times New Roman', serif; /* Almanca font */
    margin: 12px 0;
    padding: 10px 15px;
    background: transparent;
    border-radius: 0;
    border-left: none;
    line-height: 1.7;
    text-align: left;
}

.ayat-german {
    font-size: 17px;
    line-height: 1.9;
    color: #2c3e50;
    margin: 15px 0 5px 0;
    text-align: left;
    font-weight: 400;
}

/* Boş Durum */
.empty-state {
    text-align: center;
    padding: 100px 20px;
    color: #999;
    font-size: 18px;
}

.empty-state i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
    display: block;
}

/* Loading Durumu */
.loading-state {
    text-align: center;
    padding: 100px 20px;
}

.loading-state i {
    color: var(--terracotta);
    margin-bottom: 20px;
}

.loading-state p {
    color: #777;
    font-size: 16px;
}

/* Hata Durumu */
.error-state {
    text-align: center;
    padding: 100px 20px;
}

.error-state i {
    color: #e74c3c;
    margin-bottom: 20px;
}

.error-state p {
    color: #777;
    font-size: 16px;
}

/* ==================== RESPONSİVE TASARIM ==================== */

@media (max-width: 992px) {
    .quran-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sure-sidebar {
        position: relative;
        top: 0;
        max-height: 400px;
        order: 1;
    }
    
    .ayat-content {
        order: 2;
    }
    
    .ayat-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    #sureTitle {
        font-size: 1.5rem;
    }
    
    .sure-number-badge {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .quran-container {
        padding: 10px;
    }
    
    .ayat-header {
        padding: 20px 15px;
    }
    
    .ayat-container {
        padding: 15px;
    }
    
    .ayat-card {
        padding: 20px 15px;
    }
    
    .ayat-arabic {
        font-size: 24px;
        line-height: 2;
    }
    
    .ayat-phonetic {
        font-size: 14px;
    }
    
    .ayat-german {
        font-size: 15px;
    }
    
    #sureTitle {
        font-size: 1.3rem;
    }
    
    .ayat-controls button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

