:root {
  --atlas-deep-blue: #0a1a2f;
  --atlas-hero-bg: #060e1a;
  --atlas-gold: #d4af37;
  --atlas-white: #ffffff;
  --atlas-text: #ccd6e0;
}

/* --- Hero Section --- */
.hero-industrial {
  min-height: 85vh;
  background: var(--atlas-hero-bg);
  display: flex;
  align-items: center;
  padding: 4rem 1rem;
  overflow: hidden;
  position: relative;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.gold-text { color: var(--atlas-gold); font-size: 3rem; font-weight: 800; display: block; margin-bottom: 0.5rem; }
.sub-title { color: var(--atlas-white); font-size: 1.5rem; display: block; margin-bottom: 1.5rem; }
.hero-description { color: var(--atlas-text); font-size: 1.1rem; line-height: 1.8; margin-bottom: 2rem; }

.btn-primary-hero {
  background: var(--atlas-gold);
  color: var(--atlas-deep-blue);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  display: inline-block;
  transition: 0.3s;
}
.btn-primary-hero:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3); }

/* تصویر و انیمیشن سه محور */
.hero-visual-side { position: relative; display: flex; justify-content: center; align-items: center; min-height: 400px; }

.ring {
  position: absolute;
  border: 2px solid transparent;
  border-top-color: var(--atlas-gold);
  border-radius: 50%;
  animation: rotate linear infinite;
  will-change: transform;
}

.ring-1 { width: 320px; height: 320px; animation-duration: 4s; }
.ring-2 { width: 260px; height: 260px; animation-duration: 7s; animation-direction: reverse; }
.ring-3 { width: 200px; height: 200px; animation-duration: 12s; }

.machine-img { width: 100%; max-width: 350px; position: relative; z-index: 2; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5)); }

@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

@media (max-width: 992px) {
  .hero-wrapper { grid-template-columns: 1fr; text-align: center; }
  .gold-text { font-size: 2rem; }
  .ring { display: none; }
}

/* --- بخش کارت‌های دسته‌بندی --- */
.home-categories { padding: 4rem 0; background: #fff; }
.section-header-mini { text-align: center; margin-bottom: 3rem; padding: 0 1rem; }
.section-header-mini h2 { font-size: 2rem; color: var(--atlas-deep-blue); margin-bottom: 0.5rem; }
.section-header-mini h2 span { color: var(--atlas-gold); }
.categories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.category-card { background: #fff; border: 2px solid #f0f0f0; padding: 2rem; border-radius: 16px; text-align: center; text-decoration: none; color: var(--atlas-deep-blue); transition: all 0.3s ease; display: flex; flex-direction: column; align-items: center; }
.category-card:hover { background: var(--atlas-gold); border-color: var(--atlas-gold); color: var(--atlas-white); transform: translateY(-8px); box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2); }
.card-icon { width: 50px; height: 50px; margin-bottom: 1.2rem; stroke: var(--atlas-gold); transition: all 0.3s ease; }
.category-card:hover .card-icon { stroke: var(--atlas-white); transform: scale(1.1); }
.category-card h3 { margin: 0; font-size: 1.1rem; font-weight: 700; }
.hero-visual-side {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  isolation: isolate;
}

.ring {
  position: absolute;
  width: min(78vw, 360px);
  aspect-ratio: 1;
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-radius: 50%;
  pointer-events: none;
  animation: ring-rotate linear infinite;
}

.ring-1 {
  width: min(78vw, 360px);
  animation-duration: 18s;
}

.ring-2 {
  width: min(62vw, 288px);
  border-color: rgba(204, 214, 224, 0.38);
  animation-duration: 10s;
  animation-direction: reverse;
}

.ring-3 {
  width: min(46vw, 216px);
  border-color: rgba(212, 175, 55, 0.62);
  animation-duration: 5s;
}

.machine-container {
  position: relative;
  z-index: 1;
  width: min(76%, 350px);
}

.machine-img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.35));
}

@keyframes ring-rotate {
  to { transform: rotate(1turn); }
}

@media (max-width: 992px) {
  .hero-visual-side {
    min-height: 360px;
  }

  .ring {
    display: block;
  }
}

@media (max-width: 480px) {
  .hero-visual-side {
    min-height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ring {
    animation: none;
  }
}

/* --- Fix: paragraph color in section-header-mini --- */
.section-header-mini p {
  color: var(--atlas-text);
  font-size: 1.05rem;
  line-height: 1.9;
  max-width: 720px;
  margin: 0.75rem auto 0;
}

/* Force override - بالاتر از inline styles معمولی */
.section-header-mini p {
  color: var(--atlas-text) !important;
}

.section-header-mini p {
  color: var(--atlas-text) !important;
}
