:root {
  --primary-bg: #0a0a0a;
  --secondary-bg: #111;
  --accent-color: #ff1493;    /* pink/purple */
  --hover-accent: #ff6347;    /* orange */
  --text-color: #fff;
  --text-muted: #ccc;
  --border-color: #333;
  --button-radius: 25px;
  --transition-speed: .25s;
  --animation-duration: .8s;
  --animation-easing: cubic-bezier(0.25, 0.1, 0.25, 1.0);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--primary-bg);
  color: var(--text-color);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }

/* Header/Nav (removed redundant styles - using main.css instead) */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10,10,10,0.9);
  padding: 20px 0;
  z-index: 1000;
  backdrop-filter: blur(5px);
}
.nav-container {
  width: 90%; max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.logo {
  font-size: 1.8rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-color);
  transition: color var(--transition-speed);
}
.logo:hover { color: var(--hover-accent); }

/* Main Projects Section */
main { padding-top: 100px; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 40px 0; }
h2 { text-align: center; font-size: 2.5rem; margin-bottom: 50px; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.project-card {
  background: var(--secondary-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-speed), border-color var(--transition-speed);
  opacity: 0;
  animation: fadeIn var(--animation-duration) var(--animation-easing) forwards;
}
.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
}

.project-image {
  background: transparent;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.project-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

.project-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  justify-content: space-between;
}
.project-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 700;
}
.project-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex: 1;
}

.btn-secondary {
  padding: 12px 40px;
  background: var(--accent-color);
  color: var(--text-color);
  border: none;
  border-radius: var(--button-radius);
  cursor: pointer;
  font-size: 0.9rem;
  transition: background var(--transition-speed), transform var(--transition-speed);
  margin: 0 auto;
  display: block;
}

/* Footer */
footer {
  background: var(--primary-bg);
  padding: 2rem 0;
  margin-top: 3rem;
}

footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  font-size: 1.2rem;
  color: var(--text-color);
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--accent-color);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Add staggered animations to project cards */
.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
.project-card:nth-child(4) { animation-delay: 0.4s; }
.project-card:nth-child(5) { animation-delay: 0.5s; }
.project-card:nth-child(6) { animation-delay: 0.6s; }
.project-card:nth-child(7) { animation-delay: 0.7s; }
.project-card:nth-child(8) { animation-delay: 0.8s; }
