/* ═══════════════════════════════════════════════════
   ABOUT PAGE — ACCENT EXTENSION (فقط اینا اضافه کن)
═══════════════════════════════════════════════════ */
:root {
  --primary: #d62828;
  --primary-dark: #c1271f;
  --accent: #d62828;
  --bg-light: #f5f5f5;
  --white: #ffffff;
  --black: #000000;
  --dark: #1a1a1a;
  --dark-2: #292929;
  --text: #333333;
  --gray: #888888;
  --gray-light: #bbbbbb;
  --border: #dddddd;
  --overlay: rgba(0, 0, 0, 0.65);
  --overlay-soft: rgba(0, 0, 0, 0.5);
  --card-bg: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] {
  --primary: #ff4d4d;
  --primary-dark: #ff1f1f;
  --accent: #ff4d4d;
  --bg-light: #1e1e1e;
  --white: #2a2a2a;
  --black: #ffffff;
  --dark: #e4e4e4;
  --dark-2: #cccccc;
  --text: #e4e4e4;
  --gray: #aaaaaa;
  --gray-light: #888888;
  --border: #3a3a3a;
  --overlay: rgba(255, 255, 255, 0.08);
  --overlay-soft: rgba(255, 255, 255, 0.05);
  --card-bg: #2a2a2a;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
}

/* ═══════════════════════════════════════════════════
   GLOBAL
═══════════════════════════════════════════════════ */
* {
  cursor: default;
}

