    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    body {
      font-family: 'Vazirmatn', sans-serif;
      direction: rtl;
      background: #f6f9f6;
      color: #333;
      line-height: 1.8;   
    } 
 .slider {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  direction: ltr;
}
.slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 1s ease-in-out;
}
.slides img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  flex-shrink: 0;
}
 nav {
  background-color: #772e8b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 1rem 2rem;
}
.nav-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1;
}
.nav-links a {
      color: #fff;
      text-decoration: none;
      font-weight: bold;
      transition: 0.3s;
    }
 .nav-links a:hover {
      color: #ffe600;
    }
 section {
      max-width: 1100px;
      margin: 2rem auto;
      padding: 2rem;
      background-color: #fff;
      border-radius: 1rem;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
 section h2 {
      font-size: 1.8rem;
      margin-bottom: 1rem;
      border-right: 5px solid #772e8b;
      padding-right: 1rem;
    }
.main-content {
  background-image: url('/assets/img/Untitled-1.jpg');
  background-size: cover;
  background-position: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
  background-repeat: no-repeat;
}
.Category-position{
  background-size: cover;
  background-position: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
    border-radius: 72px;
    width: 160px;
    height: 150px;
  text-align: center;
}
.parent-categoryposition{
text-align: center;
}
#Category{
display: flex;
justify-content: space-evenly;
flex-wrap: wrap;
}
.cards-style{
display: flex;
justify-content: space-evenly;
flex-wrap: wrap;
padding-top: 2vh;
}
.imag-card-index{
width: 320px;
height: 500px;
border-radius: 28px;
}
.card-ground-text{
text-align: center;
}
#Tenis-ground{
height: 680px;
}
.image-wrapper {
  position: relative;
  display: inline-block;
}
.image-wrapper:hover{
 transform: scale(1.05);
      box-shadow: 0 10px 25px rgba(0,0,0,0.3);    
      border-radius: 30px; 
}
.reserve-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  background-color: #660c63;
  color: white;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 4px;
  z-index: 10;
}
 section#players {
      padding: 40px 0;
      text-align: center;
    }
    section#players h4 {
      margin-bottom: 20px;
      font-size: 24px;
      color: #772e8b;
    }
    section#gallery {
      padding: 40px 0;
      text-align: center;
    }
    section#gallery h2 {
      margin-bottom: 20px;
      font-size: 24px;
    }
    .swiper {
      width: 100%;
      max-width: 1000px;
      margin: auto;
    }
    .swiper-slide {
      width: 200px !important;
      transition: transform 0.4s ease;
    }
    .swiper-slide img {
      width: 100%;
      height: auto;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
    .swiper-slide-active {
      transform: scale(1.2);
      z-index: 2;
    }
#Blogs {

display: flex;
justify-content: space-evenly;
flex-wrap: wrap;
}
  .blog-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 40px 20px;
}
.blog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 300px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-8px);
}
.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.blog-content {
  padding: 16px;
}
.blog-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #333;
}
.blog-content p {
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
  line-height: 1.6;
}
.read-more {
  text-decoration: none;
  color: #fff;
  background: #00bcd4;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  transition: background 0.3s ease;
}
.read-more:hover {
  background: #772e8b;
}
.footer {
  background-color: #772e8b;
  color: #fff;
  padding: 40px 20px 20px;
  font-family: sans-serif;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}
.footer-section {
  flex: 1 1 250px;
}
.footer-logo {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #facc15;
}
.footer-section h3 {
  margin-bottom: 12px;
  color: #fbbf24;
}
.footer-section p, .footer-section ul, .footer-section a {
  font-size: 14px;
  color: #ffffff;
}
.footer-section ul {
  list-style: none;
  padding: 0;
}
.footer-section ul li {
  margin-bottom: 8px;
}
.footer-section a {
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-section a:hover {
  color: #facc15;
}
.socials {
  margin-top: 10px;
}
.socials a {
  display: inline-block;
  margin-right: 10px;
}
.socials img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}
.socials img:hover {
  transform: scale(1.2);
}
.footer-bottom {
  border-top: 1px solid #333;
  text-align: center;
  padding-top: 15px;
  font-size: 13px;
  color: #9ca3af;
  margin-top: 30px;
}
.main-contentBlogs{

display: inline-block;
    margin-right: 100px;
    margin-top: 100px;
}
#Title-blogs{  background-color: gold;
      padding: 1rem;
      text-align: center;
    }
    .search-bar {
      padding-bottom: 3vh;
      text-align: center;background-color: gold;

    }
    .search-bar input {
      padding: 0.5rem;
      width: 30%;
      border: 1px solid #ccc;
      border-radius: 8px;
    }

    .container-ss {
      max-width: 1900px;
      margin: 2rem auto;
      padding: 0 1rem;
      display: flex;
      justify-content: left;
      flex-wrap: wrap;
    }
    .post {
      background-color: #fff;
      padding: 1rem;
      border-radius: 12px;
      margin-bottom: 2rem;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      width: 70vh;
      height: 54vh;
      margin-left: 60vh;
      margin-top: 4vh;
    }
    .post img {
      width: 67vh;
      height: 32vh;
      border-radius: 10px;
      margin-bottom: 1rem;
    }
    .post h2 {
      margin-top: 0;
    }
    .read-more {
      display: inline-block;
      margin-top: 1rem;
      background-color: gold;
      color: #000;
      padding: 8px 16px;
      text-decoration: none;
      border-radius: 6px;
    }
    .read-more:hover {
      background-color: #e0c200;
    }
    .sidebar-blog{
margin-left: 12vh;
    }
.section-blog{
  max-width: 31vh;
}   
    .post-Detail {
      background-color: #fff;
      padding: 1rem;
      border-radius: 12px;
      margin-bottom: 2rem;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      width: 90vh;
      height: auto;
      margin-left: 60vh;
      margin-top: 4vh;
    }
    .post-Detail img {
      width: 100%;
      height: auto;
      border-radius: 10px;
      margin-bottom: 1rem;
    }
    .post-Detail h2 {
      margin-top: 0;
    }
@media only screen and (max-width: 1880px) {
.slider {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    direction: ltr;
}

  }