/* Styles for Projects Page */
.projects-section {
  width: 100%;
  min-height: calc(100vh - 85px);
  padding: 40px 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.projects-heading {
  font-size: clamp(32px, 5vw, 48px);
  color: #fff;
  margin-bottom: 3rem;
  text-align: center;
  opacity: 0;
  animation: slideTop 1s ease forwards;
}

.projects-heading span {
  color: #0ef;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  width: 100%;
  max-width: 1200px;
}

.project-card {
  background: rgba(31, 36, 45, 0.6);
  border: 1px solid rgba(0, 238, 255, 0.2);
  border-radius: 15px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease, border-color 0.4s ease;
  opacity: 0;
  animation: zoomIn 1s ease forwards;
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: #0ef;
  box-shadow: 0 10px 30px rgba(0, 238, 255, 0.4);
}

.project-img {
  width: 100%;
  height: 200px;
  background-color: #2c3440;
  overflow: hidden;
  position: relative;
}

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

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

.project-content {
  padding: 1.5rem;
}

.project-title {
  font-size: 24px;
  color: #0ef;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.project-desc {
  font-size: 15px;
  color: #ccc;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: 1px solid #0ef;
  border-radius: 20px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: .3s ease;
}

.project-links a:hover {
  background: #0ef;
  color: #1f242d;
  box-shadow: 0 0 10px #0ef;
}

.project-card:nth-child(1) { animation-delay: 0.2s; }
.project-card:nth-child(2) { animation-delay: 0.4s; }
.project-card:nth-child(3) { animation-delay: 0.6s; }

@media (max-width: 768px) {
  .projects-section {
    padding: 80px 5%;
  }
}
