/* summary */

.summary {
  padding: 8rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.summary-container {
  display: flex;
  align-items: center; 
  justify-content: space-between;
  gap: 6rem; 
}

.summary-text {
  flex: 1;
  max-width: 650px;
}

.summary-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.summary-intro {
  font-size: 1.25rem;
  line-height: 1.8;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
}

.summary-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: flex-end; 
}

.summary-profile-img {
  width: 100%;
  max-width: 450px; 
  aspect-ratio: 3/4; 
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); 
  filter: grayscale(
    100%
  ); 
  transition: filter 0.3s ease;
}

.summary-profile-img:hover {
  filter: grayscale(0%); 
}

/* Responsive */
@media (max-width: 1024px) {
  .summary {
    padding: 4rem 2rem;
  }

  .summary-container {
    flex-direction: column; 
    gap: 3rem;
  }

  .summary-text {
    max-width: 100%;
    text-align: left;
  }

  .summary-image-wrapper {
    justify-content: center;
    width: 100%;
  }

  .summary-profile-img {
    max-width: 100%;
    height: auto;
  }
}
