/* ---------- Reset ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f5f7fa;
  color: #1a1a1a;
  line-height: 1.6;
}

/* ---------- Header ---------- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8%;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-weight: 700;
  letter-spacing: 1px;
}

nav a {
  margin-left: 25px;
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 500;
}

nav a:hover {
  color: #0073bb;
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 80px 20px;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 700;
}

.hero h1 span {
  color: #0073bb;
}

.hero h2 {
  font-weight: 500;
  color: #555;
  margin: 10px 0 15px;
}

.hero p {
  color: #444;
  max-width: 500px;
  margin: 0 auto 25px;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.btn {
  background: #0073bb;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn:hover {
  background: #005f94;
}

.btn.secondary {
  background: transparent;
  border: 1px solid #0073bb;
  color: #0073bb;
}

.btn.secondary:hover {
  background: #0073bb;
  color: white;
}

/* ---------- Projects ---------- */
.projects {
  padding: 60px 8%;
  background: #fff;
}

.projects h2 {
  text-align: center;
  margin-bottom: 40px;
}

.project-list {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.project {
  background: #f8f9fc;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.project h3 {
  margin-bottom: 10px;
}

/* ---------- About ---------- */
.about {
  padding: 60px 8%;
  text-align: center;
}

.about p {
  max-width: 700px;
  margin: 15px auto;
}

/* ---------- Contact ---------- */
.contact {
  padding: 60px 8%;
  background: #f8f9fc;
  text-align: center;
}

.contact ul {
  list-style: none;
  margin-top: 15px;
}

.contact a {
  color: #0073bb;
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

/* ---------- Footer ---------- */
footer {
  background: #1a1a1a;
  color: white;
  text-align: center;
  padding: 15px 0;
  font-size: 0.9rem;
}

.project-link {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: #0078d7;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.project-link:hover {
  background-color: #005fa3;
}
