/* ===============================
   RTL (Sağdan Sola) Stil Dosyası
   =============================== */

/*
  Bu dosya, dil Arapça seçildiğinde yüklenir
  ve 'style.css' deki bazı kuralları ezer.
*/

body {
  text-align: right;
}

/* ===============================
   Header RTL
   =============================== */
#main-header .header-inner {
  flex-direction: row-reverse;
}
/* GÜNCELLENDİ: Yeni nav-wrapper yapısı */
.nav-wrapper {
  flex-direction: row-reverse;
  gap: 1.5rem;
}
#main-header .nav-links {
  gap: 1.5rem; 
}
.dropdown-content {
    left: auto;
    right: 50%; 
    transform: translateX(50%); 
}
.lang-dropdown-menu {
    right: auto;
    left: 0; /* Dil menüsü sola açılsın */
}

/* ===============================
   İçerik RTL
   =============================== */
.mega-menu-header {
  text-align: right;
}
.section-title-featured,
.section-subtitle-featured,
.product-card-featured h3,
.product-card-featured .product-code,
.promo-text h3,
.promo-text p,
.parallax-content h2,
.parallax-content p,
.about-subtitle,
.about-title,
.about-text p {
  text-align: right;
}

/* ===============================
   Footer RTL
   =============================== */
.site-footer {
  text-align: right;
}
/* GÜNCELLENDİ: 4 Sütunlu Grid */
@media(min-width: 1024px) {
  .footer-grid-main {
    grid-template-columns: 1.5fr 1fr 1.5fr 1fr; /* Aynı kalabilir veya tersine çevrilebilir */
  }
}
.footer-socials {
  /* gap zaten yön bağımsız */
}
.footer-col h4 {
  text-align: right;
}

/* YENİ: Başlık altı mavi çizgi (RTL) */
.footer-col h4::after {
  left: auto;
  right: 0;
}

.footer-col ul {
  padding-right: 0; 
}
.footer-contact-list li {
  /* gap zaten yön bağımsız */
}
.footer-contact-list li i {
  /* margin-left: 10px; (eğer gap kullanmasaydık) */
}
.footer-legal .container {
  text-align: center;
}

/* GÜNCELLENDİ: Sol taraf (RTL'de sağ) */
.footer-legal-left {
  display: flex; 
  align-items: center; 
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap; 
  /* flex-direction: row-reverse; SİLİNDİ (logo artık burada değil) */
  flex: 1; /* YENİ */
  min-width: 250px; /* YENİ */
}

@media(min-width: 768px) {
  .footer-legal .container {
    flex-direction: row-reverse;
    text-align: right;
  }
  .footer-legal-left {
     justify-content: flex-start; /* RTL'de sağa yasla */
     text-align: right; /* YENİ */
     min-width: auto; /* YENİ */
  }
}

/* YENİ: Ortalanmış Logo (RTL'de aynı) */
.footer-legal-center {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 1 auto;
  order: 0; /* Mobilde ortada */
}
@media(min-width: 768px) {
    .footer-legal-center {
        order: 0; /* Masaüstünde de ortada */
    }
}

/* GÜNCELLENDİ: Sağ taraf (RTL'de sol) */
.footer-legal-right {
  /* gap zaten yön bağımsız */
  justify-content: center;
  display: flex; /* YENİ */
  flex-wrap: wrap; /* YENİ */
  gap: 5px 15px; /* YENİ */
  flex: 1; /* YENİ */
  min-width: 250px; /* YENİ */
}
@media(min-width: 768px) {
  .footer-legal-right {
    justify-content: flex-end; /* RTL'de sola yasla */
    text-align: left; /* YENİ */
    min-width: auto; /* YENİ */
  }
}





