/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: #0f0f0f;
  color: #fff;
  line-height: 1.6;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background: rgba(0, 0, 0, 0.8);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  color: #fff;
}
.logo span {
  color: #00ffcc;
}

.navbar ul {
  display: flex;
  list-style: none;
}
.navbar ul li {
  margin-left: 20px;
}
.navbar ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}
.navbar ul li a:hover {
  color: #00ffcc;
}

/* HERO */
#hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #111, #222);
  text-align: center;
  padding: 0 10%;
}
.hero-content h2 {
  font-size: 3rem;
}
.hero-content span {
  color: #00ffcc;
}
.hero-content p {
  margin: 1rem 0;
  font-size: 1.2rem;
}
.btn {
  display: inline-block;
  background: #00ffcc;
  color: #000;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.2s;
}
.btn:hover {
  transform: scale(1.05);
}

/* PROJECTS */
#projects {
  padding: 4rem 10%;
  background: #111;
}
.section-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.card {
  background: #1a1a1a;
  padding: 1.5rem;
  border-radius: 10px;
  transition: transform 0.3s;
}
.card:hover {
  transform: translateY(-8px);
}
.card h3 {
  margin-bottom: 1rem;
  color: #00ffcc;
}

/* ABOUT */
#about {
  padding: 4rem 10%;
  background: #0f0f0f;
}
.about-text {
  text-align: center;
  max-width: 600px;
  margin: auto;
  font-size: 1.1rem;
  color: #ddd;
}

/* CONTACT */
#contact {
  padding: 4rem 10%;
  background: #111;
}
#contact form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
}
#contact input, #contact textarea {
  margin-bottom: 1rem;
  padding: 12px;
  border: none;
  border-radius: 5px;
  outline: none;
}
#contact button {
  cursor: pointer;
}
#formMessage {
  text-align: center;
  margin-top: 1rem;
  font-weight: bold;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 1rem;
  background: #000;
  color: #777;
}
