/* استایل عمومی */
body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: #000000;
    margin: 0;
    padding: 0;

}

.navBar {
    width: 100%;
    padding: 25px 40px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    box-shadow:  0 5px 20px rgba(22, 212, 158, 0.2);
    padding-top: 35px;
    padding-bottom: 32px;
}
  
  .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    flex: 2;
  }

  .logo img {
    max-width: 100%;
    height: 25px;
    
  }

  .nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
  }

  .nav ul li {
    margin-left: 20px;
  }

  .nav ul li:first-child {
    margin-left: 0;
  }

  .nav ul li a {
    font-size: 20px;
    color: #000000;
    font-weight: 500;

    text-decoration: none;
  }

  .nav ul li a:hover{
    color: rgba(0, 0, 0, 0.705);
    font-size: 19.7px;
    }
  .nav-toggle {
    display: none;
    font-size: 26px;
    color: black;
    cursor: pointer;
    margin-top:-10px ;
    padding: 0;
  }
  .nav button{
    background-color: transparent;
    border: none;
  }

  /* Media Query for Responsive Menu */
  @media (max-width: 775px) {
    .nav {
        justify-content: space-between;
        
margin-right: 15px;    }
    .logo img{
        margin-left: -60px;
    }

    .nav ul {
      display: none;
      width: 100%;
      padding-top: 15px;
    }

    .nav ul.show {
      display: flex;
      flex-direction: column;
    }

    .nav ul li {
      margin: 10px 0;
    }

    .nav-toggle {
      display: block;

    }
  }
.container {
    color: rgb(212, 212, 212);
    display: block;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    
}


.container h1{
    font-size: 35px;
    margin-bottom: 10px;
    margin-top: 80px;
}

/* استایل گالری عکس */
.gallery {
    max-width: 1200px;
    display: flex;
    border-radius: 35px;
    padding-top: 50px;
    margin-top: 10px;
    flex-wrap: wrap;
    border: none;
    background: linear-gradient(90deg, #3498db27, #2ecc7016);

    justify-content: center;

}

.galleryTitle {
    display: flex;
    text-align: center;
    justify-content: center;
    
}
.container .caption 
{
    direction: rtl;
    text-align: center !important;
    color: #2ecc71;
    margin-bottom: 100px;
}
.gallery img {
    width: 300px;
    height: 250px;
    object-fit: cover;
    margin: 10px;
    cursor: pointer;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}
#img1{
    width: 950px;
    height: 380px;
    border-top-left-radius: 20PX;
    border-top-right-radius: 20PX;
}
#img2{
    height: 460px;
}
#img3{
    width: 560px;
    height: 520px;
}
#img4{
    width: 360px;
    height: 520px;
}
#img5{
    width: 460px;
    height: 640px;
}
#img6{
    width: 950px;
    height: 520px;
}
#img7{
    width: 580px;
    height: 520px;
}

.gallery img:hover {
    transform: scale(0.95);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* استایل پاپ آپ */
.modal-body {
    text-align: center;
}

.modal-footer {
    justify-content: center;
}

@media only screen and (max-width: 450px) {
    
    body{
        width: 100%;
    }
    .logo{
        
        margin-left: 80px;
        margin-bottom: 10px;
    }
    
    #img1 {
        border-radius:50px 50px 0 0 ;
        width: 300px;
        height: 400px;
    }
    #img2 {
        width: 300px;
        height: 400px;
    }
    #img3 {
        width: 300px;
        height: 400px;
    }
    #img4 {
        width:300px;
        height: 400px;
    }
    #img5 {
        width: 300px;
        height: 400px;
    }
    #img6 {
        width: 300px;
        height: 400px;
    }
    #img7{
        width: 300px;
        height: 400px;
    }
    #img8 {
        width: 450px;
        height: 400px;
    }
    
    
    .navBar{
        display: block;
        margin-right: 0;
        margin-left: 0;
        padding-left: 0;
        padding-right: 0;
    }
    .container{
        padding: 40px;
    }
    .nav ul li a{
        font-size: 15px;
        padding: 0;
        display: flex;
        text-align: center;
        justify-content: center;
        text-align: center;
        
    }

    .nav ul li a:hover{
        color: rgba(0, 0, 0, 0.705);
        font-size: 14px;
        }
        
        .gallery img{
            border:none;
            box-shadow: none;
            padding:0 20px 10px 20px;
        }
}


.footer {
    padding: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .footer-text {
    font-size: 14px;
    color: #fbfbfb;
  }
  
  .footer-heart {
    font-size: 14px;
    color: #e74c3c;
  }

  .footer small{
    display: block;
    position: absolute;
    margin: 0 auto;
    margin-top: 25px;
    color: #797979;

  }
