body {
  background-color: whitesmoke;
}

/* Algemene layout */
.projects-page {
  padding: 40px;
  font-family: Arial, sans-serif;
  color: black;
}

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 35px;
}

.projects-header h1 {
  font-size: 34px;
  font-weight: bold;
  margin: 0;
}

.projects-header p {
  color: gray;
  font-size: 18px;
  margin-left: 0;
}

.new-project-btn {
  background: blue;
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.2s;
}

.new-project-btn:hover {
  background: darkblue;
}

.project-card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.1);
  width: 100%;
  margin-bottom: 35px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-header h2 {
  margin: 0;
  font-size: 26px;
  font-weight: bold;
}

.status {
  padding: 6px 14px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: bold;
}

.status.in-progress {
  background: whitesmoke;
  color: gray;
}

.project-description {
  margin: 12px 0 18px;
  color: gray;
  font-size: 16px;
}

.project-meta {
  display: flex;
  gap: 28px;
  font-size: 15px;
  color: gray;
  margin-bottom: 25px;
}

.project-meta i {
  margin-right: 8px;
  color: gray;
}

.progress-section {
  margin-bottom: 25px;
}

.progress-bar {
  background: whitesmoke;
  border-radius: 12px;
  height: 12px;
  width: 100%;
  overflow: hidden;
  margin: 8px 0;
  position: relative;
}

.tech-tags {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 15px 0 25px;
}

.tag {
  background: whitesmoke;
  border: 1px solid whitesmoke;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14px;

  color: black;
}

.cloud-links {
  display: flex;
  gap: 18px;
  margin: 15px 0 25px;
  flex-wrap: wrap;
}

.cloud-links img {
  width: 20px;
  height: auto;
  margin-right: 10px;
}

.cloud-btn {
  background: white;
  border: 1px solid whitesmoke;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: black;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.15s ease;
}

.cloud-btn:hover {
  background: whitesmoke;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

.project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: gray;
  border-top: 1px solid whitesmoke;
  padding-top: 16px;
}

.open-project-btn {
  background: white;
  border: 1px solid whitesmoke;
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 15px;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.15s ease;
}

.open-project-btn:hover {
  background: whitesmoke;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

.status.almost-done {
  background: lavender;
  color: purple;
}

.progress {
  background: blue;
  height: 100%;
}

.NoProjects {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  background: linear-gradient(145deg, rgb(241, 238, 238), rgb(240, 238, 238));
  border: 2px solid rgb(185, 180, 180);
  border-radius: 20px;
  padding: 60px 30px;
  margin: 50px auto;
  max-width: 1000px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.NoProjects:hover {
  transform: scale(1.02);
  background: linear-gradient(145deg, white, whitesmoke);
}

.NoProjects-content i {
  font-size: 3rem;
  color: gray;
  margin-bottom: 15px;
}

.NoProjects-content h2 {
  color: darkgray;
  font-size: 1.6rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.NoProjects-content p {
  color: gray;
  font-size: 1rem;
}

/* ========== Responsive Design ========== */
@media (max-width: 768px) {
  .projects-page {
    padding: 20px 15px;
  }

  .projects-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
  }

  .projects-header h1 {
    font-size: 28px;
  }

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

  .new-project-btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 15px;
  }

  .project-card {
    padding: 20px;
    margin-bottom: 25px;
  }

  .project-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .project-header h2 {
    font-size: 22px;
  }

  .project-meta {
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
  }

  .project-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .open-project-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .projects-page {
    padding: 15px 10px;
  }

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

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

  .project-card {
    padding: 15px;
    margin-bottom: 20px;
  }

  .project-header h2 {
    font-size: 20px;
  }

  .project-description {
    font-size: 14px;
  }

  .project-meta {
    font-size: 13px;
  }

  .tech-tags {
    gap: 8px;
  }

  .tag {
    padding: 6px 12px;
    font-size: 12px;
  }

  .cloud-links {
    flex-direction: column;
    gap: 10px;
  }

  .cloud-btn {
    width: 100%;
    justify-content: center;
    padding: 10px 14px;
  }

  .project-footer {
    font-size: 12px;
  }
}
