@font-face {
  font-family: Vazirmatn;
  src: url("./Vazirmatn-Regular.woff2");
}

/* تنظیمات کلی */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Vazirmatn;
}

body {
  background: linear-gradient(135deg, #ffffff, #dbe9ff);

  color: #0b1f3a;

  overflow-x: hidden;
}

/* پیام بالا */

.top-message {
  position: fixed;

  top: -100px;

  right: 20px;

  width: calc(100% - 40px);

  /* background: linear-gradient(135deg, #9c9898, #dbe9ff); */
  background: rgb(0, 146, 0);

  /* color: #0a3d91; */
  color: #ffffff;
  text-align: center;

  padding: 15px;

  font-size: 15px;

  z-index: 9999;

  transition: 0.5s;

  border-radius: 14px;

  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  font-weight: 500;
}

/* نمایش پیام */

.top-message.show {
  top: 20px;
  font-size: 17px;
}

/* هدر */

header {
  width: 100%;

  background: linear-gradient(135deg, #0a3d91, #1d4ed8, #3b82f6);

  color: white;

  padding: 0 40px;
  border-radius: 20px;
  transition: margin-top 0.5s ease;
}

/* حرکت هدر */

header.move-down {
  margin-top: 90px;
}

/* محتویات هدر */

.header-container {
  display: flex;

  justify-content: space-between;

  align-items: center;

  flex-wrap: wrap;
}

/* شماره تماس */

.contact-box {
  line-height: 2.2;
  direction: ltr;
  font-size: 20px;
  text-align: justify;
}
/* لوگو */

.logo {
  text-align: center;
}

.logo img {
  width: 180px;
}

.logo h1 {
  margin-top: 10px;

  font-size: 28px;
}

/* پشتیبانی */

.support-box {
  text-align: justify;

  line-height: 2.2;

  font-size: 20px;
}

/* تصاویر */

.gallery {
  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 25px;

  margin-top: 50px;
}

.gallery img {
  width: 85%;

  max-width: 900px;

  border-radius: 20px;

  border: 4px solid white;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* متن */

.description {
  width: 90%;

  max-width: 1000px;

  margin: 60px auto;

  padding: 35px;

  text-align: center;

  line-height: 2.4;

  font-size: 24px;

  color: #0a3d91;

  font-weight: 800;

  background: rgba(255, 255, 255, 0.55);

  border: 1px solid rgba(255, 255, 255, 0.4);

  backdrop-filter: blur(12px);

  border-radius: 28px;

  box-shadow:
    0 10px 30px rgba(37, 99, 235, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

#mainText {
  margin-top: 25px;

  background: linear-gradient(135deg, #ff3b30, #ff6b00);

  color: white;

  padding: 20px 30px;

  border-radius: 20px;

  font-size: 22px;

  font-weight: 700;

  line-height: 2;

  text-align: center;

  max-width: 950px;

  margin-right: auto;

  margin-left: auto;

  box-shadow: 0 10px 25px rgba(255, 107, 0, 0.35);

  animation: pulseBox 2s infinite;
}

/* انیمیشن */

@keyframes pulseBox {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

.qr-wrapper {
  width: 90%;

  margin: 70px auto;

  display: flex;

  justify-content: center;

  align-items: center;

  gap: 70px;

  flex-wrap: wrap;

  direction: ltr;
}

/* ستون QR */

.qr-left {
  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  gap: 20px;
}

/* ستون متن */

.qr-right {
  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  text-align: center;

  gap: 20px;
}

.qr-right h2 {
  font-size: 38px;

  color: #0a3d91;
}

.qr-right p {
  font-size: 20px;

  line-height: 2;

  max-width: 400px;

  color: #444;
}

/* دکمه ها */

.catalog-btn,
.share-btn,
.download-btn {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  background: linear-gradient(135deg, #0a3d91, #2563eb);

  color: white;

  border: none;

  padding: 12px 22px;

  border-radius: 12px;

  text-decoration: none;

  cursor: pointer;

  font-size: 18px;

  transition: 0.3s;

  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.25);
}

.catalog-btn:hover,
.share-btn:hover,
.download-btn:hover {
  transform: translateY(-4px);
}

/* موبایل */

@media (max-width: 768px) {
  .qr-wrapper {
    flex-direction: column;
    .qr-right {
      order: 1;
    }

    .qr-left {
      order: 2;
    }
    gap: 40px;
  }
  .catalog-btn,
  .download-btn,
  .share-btn {
    font-size: 15px;
  }
}
/* شبکه اجتماعی */

.socials {
  display: flex;

  justify-content: center;

  align-items: center;

  flex-wrap: wrap;

  gap: 22px;

  margin: 50px auto;

  width: 100%;
}

/* هر آیکون */

.socials a {
  width: 60px;

  height: 60px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 25px;

  transition: 0.3s;

  text-decoration: none;

  background: white;

  box-shadow: 0 5px 18px rgba(37, 99, 235, 0.18);
}

/* هاور */

.socials a:hover {
  transform: translateY(-6px) scale(1.06);
}

/* عکس داخل */

.socials img {
  width: 50px;

  height: 50px;

  object-fit: contain;
}

/* موبایل */

@media (max-width: 768px) {
  .socials {
    width: 260px;

    gap: 18px;
  }

  .socials a {
    width: 72px;

    height: 72px;
  }

  .socials img {
    width: 52px;

    height: 52px;
  }
}
.visit-box {
  margin-top: 25px;

  font-size: 18px;

  color: #0a3d91;

  font-weight: bold;
}

.visit-box span {
  background: #0a3d91;

  color: white;

  padding: 5px 14px;

  border-radius: 10px;

  margin-right: 10px;
}

.visit-box {
  width: fit-content;

  margin: 40px auto;

  background: linear-gradient(135deg, #0a3d91, #2563eb);

  color: white;

  padding: 14px 24px;

  border-radius: 14px;

  font-size: 18px;

  font-weight: bold;

  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);

  display: flex;

  align-items: center;

  gap: 12px;
}

/* عدد بازدید */

.visit-box span {
  background: white;

  color: #0a3d91;

  padding: 5px 14px;

  border-radius: 10px;

  font-size: 20px;
}
/* فوتر */

footer {
  background: linear-gradient(135deg, #081c3d, #0a3d91);

  color: white;

  padding: 35px 20px;

  text-align: center;
}

.footer-address {
  line-height: 2.2;

  margin-bottom: 20px;
}

.creator a {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 12px;

  text-decoration: none;

  color: white;

  transition: 0.3s;
}

.creator a:hover {
  transform: scale(1.03);

  opacity: 0.9;
}

.creator img {
  width: 50px;

  height: 50px;

  border-radius: 12px;

  background: white;

  padding: 4px;
}

.creator span {
  color: #7bb3ff;

  font-size: 14px;
}

.creator span {
  color: #7bb3ff;
}

/* ریسپانسیو */

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;

    gap: 30px;

    text-align: center;
  }

  .support-box {
    text-align: center;
  }

  .gallery img {
    width: 95%;
  }

  .description {
    width: 92%;
  }
}
