/* ============================
   RESET & BASE
============================ */

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, IRANSansWEB, sans-serif;
/*  overflow-x: hidden; */

}

/* ============================
   HAMBURGER
============================ */

.hamburger {
  position: fixed;
  top: 89px;
  right: 415px;
  width: 32px;
  height: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 9999;
}

.hamburger span {
  height: 5px;
  background: #000;
  border-radius: 3px;
  transition: 0.35s ease;

}
#hamburger {
  transition: opacity 0.4s ease;
}
#hamburger.hide {
  opacity: 0;
  pointer-events: none;
}

/* افکت ضربدر */
.hamburger.open span:nth-child(1) {
  transform: rotate(42deg) translate(4px, 5px) scaleX(1.3);
  background: #fff;
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: translateX(0px) scaleX(0.1);
  background: #fff;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-44deg) translate(4px, -5px) scaleX(1.3); 
  background: #fff;
}

/* ============================
   MENU
============================ */

.menu {
 position: fixed;
  inset: 0;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
  transform: scale(0.96) translateY(10px);
  z-index: 1500;
}

.menu.open {
  opacity: 0.96;
  pointer-events: auto;
  transform: scale(1) translateY(0);
}

/* ============================
   CANVAS LAYER
============================ */

.smart-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

/* ============================
   MENU CONTENT
============================ */

.menu-content {
  position: relative;
  z-index: 10;
  text-align: center;
  margin-top: 120px;
  color: #f1f1f1;
}

.menu-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #f1f1f1;

}

.menu-sub {
  font-size: 16px;
  opacity: 0.7;
  color: #fff;
  margin-top: -10px;
  margin-bottom: 40px;
}
/*
a:link {
  color: #fff;
  background-color: transparent;
  text-decoration: none;
  font-size: 40px;
  font-family: IRANSansWeb, Tahoma;
  margin-bottom: 20px;
}
a:visited {
  color: #fff;
  font-size: 40px;
  font-family: IRANSansWeb, Tahoma;
  margin-bottom: 20px;
}
*/
#menu-link-css {
  color: #fff; 
  background-color: transparent;
  text-decoration: none;
  font-size: 40px;
  font-family: IRANSansWeb, Tahoma;
  margin-bottom: 20px;
}
    
/* ============================
   GLOW EFFECT (ملایم)
============================ */

.menu-glow {
  animation: glowPulse 3s infinite ease-in-out;
}

@keyframes glowPulse {
  0%   { opacity: 0.85; text-shadow: 0 0 0px rgba(255,255,255,0.0); }
  50%  { opacity: 1;    text-shadow: 0 0 8px rgba(255,255,255,0.70); }
  100% { opacity: 0.85; text-shadow: 0 0 0px rgba(255,255,255,0.0); }
}

/* ============================
   MENU FOOTER (فقط داخل منو)
============================ */

.menu-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 14px 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255,255,255,0.08);
  z-index: 20;
}

.footer-inner {
  width: 100%;
  text-align: center;
  color: #fff;
  font-size: 13px;
  opacity: 0.8;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.footer-brand {
  font-weight: 600;
}

.footer-copy {
  font-weight: 300;
}

/* ============================
   RESPONSIVE
============================ */

/* Extra small Mobile */
@media (max-width: 575.98px) {
  .menu-title {
    font-size: 30px;
    margin-top: -60px;

  }
  .menu-sub {
    font-size: 9.4px;
  }
  .hamburger {
  top: 77px;
  right: 5px;
  }
}
/*  Mobile */
@media (min-width: 576px) and (max-width: 767.98px) {
  .menu-title {
    font-size: 30px;
    margin-top: -60px;

  }
  .menu-sub {
    font-size: 9.4px;
  }
  .hamburger {
  top: 88px;
  right: 5px;
  }
}
/* Tablet */
@media (min-width: 768px) and (max-width: 991.98px) {
  .menu-title {
    font-size: 30px;
    margin-top: -60px;

  }
  .menu-sub {
    font-size: 9.4px;
  }
  .hamburger {
  top: 88px;
  right: 5px;
  }
}
/* laptop */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .menu-title {
    font-size: 30px;
    margin-top: -60px;

  }
  .menu-sub {
    font-size: 9.4px;
  }
  .hamburger {
  top: 88px;
  right: 24.5%;
  }
}
/* Desktop */
@media (min-width: 1200px) {
  .menu-title {
  font-size: 36px;
  margin-bottom: 10px;
  }
  .menu-sub {
  font-size: 16px;
  }
  .hamburger {
  top: 88px;
  right: 27.4%;
  }
}