/* Estilos Globais */

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

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f7f7f7;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  margin-bottom: 10px;
}

h1 {
  font-size: 36px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 18px;
}

a {
  text-decoration: none;
  color: #337ab7;
}

a:hover {
  color: #23527c;
}

/* Estilos para a Navbar */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #333;
  padding: 10px 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.navbar .logo {
  color: #fff;
  align-content: center;
  align-items: center;
}

.navbar .logo img {
  height: 50px;
  width: 50px;
  object-fit: cover;
  border-radius: 50%;
}

.navbar .menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.navbar .menu li {
  position: relative;
}

.navbar .menu a {
  color: white;
  text-decoration: none;
  padding: 15px;
  display: block;
}

.navbar .menu a:hover {
  background-color: #575757;
}

.navbar .menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

/* Estilos para o Dropdown */

.dropdown {
  display: none;
  position: absolute;
  background-color: #333;
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 1;
}

.dropdown li {
  width: 100%;
}

.navbar .menu li:hover .dropdown {
  display: block;
}

/* Estilos para a Header */

.header {
  width: 100%;
  height: 100px;
  background-color: #333;
  color: #fff;
  padding: 20px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header img {
  width: 100px;
  height: 100px;
  margin: 0 auto;
  border-radius: 50%;
}

.header h1 {
  font-size: 24px;
  margin: 0;
}

/* Estilos para a Main */

.main {
  width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #d49100;
}

/* Estilos para a Section */

section {
  background-color: #f7f7f7;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Estilos para a Slideshow */
.servicos {
  width: 100%;
  min-height: 600px;
}

.slideshow {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.slide {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: opacity 0.5s;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.texto {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #333;
  color: #fff;
  padding: 10px;
  border: none;
  cursor: pointer;
}

.prev {
  left: 0;
}

.next {
  right: 0;
}

/* Estilos para a Projeto Container */

.projetos-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 20px;
}

.projetos {
  background-color: #f7f7f7;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 90%;
}

.projetos img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.sobre{width: 90%;}
/* Estilos para a Contato Form */
.contato{
  width: 90%;
}
.contato-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.contato-form label {
  margin-bottom: 10px;
}

.contato-form input, .contato-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: none;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contato-form button {
  background-color: #333;
  color: #fff;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* Estilos para a Contato Info */

.contato-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.contato-info p {
  margin-bottom: 10px;
}

/* Estilos para a Footer */

.footer {
  width: 100%;
  height: 50px;
  background-color: #333;
  color: #fff;
  padding: 10px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Media Queries */

@media (max-width: 700px) {
  .navbar .menu {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  .navbar .menu-toggle {
    display: block;
  }

  .navbar .menu.active {
    display: flex;
  }
  .servicos{
    width: 100%;
  }
  .contato{
    width: 100%;
    color: red;
  }
  .sobre{
    width: 100%;
  }
  .projetos{
    width: 100%;
  }

}

@media (max-width: 768px) {
  .header {
    height: 80px;
  }
  .nav {
    display:block;
  }
  .menu-toggle {
    display: block;
  }

  .main {
    padding: 10px;
  }

  .footer {
    height: 40px;
  }

  .projetos-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .header {
    height: 60px;
  }

  .main {
    padding: 5px;
  }

  .footer {
    height: 30px;
  }

  .projetos-container {
    grid-template-columns: repeat(1, 1fr);
  }
}