/* تخصيص الألوان للتصميم العادي بدلاً من الدارك */

/* تغيير خلفية الجسم من الأسود إلى الأبيض */
body {
  background: #ffffff !important;
  color: #333333 !important;
}

/* تعديل ألوان النصوص الرئيسية */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  color: #2c3e50 !important;
}

/* تعديل ألوان الروابط */
a {
  color: #3498db !important;
}

a:hover, a:focus {
  color: #2980b9 !important;
}

/* تعديل شريط التنقل */
.ftco-navbar-light {
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

.ftco-navbar-light .navbar-brand {
  color: #2c3e50 !important;
}

.ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
  color: #2c3e50 !important;
}

.ftco-navbar-light .navbar-nav > .nav-item > .nav-link:hover span:before {
  background: #3498db !important;
}

.ftco-navbar-light .navbar-nav > .nav-item .nav-link.active {
  color: #3498db !important;
}

.ftco-navbar-light.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
}

.ftco-navbar-light.scrolled .nav-item > .nav-link {
  color: #2c3e50 !important;
}

.ftco-navbar-light.scrolled .nav-item.active > a {
  color: #3498db !important;
}

/* تعديل قسم البطل الرئيسي */
.hero .slider-item .overlay {
  background: rgba(0, 0, 0, 0.3) !important;
  opacity: 0.3 !important;
}

.hero .slider-text h1 {
  color: #ffffff !important;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero .slider-text h1 span {
  color: #3498db !important;
}

.hero .slider-text h2 {
  color: #ffffff !important;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* تعديل قسم الخدمات */
.ftco-section {
  background: #ffffff !important;
}

.services-1 {
  background: #f8f9fa !important;
  border: 1px solid #e9ecef !important;
  transition: all 0.3s ease !important;
}

.services-1:hover {
  background: #3498db !important;
  color: #ffffff !important;
  transform: translateY(-5px) !important;
  box-shadow: 0 10px 25px rgba(52, 152, 219, 0.3) !important;
}

.services-1 .icon {
  color: #3498db !important;
}

.services-1:hover .icon {
  color: #ffffff !important;
}

.services-1 .desc h3 {
  color: #2c3e50 !important;
}

.services-1:hover .desc h3 {
  color: #ffffff !important;
}

/* تعديل قسم المشاريع */
.ftco-project {
  background: #f8f9fa !important;
}

.project .overlay {
  background: rgba(52, 152, 219, 0.8) !important;
}

.project .text h3 {
  color: #ffffff !important;
}

.project .text span {
  color: #ecf0f1 !important;
}

/* تعديل قسم الاتصال */
.contact-section {
  background: #ffffff !important;
}

.contact-section h2 {
  color: #2c3e50 !important;
}

.contact-section p {
  color: #7f8c8d !important;
}

/* تعديل الأزرار */
.btn-primary {
  background-color: #3498db !important;
  border-color: #3498db !important;
}

.btn-primary:hover {
  background-color: #2980b9 !important;
  border-color: #2980b9 !important;
}

/* تعديل النصوص العامة */
p {
  color: #7f8c8d !important;
}

/* تعديل الخلفيات الداكنة */
.bg-dark {
  background: #2c3e50 !important;
}

/* تعديل الفوتر */
footer {
  background: #2c3e50 !important;
  color: #ecf0f1 !important;
}

footer h3 {
  color: #ffffff !important;
}

footer p {
  color: #bdc3c7 !important;
}

footer a {
  color: #3498db !important;
}

footer a:hover {
  color: #ffffff !important;
}

/* تحسينات إضافية للتصميم */
.big {
  color: rgba(44, 62, 80, 0.1) !important;
}

.heading-section h2 {
  color: #2c3e50 !important;
}

.heading-section p {
  color: #7f8c8d !important;
}

/* تعديل الأيقونات */
.flaticon-analysis:before,
.flaticon-ideas:before,
.flaticon-flasks:before {
  color: #3498db !important;
}

/* تأثيرات الحركة والانتقال */
.services-1,
.project {
  transition: all 0.3s ease !important;
}

/* تحسين المظهر العام */
.container {
  position: relative;
  z-index: 1;
}

/* تعديل ألوان النماذج */
.form-control {
  background-color: #ffffff !important;
  border: 1px solid #ddd !important;
  color: #333333 !important;
}

.form-control:focus {
  border-color: #3498db !important;
  box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25) !important;
}

/* تحسينات للصور في قسم الخدمات */
.service-image {
  overflow: hidden;
  border-radius: 10px !important;
  transition: all 0.3s ease;
}

