body {
    font: 15px / 1.4 sans-serif;
    font-family: 'Ubuntu', 'Helvetica Neue', Helvetica, Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', sans-serif;
    margin: 0;
    padding: 0;
    word-wrap: break-word;
    background-color: #ffffff;


}

.main {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 8px;
}


:root {
    --bg-body: #ececec;
    --card-bg: #ffffff;
}

body {
    color: #334155;
    margin: 0;
    padding: 0;
}

.main {
    background-color: var(--card-bg);
    border-radius: 2px;
    padding: 5px;
}

/* ARAPÇA FONT AYARLARI (Senin istediğin standartlar) */

.quran-arabic {
    font-family: Shaikh Hamdullah Mushaf;
    margin-top: 10px;
    font-size: 2em;
    line-height: 2em;
    direction: rtl;
    color: rgb(58, 58, 58);
    text-align: right;
    font-weight: normal;
    font-style: normal;
    font-variant-ligatures: none;
    letter-spacing: 0;
    word-spacing: 6px;

    padding: 5px;
    /* Hafif bir arka plan yazıyı öne çıkarır */
    border-radius: 8px;

}

/* Sure Kartları */
.surah-card {
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 20px;
    transition: 0.3s;
    background: #fff;
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.surah-card:hover {
    transform: translateY(-3px);
    background-color: #f3f3f3;
}

.surah-info h5 {
    font-weight: 700;
    margin: 0;
    color: rgb(58, 58, 58);
}

.surah-no {
    font-weight: 800;
    color: rgb(58, 58, 58);
    font-size: 1.1rem;
    margin-right: 15px;
}

/* Ayet Satırı */
.verse-item {
    padding: 30px 0;
    border-bottom: 1px solid #f1f5f9;
}

.verse-num-badge {
    background: rgb(58, 58, 58);
    color: white;
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    margin-bottom: 15px;
    display: inline-block;
}

.translation {
    font-size: 1.15rem;
    color: #1e293b;
    line-height: 1.7;
}

.transcription {
    font-size: 1rem;
    color: #64748b;
    font-style: italic;
}

html {
    scroll-behavior: auto !important;
    /* Kaymayı iptal eder, direkt zıplatır */
}

.text-center.border-bottom {
    border-bottom: 2px dashed #e5e7eb !important;
}

@keyframes pulse-blue {
    0% {
        transform: scale(0.95);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.4;
    }
}

.pulse-dot {
    animation: pulse-blue 2s infinite ease-in-out;
}









/* Görseldeki o "Gerçek Kitap" Efekti İçin CSS */
.mushaf-wrapper {
    background-color: #f4f1ea;
    /* Hafif sarımtırak kağıt rengi */
    padding: 20px;
    border-radius: 15px;
}

.mushaf-container-custom {
    display: grid;
    /* Sol: Meal, Sağ: Arapça */
    gap: 20px;
    background: #fff;
    border: 10px double #d4a373;
    /* Görseldeki çerçeve stili */
    padding: 25px;
    border-radius: 10px;
    min-height: 700px;
}

.mushaf-column {
    padding: 10px;
}

/* Sağ taraf (Arapça) */
.mushaf-arabic-col {
    /* İki tarafı ayıran ince çizgi */
    direction: rtl;
    text-align: center;
}

.arabic-text-mushaf {
    font-size: 26px;
    line-height: 2.5;
    /* Ayetler arası boşluk */
    font-family: 'Shaikh Hamdullah Mushaf', serif;
}

/* Sol taraf (Türkçe) */
.mushaf-turkish-col {
    direction: ltr;
    text-align: left;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 400;
    /* Standart kalınlık */
}

.ayah-divider {
    color: #bc6c25;
    font-weight: bold;
    font-size: 0.9em;
}

.surah-title-box {
    grid-column: span 2;
    text-align: center;
    border-bottom: 2px solid #d4a373;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

@media (max-width: 992px) {
    

   
}

/* Sure Başlığı Tasarımı */
.surah-title-box {
    grid-column: span 2;
    text-align: center;
    margin-bottom: 30px;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.surah-title-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #2d5a88;
    /* Koyu mavi çerçeve */
    border-radius: 8px;
    padding: 5px 40px;
    position: relative;
    min-width: 300px;
    background: #fff;
}

/* Sol ve Sağdaki Süslemeler (Resimdeki gibi) */
.surah-title-inner::before,
.surah-title-inner::after {
    content: "❧";
    /* Dekoratif bir karakter */
    font-size: 24px;
    color: #2d5a88;
    position: absolute;
}

.surah-title-inner::before {
    left: 10px;
}

.surah-title-inner::after {
    right: 10px;
    transform: scaleX(-1);
}

.surah-title-inner h4 {
    margin: 0;
    color: #000;
    font-size: 18px;
    font-weight: 500;
}


/* GENEL DÜZENLEME */
.mushaf-wrapper {
    background-color: #f4f1ea;
    padding: 15px;
    /* Mobilde taşmayı önlemek için azaltıldı */
    border-radius: 10px;
    overflow: hidden;
    /* Dışarı taşmayı engeller */
}

.mushaf-container-custom {
    display: grid;
    gap: 15px;
    background: #fdf5e6;
    border: 8px double #d4a373;
    /* Mobilde biraz daha ince görünecek */
    padding: 15px;
    border-radius: 8px;
    min-height: auto;
    /* Mobilde içeriğe göre uzasın */
}

/* MOBİL ÖZEL AYARLAR (En kritik yer burası) */
@media (max-width: 768px) {
    .mushaf-wrapper {
        padding: 5px;
        /* Kenar boşluklarını sıfıra yaklaştır */
    }

    .mushaf-container-custom {
        grid-template-columns: 1fr;
        /* Tek sütuna düşür */
        padding: 10px;
        border-width: 5px;
        /* Çerçeveyi küçült */
    }

  
    .arabic-text-mushaf {
        font-size: 29px;
        /* Mobilde çok devasa olmasın */
        line-height: 2.2;
    }

    .mushaf-turkish-col {
        font-size: 16px;
    }

    /* Başlıkların mobilde ekrandan taşmasını engelle */
    .surah-title-inner {
        min-width: auto !important;
        /* Genişliği serbest bırak */
        width: 100%;
        padding: 5px 20px;
    }



    .surah-title-inner::before,
    .surah-title-inner::after {
        font-size: 22px;
        /* Süsleri küçült */
    }


    .mushaf-column {
        padding: 0px;
    }
}

/* SÜTUN İÇİ BAŞLIK DÜZENİ */
.surah-title-box-inline {
    width: 100%;
    margin: 15px 0;
    text-align: center;
}

.surah-title-inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #2d5a88;
    border-radius: 8px;
    padding: 5px 30px;
    background: #fff;
    min-width: 250px;
}

/* SÜTUN İÇİ BAŞLIK DÜZENİ */
.surah-title-box-inline {
    width: 100%;
    margin: 25px 0;
    /* Boşluğu biraz artırdık */
    text-align: center;
    position: relative;
}

.surah-title-inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* Border'ı çift çizgi yaparak Mushaf havası verdik */
    border: 3px double #d4a373;
    border-radius: 50px;
    /* Daha oval, klasik bir görünüm */
    padding: 8px 45px;
    /* Arka planı bej tonlarına çektik */
    background: #ffffff;
    min-width: 280px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}




