@font-face {
    font-family: 'CamelFont';
    src: url('../fonts/TheYearofTheCamel-Medium.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* إعدادات عامة */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'CamelFont', sans-serif;
    background: #fff;
}

/* تصميم الهيدر */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%; /* تأكد من أن الهيدر يأخذ عرض الصفحة بالكامل */
}

.nav-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px; /* تعديل الحشوة لتكون أكثر ملائمة */
}

/* الشعار */
.logo {
    height: 70px;
    width: auto;
}

/* الروابط في المنتصف */
.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    list-style: none;
    display: flex;
    gap: 30px;
    padding: 0;
    margin: 0;
}

.nav-links li a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

/* الأزرار */
.buttons-container {
    display: flex;
    gap: 10px;
}

.joinus-btn, .order-btn {
    background-color: #d10000;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
}

.joinus-btn:hover, .order-btn:hover {
    background-color: #a52a2a;
}

/* زر الهامبرجر */
.hamburger {
    display: none; /* إخفاء الزر في الشاشات الكبيرة */
    cursor: pointer;
    padding: 10px;
    background: transparent; /* خلفية شفافة */
    border: none;
    z-index: 2000;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 4px;
    background-color: #8B0000; /* لون أحمر غامق */
    margin: 6px 0;
    transition: all 0.3s ease-in-out;
    border-radius: 2px; /* زوايا مدورة */
}

/* قائمة الجوال */
.mobile-nav {
    display: none; /* إخفاء القائمة في البداية */
    background-color: rgba(255, 255, 255, 0.95); /* خلفية بيضاء شفافة */
    padding: 20px;
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100%; /* تغطي كامل الشاشة */
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    transition: transform 0.3s ease; /* انتقال سلس */
    transform: translateX(100%); /* تحريك القائمة خارج الشاشة */
}

.mobile-nav.open {
    display: block; /* عرض القائمة */
    transform: translateX(0); /* إعادة القائمة لمكانها */
}

.mobile-nav ul {
    list-style: none; /* إخفاء النقاط */
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    margin: 15px 0; /* هوامش لعناصر القائمة */
    padding: 10px 15px; /* padding داخلي */
    border-radius: 8px; /* زوايا مدورة */
    transition: background 0.3s; /* تأثير عند التمرير */
}

.mobile-nav li a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    display: block; /* جعل الرابط ككتلة */
}

.mobile-nav li:hover {
    background-color: #d10000; /* تغيير لون الخلفية عند التمرير */
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    margin-bottom: 20px; /* هامش أسفل الزر */
}

/* استجابة الجوال */
@media (max-width: 768px) {
    .hamburger {
        display: block; /* عرض الزر في الشاشات الصغيرة */
    }
}
/* استجابة الجوال */
@media (max-width: 600px) {
    .hamburger {
        display: block;
    }

    .nav-links,
    .buttons-container {
        display: none;
    }

    .logo {
        height: 60px;
    }
}

.hero-section {
    background: url('../assets/images/headerr_enhanced.jpg') center/cover no-repeat;
    color: #ffffff;
       padding: 100px 20px; /* تعديل البادينغ */
       min-height: 400px; /* ارتفاع النسخة الكبيرة */
       display: flex;
       justify-content: flex-end;
       align-items: flex-start;
   }

   @media (max-width: 768px) {
       .hero-section {
           background-position: center; /* موضع الصورة */
           min-height: 300px; /* تقليل الارتفاع في الجوال */
           padding: 40px 10px; /* تعديل البادينغ */
       }
   }

.hero-section .container {
    max-width: 600px;
    width: 100%;
    padding: 60px;
    border-radius: 18px;
    text-align: right;
    margin-left: auto;
    margin-right: 0;
}
.hero-section h2 {
    font-size: 40px;
    font-family:  'CamelFont', sans-serif;
    color: white;
}

.hero-section p {
    font-size: 18px;
}

