body {
  background: #000;
  color: #fff;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* BACKGROUND */

.portfolio-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(
      rgba(0,0,0,0.7),
      rgba(0,0,0,0.95)
    ),
    url('../assets/check-works-background.png');

  background-size: cover;
  background-position: center;
  z-index: -2;
}

/* HERO */

.portfolio-hero {
  min-height: 80vh;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;

  padding:
    180px 40px
    120px;
}

.portfolio-hero-content {
  max-width: 900px;
}

.mini-badge {
  display: inline-flex;

  padding:
    10px 18px;

  border:
    1px solid rgba(255,255,255,0.12);

  border-radius: 999px;

  background:
    rgba(255,255,255,0.03);

  backdrop-filter: blur(10px);

  margin-bottom: 24px;

  color: #d9c4ab;

  font-size: 14px;
}

.portfolio-hero h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1;
  margin-bottom: 28px;
  font-weight: 700;
}

.portfolio-hero p {
  max-width: 760px;

  margin:
    0 auto 42px;

  color: rgba(255,255,255,0.72);

  font-size: 1.15rem;

  line-height: 1.8;
}

.portfolio-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.secondary-link {
  color: #c6defc;
  text-decoration: none;
  font-weight: 500;
}

/* FILTERS */

.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;

  padding:
    0 20px
    80px;
}

.filter-btn {
  padding:
    12px 22px;

  border-radius: 999px;

  border:
    1px solid rgba(255,255,255,0.1);

  background:
    rgba(255,255,255,0.04);

  color: #fff;

  cursor: pointer;

  transition: 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background:
    linear-gradient(
      135deg,
      #f0dbc4,
      #a8d1ff
    );

  color: #000;
}

/* PROJECTS */

.projects-section {
  width: 100%;

  padding:
    0 50px
    120px;
}

.projects-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(350px, 1fr));

  gap: 30px;
}

.project-card {
  border-radius: 28px;

  overflow: hidden;

  background:
    rgba(255,255,255,0.03);

  border:
    1px solid rgba(255,255,255,0.06);

  backdrop-filter: blur(20px);

  transition:
    transform 0.4s ease,
    border 0.4s ease;
}

.project-card:hover {
  transform:
    translateY(-10px);

  border-color:
    rgba(168,209,255,0.4);
}

.project-image-wrapper {
  position: relative;
  overflow: hidden;
}

.project-image {
  width: 100%;
  height: 260px;
  object-fit: cover;

  transition: 0.5s ease;
}

.project-card:hover .project-image {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to top,
      rgba(0,0,0,0.65),
      transparent
    );
}

.project-content {
  padding: 28px;
}

.project-meta {
  display: flex;
  justify-content: space-between;

  margin-bottom: 18px;

  color: rgba(255,255,255,0.55);

  font-size: 13px;
}

.project-content h3 {
  font-size: 1.7rem;
  margin-bottom: 16px;
}

.project-content p {
  color: rgba(255,255,255,0.72);

  line-height: 1.7;

  margin-bottom: 24px;
}

.project-link {
  color: #c6defc;
  text-decoration: none;
  font-weight: 600;
}

/* CTA */

.portfolio-cta {
  padding:
    0 30px
    140px;
}

.cta-container {
  max-width: 1100px;

  margin: auto;

  padding:
    80px 50px;

  border-radius: 36px;

  text-align: center;

  background:
    rgba(255,255,255,0.03);

  border:
    1px solid rgba(255,255,255,0.08);

  backdrop-filter: blur(18px);
}

.cta-container h2 {
  font-size: clamp(2rem, 4vw, 4rem);

  margin-bottom: 24px;
}

.cta-container p {
  max-width: 700px;

  margin:
    0 auto 36px;

  color: rgba(255,255,255,0.7);

  line-height: 1.8;
}

/* RESPONSIVE */

@media (max-width: 768px) {

  .projects-section {
    padding:
      0 20px
      100px;
  }

  .portfolio-hero {
    padding:
      150px 20px
      100px;
  }

  .project-content h3 {
    font-size: 1.35rem;
  }

}
