/* تنظیمات کلی */
body {
    font-family: 'IRANSans', Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: linear-gradient(to bottom, #7E99A3, #EEEEEE);
    color: #333;
    direction: rtl;
  }
  
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #00ADB5;
    color: #fff;
  }
  
  header .logo {
    font-size: 1.5rem;
  }
  
  header nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  header nav ul li {
    margin-left: 20px;
  }
  
  header nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
  }
  
  .hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: #8EB486;
  }
  
  .hero-text h1 {
    font-size: 2rem;
    margin: 0;
  }
  
  .hero-image img {
    width: 150px;
    height: auto;
  }
  
  .popular-books {
    text-align: center;
    padding: 20px;
  }
  
  .popular-books h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  
  .book-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .book-card {
    background: #EFF3EA;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px;
    text-align: center;
    width: 120px;
    text-decoration: none; /* حذف خط زیر لینک */
    color: inherit; /* رنگ متن پیش‌فرض */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
 
  .book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2), 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  
  .book-details {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #EFF3EA;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  .book-images {
    text-align: center;
  }
  
  .book-images .main-image {
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    margin-bottom: 10px;
  }
  
  .thumbnail-images img {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    margin: 5px;
    cursor: pointer;
    transition: transform 0.2s;
  }
  
  .thumbnail-images img:hover {
    transform: scale(1.1);
  }
  
  .book-info {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
  }
  
  .book-info th, .book-info td {
    text-align: center;
    padding: 10px;
    border: 1px solid #ddd;
  }
  
  .book-info th {
    background: #DDE8D4;
    font-weight: bold;
  }
  
  .book-description h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  
  .book-description p {
    line-height: 1.6;
    font-size: 16px;
  }
  
  .rating {
    text-align: center;
    margin-top: 20px;
  }
  
  .rating .star, .rating .star-empty {
    font-size: 24px;
    color: #FFD700;
  }
  
  .rating .star-empty {
    color: #ddd;
  }
  


  .book-card img {
    width: 100%;
    border-radius: 8px;
  }
  
  .book-card h3 {
    font-size: 0.9rem;
    margin: 10px 0 0;
  }
  
  footer {
    background-color: #393E46;
    color: #FDF7F4;
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
  }
  



  