/*2*/
.contact-section {
    background: url('../assets/images/contactt.jpg') center/cover no-repeat;
    color: #ffffff;
    padding: 100px 20px; /* تعديل البادينغ */
    min-height: 400px; /* يمكنك تغيير القيمة هنا */
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.services-section {
    padding: 80px 20px;
    background-color: #ffffff;
    text-align: center;
}

.section-title {
    font-size: 45px;
    font-family:  'CamelFont', sans-serif;
    color: #555;
    margin-bottom: 10px;
}

.services-intro {
    font-size: 39px;
    font-family:  'CamelFont', sans-serif;
    color: #163155;
    margin-bottom: 10px;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 20px;
    justify-content: center;
    text-align: right;
}

.service-item {
    width: 100%;
    max-width: 500px;
}

.service-title {
    font-size: 22px;
    font-family: 'CamelFont', sans-serif;
    color: #000000;
    margin-bottom: 10px;
}

.service-description {
    font-size: 16px;
    font-family:  'CamelFont', sans-serif;
    color: #555;
}

@media (min-width: 768px) {
    .service-item {
        width: calc(50% - 20px); /* عرض كل خدمة 50% مع فراغ */
    }
}

.more-link {
    color: #a80000; /* لون النص */
    font-weight: bold; /* سمك الخط */
    margin-top: 10px; /* المسافة من الأعلى */
    display: inline-block; /* العرض ككتلة */
    transition: color 0.3s ease; /* تأثير الانتقال عند تغيير اللون */
    cursor: pointer; /* شكل المؤشر عند التمرير */
    text-decoration: none; /* إزالة الخط تحت النص */
}

.more-link:hover {
    color: #a80000; /* تغيير اللون عند التمرير */
}

/*3*/
.visual-production {
  background: url('../assets/images/visualpage.jpg') center/cover no-repeat;
  min-height: 550px; /* تم تغييرها من 100vh إلى 400px */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: white; /* اللون الافتراضي للنص */
  text-align: center;
}

.visual-production::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.visual-content {
  position: relative;
  z-index: 2;
  padding: 60px 30px;
}

.visual-content h1 {
  font-size: 55px;
  margin-bottom: 67px;
  color: white; /* اللون الأبيض للنص الكبير */
}

.visual-content p {
  font-size: 20px;
  margin-bottom: 30px;
  padding: 50px 20px;
}

.visual-btn {
  background-color: #e63946;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.visual-btn:hover {
  background-color: #c62828;
}

/*4*/
.editing-section {
  background-color: #ffffff;
  padding: 80px 20px;
}

.editing-container {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 40px;
}

.editing-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.editing-content {
  max-width: 600px;
  text-align: right;
}

.editing-content h2 {
  font-size: 60px;
  font-family:  'CamelFont', sans-serif;
  color: #163155;
  margin-bottom: 10px;
}

.title-line {
  width: 80px;
  height: 3px;
  background-color: #e63946;
  border: none;
  margin-right: 20px;
}

.editing-content p {
  font-size: 18px;
  font-family:  'CamelFont', sans-serif;
  color: #333;
  margin-bottom: 30px;
  line-height: 1.8;
}

.red-btn {
  background-color: #e63946;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.red-btn:hover {
  background-color: #c62828;
}

@media (min-width: 992px) {
  .editing-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: right;
  }

  .editing-image {
    flex: 1;
  }

  .editing-content {
    flex: 1;
  }
}

.photography-section {
    background-image: linear-gradient(to left, rgba(0, 0, 0, 0.9) 20%, rgba(0, 0, 0, 0) 85%),
                      url('../assets/images/taswer.jpeg');
    background-size: cover;
    background-position: center;
    min-height: 100vh; /* ارتفاع النسخة الكبيرة */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 80px 30px; /* تعديل البادينغ */
    direction: rtl;
    color: white;
}


.photography-content {
  max-width: 600px;
  text-align: right;
  z-index: 2;
}

.photography-content h2 {
  font-size: 36px;
  font-family:  'CamelFont', sans-serif;
  color: #ffffff;
  margin-bottom: 40px;
}

.photography-content p {
  font-size: 18px;
  font-family:  'CamelFont', sans-serif;
  color: #ffffff;
  margin-bottom: 30px;
  line-height: 1.8;
}

