
.single-project {
  margin: var(--margin) 0px;
 
}

.single-project-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-800);
  line-height: 100%;
  margin-bottom: 35px;
  text-transform: uppercase;
}

.single-project-description {
  width: 100%;
  max-width:1000px;
  font-size:var(--font-size-xm);
  line-height:var(--line-height);
  color:var(--text);
  font-weight: var(--font-weight-500);
  margin-bottom:75px;
}

.single-project-image-wrapper {
  width: 100%;
  border-radius:30px;
  overflow: hidden;
  height: auto;
}

.single-project-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}



.single-project-grid {
 
  margin: 100px  auto 0px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
}
.single-project-section-title {
  font-size:var(--font-size-md_1);
  font-weight:var(--font-weight-700);
  margin-bottom: 20px;
  line-height: 100%;

}

.single-project-text {
  color:var(--text);
  line-height:var(--line-height);
  margin-bottom: 40px;
  font-weight: var(--font-weight-500);
  font-size: var(--font-size-xm);
  word-spacing: 0.25em;
}

.single-project-text p {
  margin: 0 0 24px;
  line-height: var(--line-height);
}

.single-project-text p:last-child {
  margin-bottom: 0;
}



.single-project-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-card {
 
  background:#fff;
  padding: 20px;
  border-radius: 20px;
  border: 2px solid var(--text);
}


.stat-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.stat-card-title {
  font-size:var(--font-size-sm);
  font-weight: var(--font-weight-700);
  color: var(--text);
}

.stat-card-percentage {
  font-size: var(--font-size-md_1);
  font-weight:var(--font-weight-800);
  color:var(--black);
}


.stat-card-progress {
  width: 100%;
  height: 22px;
  background: #dcdcdc;
  border-radius: 50px;
  overflow: hidden;
  margin-bottom: 20px;
}

.stat-card-progress-fill {
  height: 100%;
  background: #4a4a4a;
  border-radius: 50px;
}


.stat-card-description {
  font-size:var(--font-size-xm);
  line-height:var(--line-height);
  color:var(--text);
  font-weight:var(--font-weight-500);
}



.single-project-sidebar {
  position: sticky;
  top: 100px;
}

.project-info {
  background: #fff;
  padding: 30px;
  border-radius: 18px;
 
}

.project-info h3 {
  margin-bottom: 25px;
  font-size:var(--font-size-md_1);
  line-height: 100%;
  font-weight: var(--font-weight-800);
}

.project-info-item {
  margin-top: 20px;
}

.project-info-item span {
  display: block;
  font-size:var(--font-size-xm);
  list-style: var(--line-height);
  color:var(--text);
  font-weight: var(--font-weight-500);
}

.project-info-item strong {
  font-size: var(--font-size-xm_1);
  font-weight: var(--font-weight-800);
}



.visual-identity {
  padding-bottom: 40px;
}


.visual-identity  h2 {
  font-size: var(--font-size-lg);
  font-weight:var(--font-weight-800);
  line-height: 100%;
  margin-bottom: 40px;
  color:var(--black);
}

.project-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.project-gallery-item {
  display: block;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #ececec;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
  cursor: zoom-in;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.project-gallery-item.is-featured {
  grid-column: 1 / -1;
}

.project-gallery-item img,
.top-image img,
.image-card img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.project-gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  opacity: 0.94;
}

@media (min-width: 768px) {
  .project-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

.project-info-item a {
  color: #c52026;
  text-decoration: none;
  position: relative;
  font-weight: 500;
  transition: color 0.3s ease;
}

.project-info-item a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background-color: #c52026;
  transition: width 0.3s ease;
}

.project-info-item a:hover::after {
  width: 100%;
}

.project-info-item a:hover {
  color: #000;
}


/* Responsive */


@media (max-width: 1024px) {



  .single-project-title {
    font-size: 64px;
  }

  .single-project-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .single-project-sidebar {
    position: relative;
    top: unset;
  }

  .single-project-image-wrapper {
    height:auto;
  }

  .single-project-stats {
    grid-template-columns: repeat(2, 1fr);
  }

}


@media (max-width: 768px) {





  .single-project-title {
    font-size: var(--font-size-xl);
    margin-bottom: 20px;
  }

  .single-project-description {
    margin-bottom: 40px;
  }

 

  .single-project-grid {
    margin-top: 60px;
    gap: 40px;
  }

  .single-project-stats {
    grid-template-columns: 1fr;
  }

  .stat-card {
    padding: 18px;
  }

  .visual-identity h2 {
    font-size: var(--font-size-lg);
  }

  .project-gallery {
    grid-template-columns: 1fr;
    gap: 24px;
  }

}

@media (min-width: 1025px) {
  .single-project-image-wrapper {
    height: 900px;
  }

  .single-project-image {
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }
}

