/* Global Styles */
body {
  font-family: 'Inter', Arial, sans-serif;
  margin: 0;
  background-color: #e6ebf1;
  color: #1f2937;
  line-height: 1.6;
}

a {
  text-decoration: none;
}

header {
  background: linear-gradient(135deg, #1e293b, #3b82f6);
  color: white;
  padding: 60px 20px 120px;
  text-align: center;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto 30px;
}

nav h1 {
  margin: 0;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: white;
  font-weight: 600;
  transition: 0.3s;
}

.nav-links li a:hover {
  color: #facc15;
}

/* Hero */
.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.hero-button {
  background-color: #facc15;
  color: #1f2937;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 600;
  transition: 0.3s;
}

.hero-button:hover {
  background-color: #f59e0b;
  color: white;
}

/* Sections */
main {
  max-width: 1100px;
  margin: -100px auto 0;
  padding: 0 20px;
}

section {
  background: #ffffff;
  padding: 50px 30px;
  margin: 40px 0;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

section h2 {
  margin-top: 0;
  color: #0f172a;
  font-weight: 700;
  margin-bottom: 25px;
}

/* Projects */
.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.project-card {
  background: #f1f5f9;
  padding: 25px;
  flex: 1 1 300px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.project-card img {
  max-width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.project-button {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 22px;
  border-radius: 10px;
  background-color: #3b82f6;
  color: white;
  font-weight: 600;
  transition: 0.3s;
}

.project-button:hover {
  background-color: #1e40af;
}

/* Resume */
.resume-button {
  display: inline-block;
  background-color: #3b82f6;
  color: white;
  padding: 15px 30px;
  border-radius: 12px;
  font-weight: 600;
  margin-top: 15px;
  transition: 0.3s;
}

.resume-button:hover {
  background-color: #1e40af;
}

/* Contact */
.social-links {
  margin-top: 15px;
  display: flex;
  gap: 20px;
  justify-content: center;
}

.social-links a {
  padding: 10px 20px;
  border-radius: 10px;
  background: #e2e8f0;
  transition: 0.3s;
}

.social-links a:hover {
  background: #3b82f6;
  color: white;
}

/* Footer */
footer {
  text-align: center;
  padding: 25px;
  color: #64748b;
  font-size: 0.9rem;
  border-top: 1px solid #cbd5e1;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 12px;
  }

  .project-list {
    flex-direction: column;
  }

  section {
    width: 95%;
  }
}
