/* ====== الخطوط الأساسية ====== */
body {
  font-family: "Tajawal", "Cairo", sans-serif;
  background-color: #f8f9fa;
  color: #222;
  margin: 0;
  padding: 0;
}

/* ====== Navbar ====== */
.navbar {
  font-weight: 600;
}
.navbar-brand {
  font-weight: 700;
  font-size: 1.25rem;
}
.nav-link.active {
  color: #ffc107 !important; /* اللون الذهبي للصفحة النشطة */
  border-bottom: 2px solid #ffc107;
}

/* ====== Hero Section ====== */
section.text-center h1,
section.text-center .display-5 {
  color: #9f7a19; /* ذهبي */
  font-weight: 800;
}
section.text-center p.lead {
  color: #666;
  font-size: 1.1rem;
}

/* ====== الكروت (عام) ====== */
.card {
  border-radius: 12px;
  transition: transform 0.2s ease-in-out;
}
.card:hover {
  transform: translateY(-3px);
}
.card img {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

/* ====== خبر رئيسي ====== */
.card-img-top {
  max-height: 400px;
  object-fit: cover;
}
.card-body h3 {
  font-size: 1.5rem;
  font-weight: 700;
}
.card-body p {
  font-size: 1rem;
  line-height: 1.5;
}

/* ====== شبكة الأخبار المصغرة ====== */
.card h6 {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}
.card small {
  font-size: 0.8rem;
  color: #888;
}

/* ====== قائمة الأخبار الطويلة ====== */
.list-group-item {
  border: none;
  border-bottom: 1px solid #eee;
}
.list-group-item:last-child {
  border-bottom: none;
}
.list-group-item img {
  object-fit: cover;
  border-radius: 6px;
}
.list-group-item h6 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.list-group-item p {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
}

/* ====== Sidebar (إعلانات) ====== */
aside .card {
  border-radius: 12px;
}
aside .card-body {
  font-size: 0.9rem;
}




/* ================================
   Footer Styles
   ================================ */
.footer {
  border-top: 1px solid #444; /* خط فاصل علوي */
}

.footer .nav-link {
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer .nav-link:hover {
  color: #ffc107 !important; /* أصفر ذهبي عند التمرير */
}

.footer p {
  font-size: 0.9rem;
  margin: 0;
  color: #bbb;
}






/* ====== Responsive tweaks ====== */
@media (max-width: 768px) {
  .card-img-top {
    max-height: 250px;
  }
  .card-body h3 {
    font-size: 1.25rem;
  }
}





/* Footer General */
.footer {
  border-top: 1px solid #444;
}

.footer .nav-link {
  font-size: 0.95rem;
  transition: color 0.3s ease;
}
.footer .nav-link:hover {
  color: #ffc107 !important;
}




/* Social Icons Force White */
.footer-social-icons a i,
.footer-social-icons a svg {
  color: #fff !important;
  fill: #fff !important;
  transition: all 0.3s ease;
}

/* Layout */
.footer-social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: transparent;
  text-decoration: none;
}

/* Hover Effect */
.footer-social-icons a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.2);
}
