body {
    margin: 0;
    padding: 0;
    font-family: 'Tahoma', sans-serif;
    min-height: 100vh;
    background: #fff; /* خلفية بيضاء للجسم */
    color: #000; /* نص أسود افتراضي */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.site-header {
    background: rgb(0,43,34);
    color: #fff;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.branding {
    display: flex;
    align-items: center;
    gap: 12px;
}
.coin {
    animation: flip 8s linear infinite;
    transform-style: preserve-3d;
}
.branding img {
    height: 50px;
    width: 50px;
    object-fit: contain;
}
.site-title {
    font-size: 22px;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(255,255,255,0.8);
}
.site-sub {
    font-size: 12px;
    opacity: 0.8;
}

.main-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 16px;
}
.main-menu a {
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
}
.main-menu a:hover {
    background: rgba(255,255,255,0.1);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}
.menu-toggle span {
    width: 26px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
}

.prayers-container {
    padding: 20px;
    max-width: 900px;
    margin: auto;
}

.search-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    font-size: 16px;
    border-radius: 6px;
    border: 1px solid #ccc;
    outline: none;
}

/* القسم */
.prayers-tree .section {
    margin-bottom: 10px;
    background: rgb(0,43,34); /* خلفية داكنة للقسم */
    color: #fff;
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

/* الفرع */
.prayers-tree .subsection {
    margin-bottom: 8px;
    background: rgb(0,60,45); /* خلفية مختلفة للفرع */
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

/* الدعاء */
.prayers-tree .prayer {
    margin-bottom: 5px;
    background: rgb(0,80,60); /* خلفية مختلفة للدعاء */
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

/* عند المرور بالماوس */
.section-title:hover {
    background: rgb(0,60,45);
}
.subsection-title:hover {
    background: rgb(0,80,60);
}
.prayer:hover {
    background: rgb(0,100,75);
}

/* المسافات البادئة */
.subsections {
    margin-left: 20px; /* الفرع داخل القسم */
}
.prayers {
    margin-left: 20px; /* الدعاء داخل الفرع */
}

/* صندوق قراءة الدعاء */
.prayer-read {
    background:#ffff;
    color: black;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.prayer-read h2 {
    background: rgb(0,80,60);
    color: white;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.play-audio {
    cursor: pointer;
    background: #fff;
    border: none;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
}

#contant {
    font-family: 'Amiri', serif;
    font-size: 24px;
    line-height: 1.8;
}


@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        z-index: 10001;
    }
    .main-menu {
        position: absolute;
        top: 75px;
        left: 0;
        width: 180px;
        z-index: 10000;
    }
    .main-menu ul {
        display: none;
        flex-direction: column;
        background: rgb(0,43,34);
        border: 1px solid rgba(255,255,255,0.2);
        border-radius: 6px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }
    .main-menu ul.show {
        display: flex;
    }
}
