/* تصميم فاخر */
body {
  font-family: 'Montserrat', sans-serif;
  background-color: #121212;
  color: #f5f5f5;
  margin: 0;
  padding: 0;
  direction: rtl;
  text-align: right;
}

nav {
  background: linear-gradient(90deg, #000000, #434343);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
  position: fixed;
  width: 100%;
  z-index: 1000;
  top: 0;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

nav .logo img {
  height: 50px;
  margin-left: 20px; /* لأن الاتجاه rtl */
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-grow: 1;
  gap: 15px;
  flex-wrap: wrap;
}

nav ul li {
  margin: 0 10px;
}

nav ul li a {
  color: #ffd700;
  font-weight: 700;
  padding: 10px 15px;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 1.1rem;
  white-space: nowrap;
}

nav ul li a:hover,
nav ul li a:focus,
nav ul li a.active {
  color: #fff;
  text-shadow: 0 0 10px #ffd700;
  outline: none;
}

/* زر همبرغر */
.hamburger {
  display: none;
  font-size: 2rem;
  color: #ffd700;
  cursor: pointer;
  user-select: none;
  margin-left: 20px; /* لأن الاتجاه rtl */
}

/* استجابة القائمة والهمبرغر */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: linear-gradient(90deg, #000000, #434343);
    position: fixed;
    top: 60px; /* أسفل الشريط */
    right: 0;
    width: 220px;
    padding: 20px;
    border-radius: 0 0 0 15px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    z-index: 1100;
  }

  nav ul.active {
    display: flex;
  }

  nav ul li {
    margin: 10px 0;
  }

  .hamburger {
    display: block;
  }
}

/* تباعد محتوى الصفحة عن الشريط الثابت */
body > *:not(nav) {
  padding-top: 80px;
}

/* بانر مع فيديو خلفية */
.banner {
  position: relative;
  overflow: hidden;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.banner-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.5);
}

.banner-text {
  position: relative;
  z-index: 2;
  color: #ffd700;
  max-width: 90%;
  padding: 0 15px;
}

.banner-text h1 {
  font-size: 3rem;
  margin: 0;
  text-shadow: 0 0 15px #ffd700;
}

.banner-text p {
  font-size: 1.5rem;
  margin-top: 10px;
  color: #eee;
}

/* قسم الترحيب */
.welcome-section {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.welcome-section h2 {
  color: #ffd700;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 2rem;
  text-align: center;
  text-shadow: 0 0 8px #ffd700;
}

.welcome-section p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #ddd;
  text-align: center;
}

/* قسم الوظائف */
.jobs-section {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.jobs-section h2 {
  color: #ffd700;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 2rem;
  text-align: center;
  text-shadow: 0 0 8px #ffd700;
}

.jobs-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 20px;
}

.job-card {
  background: #1e1e1e;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
  padding: 25px;
  width: 280px;
  text-align: center;
  transition: transform 0.3s ease;
}

.job-card:hover,
.job-card:focus-within {
  transform: translateY(-10px);
  box-shadow: 0 0 25px #ffd700;
  outline: none;
}

.job-card h3 {
  color: #ffd700;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.job-card p {
  color: #ccc;
  margin-bottom: 20px;
  font-size: 1rem;
}

