/* ==========================
   الهيرو والسلايدر
   ========================== */
.hero {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
}
.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-slide.active {
  opacity: 1;
  z-index: 2;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(60%);
}
.hero .overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 3;
  max-width: 800px;
  padding: 0 15px;
}
.hero .overlay h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  line-height: 1.4;
}
.hero .overlay p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}
.hero .btn {
  display: inline-block;
  background: var(--primary-mid);
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background 0.3s;
}
.hero .btn:hover {
  background: var(--accent);
}
.prev-slide,
.next-slide {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 5;
  border-radius: 6px;
}
.prev-slide {
  left: 20px;
}
.next-slide {
  right: 20px;
}
.prev-slide:hover,
.next-slide:hover {
  background: rgba(0, 0, 0, 0.7);
}
