.apple-image-slider {
  width: 100%;
  position: relative;
  padding: 40px 5%;
}

/* الكونتينر */
.slider-container {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5);
}

/* التراك */
.slider-track {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* كل سلايد */
.slide {
  flex: 0 0 100%;
  position: relative;
  height: 70vh;
  min-height: 450px;
  overflow: hidden;
}

/* الصورة */
.slide img {
  width: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

/* Overlay غامق */
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.7),
    rgba(0,0,0,0.3),
    rgba(0,0,0,0.1)
  );
}

/* محتوى النص */
.slide-content {
  direction: rtl;
  position: absolute;
  bottom: 30px;
  right: 30px;
  color: white;
  max-width: 420px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 30px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.slide-content h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.3;
}

.slide-content p {
  font-size: 16px;
  margin-bottom: 20px;
  opacity: 0.9;
}

/* السعر */
.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.15);
  padding: 10px 15px;
  border-radius: 25px;
  backdrop-filter: blur(8px);
}

.feature i {
  color: #00aaff;
}

/* أزرار التنقل */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: white;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
  z-index: 3;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.nav-btn.prev { right: 20px; }
.nav-btn.next { left: 20px; }

/* النقاط */
.dots-container {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  background: rgba(0,0,0,0.4);
  padding: 8px 18px;
  border-radius: 50px;
  backdrop-filter: blur(5px);
  z-index: 3;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  width: 22px;
  border-radius: 10px;
  background: white;
  box-shadow: 0 0 10px white;
}

/* موبايل */
@media (max-width: 768px) {

.apple-image-slider {
  padding: 10px 8px; /* صغرنا المسافة الخارجية */
}

.slide {
  height: 65vh;       /* بدل 85vh */
  min-height: 390px;  /* بدل 500px عشان ميبقاش طويل زيادة */
}

.slide-content {
  right: 12px;
  left: 12px;
  bottom: 15px;       /* قربناه أكتر من تحت */
  max-width: none;
  padding: 18px;
  border-radius: 18px;
}

  .slide-content h2 {
    font-size: 20px;
  }

  .slide-content p {
    font-size: 14px;
  }

  .feature {
    font-size: 13px;
  }

  .nav-btn {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

.nav-btn.prev { right: 10px; }
.nav-btn.next { left: 10px; }

.slide-content{
  border-radius: 10px;
}
}