/* أزرار */
.btn {
  background: linear-gradient(45deg, #ffd700, #ffa500);
  color: #121212;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 700;
  box-shadow: 0 0 15px #ffd700;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-size: 1rem;
  cursor: pointer;
  user-select: none;
}

.btn:hover,
.btn:focus {
  background: #fff;
  color: #b8860b;
  box-shadow: 0 0 25px #b8860b;
  outline: none;
}

/* قسم الخدمات */
.services-section {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.services-section h2 {
  color: #ffd700;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 2rem;
  text-align: center;
  text-shadow: 0 0 8px #ffd700;
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 20px;
}

.service-card {
  background: #1e1e1e;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
  padding: 25px;
  width: 280px;
  text-align: center;
  transition: transform 0.3s ease;
  color: #ddd;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-10px);
  box-shadow: 0 0 25px #ffd700;
  outline: none;
}

.service-card i {
  font-size: 3rem;
  color: #ffd700;
  margin-bottom: 15px;
}

.service-card h3 {
  color: #ffd700;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.service-card p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 15px;
}

/* قسم موقعنا على الخريطة */
.location-section {
  max-width: 900px;
  margin: 40px auto 60px;
  padding: 0 20px;
}

.location-section h2 {
  color: #ffd700;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 2rem;
  text-align: center;
  text-shadow: 0 0 8px #ffd700;
}

.location-section h3 {
  font-size: 1.2rem;
  color: #ddd;
  margin-bottom: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 75%; /* نسبة ارتفاع إلى العرض 4:3 */
  height: 0;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 15px;
}

/* قسم الاتصال */
.contact-section {
  max-width: 900px;
  margin: 40px auto 60px;
  padding: 50px 20px;
  background: linear-gradient(135deg, #121212 0%, #1e1e1e 100%);
  border-radius: 15px;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
  font-family: 'Montserrat', sans-serif;
  color: #f5f5f5;
  text-align: center;
  direction: rtl;
}

.contact-section h2 {
  font-weight: 700;
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: #ffd700;
  text-shadow: 0 0 10px #ffd700;
}

.contact-section p {
  font-size: 1.1rem;
  margin-bottom: 35px;
  color: #ccc;
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  color: #ffd700;
  gap: 12px;
  padding: 10px 15px;
  border-radius: 12px;
  background: rgba(255, 215, 0, 0.1);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.contact-item i {
  font-size: 1.6rem;
  color: #ffd700;
  text-shadow: 0 0 8px #ffd700;
  min-width: 30px;
  text-align: center;
}

.contact-item a {
  color: #ffd700;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.contact-item:hover,
.contact-item:focus {
  background: rgba(255, 215, 0, 0.25);
  color: #fff;
  box-shadow: 0 0 20px #ffd700;
  outline: none;
}

.contact-item:hover i,
.contact-item:focus i {
  color: #fff;
  text-shadow: 0 0 15px #ffd700;
}

.contact-item:hover a,
.contact-item:focus a {
  color: #fff;
  text-shadow: 0 0 15px #ffd700;
}

/* الفوتر */
footer {
  background: #000;
  color: #aaa;
  text-align: center;
  padding: 25px 15px;
  font-size: 1rem;
  box-shadow: inset 0 1px 5px rgba(255, 215, 0, 0.2);
}

footer a {
  color: #ffd700;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

footer a:hover,
footer a:focus {
  color: #fff;
  text-shadow: 0 0 10px #ffd700;
  outline: none;
}

/* زر واتساب عائم */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 0 15px #25d366;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
  box-shadow: 0 0 25px #128c7e;
  outline: none;
}

/* استجابة */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: linear-gradient(90deg, #000000, #434343);
    position: fixed;
    top: 60px;
    right: 0;
    width: 220px;
    padding: 20px;
    border-radius: 0 0 0 15px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    z-index: 1100;
  }

  nav ul.active {
    display: flex;
  }

  nav ul li {
    margin: 10px 0;
  }

  .hamburger {
    display: block;
  }

  .jobs-list,
  .services-list {
    flex-direction: column;
    align-items: center;
  }

  .job-card,
  .service-card {
    width: 90%;
    max-width: 400px;
  }

  .banner {
    height: 300px;
  }

  .banner-text h1 {
    font-size: 2rem;
  }

  .banner-text p {
    font-size: 1.1rem;
  }

  .btn {
    padding: 12px 25px;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .banner-text h1 {
    font-size: 1.5rem;
  }

  .banner-text p {
    font-size: 1rem;
  }

  nav .logo img {
    height: 40px;
    margin-left: 10px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 1rem;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 26px;
    bottom: 20px;
    right: 20px;
  }
}