html {
    overflow-y: scroll;
    scrollbar-width: none;
  }
  html::-webkit-scrollbar {
    width: 0px;
    background: transparent;
  }
  
  body{
    margin: 0;
    direction: rtl;
    text-align: right;
    background: #000;
    color: #FFD700;
    background: url('/images/pic02.webp') center/cover no-repeat fixed;
    position: relative;
    font-family: Vazirmatn, sans-serif;
  }

  .gallery-container {
    max-width: 1000px;
    margin: 20px auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    padding: 0 15px;
  }
  
  .gallery-container img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
  }
  .gallery-container img:hover {
    transform: scale(1.05);
  }

  .lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    flex-direction: column;
  }
  
  .lightbox img {
    width: 70%;
    height: 90%;
    object-fit: cover;
    border-radius: 10px;
  }
  
  .lightbox span {
    position: absolute;
    color: #FFD700;
    font-size: 40px;
    cursor: pointer;
    user-select: none;
  }
  
  .lightbox .close { top: 20px; right: 30px; }
  .lightbox .prev { top: 50%; left: 30px; transform: translateY(-50%); }
  .lightbox .next { top: 50%; right: 30px; transform: translateY(-50%); }

  @media (max-width: 768px) {
    .lightbox img {
    width: 90%;
    height: 30%;
  }
  
    .lightbox .prev,
    .lightbox .next {
      left: 50%;
      right: auto;
      transform: translateX(-50%);
      font-size: 40px;
    }
  
    .lightbox .next { top: 12%; }
    .lightbox .prev { top: auto; bottom: 12%; }
  }
