/*
  Cor Primária #ea1d2c = vermelho

  Card:
    Cor fundo de texto #fff = branco
    Cor texto #000 = cinza escuro

  Sem card / Body:
    Cor fundo de texto #fff = quase branco
    Cor texto #400 = vermelho escuro

  Botão:
      Cor fundo de texto #ea1d2c = vermelho
      Cor texto #fff = branco
    hover:
      Cor fundo de texto #717171 = cinza escuro
      Cor texto #fff = branco

*/

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

body {
  font-family: 'Roboto-Medium.ttf';
  line-height: 1.6;
  background-color: #400;
  color: #000;
}

header {
  background-color: #fff;
  color: #000;
  padding: 10px 0;
  text-align: center;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
}

#intro>ol {
  padding-left: 30px;
}

nav ul li a {
  color: #000;
  background-color: #717171;
  border-radius: 5px;
  text-decoration: none;
  padding: 8px 25px;
  transition: all 0.3s;
}

nav ul li a:hover {
  color: #fff;
  background-color: #ea1d2c;
  border-radius: 5px;
}

section {
  padding: 20px;
  max-width: 1200px;
  margin: 20px auto;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#contact {
  display: flex;
}

#contact>div:nth-child(1) {
  flex-grow: 1;
}

#contact>div:nth-child(2) {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
}

p {
  margin-bottom: 20px;
}

ul {
  list-style: none;
  padding-left: 0;
}

ul li {
  margin-bottom: 10px;
  margin-top: 10px;
  font-weight: bold;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

/* Botão do WhatsApp */
.whatsapp-button.float {
  position: fixed;
  right: 22px;
  bottom: 32px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
  transform: scale(1);
  animation: pulse 2s infinite;
}

.whatsapp-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ea1d2c;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s;
  margin-top: 10px;
  text-align: center;
  border: 2px solid #ea1d2c;
}

.ifoodbtn {
  display: flex;
  align-content: center;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  width: 280px;
  border: 2px solid #ea1d2c;
}

.whatsapp-button:hover {
  background-color: #717171;
  color: #fff;
  border: 2px solid #ea1d2c;
}

/* Carrossel de Imagens */
.carousel {
  display: flex;
  overflow-x: auto;
  gap: 10px;
}

.carousel-item {
  min-width: 200px;
  flex: 0 0 auto;
}

.carousel-item img {
  max-width: 100%;
  border-radius: 5px;
  height: 380px;
}

/* Responsividade */
@media (max-width: 768px) {
  nav {
    display: none;
  }

  /*nav ul {
        flex-direction: column;
    }
    nav ul li a {
        padding: 16px 145px;
    }*/

  .carousel-item {
    /*min-width: 200px;*/
    /*min-width: 100%;*/
  }
}

img.image-mobile {
  width: 214px;
  height: 380px;
}

/* Estilo do iframe */
iframe {
  width: 100%;
  border: none;
  border-radius: 10px;
}

/* Estilos do Footer */
footer {
  background-color: #fff;
  color: #000;
  text-align: center;
  padding: 20px;
  margin-top: 20px;
  border-radius: 0 0 10px 10px;
}

/* Estilo da Galeria de Serviços */
.gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: 5px;
  background-color: #f9f9f9;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.service-item.reverse {
  flex-direction: row-reverse;
}

.service-item img {
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.service-text {
  width: 55%;
}
@media (max-width: 1001px) and (min-width: 768px) {
  .width1001 {
    display: none;
  }
}


@media (max-width: 768px) {
  .service-item {
    flex-direction: column;
    text-align: center;
  }

  .service-item.reverse {
    flex-direction: column;
  }

  .service-text {
    width: 100%;
  }
}
.title_icon {
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
}
.title_icon h1 {
  margin-left: 5px;
  letter-spacing: -1.59px;
}
.title_icon img {
  -webkit-animation:spin 16s linear infinite;
  -moz-animation:spin 16s linear infinite;
  animation:spin 16s linear infinite;
}
@-moz-keyframes spin { 
  100% { -moz-transform: rotate(360deg); } 
}
@-webkit-keyframes spin { 
  100% { -webkit-transform: rotate(360deg); } 
}
@keyframes spin { 
  100% { 
    -webkit-transform: rotate(360deg); 
    transform:rotate(360deg); 
  } 
}


.regions {
  display: flex;
  justify-content: center;
}
.region1,.region2{
  display: flex;
  flex-direction: column;
  width: 440px;
}
.region_link {
  display: contents;
}
.region1 a .region_map {
  height: 700px;
  object-fit: contain;
  object-position: right;
}
.region2 a .region_map {
  height: 700px;
  object-fit: contain;
  object-position: left;
}

@media (max-width: 768px) {
  .regions {
    flex-direction: column;
  }
  .region1 a .region_map {
    object-position: left;
  }
  .region1, .region2 {
    display: contents;
  }
}
@media (max-width: 916px) {
  .region1 a .region_map {
    height: 200px;
  }
  .region2 a .region_map {
    height: 200px;
  }

}