@font-face {
  font-family: 'myFont';
  src: url('../fonts/Yekan.ttf');
}

*{
  padding:0;
  margin:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body {
  font-family: 'myFont';
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* background-image: url('../images/18129294.jpg'); */
  background-color:#1c1c22;
/* background: #EEAECA;
background: radial-gradient(circle, rgba(238, 174, 202, 1) 0%, rgba(148, 187, 233, 1) 100%);  background-size: cover; */
  background-position: center;
  background-attachment: fixed;
  margin: 0;
    position: relative;
  z-index: 1;

}

.main-content {
  flex: 1; /* این باعث میشه محتوا فضای باقی‌مانده رو پر کنه */
}

/* overlay */
body::before{
  content:"";
  position:fixed;
  inset:0;
   z-index:-1;
 }

@keyframes gradientShift{
  0%, 100%{
    opacity:1;
  }
  50%{
    opacity:0.85;
  }
}

/* Glass */
.glass {
  background: #000000;  
 }

/* Navbar */
.navbar{
  padding:16px 0;

border-radius: 0 0 10px 10px;
}

/* جست‌وجوی صوت؛ کنترل‌ها مستقل‌اند تا اندازهٔ لوگو ثابت بماند. */
.nav-actions { display:flex; align-items:center; gap:.45rem; }
.header-search-trigger { min-height:38px; padding:.45rem .72rem; border:1px solid rgba(255,225,31,.32); border-radius:10px; color:#ffe11f; background:rgba(255,225,31,.08); font:inherit; line-height:1; transition:.25s ease; }
.header-search-trigger i { margin-left:.3rem; }
.header-search-trigger:hover, .header-search-trigger:focus-visible { color:#161616; background:#ffe11f; border-color:#ffe11f; box-shadow:0 0 0 .2rem rgba(255,225,31,.15); }

.audio-search-modal { position:fixed; z-index:1060; inset:0; display:grid; place-items:start center; padding:clamp(5.5rem,12vh,8rem) 1rem 1rem; visibility:hidden; opacity:0; transition:opacity .25s ease,visibility .25s ease; }
.audio-search-modal.is-open { visibility:visible; opacity:1; }
.audio-search-backdrop { position:absolute; inset:0; background:rgba(4,5,8,.72); backdrop-filter:blur(8px); }
.audio-search-panel { position:relative; width:min(100%,620px); padding:clamp(1.1rem,3vw,1.75rem); border:1px solid rgba(255,225,31,.2); border-radius:22px; background:linear-gradient(145deg,#29282b,#17171a); box-shadow:0 24px 70px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.06); transform:translateY(-12px) scale(.98); transition:transform .25s ease; }
.audio-search-modal.is-open .audio-search-panel { transform:translateY(0) scale(1); }
.audio-search-heading { display:flex; align-items:start; justify-content:space-between; gap:1rem; margin-bottom:1.25rem; }
.audio-search-kicker { color:#f4bf35; font-size:.85rem; }
.audio-search-heading h2 { margin:.4rem 0 0; color:#fff; font-size:clamp(1.2rem,3vw,1.55rem); }
.audio-search-close { display:grid; width:34px; height:34px; place-items:center; border:0; border-radius:50%; color:#ddd; background:rgba(255,255,255,.08); transition:.2s ease; }
.audio-search-close:hover { color:#17171a; background:#ffe11f; transform:rotate(90deg); }
.audio-search-field { display:flex; align-items:center; gap:.75rem; padding:.15rem .9rem; border:1px solid rgba(255,255,255,.13); border-radius:14px; background:rgba(0,0,0,.24); color:#f4bf35; }
.audio-search-field:focus-within { border-color:rgba(255,225,31,.8); box-shadow:0 0 0 .2rem rgba(255,225,31,.1); }
.audio-search-field input { width:100%; min-width:0; padding:.7rem 0; border:0; outline:0; color:#fff; background:transparent; font:inherit; font-size:1rem; }
.audio-search-field input::placeholder { color:#9d9da1; }
.audio-search-hint { margin:.75rem .1rem; color:#aaa; font-size:.82rem; }
.audio-search-results { display:grid; gap:.55rem; min-height:64px; }
.audio-search-empty { display:flex; min-height:64px; align-items:center; justify-content:center; gap:.6rem; border:1px dashed rgba(255,255,255,.12); border-radius:13px; color:#bcbcc0; }
.audio-search-empty i { color:#f4bf35; }
.audio-search-result { display:flex; align-items:center; gap:.8rem; padding:.75rem; border:1px solid rgba(255,255,255,.07); border-radius:13px; color:#fff; background:rgba(255,255,255,.035); text-decoration:none; transition:.2s ease; }
.audio-search-result:hover { color:#fff; border-color:rgba(255,225,31,.46); background:rgba(255,225,31,.09); transform:translateX(-3px); }
.audio-result-index { color:#f4bf35; font-size:.78rem; }
.audio-result-copy { display:grid; flex:1; min-width:0; gap:.18rem; }
.audio-result-copy strong, .audio-result-copy small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.audio-result-copy strong { font-size:.95rem; }
.audio-result-copy small { color:#aaa; }
.audio-search-result > i { display:grid; width:28px; height:28px; place-items:center; border-radius:50%; color:#201f1d; background:#ffe11f; font-size:.72rem; }
.search-modal-open { overflow:hidden; }

@media (max-width: 991.98px) {
  .nav-actions { gap:.28rem; }
  .header-search-trigger { width:38px; padding:.45rem 0; }
  .header-search-trigger i { margin:0; }
  .header-search-trigger span { display:none; }
  #btn-links { width:38px; min-height:38px; justify-content:center; padding:.45rem 0; }
  #btn-links span { display:none; }
  #btn-links i { margin:0; }
}

/* In the hamburger header, a three-column grid keeps the logo centred while
   the logo itself still defines the header's original height. */
@media (max-width: 991.98px) {
  .navbar > .container {
    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:center;
  }
  .navbar > .container > .navbar-toggler {
    grid-column:1;
    justify-self:start;
  }
  .navbar > .container > .nav-actions {
    grid-column:3;
    justify-self:end;
  }
  .navbar > .container > a.mx-auto {
    grid-column:2;
    margin:0 !important;
  }
  .navbar > .container > .navbar-collapse { grid-column:1 / -1; }
}


.navbar-brand{
  font-size:1.4rem;
  background:linear-gradient(135deg, #00ffd5 0%, #00d4ff 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  font-weight:bold;
  transition:all 0.3s ease;
  position:relative;
}

.navbar-brand::after{
  content:"";
  position:absolute;
  bottom:-5px;
  left:0;
  width:0;
  height:2px;
  background:linear-gradient(90deg, #00ffd5, #00d4ff);
  transition:width 0.4s ease;
}

.navbar-brand:hover::after{
  width:100%;
}

.navbar-brand .nv{
  border-radius:50%;
  margin-left:10px;
  border:3px solid #00ffd5;
  transition:all 0.4s ease;
  box-shadow:0 0 20px rgba(0,255,213,0.4);
  size: 150px;
 }

@keyframes pulse{
  0%, 100%{
    box-shadow:0 0 20px rgba(0,255,213,0.4);
  }
  50%{
    box-shadow:0 0 30px rgba(0,255,213,0.7);
  }
}



.nav-link{
  color:white !important;
  transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position:relative;
  padding:8px 16px !important;
}

.nav-link::before{
  content:"";
  position:absolute;
  bottom:0;
  left:50%;
  transform:translateX(-50%);
  width:0;
  height:2px;
  background:linear-gradient(90deg, #000000, #ffe11f);
  transition:width 0.4s ease;
}

.nav-link:hover{
  color:#f4bf35 !important;
  transform:translateY(-3px);
}

.nav-link:hover::before{
  width:80%;
}

.nav-link.active{
  color:#f4bf35 !important;
}

.nav-link.active::before{
  width:80%;
}

 

/* Force body and html to take full height */
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

/* Main content grows to fill available space */
main.container {
  flex: 1;
}
footer{
  color:white;
  margin-top:auto;
  animation:fadeIn 1.5s ease-out;
  transition:all 0.3s ease;
}

 /* برای گوشی‌ها و صفحه‌های کوچک */
@media (max-width: 768px) {
  body {
    font-size: 12px; /* سایز فونت کوچکتر نسبت به دسکتاپ */
  }

  .navbar-brand {
    font-size: 1.2rem; /* کوچکتر کردن عنوان برند */
  }

  .nav-link {
    padding: 6px 12px !important; /* کم کردن فاصله لینک‌ها */
    font-size: 0.9rem;
  }

  .login-btn {
    padding: 8px 20px;
    font-size: 0.9rem;
  }
}


  body {
    font-size: 12px; /* سایز فونت کوچکتر نسبت به دسکتاپ */
  }

  .navbar-brand {
    font-size: 1.2rem; /* کوچکتر کردن عنوان برند */
  }

  .nav-link {
    padding: 6px 12px !important; /* کم کردن فاصله لینک‌ها */
    font-size: 0.9rem;
  }

  .login-btn {
    padding: 8px 20px;
    font-size: 0.9rem;
  }





  /* دسکتاپ */
@media (min-width: 992px) {
  #btn-links { order: 3; }     /* چپ */
  .nav-actions { order:3; }
  .nav-actions #btn-links { order:initial; }
  .navbar-collapse { order: 2; } /* وسط */
  .navbar-brand { order: 1; margin-left: auto; } /* راست */
  .navbar-toggler { display: none; } /* همبرگر مخفی */
}

.designer-name{
  color: #f4bf35;
  text-decoration: none;

  padding: 2px 10px;
  border-radius: 20px;

  background: rgba(244, 191, 53, 0.15);

  font-weight: bold;

  transition: 0.3s;
  display: inline-block;
}

/* hover جذاب */
.designer-name:hover{
  background: #f4bf35;
  color: #000;
  transform: scale(1.05);
}



.footer-custom{
    padding: 50px 0 20px;
    border-radius: 50px 50px 0 0;
    background: rgba(32,32,32,0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(255,225,31,.15);

    box-shadow:
        0 -10px 30px rgba(0,0,0,.35),
        inset 0 1px 0 rgba(255,255,255,.05);

    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 li{
    margin-bottom: 10px;
}

.footer-links a{
    color: #d8d8d8;
    text-decoration: none;
    transition: .3s;
}

.footer-links a:hover{
    color: #ffe11f;
    padding-right: 8px;
}

.footer-contact p{
    color: #d8d8d8;
    margin-bottom: 12px;
}

.footer-contact i{
    color: #ffe11f;
    margin-left: 8px;
}

.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;
}
 
.footer-custom{
    padding: 15px 0 20px;
}



.designer-link {
    text-decoration: none;
    color: #ffe11f;
    position: relative;
    transition: all 0.3s ease;
    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;
}

.designer-link:hover {
    color: #fff;
    border-bottom: 1px solid #ffe11f;
    text-shadow: 0 0 8px rgba(255, 225, 31, 0.6);
}
