/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Tahoma", sans-serif;
}

/* الخلفية الأساسية */
body {
  background: url('quran.jpg') no-repeat center center fixed;
  background-size: cover;
  color: white;
  text-align: center;
  line-height: 1.8;
  transition: background 0.5s, color 0.5s;
}

/* الهيدر */
header {
  background: rgba(0, 0, 80, 0.7);
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  border-radius: 0 0 15px 15px;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #87ceeb;
}

/* زر الوضع الليلي */
#darkModeBtn {
  background: #00ffff;
  color: #000;
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  margin-bottom: 15px;
}

#darkModeBtn:hover {
  background: #87ceeb;
  transform: scale(1.05);
}

/* القائمة */
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: #fff;
  font-size: 1.2rem;
  transition: color 0.3s;
}

nav a:hover {
  color: #00ffff;
}

/* المحتوى */
main {
  padding: 40px;
  background: rgba(0, 0, 50, 0.6);
  border-radius: 20px;
  margin: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

/* العناوين */
h2 {
  color: #00ffff;
  margin: 30px 0 20px;
  font-size: 1.8rem;
}

/* البوكس للأذكار */
p {
  background: rgba(135, 206, 250, 0.2); /* أزرق فاتح شفاف */
  padding: 15px;
  margin: 10px auto;
  max-width: 700px;
  border-radius: 12px;
  font-size: 1.1rem;
  color: #f0f8ff;
  box-shadow: 0 3px 10px rgba(0,0,0,0.4);
  transition: transform 0.2s, background 0.3s;
}

p:hover {
  background: rgba(135, 206, 250, 0.35);
  transform: scale(1.02);
}

/* الفوتر */
footer {
  background: rgba(0, 0, 50, 0.8);
  padding: 15px;
  margin-top: 30px;
  border-radius: 10px;
  font-size: 0.9rem;
}

/* ------------------------------ */
/* الوضع الليلي (Dark Mode) */
/* ------------------------------ */

.dark-mode {
  background: #121212 url('quran.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #ddd;
}

.dark-mode header {
  background: rgba(20, 20, 20, 0.9);
}

.dark-mode nav a {
  color: #ddd;
}

.dark-mode nav a:hover {
  color: #00ffff;
}

.dark-mode p {
  background: rgba(50, 50, 50, 0.7);
  color: #eee;
}

.dark-mode footer {
  background: rgba(20, 20, 20, 0.9);
}
