body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
}

/* Navigation */
.navbar {
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-logo {
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.back-home {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s;
}

.back-home:hover {
  color: #fff;
}

/* Section Title */
.section-title {
  font-size: 2.2rem;
  text-align: center;
  margin-top: 3rem;
  margin-bottom: 2rem;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 0 3rem 4rem;
}

.project-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s ease;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover img {
  transform: scale(1.08);
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.project-card:hover .overlay {
  opacity: 1;
  transform: translateY(0);
}

.overlay h3 {
  margin: 0;
  font-size: 1.3rem;
  color: #fff;
}

.overlay p {
  margin-top: 0.3rem;
  font-size: 0.95rem;
  color: #aaa;
}

/* Footer */
footer {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: #aaa;
}

/* Fade-in Animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
