 
/* === 1. عرض صورة رئيسية مع النص === */
.view-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 20vh;
  margin-top: 20px;
}

.view-container > * {
  margin-bottom: 10px;
}

.view-container > *:last-child {
  margin-bottom: 0;
}

.view-image {
  max-width: 50%;
  height: auto;
  display: block;
  margin: 0 auto;
  opacity: 1;
  transform: none;
}

/* === حركة من اليمين للصورة (غير مستخدمة حاليًا) === */
@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* === 2. عنوان ونص مركزي (تبرعات) === */
.centered-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.content-title {
  font-size: 45px;
  margin-bottom: 10px;
  color: #66638F;
}

.content-text {
  font-size: 24px;
  color: #66638F;
}

/* ميديا صغيرة للنص فقط */
@media (max-width: 768px) {
  .content2-text {
    font-size: 20px;
  }
}

/* === 3. المعرض (صور قابلة للتكبير) === */
.gallery-container {
  padding: 10px;
  margin: 20px auto;
  max-width: 1000px;
  position: relative;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.gallery img {
  width: auto;
  height: auto;
  max-width: 300px;
  border: 2px solid #ccc;
  cursor: pointer;
  transition: transform 0.3s;
}

.gallery img:hover {
  transform: scale(1.03);
}

/* === 4. نافذة عرض الصورة (Modal) === */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.modal img {
  max-width: 90%;
  max-height: 80%;
  margin: 20px 0;
}

.modal .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

/* === 5. حركة الظهور عند التمرير === */
.slide-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}
 