* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  color: #333;
}

/* Header & Navigation */
header {
  background: rgba(255, 255, 255, 0.95);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.social-links a {
  text-decoration: none;
  color: #667eea;
  font-weight: 500;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #764ba2;
}

/* Hero Section */
.hero {
  max-width: 1200px;
  margin: 3rem auto 4rem;
  padding: 0 2rem;
  text-align: center;
  color: white;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  opacity: 0.95;
}

.hero .subtitle {
  font-size: 1rem;
  opacity: 0.8;
}

/* Projects Section */
.projects-section {
  max-width: 1200px;
  margin: 2rem auto 4rem;
  padding: 0 2rem;
}

.projects-section h2 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 3rem;
  text-align: center;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

/* Project Cards */
.project-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.project-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

.project-description {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1.5rem;
  flex: 1;
  line-height: 1.5;
}

.project-footer {
  display: flex;
  gap: 1rem;
  margin-top: auto;
  justify-content: center;
  align-items: center;
}

.project-link {
  flex: 1;
  padding: 0.7rem 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  text-align: center;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.project-link:hover {
  opacity: 0.9;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  background: #f0f0f0;
  color: #667eea;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  gap: 0.3rem;
}

/* Footer */
footer {
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  text-align: center;
  color: #666;
  border-top: 1px solid #e0e0e0;
}

footer p {
  margin-bottom: 1rem;
}

footer .social-links {
  justify-content: center;
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .projects-section h2 {
    font-size: 1.8rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  nav {
    padding: 0 1rem;
  }

  .social-links {
    gap: 1rem;
  }

  .social-links a {
    font-size: 0.9rem;
  }
}
