:root {
  --primary: #1b9db1;
  --primary-dark: #138294;
  --text: #2d2d2d;
  --muted: #6b6b6b;
  --bg: #ffffff;
  --light: #f5f7f8;
  --accent: #ff8a00;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  --green: #2d7d32;
  --green-dark: #1b5e20;
}

.profile-detail-header {
  background: var(--light);
  padding: 40px 0;
  margin-bottom: 30px;
}

.profile-detail-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 30px;
}

.profile-detail-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.profile-detail-content {
  padding: 30px;
}

.profile-detail-name {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--text);
}

.profile-detail-company {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 15px;
  font-weight: 500;
}

.profile-detail-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.profile-detail-rating .stars {
  color: #ffc107;
  font-size: 18px;
}

.profile-detail-rating .review-count {
  color: var(--muted);
  font-size: 14px;
}

.profile-detail-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
  padding: 20px;
  background: var(--light);
  border-radius: 8px;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.info-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 600;
}

.info-value {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

.profile-detail-description {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.profile-detail-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.projects-section {
  margin-top: 40px;
}

.projects-section .section-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--text);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.project-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.project-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-content {
  padding: 20px;
}

.project-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--text);
}

.project-description {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 15px;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid #e6e6e6;
}

.project-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.status-pending {
  background: #fef3c7;
  color: #92400e;
}

.status-in_progress {
  background: #dbeafe;
  color: #1e40af;
}

.status-completed {
  background: #d1fae5;
  color: #065f46;
}

.project-price {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
}

@media (max-width: 768px) {
  .profile-detail-image {
    height: 250px;
  }

  .profile-detail-content {
    padding: 20px;
  }

  .profile-detail-info {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
}
