/* STPWALL - siber tema efektleri */

.cyber-grid {
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .03) 1px, transparent 1px);
}

.cyber-dots {
  background-image: radial-gradient(rgba(0, 210, 255, .15) 1px, transparent 1px);
  background-size: 24px 24px;
}

.neon-border-orange { box-shadow: 0 0 25px -5px rgba(255, 106, 0, .35); }
.neon-border-cyan   { box-shadow: 0 0 25px -5px rgba(0, 210, 255, .35); }

.clip-badge {
  clip-path: polygon(8px 0%, 100% 0%, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0% 100%, 0% 8px);
}

/* Slayt geçişi */
.slide-item.block { animation: fadeUp .45s ease both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Kaydırma çubuğu */
::-webkit-scrollbar        { width: 8px; }
::-webkit-scrollbar-track  { background: #05070c; }
::-webkit-scrollbar-thumb  { background: #1e293b; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #ff6a00; }

/* Sticky header yüksekliği kadar çapa boşluğu */
section[id] { scroll-margin-top: 96px; }

/* ------------------------------------------------------------------
   Sağdan sola diller (Arapça). Şablon fiziksel yön sınıfları kullanır;
   dir="rtl" iken bunlar aynalanır. Flex/grid sırası ve metin hizası
   tarayıcı tarafından zaten çevrilir.
   ------------------------------------------------------------------ */
[dir="rtl"] .rtl-flip           { transform: scaleX(-1); }
/* Kısa etiketlerde yön ilk harften belirlenir: çevrilmemiş "64-Bit x86 NOS" soldan sağa kalır */
[dir="rtl"] .bidi-auto          { unicode-bidi: plaintext; }
[dir="rtl"] .border-l           { border-left-width: 0; border-right-width: 1px; }
[dir="rtl"] .border-l-2         { border-left-width: 0; border-right-width: 2px; }
[dir="rtl"] .pl-2               { padding-left: 0; padding-right: .5rem; }
[dir="rtl"] .pl-3               { padding-left: 0; padding-right: .75rem; }
[dir="rtl"] .pr-6               { padding-right: 0; padding-left: 1.5rem; }
[dir="rtl"] .left-0             { left: auto; right: 0; }
[dir="rtl"] .right-0            { right: auto; left: 0; }
[dir="rtl"] .right-5            { right: auto; left: 1.25rem; }   /* WhatsApp düğmesi */
[lang="ar"] .font-sans,
[lang="ar"] .font-mono          { font-family: "Noto Sans Arabic", "Plus Jakarta Sans", system-ui, sans-serif; }
/* Arapça metinde harf aralığı ve büyük harf dönüşümü bitişik yazıyı bozar */
[lang="ar"] .tracking-wider,
[lang="ar"] .tracking-widest,
[lang="ar"] .tracking-tight     { letter-spacing: normal; }
[lang="ar"] .uppercase          { text-transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
