.project-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.project-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

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

.project-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 170px 20px 263px;
  color: white;
}

.project-upper {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 40px;
}

.project-left {
  flex: 0 0 auto;
  z-index: 10;
}

.morpheus-image {
  max-width: 400px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.morpheus-caption {
  font-family: 'Avenir Next W1G', sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: #fff;
  margin-left: 12px;
}

.project-main-title {
  font-family: 'Avenir Next W1G', sans-serif;
  font-weight: 700;
  font-size: 64px;
  color: #1c1c1c;
  padding-top: 48px;
}

.project-lower {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.project-subtitle {
  font-family: 'Avenir Next W1G', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  margin: 20px 0 25px 0;
}

.project-description {
  font-family: 'Avenir Next W1G', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  max-width: 416px;
}

.project-description p {
  margin: 0 0 25px 0;
  font-weight: 500;
  color: #e4e4e4;
}

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

.project-text-content {
  position: relative;
}

.project-text-content::after {
  content: '';
  position: absolute;
  left: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  height: 395px;
  background-image: url('../images/project/project-side-text.webp');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: -1;
}

.project-images {
  display: flex;
  gap: 10px;
  margin-right: 30px;
}

.project-image-1,
.project-image-2 {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media screen and (max-width: 1024px) {
  .project-container {
    max-width: 960px;
    padding: 120px 20px 200px;
  }

  .project-main-title {
    font-size: 56px;
  }

  .project-text-content::after {
    left: -60px;
    width: 60px;
  }
}

@media screen and (max-width: 768px) {
  .project-container {
    padding: 80px 20px 120px;
  }

  .project-upper {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .morpheus-image {
    max-width: 300px;
  }

  .morpheus-caption {
    color: #1c1c1c;
  }

  .project-main-title {
    font-size: 40px;
    padding-top: 20px;
    text-align: center;
  }

  .project-lower {
    flex-direction: column;
    align-items: center;
  }

  .project-text-content {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
  }

  .project-text-content::after {
    display: none;
  }

  .project-subtitle {
    margin-top: 0;
    font-size: 15px;
    text-align: center;
  }

  .project-description {
    max-width: 100%;
    font-size: 15px;
  }

  .project-images {
    flex-direction: column;
    margin-right: 0;
    width: 100%;
    max-width: 400px;
  }
}

@media screen and (max-width: 480px) {
  .project-container {
    padding: 60px 15px 80px;
  }

  .morpheus-image {
    max-width: 250px;
  }

  .morpheus-caption {
    font-size: 14px;
  }

  .project-main-title {
    font-size: 32px;
  }

  .project-text-content {
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 8px;
  }

  .project-subtitle {
    font-size: 14px;
  }

  .project-description {
    font-size: 14px;
  }

  .project-description p {
    margin: 0 0 20px 0;
  }

  .project-images {
    max-width: 90%;
  }
}
