@import "../general.css";

.project-detail {
  padding-block: 8rem;
}

.project-detail .project-detail-container {
  max-width: 174.683rem;
}

.project-detail .project-detail-container:has(.project-detail-video-wrapper) {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.project-detail-video-wrapper {
  width: 100%;
  padding-bottom: 56.25%;
  position: relative;
}

.project-detail-video-wrapper iframe,
.placeholder-image-video-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.placeholder-image-video-icon img {
  position: absolute;
  top: 2.5rem;
  left: 2.5rem;
  width: 8rem;
  height: 8rem;
}

.placeholder-image-video-icon {
  z-index: 9;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.detail-main {
  display: flex;
  align-items: center;
}

.detail-main .left-arrow-icon {
  height: 2.2rem;
  width: 2.2rem;
  border: 0.143rem solid #4c4c4c;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.project-detail .right-arrow-icon {
  height: 2.2rem;
  width: 2.2rem;
  border: 0.143rem solid #4c4c4c;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.left-icon {
  margin-right: 0.2rem;
}

.right-icon {
  top: 0;
  right: 0;
  transform: rotate(180deg);
  margin-left: 0.2rem;
}

.details-info {
  max-width: 125.6rem;
  display: flex;
  width: 100%;
  margin: 0 auto;
  justify-content: space-around;
}

.details-info li {
  flex: 1;
  min-height: 175px;
}

.details-info li .title {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.41;
  color: #4c4c4c;
  padding-bottom: 4rem;
}

.details-info li .value {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.375;
  color: #4c4c4c;
}

.scope {
  max-width: 23.4rem;
}

.fact {
  max-width: 24rem;
}

.details-info li {
  position: relative;
  padding-inline: 1.5rem;
}

.details-info .value-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.details-info .accordian-btn {
  padding: 0;
}

.details-info .accordian-btn.active .plus-icon,
.details-info .accordian-btn .plus-icon {
  display: none;
}

.details-info .accordian-btn .minus-icon {
  display: none;
}

.details-info .accordian-btn.active .minus-icon {
  display: block;
}

.details-info li::before {
  content: "";
  position: absolute;
  height: 100%;
  left: 0;
  border-left: 0.025rem solid #262626;
}

.details-info li:first-child::before {
  display: none;
}

.project-basic-details {
  padding-bottom: 8rem;
}
.project-details-image + .project-details-video {
  margin-top: 1.919rem;
}
.project-detail-image-wrapper {
  padding-bottom: 54.53%;
  width: 100%;
  position: relative;
}

.project-detail-image-wrapper + .project-detail-image-wrapper {
  margin-top: 1.919rem;
}

.project-detail-image-wrapper img {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.project-bottom-navigation {
  padding-top: 2rem;
}

.upper {
  align-items: start;
}

.grid-icon {
  margin: 0 auto;
}

@media screen and (min-width: 1440px) {
  .scope {
    max-width: 28.4rem;
  }

  .fact {
    max-width: 26.6rem;
  }

  .details-info li {
    padding-inline: 2rem;
  }
}

@media screen and (max-width: 991px) {
  .detail-main.upper {
    flex-direction: column;
    gap: 2rem;
  }
  .detail-main.upper .left-arrow-icon {
    height: 2.6rem;
    width: 2.6rem;
  }
  .details-info {
    display: block;
  }
  .details-info li {
    min-height: auto;
  }


  .details-info li::before {
    content: "";
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    border-bottom: 0.05rem solid #262626;
    border-left: none;
  }

  .details-info li:first-child::before {
    display: block;
  }

  .details-info .accordian-btn .plus-icon {
    display: block;
  }

  .details-info li {
    padding-inline: 0;
  }

  .details-info li:first-child {
    padding-bottom: 2rem;
  }

  .scope {
    max-width: 100%;
  }

  .fact {
    max-width: 100%;
  }

  .details-info {
    max-width: 100%;
  }

  .detail-inner {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
  }

  .detail-inner.active .value {
    padding-bottom: 2rem;
  }

  .detail-inner .title {
    padding-top: 4rem;
  }

  .details-info li .title {
    padding-bottom: 2rem;
  }
}

@media (max-width: 767px) {
  .container.project-details-image, .container.project-details-video {
    padding-inline: 0;
  }
  .project-detail {
    padding-block: 5rem;
  }

  .project-bottom-navigation {
    padding-top: 4rem;
  }

  .detail-main .left-arrow-icon,
  .detail-main .right-arrow-icon {
    width: 3.6rem;
    height: 3.6rem;
    padding: 0.8rem;
  }

  .grid-icon img {
    width: 3.4rem;
    height: 3.4rem;
  }

  .placeholder-image-video-icon img {
    width: 7rem;
    height: 7rem;
  }
  
}

@media (max-width: 480px) {
  .project-basic-details {
    padding-bottom: 5rem;
  }

  .details-info li .title {
    padding-block: 2.5rem;
  }

  .details-info .accordian-btn {
    width: 2.2rem;
    height: 2.2rem;
  }

  .detail-main .left-arrow-icon,
  .detail-main .right-arrow-icon {
    width: 3.2rem;
    height: 3.2rem;
  }

  .grid-icon img {
    width: 3rem;
    height: 3rem;
  }

  .placeholder-image-video-icon img {
    top: 1.5rem;
    left: 1.5rem;
    width: 6rem;
    height: 6rem;
  }
}
