/* ==== GLOBAL STYLES ==== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #eee;
  background: #0a0a0a;
}
a { color: #66b2ff; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ==== NAVBAR ==== */
header {
  background: #111;
  padding: 1rem 2rem;
  position: fixed;
  top: 0; width: 100%;
  z-index: 1000;
}
nav {
  display: flex; justify-content: space-between; align-items: center;
}
.nav-links { list-style: none; display: flex; gap: 1.5rem; }
.nav-links a { color: #eee; transition: color 0.3s; }
.nav-links a:hover { color: #66b2ff; }
.logo { font-weight: 600; font-size: 1.2rem; }

/* ==== HERO ==== */
.hero {
  height: 100vh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  padding: 2rem;
}
.hero h1 { font-size: 2.5rem; margin-bottom: 1rem; }
.accent { color: #66b2ff; }
.tagline { margin-bottom: 2rem; }
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: #66b2ff; color: #111;
  border-radius: 5px;
  transition: 0.3s;
}
.btn:hover { background: #3399ff; }

/* ==== SECTIONS ==== */
section { padding: 5rem 2rem; text-align: center; }
h2 { font-size: 2rem; margin-bottom: 2rem; }

/* ==== PROJECTS ==== */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background: #1a1a1a;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.6);
  transition: transform 0.3s;
}
.card:hover { transform: translateY(-5px); }
.card img { width: 100%; border-radius: 10px; }
.card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(102, 178, 255, 0.5);
}

/* ==== SKILLS ==== */
.skills-grid {
  display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap;
}
.skill {
  background: #1a1a1a;
  padding: 1rem 2rem;
  border-radius: 8px;
  transition: background 0.3s;
}
.skill:hover { background: #66b2ff; color: #111; }

/* ==== CONTACT ==== */
form {
  display: flex; flex-direction: column; gap: 1rem;
  max-width: 400px; margin: 0 auto;
}
input, textarea {
  padding: 0.8rem;
  border: none;
  border-radius: 5px;
  outline: none;
}
textarea { resize: none; height: 120px; }
button { cursor: pointer; }

/* ==== FOOTER ==== */
footer { text-align: center; padding: 2rem; background: #111; margin-top: 2rem; }
