/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.header {
  text-align: center;
  padding: 6rem 1.5rem 4rem;
}

.header-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.header-location {
  font-size: 0.9375rem;
  color: hsl(var(--muted-foreground));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
  padding: 0 1.5rem;
}

.filter-tab {
  padding: 0.5rem 1.25rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
  color: hsl(var(--foreground));
}

.filter-tab:hover {
  background: hsl(var(--muted));
}

.filter-tab.active {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary));
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Project Card */
.project-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) * 1.5);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px hsla(var(--foreground), 0.1);
  border-color: hsl(var(--primary));
}

.project-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: hsl(var(--muted));
}

.project-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 0.75rem;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: hsl(var(--card-foreground));
}

.project-type {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
  border-radius: calc(var(--radius) * 0.75);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.project-type.residential,
.project-type.commercial,
.project-type.renovation {
  background: hsl(var(--primary) / 0.2);
  color: hsl(var(--primary));
}

.project-location {
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.project-description {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  line-height: 1.5;
}

.project-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  padding: 0.75rem;
  background: hsl(var(--muted));
  border-radius: var(--radius);
}

.spec-item {
  font-size: 0.8125rem;
}

.spec-label {
  color: hsl(var(--muted-foreground));
  display: block;
  font-size: 0.75rem;
}

.spec-value {
  color: hsl(var(--foreground));
  font-weight: 600;
}

.project-feedback {
  background: hsl(var(--muted));
  padding: 0.875rem;
  border-radius: var(--radius);
  border-left: 3px solid hsl(var(--primary));
  font-style: italic;
  color: hsl(var(--card-foreground));
  font-size: 0.8125rem;
  line-height: 1.5;
}

.feedback-author {
  margin-top: 0.375rem;
  font-weight: 600;
  font-style: normal;
  color: hsl(var(--foreground));
  font-size: 0.75rem;
}

/* Responsive */
@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .header-title {
    font-size: 1.75rem;
  }

  .project-specs {
    grid-template-columns: 1fr;
  }

  .header {
    padding: 5rem 1.5rem 3rem;
  }

  .filter-tabs {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .header {
    padding: 4.5rem 1rem 2.5rem;
  }

  .filter-tabs {
    gap: 0.375rem;
  }

  .filter-tab {
    padding: 0.375rem 1rem;
    font-size: 0.8125rem;
  }

  .project-image {
    height: 180px;
  }

  .project-content {
    padding: 1rem;
  }
}
