
/* خلفية النجوم المتحركة */
body {
  margin: 0;
  padding: 0;
  font-family: 'Cairo', sans-serif;
  background: #081b29;
  color: #fff;
  overflow-x: hidden;
  position: relative;
}

.stars {
  width: 100%;
  height: 100%;
  background: url('photo1.jpeg') repeat;
  position: fixed;
  top: 0;
  left: 0;
  animation: moveStars 60s linear infinite;
  z-index: -1;
}

@keyframes moveStars {
  from { background-position: 0 0; }
  to { background-position: -10000px 5000px; }
}

/* الرسالة الافتتاحية */
#intro-message {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-color: #081b29;
  color: #0ff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1.5em;
  z-index: 9999;
  animation: fadeOut 3s ease forwards;
  animation-delay: 1.5s;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* الهيدر */
header {
  text-align: center;
  padding: 60px 20px 30px;
  background-color: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 15px #0ff;
}

header h1 {
  color: #0ff;
  font-size: 2.2em;
  margin-bottom: 10px;
}

.section {
  padding: 30px 20px;
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 1s ease;
}

h2 {
  color: #0ff;
  font-size: 1.6em;
  margin-bottom: 10px;
}

.card {
  background-color: rgba(13, 42, 64, 0.9);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px #0ff;
}

footer {
  text-align: center;
  padding: 20px;
  font-size: 1em;
  background-color: rgba(0, 0, 0, 0.3);
  color: #ccc;
}

/* أنيميشن دخول */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}




/* شريط التنقل */
nav {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 15px 0;
  text-align: center;
  box-shadow: 0 0 10px #0ff;
  margin-bottom: 20px;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

nav li {
  display: inline-block;
  margin: 0 15px;
}

nav a {
  color: #0ff;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
}

nav a:hover {
  color: #fff;
  border-bottom: 2px solid #0ff;
}



.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
  margin-top: 20px;
  text-align: center;
}

.links-grid li a {
  display: block;
  background: linear-gradient(135deg, #00f2fe, #4facfe);
  color: #081b29;
  font-weight: bold;
  padding: 12px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 0 10px #00f2feaa;
  transition: 0.3s ease;
}

.links-grid li a:hover {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  color: #000;
  transform: scale(1.05);
}



#prayer-times {
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 15px;
  margin-top: 15px;
  box-shadow: 0 0 10px rgba(0,255,255,0.1);
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}
