body {
    margin: 0;
    font-family: Tahoma, Arial, sans-serif;
    direction: rtl;
    background: #f5f5f5;
    color: #222;
  }
  * {
    box-sizing: border-box;
  }
  a {
    text-decoration: none;
    color: inherit;
  }
  img {
    max-width: 100%;
    display: block;
  }
  .container {
    width: min(1140px, 92%);
    margin: auto;
  }
  .navbar {
    background: #1f1f1f;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 30px;
  }
  .navbar ul {
    display: flex;
    gap: 24px;
    list-style: none;
  }
  .logo {
    color: #c8a46a;
    font-size: 30px;
    font-weight: bold;
  }
 .hero {
    height: 90vh;
    background-image: url("../assets/uploads/hero.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
  .hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
  }
  .hero-content {
    position: relative;
    color: #fff;
  }
  .hero h1 {
    font-size: 60px;
  }
  .btn-main {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid #c8a46a;
    color: #c8a46a;
  }
  .section-title {
    text-align: center;
    font-size: 36px;
    margin: 60px 0;
  }
  .project-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  }
  .project-card img {
    height: 260px;
    width: 100%;
    object-fit: cover;
  }
  .card-body {
    padding: 18px;
  }
  .about {
    background: #fff;
    padding: 80px 20px;
    text-align: center;
  }
  .project-details,
  .project-details h2,
  .project-details h3,
  .project-details h4,
  .project-details p,
  .project-details strong {
    color: #222 !important;
  }
  footer {
    background: #1f1f1f;
    color: #ddd;
    padding: 40px;
    text-align: center;
  }
  .project-info{
    background:#fff;
    padding:30px;
    border-radius:12px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    }
    
    .project-info h2{
    color:#222 !important;
    margin-bottom:20px;
    }
    
    .project-info p{
    color:#555 !important;
    font-size:17px;
    margin-bottom:12px;
    }
    
    .project-info strong{
    color:#222 !important;
    }  
    .page-header{
        background:#f8f8f8;
    }
    
    .page-header h1{
        font-size:42px;
        font-weight:700;
    }
    
    .about-text{
        line-height:2.2;
        font-size:17px;
        text-align:justify;
    }
    
    .info-card{
    
        background:#fff;
    
        border-radius:12px;
    
        padding:30px;
    
        box-shadow:0 8px 25px rgba(0,0,0,.08);
    
        height:100%;
    
    }
    
    .info-card h4{
    
        color:#b58b54;
    
        margin-bottom:15px;
    
    }
    
    .info-card p{
    
        margin:0;
    
        line-height:2;
    
    }
    .offcanvas{

      width:320px;
  
  }
  
  .menu-item{
  
      display:block;
  
      padding:16px 0;
  
      color:#222;
  
      text-decoration:none;
  
      font-size:18px;
  
      transition:.3s;
  
  }
  
  .menu-item:hover{
  
      color:#b58b54;
  
      padding-right:10px;
  
  }
  
  .menu-about{
  
      color:#666;
  
      line-height:2;
  
      margin:25px 0;
  
  }
  /* ===== HEADER ===== */

.navbar{

  background:#fff !important;

  padding:18px 0;

}

.logo{

  display:flex;

  align-items:center;

  gap:12px;

  font-size:24px;

  font-weight:700;

  color:#222;

}

.logo img{

  height:55px;

}

.offcanvas{

  width:330px;

}

.offcanvas-header{

  border-bottom:1px solid #eee;

}

.menu-item{

  display:block;

  padding:16px 0;

  font-size:18px;

  color:#222;

  text-decoration:none;

  transition:.3s;

}

.menu-item:hover{

  color:#b58b54;

  padding-right:10px;

}

.menu-about{

  margin-top:25px;

  line-height:2;

  color:#777;

  text-align:justify;

}

.btn-close{

  position:absolute;

  left:20px;

  top:20px;

}
/* =========================================
   PROJECT IMAGE LIGHTBOX
========================================= */


/* نشانگر زوم روی تصاویر پروژه */




/* لایه Lightbox */

#projectImageLightbox {
    position: fixed;

    top: 0;
    left: 0;

    width: 100vw;
    height: 100vh;

    background: rgba(0, 0, 0, 0.92);

    display: none;

    align-items: center;
    justify-content: center;

    padding: 30px;

    z-index: 999999;
}


/* وقتی باز است */

#projectImageLightbox.active {
    display: flex;
}


/* تصویر بزرگ */

#projectLightboxImage {
    width: auto !important;
    height: auto !important;

    max-width: 90vw !important;
    max-height: 85vh !important;

    object-fit: contain;

    display: block;

    margin: 0;

    border-radius: 10px;
}


/* دکمه بستن */

#projectLightboxClose {
    position: absolute;

    top: 20px;
    right: 30px;

    width: 50px;
    height: 50px;

    padding: 0;

    border: none;

    background: transparent;

    color: #fff;

    font-size: 45px;

    line-height: 1;

    cursor: pointer;

    z-index: 1000000;
}


/* Hover دکمه بستن */

#projectLightboxClose:hover {
    color: #c8a46a;
}


/* موبایل */

@media (max-width: 768px) {

    #projectImageLightbox {
        padding: 15px;
    }

    #projectLightboxImage {
        max-width: 95vw !important;
        max-height: 80vh !important;
    }

    #projectLightboxClose {
        top: 15px;
        right: 15px;

        font-size: 38px;
    }

}
/* =========================================
   PROJECT IMAGES
========================================= */


/* تصویر اصلی پروژه */

.project-main-image {
    width: 100%;
    height: 500px;

    object-fit: cover;

    display: block;

    border-radius: 10px;
}


/* تصاویر گالری */

.project-gallery-image {
    width: 100%;
    height: 280px;

    object-fit: cover;

    display: block;

    border-radius: 10px;

    transition: transform 0.3s ease;
}


/* افکت هنگام رفتن موس روی تصویر */

.project-gallery-image:hover {
    transform: scale(1.02);
}


/* موبایل */

@media (max-width: 768px) {

    .project-main-image {
        height: 350px;
    }

    .project-gallery-image {
        height: 220px;
    }

}
/* تصویر بزرگ پروژه داخل Modal */
.project-modal-image {
    display: block;
    width: 100%;
    max-height: 85vh;
    object-fit: contain;
}

/* بدنه Modal */
.project-modal-content {
    background-color: #000;
    border: none;
}

/* بدنه داخلی */
.project-modal-content .modal-body {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* دکمه بستن */
.project-modal-content .btn-close {
    z-index: 10;
}

