
/* =========================================================
   NAWAZ ONLINE - PORTFOLIO PAGE ONLY
   This file is separate from style.css.
   ========================================================= */

.portfolio-hero {
  background:
    radial-gradient(circle at top right, rgba(255, 74, 20, 0.16), transparent 38%),
    linear-gradient(135deg, #fffaf2 0%, #ffffff 100%);
  padding: 95px 70px 75px;
  text-align: center;
}

.portfolio-hero-inner {
  max-width: 980px;
  margin: 0 auto;
}

.portfolio-hero h1 {
  font-size: 62px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -2px;
  color: #111111;
  margin-bottom: 22px;
}

.portfolio-hero p {
  max-width: 760px;
  margin: 0 auto 30px;
  font-size: 19px;
  line-height: 1.7;
  color: #333333;
}

.portfolio-hero-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.portfolio-page-section {
  padding: 70px;
  background: #fffaf2;
}

.portfolio-filter-bar {
  max-width: 1200px;
  margin: 0 auto 38px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.filter-btn {
  border: 1px solid rgba(255, 74, 20, 0.25);
  background: #ffffff;
  color: #111111;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.filter-btn.active,
.filter-btn:hover {
  background: #ff4a14;
  color: #ffffff;
}

.portfolio-project-grid {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  align-items: stretch;
}

.project-card {
  background: #ffffff;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 16px 42px rgba(0,0,0,0.08);
  border: 1px solid rgba(255, 74, 20, 0.12);
  width: 100%;
}

.project-image {
  height: 390px;
  overflow: hidden;
  background: #f4f4f4;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.45s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.035);
}

.project-content {
  padding: 30px;
}

.project-content span {
  display: inline-block;
  color: #ff4a14;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.project-content h2 {
  font-size: 30px;
  line-height: 1.15;
  font-weight: 900;
  color: #111111;
  margin-bottom: 12px;
}

.project-content p {
  font-size: 16px;
  line-height: 1.7;
  color: #333333;
  margin-bottom: 20px;
}

.project-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.project-tags small {
  background: #fff1e9;
  color: #ff4a14;
  border-radius: 999px;
  padding: 9px 13px;
  font-weight: 900;
}

.portfolio-process-section {
  padding: 80px 70px;
  background: #ffffff;
}

.portfolio-benefits {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.portfolio-benefits div {
  background: #fffaf2;
  border-radius: 24px;
  padding: 28px;
  border: 1px solid rgba(255, 74, 20, 0.12);
}

.portfolio-benefits strong {
  display: inline-flex;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  align-items: center;
  justify-content: center;
  background: #ff4a14;
  color: #ffffff;
  margin-bottom: 18px;
}

.portfolio-benefits h3 {
  font-size: 21px;
  font-weight: 900;
  margin-bottom: 10px;
}

.portfolio-benefits p {
  font-size: 15.5px;
  line-height: 1.65;
  color: #333333;
}

.portfolio-cta {
  margin: 0 70px 70px;
  background: linear-gradient(135deg, #ff4a14, #ff8a00);
  border-radius: 32px;
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
  color: #ffffff;
  box-shadow: 0 18px 45px rgba(255, 74, 20, 0.28);
}

.portfolio-cta h2 {
  font-size: 42px;
  line-height: 1.1;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 12px;
}

.portfolio-cta p {
  font-size: 17px;
  line-height: 1.6;
  color: #ffffff;
}

.portfolio-cta a {
  display: inline-flex;
  min-width: 230px;
  height: 58px;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #ff4a14;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 1050px) {
  .portfolio-hero,
  .portfolio-page-section,
  .portfolio-process-section {
    padding-left: 35px;
    padding-right: 35px;
  }

  .portfolio-hero h1 {
    font-size: 46px;
  }

  .portfolio-project-grid,
  .portfolio-benefits {
    grid-template-columns: 1fr;
  }

  .portfolio-cta {
    margin-left: 35px;
    margin-right: 35px;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .portfolio-hero {
    padding: 60px 22px 45px;
  }

  .portfolio-page-section,
  .portfolio-process-section {
    padding-left: 22px;
    padding-right: 22px;
  }

  .portfolio-hero h1 {
    font-size: 36px;
  }

  .project-image {
    height: 260px;
  }

  .project-content {
    padding: 22px;
  }

  .portfolio-cta {
    margin: 0 22px 45px;
    padding: 28px;
  }

  .portfolio-cta h2 {
    font-size: 30px;
  }

  .portfolio-cta a {
    width: 100%;
  }
}