.service-image img {
  transition: transform 0.3s ease;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.services-1:hover .service-image img {
  transform: scale(1.05);
}

.services-1 {
  padding: 30px 20px !important;
  border-radius: 15px !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

.services-1 .desc {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.services-1 .desc p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
}

/* تحسين المظهر العام للخدمات */
.services-1:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 15px 35px rgba(52, 152, 219, 0.2) !important;
}

/* تحسين الاستجابة للشاشات الصغيرة */
@media (max-width: 768px) {
  .service-image img {
    height: 150px;
  }
  
  .services-1 {
    margin-bottom: 30px;
  }
}

/* إصلاح عرض صورة قسم Contact - التحسين الرئيسي */
.contact-section .block-9 .img {
  height: 100% !important;
  min-height: 500px !important;
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  border-radius: 10px !important;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
  background-color: #f8f9fa !important;
}

/* تحسين النموذج ليتناسق مع الصورة */
.contact-section .contact-form {
  min-height: 500px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

/* تحسين الاستجابة للشاشات الصغيرة */
@media (max-width: 768px) {
  .contact-section .block-9 .img {
    min-height: 300px !important;
    margin-top: 30px !important;
  }
  
  .contact-section .contact-form {
    min-height: auto !important;
  }
}

/* تحسين عام لقسم Contact */
.contact-section .block-9 {
  box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
  border-radius: 15px !important;
  overflow: hidden !important;
}


/* تحسينات أزرار اللغات */
.language-selector {
  position: relative;
}

.language-selector .nav-link {
  color: #2c3e50 !important;
  font-weight: 500;
  padding: 8px 15px !important;
  border-radius: 25px !important;
  transition: all 0.3s ease !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(52, 152, 219, 0.3) !important;
}

.language-selector .nav-link:hover {
  background: rgba(52, 152, 219, 0.1) !important;
  border-color: #3498db !important;
  transform: translateY(-2px) !important;
}

.language-dropdown {
  border: none !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
  border-radius: 10px !important;
  padding: 10px 0 !important;
  margin-top: 5px !important;
  min-width: 180px !important;
}

.language-dropdown .dropdown-item {
  padding: 10px 20px !important;
  font-size: 14px !important;
  color: #2c3e50 !important;
  transition: all 0.3s ease !important;
  border-radius: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.language-dropdown .dropdown-item:hover {
  background: linear-gradient(135deg, #3498db, #2980b9) !important;
  color: #ffffff !important;
  transform: translateX(5px) !important;
}

.language-dropdown .dropdown-item.active {
  background: linear-gradient(135deg, #3498db, #2980b9) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
}

.language-dropdown .dropdown-item img {
  border-radius: 3px !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
}

/* إخفاء أيقونة الكرة الأرضية لأننا نستخدم أعلام البلدان */
.language-selector .fa-globe,
.language-selector i[class*="fa-globe"] {
  display: none !important;
}

/* تحسين النص الحالي للغة */
#current-lang {
  font-weight: 500 !important;
  margin-left: 5px !important;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
  .language-selector {
    margin-top: 10px !important;
  }
  
  .language-dropdown {
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    border: 1px solid #ddd !important;
    margin-top: 10px !important;
  }
  
  .language-selector .nav-link {
    text-align: center !important;
    width: 100% !important;
  }
}

/* تحسينات للاتجاه RTL */
[dir="rtl"] .language-dropdown .dropdown-item {
  text-align: right !important;
  flex-direction: row-reverse !important;
}

[dir="rtl"] .language-dropdown .dropdown-item:hover {
  transform: translateX(-5px) !important;
}

[dir="rtl"] #current-lang {
  margin-left: 0 !important;
  margin-right: 5px !important;
}

/* تحسينات للاتجاه LTR */
[dir="ltr"] .language-dropdown .dropdown-item {
  text-align: left !important;
}

/* تأثيرات انتقال سلسة للغة */
.language-transition {
  transition: all 0.5s ease !important;
}

/* تحسين مظهر الأعلام */
.language-dropdown .dropdown-item img {
  transition: transform 0.3s ease !important;
}

.language-dropdown .dropdown-item:hover img {
  transform: scale(1.1) !important;
}

/* تحسين شريط التنقل للغات المختلفة */
.ftco-navbar-light.scrolled .language-selector .nav-link {
  color: #2c3e50 !important;
  background: rgba(255, 255, 255, 0.9) !important;
}

.ftco-navbar-light.scrolled .language-selector .nav-link:hover {
  background: rgba(52, 152, 219, 0.1) !important;
}

/* تحسين الخطوط للغات المختلفة */
[lang="ar"] {
  font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

[lang="en"], [lang="fr"] {
  font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

/* تحسين النصوص للغات المختلفة */
[dir="rtl"] .text-right {
  text-align: right !important;
}

[dir="ltr"] .text-right {
  text-align: left !important;
}

[dir="rtl"] .text-center {
  text-align: center !important;
}

[dir="ltr"] .text-center {
  text-align: center !important;
}

/* تحسين الأزرار للغات المختلفة */
[dir="rtl"] .btn {
  text-align: center !important;
}

[dir="ltr"] .btn {
  text-align: center !important;
}

/* تحسين النماذج للغات المختلفة */
[dir="rtl"] .form-control {
  text-align: right !important;
}

[dir="ltr"] .form-control {
  text-align: left !important;
}

/* تحسين التنقل للغات المختلفة */
[dir="rtl"] .navbar-nav {
  flex-direction: row !important;
}

[dir="ltr"] .navbar-nav {
  flex-direction: row !important;
}

/* تحسين المحاذاة للعناصر */
[dir="rtl"] .justify-content-end {
  justify-content: flex-start !important;
}

[dir="ltr"] .justify-content-end {
  justify-content: flex-end !important;
}

/* تحسين الهوامش للغات المختلفة */
[dir="rtl"] .ml-auto {
  margin-left: 0 !important;
  margin-right: auto !important;
}

[dir="ltr"] .ml-auto {
  margin-left: auto !important;
  margin-right: 0 !important;
}

