
/* أنماق قسم البطل (Hero Section) */
.hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 0;
  height: 100vh;
}

.hero-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  border-radius: 0;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* تحسين الصورة على شاشات الموبايل */
@media (max-width: 768px) {
  .hero-image-container img {
    object-fit: cover;
    min-height: 100vh;
    max-height: 100vh;
    width: 100%;
    height: 100%;
  }
  .hero-image-container {
    height: 100vh;
    max-height: 100vh;
    min-height: 100vh;
  }
}

@media (max-width: 480px) {
  .hero-image-container img {
    object-fit: cover;
    min-height: 100vh;
    max-height: 100vh;
    width: 100%;
    height: 100%;
  }
  .hero-image-container {
    height: 100vh;
    max-height: 100vh;
    min-height: 100vh;
  }
}

.hero-section:hover .hero-image-container img {
  transform: scale(1.1);
}

.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.7) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  color: #ffffff;
  z-index: 2;
  box-sizing: border-box;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  animation: fadeInDown 1s ease-out;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  max-width: 800px;
  line-height: 1.6;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.3s both;
}



.hero-content > * {
  position: relative;
  z-index: 2;
}

/* تصميم زر احجز الآن */
.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 10px auto;
  padding: 15px 40px;
  background: linear-gradient(45deg, #2c3e50, #34495e);
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 1px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(44, 62, 80, 0.4);
  transition: all 0.3s ease;
  position: relative;
  min-width: 160px;
  text-align: center;
  overflow: hidden;
  z-index: 1;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
}

.hero-button:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #34495e, #2c3e50);
  z-index: -1;
  transition: all 0.5s ease;
}

/* إضافة تأثير نبض للزر لجذب الانتباه */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(44, 62, 80, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(44, 62, 80, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(44, 62, 80, 0);
  }
}

.hero-button {
  animation: pulse 2s infinite;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  text-align: center;
}

.hero-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(44, 62, 80, 0.6);
}

.hero-button:active {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(44, 62, 80, 0.4);
}

/* تصميم زر احجز الآن على شاشات الموبايل */
@media (max-width: 768px) {
  .hero-button {
    padding: 12px 30px;
    font-size: 1.1rem;
    margin-top: 25px;
  }
}

@media (max-width: 480px) {
  .hero-button {
    padding: 10px 25px;
    font-size: 1rem;
    margin-top: 20px;
  }
}


/* تأثيرات الحركة */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* تصميم متجاوب */
@media (max-width: 768px) {
  .hero-section {
    height: 100vh;
    margin-bottom: 0;
  }
  .hero-image-container {
    height: 100%;
    border-radius: 0;
    max-height: 90vh;
    min-height: 70vh;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    height: 100vh;
  }
  .hero-image-container {
    height: 100%;
    max-height: 80vh;
    min-height: 60vh;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }
}
