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

/* Estilos globais */
body {
  font-family: "Open Sans", sans-serif;
  background-color: #f0f0f0;
  color: #333;
  margin: 0;
  padding: 0;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #00bcd4;
  color: white;
}

#navbrand {
  font-family: "Roboto Slab", serif;
  font-size: 1.5rem;
}

#menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

nav {
  display: flex;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  padding: 0;
}

.nav-link {
  margin-left: 1rem;
}

.nav-link a {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  color: white;
  text-decoration: none;
}

.nav-link a:hover {
  text-decoration: underline;
}

.contact-button {
  background-color: #ff9800;
  padding: 0.5rem 1rem;
  border-radius: 0.35rem;
}

.contact-button a {
  color: white;
}

.contact-button:hover {
  background-color: #e68900;
}

/* Seção Home */
#home {
  text-align: center;
  padding: 13rem 1rem;
  background-color: #fff;
  color: #333;
}

#home h2 {
  font-family: "Roboto Slab", serif;
  font-size: 2rem;
}

#home p {
  font-family: "Lato", sans-serif;
  font-size: 1rem;
}

#link-about {
  color: #ff9800;
  text-decoration: none;
}

#link-about:hover {
  text-decoration: underline;
}

/* Seção about */
#about {
  padding: 16rem 1rem;
  background-color: #eee;
  color: #333;
  text-align: center;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 50%;
}

/* Seção de serviços */
#services {
  padding: 3rem 1rem;
  background-color: #ffffff;
  color: #333;
  text-align: center;
}

.services-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.services-list li {
  margin: 1rem;
  padding: 2rem;
  max-width: 300px;
  border: 1px solid #ddd;
  border-radius: 0.35rem;
}

.services-list img {
  max-width: 100%;
  height: auto;
}

.services-list h3 {
  font-family: "Roboto Slab", serif;
  font-size: 1.25rem;
  margin: 1rem 0 0.5rem;
}

.services-list p {
  font-family: "Lato", sans-serif;
}

/* Seção de contato */
#contact {
  padding: 3rem 1rem;
  background-color: #f0f0f0;
  color: #333;
}

#form-contact {
  max-width: 600px;
  margin: 0 auto;
}

#form-contact label {
  display: block;
  margin-bottom: 0.5rem;
  margin-left: 0.25rem;
  font-family: "Lato", sans-serif;
}

#form-contact input,
#form-contact select,
#form-contact textarea {
  width: 100%;
  padding: 0.5rem;
  background-color: #fff;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 0.35rem;
}

#form-contact input[type="submit"] {
  background-color: #00bcd4;
  padding: 0.85rem;
  color: white;
  border: none;
  cursor: pointer;
}

#form-contact input[type="submit"]:hover {
  background-color: #0097a7;
}

/* Rodapé */
footer {
  background-color: #00bcd4;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
}

.footer-links li {
  margin: 0 0.5rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Responsivo */
@media (max-width: 768px) {
  #menu-toggle {
    display: block;
  }

  nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 60px;
    left: 0;
    background-color: #00bcd4;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 1rem 0;
    border-top: 1px solid white;
  }

  .nav-link a {
    display: block;
    width: 100%;
  }

  .contact-button {
    width: 100%;
  }
}

nav.active {
  display: flex;
}
