/* Portfolio Page Styles */

/* Page Header */
.page-header {
  padding: 200px 0 100px;
  background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
  text-align: center;
}

.page-title {
  font-size: 72px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -3px;
}

.page-subtitle {
  font-size: 20px;
  color: var(--gray);
  letter-spacing: 0.5px;
}

/* Filter Section */
.filter-section {
  padding: 60px 0;
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 90px;
  z-index: 100;
}

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

.filter-btn {
  padding: 12px 30px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: transparent;
  color: var(--gray);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn:hover {
  color: var(--black);
}

.filter-btn.active {
  color: var(--white);
  background: var(--black);
  border-color: var(--black);
}

/* Portfolio Grid */
.portfolio-section {
  padding: 80px 0;
  background: var(--light-gray);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  background: var(--black);
  aspect-ratio: 3/4;
  cursor: pointer;
  transition: all 0.3s ease;
}

.portfolio-item.portfolio-wide {
  grid-column: span 2;
  aspect-ratio: 2/1;
}

.portfolio-item.hide {
  display: none;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.portfolio-item:hover img {
  transform: scale(1.1);
  opacity: 0.3;
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 30px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
  color: var(--white);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
  transform: translateY(0);
  opacity: 1;
}

.portfolio-category {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 10px;
}

.portfolio-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.portfolio-client {
  font-size: 14px;
  color: var(--gray);
  letter-spacing: 0.5px;
}

.load-more {
  text-align: center;
}

/* CTA Section */
.cta-section {
  background: var(--black);
  padding: 120px 0;
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: 56px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 25px;
  letter-spacing: -2px;
}

.cta-text {
  font-size: 20px;
  color: var(--gray);
  margin-bottom: 50px;
  line-height: 1.8;
}

/* Responsive */
@media (max-width: 1024px) {
  .page-title {
    font-size: 56px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .filter-section {
    top: 80px;
  }
}

@media (max-width: 768px) {
  .page-header {
    padding: 160px 0 80px;
  }

  .page-title {
    font-size: 36px;
  }

  .page-subtitle {
    font-size: 16px;
  }

  .filter-section {
    padding: 40px 0;
    position: relative;
    top: 0;
  }

  .filter-buttons {
    gap: 10px;
  }

  .filter-btn {
    padding: 10px 20px;
    font-size: 11px;
  }

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

  .portfolio-item.portfolio-wide {
    grid-column: 1;
  }

  .cta-title {
    font-size: 36px;
  }

  .cta-text {
    font-size: 16px;
  }
}
