@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background-color: #0f172a;
  color: #ffffff;
}


/* Navigation */

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(15, 23, 42, 0.95);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.logo img {
  width: 45px;
  height: 45px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  gap: 25px;
}

#navbar a {
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

#navbar a:hover {
  color: #22d3ee;
}


/* Welcome Section */

#welcome-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg,
      #0f172a,
      #164e63);
}

.hero-logo,
.profile-logo {
  width: 150px;
  height: auto;
  border-radius: 25px;
  margin-bottom: 20px;
}

#welcome-section h1 {
  font-size: 3rem;
}

#welcome-section p {
  font-size: 1.2rem;
  color: #cbd5e1;
}


/* General Sections */

section {
  padding: 80px 10%;
}

section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
}


/* About / AI / Contact */

#about p,
#ai-work p,
#contact p {
  max-width: 800px;
  margin: auto;
  line-height: 1.8;
  text-align: center;
  color: #cbd5e1;
}


/* Skills */

.skills-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.skills-container span {
  background-color: #164e63;
  padding: 12px 20px;
  border-radius: 20px;
}


/* Projects */

#projects {
  background-color: #020617;
}

.project-tile {
  background-color: #1e293b;
  padding: 25px;
  margin: 20px auto;
  max-width: 500px;
  border-radius: 15px;
  text-align: center;
}

.project-tile h3 {
  color: #22d3ee;
}


/* Project Links */

.project-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 15px;
}

.project-tile a {
  display: inline-block;
  color: white;
  background-color: #0891b2;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.project-tile a:hover {
  background-color: #22d3ee;
  color: #0f172a;
}


/* Contact */

#contact {
  text-align: center;
}

#contact a {
  display: inline-block;
  margin-top: 20px;
  color: white;
  background-color: #0891b2;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

#contact a:hover {
  background-color: #22d3ee;
  color: #0f172a;
}


/* Mobile */

@media (max-width: 700px) {

  #navbar {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  #welcome-section {
    padding-top: 140px;
  }

  #welcome-section h1 {
    font-size: 2rem;
  }

  .profile-logo {
    width: 120px;
  }

}
