/* Projects Page Styles */
main {
  padding: 80px 0;
  min-height: calc(100vh - 200px);
}

/* Projects Header */
.projects-header {
  text-align: left;
  margin-bottom: 96px;
}

.projects-header h1 {
  font-size: 42px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.projects-header p {
  font-size: 20px;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 26px;
  letter-spacing: 0px;
  width: 214px;
  height: 26px;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 62px 34px;
  max-width: 1204px;
  margin: 0 auto;
}

.project-card {
  background: var(--card-bg);
  border-radius: 20px;
  box-shadow: 2px 2px 100px 0px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(234, 88, 12, 0.15);
}

/* Project Image */
.project-image {
  width: 100%;
  height: 260px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

/* Project Content */
.project-content {
  padding: 27px 28px 25px;
}

.project-content h3 {
  font-size: 28px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 26px;
  letter-spacing: 0px;
  margin-bottom: 17px;
}

.project-content p {
  font-size: 18px;
  font-weight: 300;
  color: #666666;
  line-height: 26px;
  letter-spacing: 0px;
  margin-bottom: 12px;
}

/* Tech Stack */
.tech-stack {
  margin-bottom: 21px;
}

.tech-stack span:first-child {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-dark);
}

.tech-list {
  font-size: 14px;
  font-weight: 300;
  color: #a7a7a7;
}

/* Project Links */
.link-preview,
.link-code {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  transition: color 0.3s ease, transform 0.2s ease;
}

.link-preview {
  color: var(--text-dark);
}

.link-preview:hover {
  color: var(--accent-primary);
  transform: translateX(3px);
}

.link-code {
  color: var(--text-dark);
}

.link-code:hover {
  color: var(--accent-primary);
  transform: translateX(3px);
}

.link-preview i,
.link-code i {
  font-size: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 30px;
  }
}

@media (max-width: 768px) {
  main {
    padding: 40px 0;
  }

  .projects-header {
    margin-bottom: 60px;
  }

  .projects-header h1 {
    font-size: 32px;
    margin-bottom: 16px;
  }

  .projects-header p {
    font-size: 24px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .project-content h3 {
    font-size: 24px;
  }

  .project-content p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .project-content {
    padding: 20px;
  }

  .project-links {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}
.project-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}
