/* Page header styles */
.page-header {
  padding: 200px 0 60px;
  background: linear-gradient(to bottom, #000, #111827);
  text-align: center;
}

.page-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
}

.page-description {
  font-size: 20px;
  color: #d1d5db;
  max-width: 800px;
  margin: 0 auto 32px;
}

/* Portfolio filters */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
  background: linear-gradient(to right, rgba(17, 24, 39, 0.9), rgba(17, 24, 39, 0.5), rgba(17, 24, 39, 0.9));
  backdrop-filter: blur(4px);
  padding: 4px;
  border-radius: 8px;
  border: 1px solid rgba(55, 65, 81, 0.5);
  max-width: 500px;
  margin: 0 auto;
}

.filter-btn {
  background: none;
  border: none;
  padding: 12px 16px;
  color: #d1d5db;
  font-weight: 500;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s;
  width: 33.33%;
}

.filter-btn:hover {
  color: #22d3ee;
}

.filter-btn.active {
  color: #22d3ee;
  background: linear-gradient(to bottom, rgba(31, 41, 55, 0.8), rgba(17, 24, 39, 0.8));
}

/* Portfolio section styles */
.portfolio-section {
  background: linear-gradient(to bottom, #000, #111827);
  min-height: 400px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
}

.portfolio-item {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Portfolio image container */
.portfolio-image {
  height: 200px;
  position: relative;
  overflow: hidden;
}

/* Updated placeholder image styles */
.placeholder-image {
  position: absolute;
  inset: 0;  /* Fill the entire container */
  background-color: #1f2937;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Placeholder text styling */
.placeholder-image p {
  color: #9ca3af;
  text-align: center;
  padding: 0 16px;
}

/* Image styling inside the placeholder */
.placeholder-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* Change to 'contain' if you don't want cropping */
  display: block;
}

/* Portfolio content styles */
.portfolio-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-title {
  font-size: 20px;
  font-weight: 600;
  color: #22d3ee;
  margin-bottom: 8px;
}

.portfolio-description {
  color: #9ca3af;
  margin-bottom: 16px;
  flex-grow: 1;
}

.portfolio-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.portfolio-category {
  background-color: #1f2937;
  color: #d1d5db;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 14px;
}

.portfolio-link {
  background: none;
  border: none;
  color: #22d3ee;
  cursor: pointer;
  transition: color 0.3s;
}

.portfolio-link:hover {
  color: #0891b2;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 80px 0;
}

.empty-state h3 {
  font-size: 24px;
  font-weight: 600;
  color: #9ca3af;
  margin-bottom: 16px;
}

.empty-state p {
  color: #6b7280;
}

/* CTA section styles */
.cta {
  background: linear-gradient(to bottom, #111827, #000);
}

.cta-buttons {
  display: flex;
  justify-content: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-title {
    font-size: 36px;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}
