/* Hero Portfolio Slider*/
.hero-portfolio {
  width: 100%;
  height: 70vh;
  overflow: hidden;
}

.hero-portfolio__wrapper {
  display: flex;
  height: 100%;
}

/* LEFT IMAGE */
.hero-portfolio__media {
  width: 65%;
  position: relative;
}

.hero-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: background-image 0.6s ease;
}

/* RIGHT CONTENT */
.hero-portfolio__content {
  width: 35%;
  background: linear-gradient(135deg, #ff395c, #fff);
  color: #fff;
  display: flex;
  align-items: center;
  padding: 60px;
  position: relative;
  overflow: hidden;
}

/* SLIDES */
.slider {
  position: relative;
  width: 100%;
}

.slide {
  position: absolute;
  opacity: 0;
  transform: translateY(30px);
  transition: 0.5s;
}

.slide.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
}

.slide h2 {
  font-size: 32px;
  letter-spacing: 4px;
  margin-bottom: 20px;
}

.slide h2 span {
  font-weight: 300;
}

.slide p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.btn-outline {
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid white;
  color: white;
  text-decoration: none;
  letter-spacing: 2px;
  transition: 0.3s;
}

.btn-outline:hover {
  background: white;
  color: #c98f8a;
}

/* NAV BUTTONS */
.slider-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
}

.slider-nav button {
  width: 60px;
  height: 60px;
  border: none;
  background: rgba(0,0,0,0.2);
  color: white;
  font-size: 20px;
  cursor: pointer;
}

.slider-nav button:hover {
  background: rgba(0,0,0,0.4);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-portfolio__wrapper {
    flex-direction: column;
  }

  .hero-portfolio__media,
  .hero-portfolio__content {
    width: 100%;
    height: 50%;
  }

  .hero-portfolio__content {
    padding: 40px;
    text-align: center;
    align-items: center;
    padding-top: 0px;
  }
}

@media (max-width: 600px) {
  .slide h2 { font-size: 24px;margin-bottom:10px; }
  .slide p { font-size: 13px;margin-bottom:15px; }
}

/* Portofolio List */
.portfolio-list {
  padding: 80px 3%;
  background: #f8f8f8;
  font-family: 'Inter', sans-serif;
}

/* HEADER */
.portfolio-header {
  text-align: center;
  margin-bottom: 60px;
}

.portfolio-header h2 {
  letter-spacing: 6px;
  font-weight: 400;
  margin-bottom: 30px;
}

.portfolio-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.portfolio-filter button {
  border: none;
  background: none;
  letter-spacing: 2px;
  font-size: 12px;
  color: #888;
  cursor: pointer;
  position: relative;
}

.portfolio-filter button.active {
  color: #000;
}

.portfolio-filter button::after {
  content: "";
  width: 0;
  height: 1px;
  position: absolute;
  left: 0;
  bottom: -4px;
  transition: 0.3s;
}

.portfolio-filter button.active::after {
  width: 100%;
}

/* GRID */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.portfolio-item {
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: 275px;
  object-fit: cover;
  transition: 0.4s;
  border-radius: 14px;
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-info {
  margin-top: 15px;
}

.portfolio-info h3 {
  font-size: 14px;
  letter-spacing: 2px;
}

.portfolio-info p {
  font-size: 12px;
  color: #888;
  margin-top: 5px;
}

/* WRAPPER */
.pill-filter {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 5px;
  background: #e9edf2;
  border-radius: 60px;
  width: fit-content;
  margin: 0 auto;
  flex-wrap: wrap;
}

/* BUTTON */
.pill-filter button {
  border: none;
  background: transparent;
  padding: 12px 22px;
  border-radius: 40px;
  font-size: 14px;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

/* ACTIVE */
.pill-filter button.active {
  background: #ffffff;
  color: #111827;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* HOVER */
.pill-filter button:hover {
  color: #111;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .pill-filter {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 5px;
    width: 100%;
  }

  .pill-filter::-webkit-scrollbar {
    display: none;
  }

  .pill-filter button {
    font-size: 13px;
    padding: 10px 18px;
  }
}

/* LOAD MORE */
.load-more-wrap {
  text-align: center;
  margin-top: 40px;
}

#loadMore {
  padding: 12px 30px;
  border: 1px solid #000;
  background: none;
  cursor: pointer;
  letter-spacing: 2px;
}

.hidden {
  display: none;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-item img {
    height: 240px;
  }
}


