.portfolio-main {
  background-color: #fff;
}

.portfolio-banner {
  position: relative;
  width: 100%;
  height: 527px;
  background: url("../assets/portfolio/portfolio_banner_bg.png") center/cover
    no-repeat;
  display: flex;
  align-items: end;
  justify-content: center;
  color: white;
}

.portfolio-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.portfolio-banner-text {
  width: 100%;
  max-width: 1200px;
  padding-bottom: 30px;
  position: relative;
  z-index: 2;
}

.portfolio-banner .story-text {
  font-family: "Pretendard", sans-serif;
  font-weight: 800;
  font-size: 64px;
  text-transform: uppercase;
  text-align: left;
  margin-bottom: 20px;
}

.portfolio-banner h1 {
  font-family: "Pretendard", sans-serif;
  font-weight: 900;
  font-size: 128px;
  text-transform: uppercase;
}

.portfolio-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
}

.portfolio-event-title {
  font-family: "Pretendard", sans-serif;
  font-weight: 700;
  font-size: 64px;
  padding-bottom: 20px;
}

.portfolio-filters {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
}

.filter-btn {
  font-family: "Pretendard", sans-serif;
  font-weight: 700;
  font-size: 24px;
  padding: 10px 20px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  background-color: #bababa;
  color: white;
  transition: background-color 0.3s;
}

.filter-btn.active {
  background-color: #9542ff;
}

.portfolio-divider {
  width: 100%;
  height: 4px;
  background-color: #000000;
  margin: 30px 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 40px 20px;
}

.portfolio-card {
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s, box-shadow 0.3s;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 66.84%; /* 254 / 380 */
}

.card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-status {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 5px 15px;
  border-radius: 30px;
  font-size: 20px;
  font-weight: 500;
  color: white;
}

.card-status.in-progress {
  background-color: #9542ff;
}

.card-status.completed {
  background-color: #fe971e;
}

.card-content {
  padding: 20px;
}

.card-title {
  font-family: "Pretendard", sans-serif;
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 10px;
  line-height: 1.2;
}

.card-client {
  font-family: "Pretendard", sans-serif;
  font-weight: 300;
  font-size: 20px;
  color: #555;
}

@media screen and (max-width: 768px) {
  .portfolio-banner {
    height: 253px;
    align-items: flex-end;
  }

  .portfolio-banner-text {
    padding: 0px 0px 10px 10px;
  }

  .portfolio-banner .story-text {
    font-size: 40px;
    margin-bottom: 5px;
  }

  .portfolio-banner h1 {
    font-size: 64px;
  }

  .portfolio-content {
    padding: 20px 35px;
  }

  .portfolio-event-title {
    font-size: 36px;
    text-align: left;
  }

  .portfolio-filters {
    justify-content: left;
    gap: 10px;
  }

  .filter-btn {
    font-size: 13px;
    padding: 5px 15px;
  }

  .portfolio-divider {
    height: 2px;
    margin: 10px 0 22px 0;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .card-title {
    font-size: 20px;
  }

  .card-client {
    font-size: 16px;
  }
}
