/* Projects Section Styles */
.projects-section {
  position: relative;
  padding: 80px 0;
  background: #0a0a0f;
  min-height: 100vh;
}

/* Container */
.projects-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.projects-header {
  text-align: center;
  margin-bottom: 60px;
}

.projects-header h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 15px;
}

.projects-header p {
  font-size: 1.1rem;
  color: #94a3b8;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* Project Cards */
.project-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border-color: #6366f1;
}

/* Project Image */
.project-image {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, #1e293b, #334155);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-links {
  display: flex;
  gap: 15px;
}

.project-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid #6366f1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6366f1;
  text-decoration: none;
  transition: all 0.3s ease;
}

.project-link:hover {
  background: #6366f1;
  color: white;
}

/* Project Content */
.project-content {
  padding: 20px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.tech-tag {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

.project-content h3 {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.project-content p {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
  .projects-section {
    padding: 60px 0;
  }
  
  .projects-header h2 {
    font-size: 2rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .project-image {
    height: 150px;
  }
}

@media (max-width: 480px) {
  .projects-container {
    padding: 0 10px;
  }
  
  .projects-header h2 {
    font-size: 1.8rem;
  }
  
  .projects-header p {
    font-size: 1rem;
  }
  
  .project-content {
    padding: 15px;
  }
}