.mushaf-ayah {
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline;
    /* Kelimelerin doğal akışını bozmaz */
    position: relative;
}

.mushaf-ayah-tr {
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline;
    /* Kelimelerin doğal akışını bozmaz */
    position: relative;
}

/* Seçildiğinde (Tıklandığında) Ayetin Tamamı Vurgulanır */
.ayah-highlight,
.ayah-highlight-tr {
    background-color: rgba(212, 163, 115, 0.456);
}


/* Popover içindeki mealin fontu */
.popover-body {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
    text-align: left;
    /* Meal Türkçeyse sola, Arapça bir şeyse sağa çekebilirsiniz */
}


/* 1. Genel Popup Stili (Türkçe Mealler İçin) */
.popover-body {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
    text-align: left;
}

/* 2. Sadece Türkçe Meale Tıklandığında Açılan Arapça Popup Stili */
/* JS kodundaki .popover-arabic sınıfını hedef alıyoruz */
.popover-arabic {
    font-family: 'Shaikh Hamdullah Mushaf', serif !important;
    font-size: 1.4rem !important;
    /* Arapça heybetli görünsün */
    line-height: 2em !important;
    direction: rtl !important;
    text-align: right !important;
    color: #3a3a3a !important;
}

/* Ana Buton Geçiş Ayarı */
.btn-karsilastir {
    transition: all 0.3s ease !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Hover (Üzerine Gelince) */
.btn-karsilastir:hover {
    background-color: #bc8a5f !important; /* Rengi biraz daha koyulaştırır */
    color: #ffffff !important;
    transform: translateY(-2px); /* Hafif yukarı yükselme efekti */
}

