/* Certifique-se de que a fonte esteja carregando corretamente */
@import url("https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;700&display=swap");

/*Geral do CSS*/
body {
  font-family: "Roboto Slab", serif;
  margin: 0;
  padding: 0;
}

:root {
  --branco: #ffffff;
  --cinza-escuro: #3d3d3d;
  --cinza-claro: #cacaca;
  --cinza-medio: #a3a3a3;
  --cinza-fundo: #c6c6c6;
  --vermelho: #6c0206;
}

/*Configuração do Header*/
header {
  background: linear-gradient(to bottom,  #a3a3a3, rgba(194, 192, 192, 0.7));
  color: black;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  font-weight: bold;
}

.logo {
  margin-left: 1em;
}

.logo img {
  height: 5em;
  margin: 0.5em;
}

.menu-btn {
  display: none;
}

nav ul {
  list-style-type: none;
  margin: 0 1em 0 0;
  padding: 1em;
  display: flex;
  justify-content: space-between;
}

nav ul li a {
  color: black;
  text-decoration: none;
  padding: 0.625em 0.9375em;
  border-radius: 0.3125em;
  transition: background-color 0.3s;
}

nav ul li a:hover {
  background-color: var(--cinza-escuro);
}

/*Configuração da sessão highlight*/
.highlight {
  display: flex;
  margin: 5em 0 1.5em 0;
  padding: 1.5em;
  border-radius: 0.9375em;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.highlight-image {
  flex: 1;
}

.highlight-image img {
  width: 100%;
  height: auto;
  border-radius: 0.9375em;
}

.highlight-text {
  flex: 1;
  margin-left: 1.5em;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.highlight-text h2 {
  font-size: 2em;
  margin-bottom: 0.5em;
}

.highlight-text p {
  font-size: 1.25em;
  line-height: 1.5;
  font-weight: 300;
}

/* Configuração da aba highlight reversa */
.highlight-invert {
  margin: 5em 1.5em 1.5em 1.5em;
  padding: 1.5em;
  border-radius: 0.9375em;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: var(--cinza-claro);
}

.highlight-invert-image {
  flex: 1;
}

.highlight-invert-image img {
  width: 100%;
  height: auto;
  border-radius: 0.9375em;
}

.highlight-invert-text {
  flex: 1;
  margin-left: 1.5em;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.highlight-invert-text h2 {
  font-size: 2em;
  margin-bottom: 1em;
  text-align: center;
}

/*Configuração da sessão portfólio*/
.portfolio {
  padding: 2em;
  text-align: center;
  border-radius: 0.625em;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 2em 0;
  background-color: var(--cinza-claro);
}

.portfolio h2 {
  font-size: 2.5em;
  color: var(--cinza-escuro);
  margin-bottom: 1em;
}

.image-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin: 0 auto;
  max-width: 120em;
}

.image-container {
  width: 48%;
  position: relative;
  overflow: hidden;
}

.image-container img {
  width: 100%;
  height: auto;
  object-fit: cover; /* Ajusta as imagens para manter a proporção dentro do contêiner */
  border-radius: 1em;
  transition: opacity 0.5s ease-in-out;
  align-items: center;
  justify-content: center;
}

.hidden {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.container {
  display: flex;
}
/*Sessão dinamica*/
.dynamic-content .container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2em;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: var(--cinza-fundo);
  position: relative;
}

.swiper-container {
  width: 50%;
  overflow: hidden;
  position: relative;
}

.swiper-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.swiper-slide {
  min-width: calc(50% - 3%); /* Cada slide ocupa 50% da largura do container, com margem */
  margin: 0 10px;
  background-color: var(--branco);
  color: black;
  display: inline-block;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 110%;
  border-radius: 5px;
  font-size: 18px;
  padding: 2px;
}

.swiper-slide img {
  max-width: 150px;
  margin-top: 40px;
  display: flex;
  justify-content: left;
  margin-left: 50px;
}

.swiper-slide p {
  margin-right: 1em;
  margin-left: 1em;
  font-size: 85%;
}

.swiper-slide h3 {
  font-size: 36px;
  text-align: left;
  margin-left: 0.5em;
}

.swiper-button-prev, .swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  z-index: 10;
}

.swiper-button-prev img, .swiper-button-next img {
  width: 3em;
}

.swiper-button-prev {
  left: 22%; /* Ajuste a posição para colar no slide à esquerda */
}

.swiper-button-next {
  right: 22%; /* Ajuste a posição para colar no slide à direita */
}

.swiper-button-prev:hover, .swiper-button-next:hover {
  background-color: rgba(0, 0, 0, 0.8); /* Destacar ao passar o mouse */
}
.swiper-button-prev:hover,
.swiper-button-next:hover {
  background-color: rgba(0, 0, 0, 0.8); /* Efeito ao passar o mouse */
}



/*Configuração na aba serviços*/
.services {
  margin: 3em 1.5em;
  padding: 1.5em;
  border-radius: 0.9375em;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-item {
  background-color: var(--cinza-claro);
  border-radius: 0.9375em;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 1em;
  text-align: center;
}

.addditional-service-item {
  padding: 1em;
  text-align: center;
}

.addditional-service-item img {
  width: 7.5em;
  height: auto;
  border-radius: 0.5em;
}

.service-text {
  margin: 0.5em 0;
  text-align: center;
}

.service-item img {
  width: 100%;
  height: auto;
  border-radius: 0.5em;
}

.service-item h3 {
  margin: 0.5em 0;
}

.service-btn {
  display: inline-block;
  padding: 0.75em 1.5em;
  margin-top: 1em;
  background-color: var(--vermelho);
  color: var(--branco);
  text-align: center;
  text-decoration: none;
  border-radius: 0.5em;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.3s;
}

.service-btn:hover {
  background-color: #8b0000;
  transform: scale(1.05);
}

/* Configuração do botão de WhatsApp */
.whatsapp {
  position: fixed;
  bottom: 1em;
  right: 1em;
  text-align: center;
  font-weight: 700;
  padding: 1.25em 0;
  z-index: 1000;
}

.whatsapp a {
  text-decoration: none;
  color: var(--branco);
  display: inline-block;
}

.whatsapp-btn {
  background-color: var(--vermelho);
  padding: 0.75em 1.5em;
  border-radius: 0.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s, transform 0.3s;
}

.whatsapp-btn:hover {
  background-color: #8b0000;
  transform: scale(1.05);
}

.whatsapp img {
  width: 1.5em;
  margin-right: 0.5em;
  vertical-align: middle;
}

.whatsapp span {
  vertical-align: middle;
}

/*Serviços Adicionais*/

.additional-services {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 40px;
  padding: 0 10%;
}

.additional-services .service-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 20px;
}

.additional-services .service-item img {
  max-width: 10em;
  max-height: 10em;
  margin: 0 2em 0 2em;
}

.additional-services .service-text {
  flex: 1;
}

.additional-services .service-item h3 {
  margin: 0;
}

/* Configuração do footer */
footer {
  background-color: black;
  color: var(--branco);
  padding: 1.25em;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
}

footer .contato,
footer .redes-sociais {
  flex: 1;
  padding: 0 1.25em;
}

footer .contato h3,
footer .redes-sociais h3 {
  margin-top: 0;
}

footer .contato p,
footer .redes-sociais a {
  display: flex;
  align-items: center;
  margin-bottom: 0.3125em;
  text-decoration: none;
  color: var(--branco);
}

footer .contato img,
footer .redes-sociais img {
  width: 1.25em;
  margin-right: 0.625em;
}

footer .contato p a,
footer .redes-sociais p a {
  text-decoration: none;
  color: var(--branco);
  margin-right: 0.625em;
}

footer .redes-sociais p {
  margin-top: 0.3125em;
  font-size: 0.9em;
}

/* Configuração do form de contato */
.contact-form {
  margin: 3em 1.5em;
  padding: 1.5em;
  background-color: var(--cinza-claro);
  border-radius: 0.9375em;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
  margin-bottom: 1em;
  font-size: 2em;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-bottom: 0.5em;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  margin-bottom: 1em;
  padding: 0.5em;
  font-size: 1em;
  border: 1px solid var(--cinza-medio);
  border-radius: 0.5em;
}

.contact-form button {
  padding: 0.75em;
  font-size: 1.25em;
  background-color: var(--vermelho);
  color: var(--branco);
  border: none;
  border-radius: 0.5em;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.contact-form button:hover {
  background-color: #8b0000;
  transform: scale(1.05);
}

.tab-content {
  margin-top: 2em;
}

.tab-pane {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.card {
  background-color: var(--cinza-claro);
  color: var(--cinza-escuro);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 1em;
  width: 30%;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card img {
  border-radius: 10px 10px 0 0;
  width: 100%;
  height: auto;
}

.card-body {
  padding: 1.5em;
  text-align: center;
}

.card-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.75em;
}

.card-text {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 300;
}

/* Media query para dispositivos móveis */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .card {
    width: 100%;
  }
  
  .logo {
    margin-left: 0;
  }

  .logo img {
    height: 4em;
    margin-left: 1em;
  }

  .menu-btn {
    display: block;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    position: absolute;
    top: 15%;
    right: 5%;
  }

  .menu-btn img {
    height: 3em;
    width: 3em;
    visibility: visible;
  }

  nav {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  nav ul {
    flex-direction: column;
    padding: 0;
    width: 100%;
  }

  nav ul li {
    width: 100%;
    text-align: center;
    margin: 0.5rem 0;
  }

  nav ul li a {
    width: 100%;
    padding: 1rem;
  }

  nav.active {
    display: flex;
  }

  .highlight {
    flex-direction: column;
    text-align: center;
  }

  .highlight-image {
    width: 100%;
    margin-bottom: 1rem;
  }

  .highlight-text {
    margin-left: 0;
  }

  .highlight-invert {
    flex-direction: column;
    text-align: center;
  }

  .highlight-invert-image {
    width: 100%;
    margin-bottom: 1rem;
  }

  .highlight-invert-text {
    margin-left: 0;
  }

  .portfolio {
    padding: 1em;
  }

  .image-wrapper {
    flex-direction: column;
    margin-top: 1em;
  }

  .image-container {
    width: 100%;
    margin-top: 1em;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-item img {
    width: 100%;
  }

  .dynamic-content {
    flex-direction: column;
  }

  .content-list {
    margin: 0;
  }

  .whatsapp-btn {
    width: 3em;
    height: 3em;
    padding: 0.5em;
  }

  .whatsapp img {
    width: 1.5em;
  }

  .whatsapp span {
    display: none;
  }

  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  footer .contato,
  footer .redes-sociais {
    margin: 0.5em 0;
  }

  footer .contato p,
  footer .redes-sociais a {
    justify-content: center;
  }

  .contact-form {
    margin: 1.5em 1em;
    padding: 1em;
  }

  .contact-form h2 {
    font-size: 1.5em;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 1em;
  }

  .contact-form button {
    font-size: 1em;
  }


.swiper-slide {
  min-width: 95%; /* Cada slide ocupa 50% da largura do container, com margem */
  background-color: var(--branco);
  color: black;
  display: inline-block;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 110%;
  border-radius: 5px;
  font-size: 18px;
  padding: 2px;
}

.swiper-container {
  width: 95%;
  overflow: hidden;
  position: relative;
}

.swiper-button-prev img, .swiper-button-next img {
  width: 2em;
}

.swiper-button-prev {
  left: 2%; /* Ajuste a posição para colar no slide à esquerda */
}

.swiper-button-next {
  right: 2%; /* Ajuste a posição para colar no slide à direita */
}

.swiper-button-prev:hover, .swiper-button-next:hover {
  background-color: rgba(0, 0, 0, 0.8); /* Destacar ao passar o mouse */
}
.swiper-button-prev:hover,
.swiper-button-next:hover {
  background-color: rgba(0, 0, 0, 0.8); /* Efeito ao passar o mouse */
}

.additional-services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 40px;
  padding: 0 10%;
}

.additional-services .service-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 20px;
}

.additional-services .service-item img {
  max-width: 10em;
  max-height: 10em;
  margin: 0 2em 0 2em;
}

.additional-services .service-text {
  flex: 1;
}

.additional-services .service-item h3 {
  margin: 0;
}
}