a,
button {
  cursor: pointer !important;
}

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
.hero-section {
  height: 55vh;
  background-image: url("../img/banner/banner-shir2.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}
.about-header a {
  text-decoration: none;
  color: white;
}
.top-header {
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.about-header a:hover {
  color: var(--accent);
}
.bc-sep {
  color: white;
  font-size: 1rem;
}

.bc-current {
  color: white;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay);
}

.hero-content {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(2.6vh);
  transition: 1.2s ease;
}

.hero-content.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-content h1 {
  font-size: 5.2vh;
  font-weight: 900;
  margin-bottom: 1vh;
  line-height: 1.2;
  font-family: pinar, sans-serif;
  color: white;
}

.hero-content p {
  font-size: 1.8vh;
  opacity: 0.9;
  font-family: pinar, sans-serif;
  font-weight: lighter;
  color: white;
}

/* ═══════════════════════════════════════════════════
   ABOUT INTRO
═══════════════════════════════════════════════════ */
.about-intro-section {
  background: var(--bg-light);
  padding: 5vh 3.9vh;
}

.about-intro-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4vh;
  max-width: 143vh;
  margin: auto;
  flex-wrap: wrap;
}

.about-intro-text {
  flex: 1;
  line-height: 1.9;
  color: var(--text);
  font-size: 1.6vh;
  font-family: pinar, sans-serif;
}

.about-intro-badge {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
  padding: 4vh 3vh;
  border-radius: 1.56vh;
  text-align: center;
  min-width: 20vh;
  box-shadow: var(--shadow-lg);
  flex-shrink: 0;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.about-intro-badge:hover {
  transform: translateY(-0.65vh) scale(1.03);
  box-shadow: 0 2.6vh 5.2vh rgba(0, 0, 0, 0.25);
}

.badge-number {
  font-size: 5.2vh;
  font-weight: bold;
  font-family: pinar, sans-serif;
  color: var(--dark);
}

.badge-label {
  font-size: 1.4vh;
  margin-top: 0.8vh;
  font-family: pinar, sans-serif;
  opacity: 0.9;
  color:var(--accent) ;
}

/* ═══════════════════════════════════════════════════
   STATS
═══════════════════════════════════════════════════ */
.stats-section {
  display: flex;
  justify-content: center;
  gap: 5.2vh;
  background: var(--bg-dark-section);
  color: var(--white);
  padding: 5.2vh 2.6vh;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 2vh 3vh;
  border-radius: 1.56vh;
  background: rgba(255, 255, 255, 0.04);
  min-width: 18vh;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

[data-theme="dark"] .stat-item {
  background: rgba(255, 255, 255, 0.03);
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-0.5vh);
}

.stat-number {
  font-size: 4.16vh;
  font-weight: bold;
  color: var(--accent);
  font-family: pinar, sans-serif;
}

.stat-label {
  font-size: 1.4vh;
  margin-top: 0.65vh;
  color: var(--gray-light);
  font-family: pinar, sans-serif;
}

/* ═══════════════════════════════════════════════════
   VALUES
═══════════════════════════════════════════════════ */
.values-section {
  padding: 5vh 3.9vh;
  background: var(--bg-light);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(28.6vh, 1fr));
  gap: 3.25vh;
  max-width: 143vh;
  margin: auto;
}

.value-card {
  background: var(--white);
  border: 0.1vh solid var(--border);
  border-radius: 1.56vh;
  padding: 3.25vh;
  text-align: center;
  box-shadow: 0 0.52vh 2.6vh rgba(0, 0, 0, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

[data-theme="dark"] .value-card {
  box-shadow: 0 0.52vh 2.6vh rgba(0, 0, 0, 0.3);
}

.value-card:hover {
  transform: translateY(-0.78vh) scale(1.02);
  box-shadow: 0 1.3vh 3.9vh rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .value-card:hover {
  box-shadow: 0 1.3vh 3.9vh rgba(0, 0, 0, 0.45);
}

.value-icon {
  font-size: 3.9vh;
  margin-bottom: 1.3vh;
  display: block;
}

.value-icon svg {
  width: 70px;
  height: 70px;
}


.value-title {
  font-weight: bold;
  margin-bottom: 1vh;
  font-size: 1.8vh;
  color: var(--text);
  font-family: pinar, sans-serif;
}

.value-text {
  font-size: 1.5vh;
  color: var(--gray);
  line-height: 1.7;
  font-family: pinar, sans-serif;
}

/* ═══════════════════════════════════════════════════
   BRAND STORY
═══════════════════════════════════════════════════ */
.brand-story {
  position: relative;
  padding: 7.8vh 3.9vh;
  background: var(--bg-light);
  overflow: hidden;
}

.brand-story-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6.5vh;
  align-items: start;
  max-width: 143vh;
  margin: 5vh auto 0;
}

.story-image {
  position: sticky;
  top: 14vh;
  height: 52vh;
  border-radius: 2.6vh;
  overflow: hidden;
  box-shadow: var(--story-shadow);
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 0.6s ease;
}

.story-image:hover img {
  transform: scale(1);
}

/* ─── Timeline ─────────────────────────────────── */
.timeline {
  position: relative;
  padding-right: 4vh;
}

.timeline-line {
  position: absolute;
  right: 1.56vh;
  top: 0;
  width: 0.4vh;
  height: 100%;
  background: var(--border);
  border-radius: 1vh;
  overflow: hidden;
}

.timeline-line::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 0%;
  background: var(--primary);
  transition: height 0.3s ease;
  border-radius: 1vh;
}

.timeline-item {
  position: relative;
  margin-bottom: 5.2vh;
  opacity: 0;
  transform: translateY(3.25vh);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  padding-right: 2vh;
}

.timeline-item.active {
  opacity: 1;
  transform: translateY(0);
}

.timeline-dot {
  position: absolute;
  right: -0.52vh;
  top: 0.65vh;
  width: 1.82vh;
  height: 1.82vh;
  background: var(--white);
  border: 0.4vh solid var(--primary);
  border-radius: 50%;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.timeline-item.active .timeline-dot {
  background: var(--primary);
  transform: scale(1.2);
}

.timeline-year {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.3vh;
  font-weight: bold;
  padding: 0.3vh 1vh;
  border-radius: 2vh;
  margin-bottom: 0.8vh;
  font-family: pinar, sans-serif;
}

.timeline-item h3 {
  font-size: 2vh;
  margin-bottom: 1vh;
  color: var(--text);
  font-family: pinar, sans-serif;
  font-weight: 700;
}

.timeline-item p {
  font-size: 1.5vh;
  color: var(--gray);
  line-height: 1.8;
  font-family: pinar, sans-serif;
}

/* ═══════════════════════════════════════════════════
   BRANDS
═══════════════════════════════════════════════════ */
.brands-about {
  display: flex;
  justify-content: center;
  gap: 2.6vh;
  flex-wrap: wrap;
  padding: 4vh 3.9vh;
  background: var(--bg-light);
}

.brands-about .brand-card {
  background: var(--white);
  border: 0.1vh solid var(--border);
  padding: 2.6vh 4.55vh;
  border-radius: 1.3vh;
  font-weight: bold;
  font-size: 1.6vh;
  color: var(--text);
  font-family: pinar, sans-serif;
  box-shadow: 0 0.26vh 1.3vh rgba(0, 0, 0, 0.06);
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

[data-theme="dark"] .brands-about .brand-card {
  box-shadow: 0 0.26vh 1.3vh rgba(0, 0, 0, 0.3);
}

.brands-about .brand-card:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-0.52vh) scale(1.04);
  box-shadow: 0 1vh 3vh rgba(255, 180, 0, 0.3);
}

/* ═══════════════════════════════════════════════════
   REVEAL (همسان لندینگ)
═══════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(3.9vh) scale(0.97);
  filter: blur(0.3vh);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.reveal.from-right {
  transform: translateX(7.8vh) scale(0.97);
  filter: blur(0.3vh);
}

.reveal.from-right.active {
  transform: translateX(0) scale(1);
  filter: blur(0);
}

.reveal.from-left {
  transform: translateX(-7.8vh) scale(0.97);
  filter: blur(0.3vh);
}

.reveal.from-left.active {
  transform: translateX(0) scale(1);
  filter: blur(0);
}

.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}
.delay-4 {
  transition-delay: 0.4s;
}
.delay-5 {
  transition-delay: 0.5s;
}
.delay-6 {
  transition-delay: 0.6s;
}
.delay-7 {
  transition-delay: 0.7s;
}

/* ═══════════════════════════════════════════════════
   THEME TOGGLE BUTTON
═══════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════
   ABOUT HEADER — روی hero-section
═══════════════════════════════════════════════════ */
.about-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  padding: 2vh 4vh;
}

.about-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.about-header__logo img {
  height: 5.5vh;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1); /* لوگو روی تصویر تیره سفید بشه */
}

