: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;
}

* {
  box-sizing: border-box;
}

/* Project Hero */
.project-hero {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.project-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Project Header */
.project-header {
  background: #fff;
  padding: 30px 0;
  border-bottom: 1px solid #e6e6e6;
}

.project-header-content {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.project-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.project-info {
  flex: 1;
  min-width: 250px;
}

.project-name {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}

.project-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.stars {
  color: #ffc107;
  font-size: 18px;
}

.review-count {
  color: var(--muted);
  font-size: 14px;
}

.project-category {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 12px;
}

.project-actions-header {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.project-actions-header .btn {
  padding: 8px 16px;
  font-size: 12px;
}

.contact-widget {
  background: var(--light);
  padding: 20px;
  border-radius: 8px;
  min-width: 250px;
}

.contact-widget h3 {
  margin: 0 0 15px;
  font-size: 16px;
}

/* Navigation Tabs */
.project-tabs {
  background: #fff;
  border-bottom: 1px solid #e6e6e6;
  position: sticky;
  top: 60px;
  z-index: 99;
}

.tabs-list {
  display: flex;
  gap: 0;
  overflow-x: auto;
}

.tab {
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.tab:hover {
  color: var(--text);
}

.tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* Content Sections */
.project-content {
  padding: 40px 0;
}

.content-section {
  margin-bottom: 50px;
}

.section-title {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 20px;
  color: var(--text);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.about-text {
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
  margin-bottom: 15px;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.project-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.project-card:hover {
  transform: translateY(-4px);
}

.project-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Business Details */
.business-details {
  background: var(--light);
  padding: 24px;
  border-radius: 8px;
}

.business-item {
  margin-bottom: 16px;
  font-size: 14px;
}

.business-item:last-child {
  margin-bottom: 0;
}

.business-label {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.business-value {
  color: var(--muted);
}

.business-value a {
  color: var(--primary);
  text-decoration: none;
}

.business-value a:hover {
  text-decoration: underline;
}

/* Status Badge */
.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;
}

/* Related Content */
.related-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.related-card {
  background: var(--light);
  padding: 24px;
  border-radius: 8px;
  text-align: center;
}

.related-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.related-text {
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: #f04a4a;
  color: #fff;
}

.btn-primary:hover {
  background: #d63939;
  color: #fff;
}

.btn-outline {
  border: 1px solid #ddd;
  color: var(--text);
  background: #fff;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

@media (max-width: 820px) {
  .project-header-content {
    flex-direction: column;
  }

  .contact-widget {
    width: 100%;
  }

  .tabs-list {
    overflow-x: scroll;
  }

  .project-tabs {
    top: 120px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .related-content {
    grid-template-columns: 1fr;
  }

  .project-hero {
    height: 250px;
  }
}
