/*
 Theme Name: Astra Dark Neon Child
 Theme URI: https://example.com/astra-dark-neon-child
 Author: Your Name
 Author URI: https://example.com
 Description: Astra child theme with dark neon UI, robotic hero slider and mouse-follow glow cards.
 Version: 1.3.1
 Template: astra
 Text Domain: astra-dark-neon-child
*/

/* =========================================================
   متغیرهای اصلی و تم دارک کلی سایت
   ========================================================= */

:root {
  --bg-body: #020617;
  --bg-surface: #020617;
  --bg-surface-alt: #020617;
  --bg-header: rgba(15, 23, 42, 0.92);
  --bg-footer: #020617;
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.15);
  --accent-alt: #a855f7;
  --danger: #f97373;
}

/* پس‌زمینه کلی سایت */

html,
body {
  background: radial-gradient(circle at top, #0f172a 0, #020617 40%, #000 100%);
  color: var(--text-main);
}

body,
.site,
#page {
  background-color: transparent;
  color: var(--text-main);
}

body {
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
}

/* لینک‌ها */

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover,
a:focus {
  color: #7dd3fc;
  opacity: 0.95;
}

/* هدر آسترا */

.site-header,
.main-header-bar,
.ast-primary-header-bar {
  background: var(--bg-header);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.9);
}

/* فوتر */

.site-footer,
.ast-footer-overlay,
.site-primary-footer-wrap,
.site-above-footer-wrap {
  background: var(--bg-footer);
  color: var(--text-muted);
}

/* تیترها و متن‌ها */

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #f9fafb;
}

/* اعمال رنگ تیره فقط وقتی حالت شب فعال است */
html[data-theme='dark'] p,
html[data-theme='dark'] .entry-content p,
html[data-theme='dark'] .site-content p,
html[data-theme='dark'] .ast-article-post p {
  color: var(--text-main);
}

/* حذف پس‌زمینه سفید برخی باکس‌ها در آسترا */

.ast-container,
.site-content > .ast-container,
.ast-separate-container .ast-article-post,
.ast-separate-container .ast-archive-description,
.ast-plain-container,
.ast-page-builder-template .site-content > .ast-container {
  background: transparent;
}

/* فرم‌ها و فیلدها */

input[type='text'],
input[type='email'],
input[type='url'],
input[type='password'],
input[type='search'],
textarea,
select {
  background-color: rgba(15, 23, 42, 0.9);
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: var(--text-main);
  padding: 10px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.5);
  background-color: rgba(15, 23, 42, 1);
}

::placeholder {
  color: rgba(148, 163, 184, 0.7);
}

/* =========================================================
   دکمه‌ها – استایل نئونی قوی
   ========================================================= */

.button,
.ast-button,
button,
input[type='button'],
input[type='submit'],
.wp-block-button__link {
  border-radius: 999px;
  padding: 11px 30px;
  font-weight: 600;
  border: none;
  background-image: linear-gradient(135deg, #0ea5e9, #6366f1, #ec4899);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.5),
    0 14px 38px rgba(15, 23, 42, 0.95),
    0 0 32px rgba(56, 189, 248, 0.9);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease,
    opacity 0.18s ease;
  cursor: pointer;
  white-space: nowrap;
}

.button:hover,
.ast-button:hover,
button:hover,
input[type='button']:hover,
input[type='submit']:hover,
.wp-block-button__link:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.05);
  opacity: 0.98;
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.8),
    0 18px 45px rgba(15, 23, 42, 1),
    0 0 40px rgba(56, 189, 248, 1);
}

.button:disabled,
.ast-button:disabled,
button:disabled,
input[type='submit']:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

/* دکمه‌های ثانویه */

.btn-ghost,
.button.secondary,
.ast-button.secondary {
  background-image: none;
  background-color: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.8);
  color: var(--text-main);
  box-shadow:
    0 12px 28px rgba(15, 23, 42, 0.95),
    0 0 18px rgba(148, 163, 184, 0.5);
}

.btn-ghost:hover,
.button.secondary:hover,
.ast-button.secondary:hover {
  border-color: #38bdf8;
  box-shadow:
    0 16px 40px rgba(15, 23, 42, 1),
    0 0 26px rgba(56, 189, 248, 0.9);
}

/* =========================================================
   کارت‌های دارک با افکت نئون دنبال‌کننده ماوس
   ========================================================= */

.card-dark {
  position: relative;
  background: radial-gradient(circle at top, #020617 0, #020617 60%, #000 100%);
  border-radius: 20px;
  padding: 24px 22px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.95);
  transform: translateY(0);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
  cursor: default;
  isolation: isolate;
}

/* لایه‌ی نئون که با مختصات ماوس جابه‌جا می‌شود */
.card-dark::before {
  content: '';
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(
      circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(56, 189, 248, 0.9),
      rgba(129, 140, 248, 0.4),
      rgba(236, 72, 153, 0.2),
      transparent 60%
    );
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: -2;
}

