/* Page Header - جدید برای صفحه پروژه‌ها */
.page-header {
  background:
    linear-gradient(rgba(13, 17, 23, 0.9), rgba(13, 17, 23, 0.9)),
    url("https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=1500&q=80")
      center/cover no-repeat;
  padding: 140px 0 80px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: #fff;
  margin-bottom: 1rem;
}

.breadcrumb {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: #fff;
}

/* Section Description */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-description {
  color: var(--text-muted);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Project Tags */
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tag {
  background: rgba(88, 166, 255, 0.1);
  color: var(--accent);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  border: 1px solid rgba(88, 166, 255, 0.2);
  transition: var(--transition);
}

.tag:hover {
  background: var(--accent);
  color: #0d1117;
  border-color: var(--accent);
}

/* Project Location */
.project-location {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.project-location i {
  color: var(--accent);
  font-size: 0.9rem;
}

.project-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0.5rem 0;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 4rem;
}

.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.page-link:hover,
.page-link.active {
  background: var(--accent);
  color: #0d1117;
  border-color: var(--accent);
  transform: translateY(-2px);
}

.page-link.next {
  width: auto;
  padding: 0 1rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  padding: 80px 0;
  text-align: center;
}

.cta-content h2 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn:hover {
  background: #f0f0f0;
  transform: translateY(-4px);
}

.cta-buttons .btn-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  box-shadow: none;
}

.cta-buttons .btn-outline:hover {
  background: #fff;
  color: var(--primary);
}

/* Responsive for Projects Page */
@media (max-width: 768px) {
  .page-header {
    padding: 120px 0 60px;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .project-card {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }

  .cta-section {
    padding: 60px 0;
  }

  .cta-content h2 {
    font-size: 1.6rem;
  }

  .pagination {
    margin-top: 3rem;
  }
}

@media (max-width: 480px) {
  .page-header {
    padding: 100px 0 50px;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }

  .breadcrumb {
    font-size: 1rem;
  }

  .section-description {
    font-size: 1rem;
  }

  .cta-content h2 {
    font-size: 1.4rem;
  }

  .cta-content p {
    font-size: 1rem;
  }

  .page-link {
    width: 35px;
    height: 35px;
  }
}
