body{
    background-color: #b9b9b9;
    margin: 0;
    padding: 0;
}








header {
    background: #3c2f2f;
    color: #f5e6cc;
    padding: 0.6rem 1rem; /* کاهش ارتفاع */
    position: relative;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid #8a5522;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* سه بخش چپ، وسط، راست */
.header-left,
.header-center,
.header-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* موقعیت‌های دقیق */
.header-left {
    justify-content: flex-start;
    font-size: larger;
}

.header-right {
    justify-content: flex-end;
    font-size: larger;
}

/* لوگو */
.logo {
    height: 80px;
    width: 100px;
    object-fit: contain;
}

/* عنوان */
.header-right h1 {
    font-size: 1.6rem;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.home-icon i {
    font-size: 20px; /* یا هر مقدار دلخواه مثلاً 24px */
    color: #f5e6cc;
    transition: color 0.3s;
}

.home-icon i:hover {
    color: #e6b800;
}

/* رسپانسیو برای موبایل */
@media (max-width: 768px) {
    header {
        padding: 0.3rem 0.5rem;
        padding: 0rem 0.4rem; /* کاهش ارتفاع */
        font-size: x-small;
    }

    .logo {
    width: 60px; /* اندازه کوچکتر در موبایل */
    height: 50px;
    padding: 0;
    margin: 0;
    }

    .header-right h1 {
        font-size: 1.4rem;
    }
        .header-left h1 {
        font-size: 1.5rem;
    }

    .header-left a {
        font-size: 1.4rem;
    }

}








#scrollToTopBtn {
    display: none; 
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #04359e;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 24px;
    line-height: 50px;
    text-align: center;
    transition: all 0.3s ease;
    animation:pulse 3s infinite;
  }
  
  #scrollToTopBtn:hover {
    background-color: #a52a2a;
    transform: scale(1.2)
    rotate(360deg);
    box-shadow: 0 0 15px rgb(0, 0, 0,0.3);
  }
  @keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 #556b2f;
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
}







/* ریست حاشیه‌ها و پدینگ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* استایل محتوای اصلی */
.content {
  padding: 40px;
  text-align: center;
  min-height: 80vh; /* برای اطمینان از اینکه فوتر در پایین باشد */
}

/* استایل فوتر */
.footer {
  background-color: #2d2d2d; /* خاکستری تیره برای کنتراست */
  color: #ffffff;
  padding: 40px 20px;
  text-align: center;
  width: 100%;
}

/* محتوای فوتر */
.footer-content {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* دکمه درباره ما */
.about-button .btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #05396d; /* آبی جذاب */
  color: #ffffff;
  text-decoration: none;
  border-radius: 25px;
  font-size: 20px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.about-button .btn:hover {
  background-color: #1678d6; /* تیره‌تر هنگام هاور */
  transform: translateY(-2px);
}

/* آیکون‌های شبکه‌های اجتماعی */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icons a {
  color: #f7f2f2;
  font-size: 28px;
  transition: color 0.3s ease, transform 0.2s ease;
}

.social-icons a:hover {
  color: #4134ee; /* آبی هنگام هاور */
  transform: scale(1.1);
}

/* استایل ایمیل */
.email p {
  font-size: 20px;
}

.email a {
  color: #3960bb;
  text-decoration: none;
}

.email a:hover {
  text-decoration: underline;
}

/* استایل کپی‌رایت */
.copyright p {
  font-size: 20px;
  color: #ffffff;
  margin-top: 10px;
}

/* برای نمایش بهتر در موبایل */
@media (max-width: 768px) {
  .footer {
      padding: 30px 15px;
  }

  .social-icons a {
      font-size: 24px;
      gap: 15px;
  }

  .about-button .btn {
      padding: 10px 20px;
      font-size: 17px;
  }

  .email p {
      font-size: 17px;
  }

  .copyright p {
      font-size: 17px;
  }
}








.episode-card {
    display: flex;
    background-color: #0d1c33;
    border-radius: 16px;
    padding: 15px;
    margin: 20px auto;
    max-width: 600px;
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    direction: rtl;
  }
  
  .episode-left img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
  }
  
  .episode-left {
    margin-right: 15px;
  }
  
  .episode-right {
    flex: 1;
  }
  
  .episode-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .episode-header h4 {
    margin: 0;
    font-size: 14px;
    color: #ccc;
  }
  
  .icons button {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    margin-left: 5px;
  }
  
  .episode-right h3 {
    margin: 5px 0;
    font-size: 16px;
  }
  
  .episode-right p {
    font-size: 13px;
    margin-bottom: 10px;
    color: #aaa;
  }
  
  .episode-right audio {
    width: 100%;
  }
  
  /* Responsive */
  @media (max-width: 600px) {
    .episode-card {
      flex-direction: column;
      text-align: center;
    }
  
    .episode-left {
      margin: 0 auto 10px auto;
    }
  
    .episode-left img {
      width: 80px;
      height: 80px;
    }
  
    .episode-header {
      flex-direction: column;
      gap: 5px;
    }
  }