/* سطح داخلی کارت */

.card-dark::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: radial-gradient(circle at top, #020617 0, #020617 60%, #020617 100%);
  z-index: -1;
}

.card-dark:hover {
  transform: translateY(-6px);
  box-shadow:
    0 25px 60px rgba(15, 23, 42, 1),
    0 0 45px rgba(56, 189, 248, 0.65);
}

.card-dark:hover::before {
  opacity: 1;
}

.card-dark h3,
.card-dark h4,
.card-dark .card-title {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #f9fafb;
}

.card-dark p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.card-dark .card-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: radial-gradient(circle at top left, #38bdf8, #a855f7);
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.55);
}

/* گرید عمومی کارت‌ها */

.dark-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

@media (max-width: 768px) {
  .card-dark {
    padding: 20px 18px;
  }
  .dark-card-grid {
    gap: 18px;
  }
}

/* =========================================================
   کارت‌های کارگاه (بخش کارگاه‌های مختلف)
   المنتور: کلاس card-dark workshop-card
   ========================================================= */

.workshop-card {
  border-radius: 26px;
  border: 4px solid #020617; /* نازک‌تر از قبل */
  padding: 18px 18px 22px;
  background: #f9fafb;
  color: #111827;
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.35);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.workshop-card h3,
.workshop-card h4 {
  color: #111827;
}

.workshop-card p {
  color: #374151;
}

.workshop-card:hover {
  border-color: rgba(56, 189, 248, 0.9);
  box-shadow:
    0 26px 60px rgba(15, 23, 42, 0.85),
    0 0 38px rgba(56, 189, 248, 0.9);
  transform: translateY(-6px);
}

/* =========================================================
   اسکرول‌بار سفارشی
   ========================================================= */

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #020617;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #38bdf8, #a855f7);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  opacity: 0.9;
}

/* =========================================================
   Robotic Hero Slider
   ========================================================= */

/* سکشن اصلی – ارتفاع و پس‌زمینه */

.robotic-hero {
  position: relative;
  min-height: 68vh;
  padding: 40px 24px 46px; /* پدینگ افقی برای کم کردن حاشیه تیره */
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.2), transparent 60%),
    radial-gradient(circle at 10% 90%, rgba(236, 72, 153, 0.25), transparent 60%),
    radial-gradient(circle at 90% 10%, rgba(129, 140, 248, 0.25), transparent 60%),
    #020617;
  color: var(--text-main);
}

/* پس‌زمینه پوششی بالای گرادیان */

.robotic-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.98));
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* نوار ابزار بالا (دکمه حالت شب/روز) */

.robotic-hero-toolbar {
  position: relative;
  max-width: 1440px;
  margin: 0 auto 16px;
  display: flex;
  justify-content: flex-end;
  z-index: 3;
}

/* دکمه‌ی سوئیچ تم */

.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.82rem;
  background: radial-gradient(circle at top left, #f97316, #ec4899);
  color: #fff;
  box-shadow:
    0 10px 30px rgba(15, 23, 42, 0.9),
    0 0 24px rgba(236, 72, 153, 0.9);
}

.theme-toggle__icon {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #38bdf8, #0f172a);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle__icon svg {
  position: absolute;
  width: 16px;
  height: 16px;
  stroke: #f9fafb;
  fill: none;
  stroke-width: 1.6;
}

/* پیش‌فرض: ماه (حالت شب) */

.theme-toggle .icon-sun {
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.theme-toggle .icon-moon {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* حالت روز برای آیکون سوئیچ */

.robotic-hero[data-theme='light'] .theme-toggle .icon-sun {
  opacity: 1;
  transform: scale(1);
}
.robotic-hero[data-theme='light'] .theme-toggle .icon-moon {
  opacity: 0;
  transform: scale(0.6);
}

/* کانتینر اسلایدر – پهن‌تر برای کم کردن حاشیه تیره دو طرف */

.robotic-swiper {
  position: relative;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  z-index: 1;
}

/* اگر در HTML شما یک track جدا دارید (اختیاری): */
.robotic-swiper-track {
  position: relative;
}

/* هر اسلاید – فقط اسلاید فعال نمایش داده می‌شود */

.robotic-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.robotic-slide.is-active {
  display: block;       /* فقط همین اسلاید دیده می‌شود */
  opacity: 1;
  transform: translateY(-4px);
}

/* کارت داخلی اسلاید – تقسیم‌بندی متن/تصویر */

.robotic-slide-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.0fr) minmax(0, 1.3fr);  /* متن / تصویر */
  gap: 40px;
  padding: 34px 32px;
  border-radius: 28px;
  position: relative;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.25), rgba(15, 23, 42, 0.98));
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.95),
    0 0 40px rgba(56, 189, 248, 0.4);
  overflow: hidden;
}

