:root {
  --blue-accent: #112bb3;
  --bg-dark: #000000;
  --text-light: #ffffff;
}

body,
html {
  margin: 0;
  padding: 0;
  background-color: var(--bg-dark);
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* پس‌زمینه ثابت */
.wave-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../images/Servises-Background.jpg") center/cover no-repeat; /* مسیر عکس خود را چک کنید */
  filter: brightness(0.7);
}

/* هدر */
.container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 99%;
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 30px;
  border-radius: 15px;
}
.logo img {
  height: 45px;
  /* تنظیم اندازه لوگو مطابق عکس */
  width: auto;
  display: block;
}
.nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
}
.nav a {
  text-decoration: none;
  color: #8e8e8e;
  font-size: 14px;
  transition: 0.3s;
}
.nav a:hover {
  color: var(--blue-accent);
}

/* چیدمان اسلایدها */
section {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ۱. تیتر: بالا سمت چپ */
h1 {
  position: absolute;
  top: 15%;
  left: 8%;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transform: translateX(-80px);
  transition: 1s ease-out;
}

/* ۲. توضیحات: دقیقاً وسط */
.description {
  position: absolute;
  width: 35%;
  max-width: 500px;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  opacity: 0;
  transform: translateY(30px);
  transition: 1s ease-out 0.3s;
}

/* ۳. دکمه: پایین سمت راست */
.btn-wrapper {
  position: absolute;
  bottom: 35%;
  right: 10%;
  opacity: 0;
  transform: translateX(80px);
  transition: 1s ease-out 0.6s;
}

.btn-order {
  display: inline-block;
  background: var(--blue-accent);
  color: white;
  padding: 14px 50px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: bold;
}

/* فعال‌سازی انیمیشن اسکرول */
section h1,
section .description,
section .btn-wrapper {
  opacity: 0;
  pointer-events: none; /* غیرفعال کردن کلیک روی المان مخفی */
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); /* انیمیشن نرم‌تر */
}
section h1 {
  transform: translateX(-100px);
}

/* توضیحات از پایین وارد می‌شوند */
section .description {
  transform: translateY(40px);
}

/* دکمه از سمت راست وارد می‌شود */
section .btn-wrapper {
  transform: translateX(100px);
}
section.active h1,
section.active .description,
section.active .btn-wrapper {
  opacity: 1;
  transform: translate(0);
  pointer-events: auto; /* فعال کردن کلیک */
}

/* --- افکت خروج (اختیاری): وقتی کاربر رد می‌شود، محتوا به سمت بالا محو شود --- */
section.exit h1,
section.exit .description,
section.exit .btn-wrapper {
  opacity: 0;
  transform: translateY(-50px);
}
.site-footer {
  padding: 0px 10px;
  position: fixed;
  bottom: 0;
  width: 99%;
}

.site-footer a {
  color: #061f9b;
  text-decoration: none;
}

.footer-card {
  margin: 0 auto;
  background: #efeff1;
  border-radius: 28px;
  padding: 28px 40px 22px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-top {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.6px;
  color: #2c2c4a;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.footer-brand {
  text-align: center;
}

.footer-logo {
  width: 120px;
  height: auto;
  display: block;
  margin: 0 auto 10px;
}

.footer-copy {
  margin: 0 0 10px;
  font-size: 12px;
  color: #3a3a3a;
}

.footer-sub {
  margin: 0;
  font-size: 12px;
  color: #2b2b2b;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 12px;
  color: #2c2c4a;
}

.blue-font {
  color: #061f9b;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-col.center {
  max-width: 520px;
  text-align: center;
  line-height: 1.5;
  color: #2c2c4a;
}

.footer-col.left {
  text-align: left;
}

.footer-col.right {
  text-align: right;
}

/* نشانگر سمت راست */
.side-nav {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 100;
}
.nav-line {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.3);
  margin: 10px 0;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  margin: 8px 0;
  cursor: pointer;
  transition: 0.3s;
}
.dot.active {
  background: #fff;
  transform: scale(1.6);
  box-shadow: 0 0 8px #fff;
}
