/* GENERAL STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar .logo {
  font-weight: 700;
  font-size: 1.5rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.nav-links a:hover {
  color: #007BFF;
}

/* HERO */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('../images/profile.jpg') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
}

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

.btn {
  display: inline-block;
  padding: 10px 20px;
  background: #007BFF;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background: #0056b3;
}

/* ABOUT */
.about {
  padding: 100px 50px;
  background: #f9f9f9;
}

.about h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2rem;
}

.about-content {
  display: flex;
  gap: 50px;
  align-items: center;
  flex-wrap: wrap;
}

.about-content img {
  max-width: 300px;
  border-radius: 50%;
}

.about-text p {
  margin-bottom: 15px;
}

/* PORTFOLIO */
.portfolio {
  padding: 100px 50px;
}

.portfolio h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2rem;
}

.projects {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.project {
  background: #fff;
  padding: 20px;
  width: 300px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 10px;
  text-align: center;
}

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

.project h3 {
  margin-bottom: 10px;
}

/* CONTACT */
.contact {
  padding: 100px 50px;
  background: #f9f9f9;
}

.contact h2 {
  text-align: center;
  margin-bottom: 50px;
}

.contact form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact input, .contact textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.socials {
  text-align: center;
  margin-top: 20px;
}

.socials a {
  margin: 0 10px;
  text-decoration: none;
  color: #007BFF;
}

.socials a:hover {
  text-decoration: underline;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: #222;
  color: #fff;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .navbar {
    flex-direction: column;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }
}