/* محتوای متنی اسلاید */

.robotic-slide-content {
  position: relative;
  z-index: 2;
}

/* badge بالای تیتر */

.robotic-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
  margin-bottom: 16px;
}

/* چراغ کوچک روی badge */

.robotic-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  margin-left: 8px;
  background: radial-gradient(circle, #22c55e, transparent);
  box-shadow: 0 0 10px #22c55e;
  animation: badge-pulse 2.4s ease-in-out infinite;
}

/* تیتر اصلی اسلاید */

.robotic-title {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: 14px;
  background: linear-gradient(120deg, #e5e7eb, #a5b4fc, #f9a8d4);
  -webkit-background-clip: text;
  color: transparent !important;
}

.robotic-title span {
  background: linear-gradient(120deg, #38bdf8, #a855f7, #ec4899);
  -webkit-background-clip: text;
  color: transparent;
  background-size: 200% 200%;
  animation: title-glow 4.5s ease-in-out infinite alternate;
}

/* متن توضیح */

.robotic-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin-bottom: 20px;
}

/* دکمه‌های زیر متن */

.robotic-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* گالری تصاویر – سه قاب کنار هم */

.robotic-slide-gallery {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  padding-inline-start: 16px;
  min-height: 300px;
}

/* قاب تصویر */

.robotic-image {
  position: relative;
  border-radius: 32px;
  padding: 6px;
  background: radial-gradient(circle at top, #020617, #020617 55%, #020617 100%);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow:
    0 18px 42px rgba(15, 23, 42, 0.9),
    0 0 22px rgba(15, 23, 42, 1);
  overflow: hidden;
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

/* خود تصویر داخل قاب */

.robotic-image img {
  display: block;
  width: 100%;
  max-width: 420px;
  border-radius: 26px;
}

/* چینش سه قاب */

.robotic-slide-gallery .robotic-image:nth-of-type(1) {
  max-width: 360px;
  margin-inline-end: -40px;
  z-index: 1;
}

.robotic-slide-gallery .robotic-image:nth-of-type(2) {
  max-width: 460px;
  z-index: 2;
}

.robotic-slide-gallery .robotic-image:nth-of-type(3) {
  max-width: 280px;
  margin-inline-start: -32px;
  margin-top: 36px;
  z-index: 0;
  opacity: 0.9;
}

/* افکت نئونی روی قاب‌ها وقتی اسلاید فعال است و hover می‌شود */

.robotic-slide.is-active .robotic-image {
  box-shadow:
    0 22px 50px rgba(15, 23, 42, 0.95),
    0 0 32px rgba(56, 189, 248, 0.35),
    0 0 42px rgba(88, 28, 135, 0.4);
}

.robotic-slide.is-active .robotic-image:hover {
  border-color: rgba(56, 189, 248, 0.95);
  box-shadow:
    0 24px 55px rgba(15, 23, 42, 1),
    0 0 32px rgba(56, 189, 248, 0.7),
    0 0 42px rgba(168, 85, 247, 0.6);
  transform: translateY(-4px) scale(1.02);
}

/* نقطه‌های ناوبری */

.robotic-swiper-pagination {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.robotic-swiper-bullet {
  width: 28px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: rgba(148, 163, 184, 0.45);
  box-shadow: 0 0 0 rgba(56, 189, 248, 0);
  cursor: pointer;
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.robotic-swiper-bullet.is-active {
  background: linear-gradient(135deg, #38bdf8, #a855f7);
  box-shadow:
    0 0 14px rgba(56, 189, 248, 0.9),
    0 0 24px rgba(168, 85, 247, 0.8);
  transform: translateY(-1px);
}

/* دکمه‌های قبلی/بعدی */

.robotic-swiper-nav {
  position: absolute;
  inset-inline: 0;
  top: 50%;
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  pointer-events: none;
}

.robotic-nav-btn {
  pointer-events: all;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: radial-gradient(circle at top, #020617, #020617 70%, #020617);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #e5e7eb;
  box-shadow:
    0 12px 30px rgba(15, 23, 42, 1),
    0 0 18px rgba(148, 163, 184, 0.6);
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.robotic-nav-btn span {
  display: inline-block;
  transform: translateY(-1px);
}

.robotic-nav-btn:hover {
  background: radial-gradient(circle at top, #38bdf8, #0f172a);
  border-color: #38bdf8;
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 1),
    0 0 28px rgba(56, 189, 248, 1);
  transform: translateY(-2px);
}

/* ریسپانسیو اسلایدر */

@media (max-width: 900px) {
  .robotic-hero {
    padding: 32px 16px 46px;
  }

  .robotic-slide-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .robotic-slide-gallery {
    justify-content: center;
    padding-inline-start: 0;
  }

  .robotic-swiper-nav {
    display: none;
  }
}

@media (max-width: 600px) {
  .robotic-slide-inner {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .robotic-slide-gallery {
    flex-direction: column;
    gap: 18px;
  }

  .robotic-slide-gallery .robotic-image:nth-of-type(1),
  .robotic-slide-gallery .robotic-image:nth-of-type(2),
  .robotic-slide-gallery .robotic-image:nth-of-type(3) {
    max-width: 100%;
    margin: 0;
  }
}

/* =========================================================
   حالت روز برای سکشن Hero
   ========================================================= */

.robotic-hero[data-theme='light'] {
  background:
    radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.15), transparent 60%),
    radial-gradient(circle at 0% 100%, rgba(96, 165, 250, 0.25), transparent 55%),
    #e5f2ff;
  color: #0f172a;
}

.robotic-hero[data-theme='light'] .robotic-hero-overlay {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(226, 232, 240, 0.95));
  mix-blend-mode: normal;
}

.robotic-hero[data-theme='light'] .robotic-slide-inner {
  background: linear-gradient(135deg, #e5f2ff, #dbeafe);
  box-shadow:
    0 20px 45px rgba(15, 23, 42, 0.35);
}

.robotic-hero[data-theme='light'] .robotic-title {
  background: linear-gradient(120deg, #0f172a, #1e40af);
  -webkit-background-clip: text;
  color: transparent;
}

.robotic-hero[data-theme='light'] .robotic-text {
  color: #1f2933;
}

.robotic-hero[data-theme='light'] .robotic-badge {
  background: #0f172a;
  border-color: rgba(148, 163, 184, 0.9);
}

/* =========================================================
   انیمیشن‌ها
   ========================================================= */

@keyframes title-glow {
  0% {
    background-position: 0% 50%;
    text-shadow:
      0 0 10px rgba(56, 189, 248, 0.6),
      0 0 18px rgba(168, 85, 247, 0.5);
  }
  100% {
    background-position: 100% 50%;
    text-shadow:
      0 0 6px rgba(236, 72, 153, 0.7),
      0 0 16px rgba(56, 189, 248, 0.4);
  }
}

@keyframes badge-pulse {
  0% {
    transform: scale(1);
    opacity: 0.9;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.9);
  }
  50% {
    transform: scale(1.25);
    opacity: 1;
    box-shadow: 0 0 18px rgba(34, 197, 94, 1);
  }
  100% {
    transform: scale(1);
    opacity: 0.9;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.9);
  }
}


/* ====== گالری داخل اسلاید – دو تصویر افقی/عمودی ====== */

.robotic-slide-gallery {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

/* قاب کلی تصویر */
.hero-img {
  position: relative;
  flex: 1 1 0;
  max-width: 48%;
  border-radius: 28px;
  padding: 6px;
  background: radial-gradient(circle at top, #020617, #020617 60%, #000);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow:
    0 18px 42px rgba(15, 23, 42, 0.9),
    0 0 22px rgba(15, 23, 42, 1);
  overflow: hidden;
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

/* خود تصویر */
.hero-img img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  object-fit: cover;
}

/* نسبت تصویرها (خیلی مهم برای هماهنگی) */
.hero-img--h img {          /* افقی */
  aspect-ratio: 16 / 9;
}

.hero-img--v img {          /* عمودی */
  aspect-ratio: 3 / 4;
}

/* افکت فعال + هاور (هم‌خوان با تم فعلی) */
.robotic-slide.is-active .hero-img {
  box-shadow:
    0 22px 50px rgba(15, 23, 42, 0.95),
    0 0 32px rgba(56, 189, 248, 0.35),
    0 0 42px rgba(88, 28, 135, 0.4);
}

.robotic-slide.is-active .hero-img:hover {
  border-color: rgba(56, 189, 248, 0.95);
  box-shadow:
    0 24px 55px rgba(15, 23, 42, 1),
    0 0 32px rgba(56, 189, 248, 0.7),
    0 0 42px rgba(168, 85, 247, 0.6);
  transform: translateY(-4px) scale(1.02);
}

/* ====== چرخش ترتیب برای متنوع شدن اسلایدها ====== */

/* اسلاید با چیدمان افقی-عمودی (پیش‌فرض) */
.robotic-slide.layout-hv .robotic-slide-gallery {
  flex-direction: row;
}

/* اسلاید با چیدمان عمودی-افقی */
.robotic-slide.layout-vh .robotic-slide-gallery {
  flex-direction: row-reverse;
}

/* ریسپانسیو موبایل: تصاویر زیر هم بیفتند */
@media (max-width: 900px) {
  .robotic-slide-gallery {
    flex-direction: column !important;
    max-width: 480px;
    margin: 0 auto;
  }

  .hero-img {
    max-width: 100%;
  }
}

