/* Projects page */

.projects-hero {
  padding: 32px 0 48px;
}

.projects-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.projects-hero p {
  color: var(--gray-text);
  font-size: 1.05rem;
  max-width: 720px;
  line-height: 1.75;
}

.projects-section {
  padding: 56px 0;
  border-top: 1px solid var(--gray-border);
}

.projects-section:first-of-type {
  border-top: none;
  padding-top: 24px;
}

.projects-section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.projects-section-header i {
  font-size: 36px;
  color: var(--navy);
}

.projects-section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.projects-section-header p {
  color: var(--gray-text);
  margin: 8px 0 0;
  font-size: 0.95rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.project-item {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.project-item:hover {
  box-shadow: 0 8px 24px rgba(0, 40, 85, 0.12);
  transform: translateY(-2px);
}

.project-item-image {
  width: 100%;
  height: 220px;
  min-height: 220px;
  object-fit: cover;
  background: var(--gray-bg);
  display: block;
}

.project-item-body {
  padding: 24px;
}

.project-item-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--red);
  margin-bottom: 10px;
}

.project-item-body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.project-item-body h3 a {
  color: inherit;
}

.project-item-body h3 a:hover {
  color: var(--red);
}

.project-item-body p {
  color: var(--gray-text);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.project-features {
  list-style: none;
  margin: 0;
  padding: 0;
}

.project-features li {
  font-size: 0.9rem;
  color: var(--navy);
  padding: 6px 0 6px 22px;
  position: relative;
  line-height: 1.5;
}

.project-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
}

.project-item.featured {
  border-color: var(--navy);
  box-shadow: 0 4px 16px rgba(0, 40, 85, 0.1);
}

.project-item.featured .project-item-image {
  height: 260px;
}

@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .projects-hero h1 {
    font-size: 1.75rem;
  }

  .projects-section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