/* hero باید position: relative داشته باشه */
.hero-section {
  position: relative;
}

/* ─── دکمه تم روی hero (رنگ سفید چون پس‌زمینه تیره‌ست) ─── */
.about-header .theme-toggle {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.about-header .theme-toggle:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.1) rotate(15deg);
}

.theme-toggle {
  position: relative;
  width: 4.2vh;
  height:4.2vh;
  border-radius: 50%;
  border: 0.2vh solid var(--border);
  background: var(--white);
  color: var(--text);
  cursor: pointer !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
  overflow: hidden;
}

.theme-toggle:hover {
  background: var(--bg-light);
  border-color: var(--primary);
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 0.5vh 2vh rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .theme-toggle:hover {
  box-shadow: 0 0.5vh 2vh rgba(0, 0, 0, 0.4);
}

/* ─── آیکون‌ها ────────────────────────────────── */
.theme-toggle__icon {
  position: relative;
  width: 0.4vh;
  height: 0.4vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle svg {
  position: absolute;
  width: 2.4vh;
  height: 2.4vh;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* حالت روشن: خورشید نشان بده، ماه پنهان */
.icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
  color: var(--accent, #ffb400);
}

.icon-moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
  fill: none;
}

/* حالت دارک: ماه نشان بده، خورشید پنهان */
[data-theme="dark"] .icon-sun {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

[data-theme="dark"] .icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
  color: var(--accent, #ffc933);
}

/* ─── اگه داخل ناوبار هست ───────────────────── */
.nav-actions .theme-toggle,
.header-icons .theme-toggle {
  margin-inline-start: 1vh;
}

/* ─── نسخه فیکس گوشه صفحه (اختیاری) ─────────── */
.theme-toggle--fixed {
  position: fixed;
  bottom: 4vh;
  left: 2.6vh;
  z-index: 9999;
  width: 5.85vh;
  height: 5.85vh;
  box-shadow: 0 0.65vh 3vh rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .theme-toggle--fixed {
  box-shadow: 0 0.65vh 3vh rgba(0, 0, 0, 0.5);
}

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 5vh 3vh 2vh;
  margin-top: 6vh;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 4vh;
  margin-bottom: 4vh;
}

.footer-section h3 {
  font-size: 2vh;
  font-weight: 700;
  margin-bottom: 2vh;
  color: var(--primary);
  position: relative;
  padding-bottom: 1vh;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.footer-section p {
  font-size: 1.5vh;
  line-height: 1.8;
  color: var(--gray-light);
  margin-bottom: 1.5vh;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 1.2vh;
}

.footer-section ul li a {
  color: var(--gray-light);
  text-decoration: none;
  font-size: 1.5vh;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.8vh;
}

.footer-section ul li a::before {
  content: "◀";
  font-size: 1vh;
  transition: transform 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--);
  padding-right: 1vh;
}

.footer-section ul li a:hover::before {
  transform: translateX(-0.5vh);
}

.social-links {
  display: flex;
  gap: 1.5vh;
  margin-top: 2vh;
  flex-wrap: wrap;
}

.social-links a {
  width: 4.5vh;
  height: 4.5vh;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-0.5vh);
}

.social-links a svg {
  width: 2.2vh;
  height: 2.2vh;
  stroke: var(--black);
  transition: stroke 0.3s ease;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 3vh;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2vh;
}

.footer-bottom p {
  font-size: 1.4vh;
  color: var(--gray);
  margin: 0;
}

.footer-bottom a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.payment-methods {
  display: flex;
  gap: 1.5vh;
  align-items: center;
}

.payment-methods img {
  height: 3vh;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  filter: grayscale(100%);
}

.payment-methods img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

footer {
  background-color: var(--bg-light);
  color: var(--dark);
}
footer ul {
  list-style-type: none;
}
footer ul li a {
  text-decoration: none;
  color: var(--dark);
}
footer ul li a:hover {
  color: var(--accent);
}

/* ==================== Scroll to Top Button ==================== */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  background: var(--bg-dark-section);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* ==================== Header Scroll Effect ==================== */
.about-header {
  transition: all 0.3s ease;
}

.about-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .about-header.scrolled {
  background: rgba(26, 26, 26, 0.95);
}

.about-header.hidden {
  transform: translateY(-100%);
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .about-intro-wrapper,
  .values-grid,
  .brand-story-layout {
    max-width: 100%;
  }

  .brand-story {
    padding: 5.2vh 3vh;
  }
}

@media (max-width: 900px) {
  .hero-section {
    height: 42vh;
    background-attachment: scroll;
  }

  .hero-content h1 {
    font-size: 4vh;
  }
  .hero-content p {
    font-size: 1.7vh;
  }

  .about-intro-wrapper {
    flex-direction: column;
    gap: 3vh;
  }

  .about-intro-badge {
    width: 100%;
    min-width: unset;
    padding: 3vh 2vh;
  }

  .badge-number {
    font-size: 4vh;
  }

  .stats-section {
    gap: 2vh;
    padding: 4vh 2vh;
  }

  .stat-item {
    min-width: 14vh;
    padding: 1.5vh 2vh;
  }

  .stat-number {
    font-size: 3.4vh;
  }

  .brand-story-layout {
    grid-template-columns: 1fr;
    gap: 3.5vh;
  }

  .story-image {
    position: relative;
    top: auto;
    height: 28vh;
  }

  .timeline {
    padding-right: 3vh;
  }
  .timeline-item {
    margin-bottom: 3.5vh;
  }

  footer {
    padding: 5vh 5% 3vh;
    grid-template-columns: 1fr 1fr;
    gap: 3vh;
  }
}

@media (max-width: 600px) {
  .hero-section {
    height: 36vh;
  }
  .hero-content h1 {
    font-size: 3.4vh;
  }
  .hero-content p {
    font-size: 1.5vh;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 2vh;
  }

  .value-card {
    padding: 2.5vh;
  }

  .stats-section {
    flex-direction: column;
    align-items: center;
    gap: 1.5vh;
  }

  .stat-item {
    width: 80%;
  }

  .brands-about {
    gap: 1.5vh;
    padding: 3vh 2vh;
  }

  .brands-about .brand-card {
    padding: 1.8vh 3vh;
    font-size: 1.5vh;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 2.5vh;
  }
}

@media (max-width: 400px) {
  .hero-section {
    height: 30vh;
  }
  .hero-content h1 {
    font-size: 3vh;
  }
  .story-image {
    height: 22vh;
  }
  .timeline-item h3 {
    font-size: 1.8vh;
  }
  .timeline-item p {
    font-size: 1.4vh;
  }
}