.photography-btn {
  background-color: #e63946;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.photography-btn:hover {
  background-color: #c62828;
}

footer {
  background-color: #152334;
  color: #ffffff; /* هذا مهم لتغيير لون النص */
  padding: 2rem 1rem;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
}

.footer-logo {
  text-align: center;
  margin-bottom: 2rem;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 1rem;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #ffffff; /* هذا مهم لتغيير لون النص */
}

.label {
  font-weight: bold;
  margin: 0;
  color: #ffffff; /* هذا مهم لتغيير لون النص */
}

.value {
  margin: 0;
  color: #ffffff; /* هذا مهم لتغيير لون النص */
}

hr {
  margin: 1rem 0;
  border-color: #333;
}

.footer-bottom {
  text-align: center;
  color: #ffffff; /* هذا مهم لتغيير لون النص */
}

.social-icons {
  margin-top: 1rem;
}

.social-icon {
  color: white;
  margin: 0 0.5rem;
  text-decoration: none;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .contact-info {
    justify-content: center;
    gap: 20px;
  }
}

.visual-page::before {
  display: none;
}

/* تخصيص التنسيق لصفحة الإنتاج المرئي فقط */
.visual-wrapper {
    display: inline-flex;
    align-items: center; /* المحاذاة العمودية */
    direction: rtl; /* يبدأ من اليمين */
}

.visual-production {
  background: url('../assets/images/vis.jpg') center/cover no-repeat;
  min-height: 550px; /* تم تغييرها من 100vh إلى 400px */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #ffffff;
  text-align: center;
}
@media (max-width: 600px) {
    .visual-wrapper {
        left: 10px; /* تعديل موضع النص في الجوال */
        text-align: center; /* محاذاة النص في المنتصف */
    }

.vertical-divider {
    width: 4px;
    height: 3.2em; /* نفس ارتفاع الخط تقريبا */
    background-color: white;
    margin-right: 8px; /* مسافة بين الخط والكلمة */
}

.visual-content h2 {
  color: #ffffff !important;
  font-size: 38px;
  line-height: 1;
}

/* تخصيص تنسيق الفيديوهات */
.swiper {
  width: 100%;
  padding: 20px 0;
}

.swiper-slide img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.divider {
  width: 60px;
  height: 2px;
  background-color: #101f37;
  margin: 10px auto;  /* محاذاة الخط في الوسط */
}

.montage-hero {
  background: url('../assets/images/contapage.jpg') center/cover no-repeat;
  min-height: 400px; /* جعل الارتفاع موحد */
  display: flex;
  align-items: center;
  position: relative;
}

.visual-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-right: 50px; /* يبعد النص عن الحافة */
  width: 100%;
}

.visual-content {
  color: white;
  max-width: 500px;
}

body, html {
  margin: 0;
  padding: 0;
  font-family:  'CamelFont', sans-serif;
  direction: rtl;
  background-color: #fff;
  color: #222;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

h1, h2, h3, h4 {
  margin: 0;
  padding: 0;
}

/* قسم المونتاج */

/* Footer */

.whatsapp-button {
position: fixed;
bottom: 20px;
left: 20px;
z-index: 9999;
background-color: #25D366;
border-radius: 50%;
padding: 12px;
box-shadow: 0 4px 10px rgba(0,0,0,0.2);
animation: pulse 2s infinite ease-in-out;
transition: all 0.3s ease;
}

.whatsapp-button:hover {
transform: scale(1.2);
box-shadow: 0 6px 14px rgba(0,0,0,0.3);
}

.whatsapp-button img {
width: 32px;
height: 32px;
}
.viisual-production {
    position: relative;
    padding: 0;
}

.viisual-wrapper {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: white;
    text-align: right;
}
}
@media (max-width: 600px) {
    .viisual-wrapper {
        right: 10px; /* تعديل موضع النص في الجوال */
        text-align: center; /* محاذاة النص في المنتصف */
    }

    .viisual-content h2 {
        font-size: 28px; /* حجم خط أصغر للجوال */
    }

    .viisual-content p {
        font-size: 16px; /* حجم خط أصغر للجوال */
    }
}
