@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #2575fc #00001a;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #00001a;
  color: #ffffff;
}

#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.text-gradient {
  background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

header .text-gradient {
  font-size: 1.8rem;
  font-weight: 700;
}

nav.navigation a {
  color: #ffffff;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 300;
  transition: color 0.3s ease;
}

nav.navigation a:hover {
  color: #00aaff;
}

#menu-toggle {
  display: none;
}

.main-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  padding: 20px;
}

.hero-section {
  transform: translateY(40px);
}

.hero-section h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero-section p {
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 30px;
}

.social-links .btn {
  color: #ffffff;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 50px;
  margin: 0 10px;
  font-weight: 500;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-links .btn:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.btn-linkedin {
  background-color: #0A66C2;
}

.btn-github {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.scroll-down-arrow {
  margin-top: 60px;
  font-size: 2rem;
  animation: bounce 2s infinite;
}

.section {
  max-width: 960px;
  margin: 0 auto;
  padding: 60px 40px;
}

.section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 60px;
}

.section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

.experience-card {
  background-color: rgba(25, 29, 60, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.experience-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 117, 252, 0.5);
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.experience-header h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.experience-header span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-weight: 500;
}

.experience-company-link {
  color: #2575fc;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.experience-company-link:hover {
  color: #ffffff;
}

.experience-description {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 25px;
}

.experience-description li {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
  font-size: 0.95rem;
}

.experience-description li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #2575fc;
  font-size: 1.2rem;
  line-height: 1;
}

.experience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.experience-tags span {
  background-color: rgba(37, 117, 252, 0.15);
  color: rgba(255, 255, 255, 0.8);
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.skill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 15px;
  transition: transform 0.3s ease;
}

.skill-item:hover {
  transform: scale(1.1);
}

.skill-item i {
  font-size: 4.5rem;
}

.skill-item span {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.project-card {
  background-color: rgba(25, 29, 60, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.project-image {
  overflow: hidden;
}

.project-card img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: center;
}

.project-content h3 {
  font-size: 1.4rem;
  margin-top: 0;
  margin-bottom: 15px;
  color: #ffffff;
}

.project-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.7;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
  justify-content: center;
}

.project-tags span {
  background-color: rgba(37, 117, 252, 0.15);
  color: rgba(255, 255, 255, 0.8);
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

.project-links {
  display: flex;
  gap: 20px;
  margin-top: auto;
  justify-content: center;
}

.project-links a {
  color: #2575fc;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.project-links a:hover {
  color: #ffffff;
}

.contato-final {
  text-align: center;
  padding-top: 80px;
  padding-bottom: 80px;
}

.contato-final h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.contato-socials {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

.contato-socials a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.8rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.contato-socials a:hover {
  color: #2575fc;
  transform: translateY(-3px);
}

.contato-cta {
  font-size: 1.2rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 20px;
}

.btn-contato {
  display: inline-block;
  background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
  color: #ffffff;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-contato:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(37, 117, 252, 0.3);
}

.site-footer-final {
  padding: 40px 0;
}

.footer-final-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.footer-separator {
  border: none;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 30px;
}

.footer-final-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.footer-credits {
  margin-top: 10px;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #00001a;
}

::-webkit-scrollbar-thumb {
  background-color: #2575fc;
  border-radius: 20px;
  border: 2px solid #00001a;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #6a11cb;
}

@media (max-width: 768px) {
  .section {
    padding: 80px 20px;
  }
  .section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
  }
  header {
    padding: 20px;
  }
  #menu-toggle {
    display: block;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001;
  }
  nav.navigation {
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    height: 100vh;
    background-color: rgba(25, 29, 60, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
  }
  nav.navigation.active {
    transform: translateX(0);
  }
  nav.navigation a {
    margin: 0;
    font-size: 1.5rem;
  }
  .hero-section h1 {
    font-size: 2.2rem;
    line-height: 1.4;
    margin-bottom: 20px;
  }
  .hero-section p {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  .social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  .experience-item {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .experience-period {
    flex-basis: auto;
    margin-bottom: 5px;
    font-weight: 600;
  }
  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
  .project-content {
    text-align: center;
  }
  .project-tags {
    justify-content: center;
  }
  .project-links {
    justify-content: center;
  }
  .footer-final-content {
    flex-direction: column;
    gap: 10px;
  }
  .contato-final {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .contato-socials {
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 35px;
  }
  .contato-cta {
    font-size: 1.1rem;
  }
  .btn-contato {
    padding: 12px 30px;
    font-size: 1rem;
  }
}