* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: system-ui, -apple-system, Helvetica, Arial, sans-serif;
  background: #fff;
  color: #000;
}

/* Navbar */
header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #23232e;
  padding: 10px 20px;
  position: fixed;
  width: 100%;
  z-index: 999;
}

.logo {
  color: #fff;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.logoo {
  display: block;
  margin: 20px auto;
  width: 130px;
}

.nav-list {
  display: flex;
  list-style: none;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.nav-list li {
  margin-left: 20px;
  opacity: 1;
}

.nav-list li a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.nav-list li a:hover {
  opacity: 0.7;
}

/* Mobile menu button */
.mobile-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.mobile-menu div {
  width: 30px;
  height: 3px;
  background: #fff;
  margin: 4px;
  transition: 0.3s;
}

/* Sections */
main {
  padding-top: 80px;
}

.bloco {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 60px 20px;
  gap: 40px;
  flex-wrap: nowrap;
}

.bloco:nth-child(2n) {
  flex-direction: row-reverse;
}

.bloco img {
  max-width: 400px;
  width: 100%;
}

.bloco .texto {
  max-width: 500px;
}

.bloco .texto h2 {
  font-size: 32px;
  line-height: 1.5;
}

/* Footer */
footer {
  background-color: #23232e;
  color: #888;
  text-align: center;
  padding: 20px;
  font-size: 14px;
}

footer a {
  color: #007bff;
  text-decoration: none;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .nav-list {
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    height: 100vh;
    background: #23232e;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
  }

  .nav-list.active {
    transform: translateX(0);
  }

  .nav-list li {
    margin: 20px 0;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.3s ease;
  }

  .nav-list.active li {
    opacity: 1;
    transform: translateX(0);
  }

  .mobile-menu {
    display: flex;
  }

  .bloco {
    flex-direction: column !important;
    text-align: center;
  }

  .bloco img, .bloco .texto {
    width: 90%;
  }
}

/* Animation */
@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.mobile-menu.active .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu.active .line2 {
  opacity: 0;
}

.mobile-menu.active .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}
