/* ===============================
   Portfolio Page
=============================== */

.portfolio-page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1rem;
}

/* ===============================
   Categories
=============================== */

.portfolio-category {
    margin-top: 5rem;
    margin-bottom: 4rem;
  }
  
  .portfolio-category:first-child {
    margin-top: 0;
  }

.category-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.category-icon {
  font-size: 1.5rem;
}

/* ===============================
   Thumbnail Grid
=============================== */

.portfolio-thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
  }  

.portfolio-thumbnail {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.portfolio-thumbnail:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.portfolio-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.portfolio-thumbnail:hover img {
  transform: scale(1.05);
}

/* ===============================
   Thumbnail Label
=============================== */

.thumbnail-label {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 61, 153, 0.9);
  color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 5px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ===============================
   Call To Action
=============================== */

.portfolio-cta {
  margin-top: 5rem;
  padding: 3rem 2rem;
  text-align: center;
  background: #f2f5fb;
  border-radius: 12px;
}

.cta-button {
  display: inline-block;
  margin-top: 1.5rem;
}

/* ===============================
   Mobile
=============================== */

@media (max-width: 768px) {
  .portfolio-thumbnail-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}
