/* أنماط الهيرو المحسنة - بدون overlay */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #000;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
  color: white;
  padding: 0 20px;

  /* إضافة طبقة شفافة خفيفة خلف النص فقط */
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.1) 30%,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 0.1) 70%,
    rgba(0, 0, 0, 0.3) 100%
  );
}

.hero-title {
  font-family: "Times New Roman", Times, serif;
  font-size: 3.5rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
  max-width: 600px;
  background: rgba(0, 0, 0, 0.5);
  padding: 15px 25px;
  border-radius: 10px;
  margin-bottom: 0.5rem;
  transition: opacity 0.5s ease-in-out;
}

.hero-description {
  font-size: 1.3rem;
  margin-top: 0;
  margin-bottom: 2rem;
  /* font-family: "Times New Roman", Times, serif; */
  line-height: 1.6;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  transition: opacity 0.5s ease-in-out;
  background: rgba(0, 0, 0, 0.5);
  padding: 15px 25px 15px;
  border-radius: 10px;
  backdrop-filter: blur(5px);
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-hero {
  background: linear-gradient(45deg, #4ecdc4, #44a08d);
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
  background: transparent;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: #333;
}

/* أزرار التنقل */
.hero-prev,
.hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  font-size: 1.2rem;
}

.hero-prev:hover,
.hero-next:hover {
  background: rgba(0, 0, 0, 0.8);
  border-color: white;
  transform: translateY(-50%) scale(1.1);
}

.hero-prev {
  right: 30px;
}

.hero-next {
  left: 30px;
}

/* مؤشرات الشرائح */
.hero-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
}

.hero-indicator {
  width: 70px;
  height: 45px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-indicator:hover {
  opacity: 0.8;
  transform: scale(1.1);
}

.hero-indicator.active {
  opacity: 1;
  border-color: #4ecdc4;
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(78, 205, 196, 0.4);
}

.indicator-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

/* مؤقت الشريحة */
.slide-timer {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #4ecdc4, #ff6b6b);
  z-index: 3;
  box-shadow: 0 2px 8px rgba(78, 205, 196, 0.5);
}

/* تأثير التلألؤ للعنوان */
.glowing-title {
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #4ecdc4,
      0 0 40px #4ecdc4;
  }
  to {
    text-shadow: 0 0 15px #fff, 0 0 25px #fff, 0 0 35px #ff6b6b,
      0 0 45px #ff6b6b;
  }
}

/* التكيف مع الشاشات الصغيرة */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.1rem;
    padding: 12px 20px;
    margin: 0 15px 2rem 15px;
  }

  .hero-prev,
  .hero-next {
    width: 20px;
    height: 20px;
    font-size: 1rem;
  }

  .hero-prev {
    right: 15px;
  }

  .hero-next {
    left: 15px;
  }

  .hero-indicator {
    width: 50px;
    height: 35px;
  }

  .hero-indicators {
    bottom: 20px;
    padding: 8px 15px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
    padding: 10px 15px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .hero-indicator {
    width: 40px;
    height: 25px;
  }

  .hero-indicators {
    gap: 8px;
    padding: 6px 12px;
  }

  .btn {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
}
