@font-face {
  font-family: 'myFont';
  src: url('../fonts/Yekan.ttf');
}

*{
  padding:0;
  margin:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
  height: 100%;
}

body {
  font-family: 'myFont';
  height: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color:#121012;
  background-position: center;
  background-attachment: fixed;
  margin: 0;
  padding-bottom: 90px;
  position: relative;
  z-index: 1;
}

footer{
  color:white;
  margin-top:auto;
}

 
/* برای گوشی‌ها و صفحه‌های کوچک */
@media (max-width: 768px) {
  body {
    font-size: 12px;
  }
}

/* ============================================================
   فوتر
   ============================================================ */
.footer-custom{
    padding: 15px 0 90px;
    border-radius: 50px 50px 0 0;
    background: rgba(32,32,32,0.55);
    border: 1px solid rgba(255,225,31,.15);
    color: #fff;
}

.footer-title{
    color: #ffe11f;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-title i{
    margin-left: 8px;
}

.footer-heading{
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-text{
    color: #ffe11f;
    font-size: 15px;
}

.footer-links a{
    color: #d8d8d8;
    text-decoration: none;
}

.footer-divider{
    border-color: rgba(255,225,31,.2);
    margin: 25px 0;
}

.copyright{
    color: #d0d0d0;
    font-size: 14px;
}

.copyright span{
    color: #ffe11f;
    font-weight: bold;
}

.designer-link {
    text-decoration: none;
    color: #ffe11f;
    position: relative;
    padding-bottom: 2px;
    border-bottom: 1px dashed rgba(255, 225, 31, 0.5);
}

.designer-link i {
    font-size: 0.85em;
    margin-left: 4px;
    opacity: 0.8;
}

/* ============================================================
   Bottom Navigation
   ============================================================ */
.bottom-nav{
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;

  height: 68px;

  background: #17130f;
  border-top: 1px solid rgba(217,164,65,0.14);

  display: flex;
  justify-content: space-around;
  align-items: center;

  z-index: 2000;
}

.bottom-nav a{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;

  width: 20%;
  height: 100%;

  text-decoration: none;
  color: rgba(255,255,255,0.42);

  font-size: 10.5px;
  gap: 4px;
  padding-bottom: 10px;
}

.bottom-nav a .nav-icon{
  display: flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;
  border-radius: 50%;

  font-size: 16px;
  color: inherit;
}

.bottom-nav a.active{
  color: var(--gold, #d9a441);
}

.bottom-nav a.active .nav-icon{
  background: linear-gradient(135deg, var(--gold-light, #f4d98a), var(--gold, #d9a441));
  color: #1c1408;
}

.bottom-nav a.active .nav-label{
  font-weight: 600;
}

/* ============================================================
   هدر بالا
   ============================================================ */
.top-header{
  margin: 0 !important;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100% !important;
  padding: 15px 25px;
  padding-bottom: 50px;
  background: #111;
  border-radius: 0;
  height: 75px;
  z-index: 1000;
}

 

.top-header-inner{
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-header-logo{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
}

.logo{
  display: block;
  border-radius: 10px;
}

/* حلقه‌ی نور ملایم پشت لوگو — استاتیک، بدون بلر و انیمیشن */
.logo-glow{
  position: absolute;
  top: 50%; left: 50%;
  width: 90px;
  height: 90px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,164,65,0.2), transparent 70%);
}

.desktop-menu{
    display:flex;
    gap:25px;
}

.desktop-menu a{
    color:#fff;
    text-decoration:none;
}

.media-btn{
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  padding: 0;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  border: 1px solid rgba(217,164,65,0.35);
  background: rgba(217,164,65,0.08);
  margin-left: 10px;
  margin-bottom: 70px;
  text-align: center;
}

.media-btn i{
  font-size: 20px;
  line-height: 1;
}

.menu-toggle{
    display:none;
    border:none;
    background:none;
    color:#fff;
    font-size:28px;
    cursor:pointer;
}

@media(max-width:768px){
    .desktop-menu{ display:none; }
    .menu-toggle{ display:block; }
    .top-header-logo img{ width:50px; }
}

/* ---------- Overlay ---------- */
.menu-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    opacity:0;
    visibility:hidden;
    transition:.3s;
    z-index:1998;
}

.menu-overlay.show{
    opacity:1;
    visibility:visible;
}

/* ---------- Offcanvas ---------- */
.mobile-menu{
    position:fixed;
    top:0;
    right:-300px;

    width:280px;
    max-width:80%;
    height:100vh;

    background:#1b1b1b;

    z-index:1999;

    transition:.35s ease;

    display:flex;
    flex-direction:column;

    padding:25px;
}

.mobile-menu.open{
    right:0;
}

.mobile-header{
    display:flex;
    justify-content:flex-end;
    margin-bottom:30px;
}

.mobile-header button{
    background:none;
    border:none;
    color:#fff;
    font-size:28px;
    cursor:pointer;
}

.mobile-menu a{
    color:#fff;
    text-decoration:none;

    padding:15px 0;

    display:flex;
    align-items:center;
    gap:12px;

    border-bottom:1px solid rgba(255,255,255,.08);
}