/* Importação da fonte Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Reset e estilos globais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  list-style: none;
  text-decoration: none;
  scroll-behavior: smooth;
  transition: 0.4s ease;
  font-family: "Poppins", sans-serif;
}

html {
  font-size: 62.5%;
}

:root {
  --color-primary: #D51818;
  --color-secondary: #30526B;
  --color-white: #FFFFFF;
  --color-grey: #808080;
}

/* Ícones fixos */
#instagram, #whatsapp {
  position: fixed;
  font-size: 5rem;
  z-index: 1000;
  cursor: pointer;
  bottom: 0;
  gap: 10px;
}

#instagram {
  margin-right: 50px;
  color: black;
}

#whatsapp {
  margin-left: 50px;
  color: red;
}

body{
  width: 100%;
}

/* Estilos do cabeçalho */
header {
  width: 100%;
  background-color: var(--color-secondary);
  padding: 0 12.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .navbar .navLinks {
  display: flex;
  align-items: center;
}

header .navbar .navLinks li {
  padding: 1.7rem 2rem;
  cursor: pointer;
}

header .navbar .navLinks li:hover {
  background-color: var(--color-primary);
}

header .navbar .navLinks li a {
  color: var(--color-white);
  font-size: 1.7rem;
  text-transform: capitalize;
}

header .search i {
  color: var(--color-white);
  font-size: 1.9rem;
  cursor: pointer;
}

#menuBtn {
  display: none;
  color: var(--color-white);
  cursor: pointer;
  font-size: 3rem;
}

header .logo img {
  max-width: 100%;
  width: 60%;
  min-width: 30rem;
  padding: 1rem;
}

/* Estilos da seção */
section {
  padding: 2.5rem 12.5%;
}

/* Estilos do herói */
.hero {
  width: 100%;
  height: 70vh;
  background-image: url('/images/Empresas-de-engenharia-industrial.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero .swiper .slide {
  background-color: rgba(48, 82, 107, 0.7);
  padding: 2rem;
  border-radius: 1rem;
  display: block;
  width: 50%;
}

.hero .swiper .slide h1 {
  font-size: 3.7rem;
  padding-bottom: 2.7rem;
  color: black;
}

.hero .swiper .slide h1 span {
  color: var(--color-white);
  font-weight: 800;
}

.hero .swiper .slide p {
  width: 60rem;
  font-size: 1.3rem;
  color: black;
  padding-bottom: 2.7rem;
  font-weight: 600;
}

.hero .swiper .slide button {
  background-color: var(--color-primary);
  padding: 1.2rem 3.5rem;
  border-radius: 0.5rem;
  color: var(--color-white);
  border: none;
  cursor: pointer;
}

.hero .swiper .slide button:hover {
  background-color: black;
}

/* Media queries */
@media(max-width:550px) {
  .hero .swiper {
    padding: 0;
  }

  .hero .swiper .slide h1 {
    font-size: 2rem;
    color: black;
  }

  .hero .swiper .slide p {
    width: 30rem;
    font-size: 1rem;
    color: black;
    padding-bottom: 2rem;
    font-weight: 600;
  }
}

@media (max-width:991px) {
  header .logo img {
    min-width: 20rem;
  }

  header .search i {
    display: none;
  }

  header .navbar .navLinks li {
    padding: 1.7rem 1rem;
  }

  .hero .swiper .slide {
    width: 100%;
  }
}

@media(max-width:768px) {
  #menuBtn {
    display: block;
    padding: 1rem;
  }

  header .navbar .navLinks {
    display: none;
  }

  header .navbar .navLinks.toggle {
    display: block;
    margin: auto;
  }

  header .search i {
    display: none;
  }

  .hero .swiper .slide p {
    width: 100%;
  }

  header .navbar .navLinks li {
    padding: 1rem 1rem;
  }

  header .navbar .navLinks li:hover {
    background: transparent;
  }

  header .navbar .navLinks li a:hover {
    color: var(--color-primary);
  }

  
}

/* Serviços */
.service {
  width: 100%;
  background: var(--color-white);
}

.service .service-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 3rem;
  padding-top: 5.5rem;
}

.service-row .col-1 img {
  max-width: 100%;
  width: 37rem;
  height: 47rem;
  border: 1px solid var(--color-grey);
}

.service-row .col-1 h4 {
  font-size: 2rem;
  color: var(--color-secondary);
  padding-top: 2.5rem;
  padding-bottom: 1rem;
}

.service-row .col-1 p {
  font-size: 1.4rem;
  color: black;
  padding-bottom: 1.5rem;
}

.service-row .col-1 a {
  font-size: 1.4rem;
  text-transform: capitalize;
  color: var(--color-secondary);
  font-weight: 500;
}

/* Sobre */
.about {
  background-color: var(--color-secondary);
  padding-top: 4.5rem;
}

.about h2 {
  font-size: 2.7rem;
  color: var(--color-white);
  text-align: center;
  margin-top: 2rem;
}

.about p.text {
  font-size: 2rem;
  color: var(--color-white);
  text-align: center;
  margin: 0 auto;
  max-width: 90%;
}

.about .about-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  padding-top: 5.5rem;
  justify-content: center;
}

.about-row .col-1 {
  text-align: justify;
  border: 1px solid var(--color-white);
  border-radius: 2rem;
  padding: 2rem;
  max-width: 45%;
  flex: 1 1 40%;
  margin: auto;
}

.about-row .col-2 {
  margin: auto;
  flex: 1 1 45%;
}

.about-row .col-2 img {
  max-width: 100%;
  width: 100%;
  display: block;
  margin: auto;
  border-radius: 2rem;
}

.about-row .col-1 h3 {
  font-size: 2.8rem;
  color: var(--color-white);
}

.about-row .col-1 p {
  color: var(--color-white);
  font-size: 1.3rem;
  padding-bottom: 2.6rem;
  text-align: right;
}

.about-row .col-1 form {
  width: 100%;
  padding: 2rem;
  font-size: 1.2rem;
  display: flex;
  flex-direction: column;
  color: var(--color-white);
}

.about-row .col-1 form button {
  margin-top: 5rem;
  padding: 1rem 2rem;
  background-color: var(--color-primary);
  border: none;
  color: var(--color-white);
  border-radius: 0.5rem;
  cursor: pointer;
}

.about-row .col-1 form button:hover {
  background-color: darkred;
}

.about-row .col-1 form textarea {
  padding: 1rem;
  margin-bottom: 2rem;
  font-size: 1.6rem;
  border: 1px solid var(--color-white);
  border-radius: 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  width: 100%;
  resize: vertical;
  height: 5rem;
}

/* Responsividade */
@media (max-width: 968px) {
  .about-row .col-1, 
  .about-row .col-2 {
    max-width: 100%;
    flex: 1 1 100%;
  }





 
}

/* Galeria */
.gallery {
  text-align: center;
  padding-top: 4.5rem;
}

.gallery h1, .titleProject {
  font-size: 3rem;
  color: var(--color-secondary);
}

.gallery-row .gl-slide {
  width: 100%;
  height: 45rem;
  overflow: hidden;
}

.gallery-row .gl-slide img {
  width: 100%;
  transition: transform 0.4s ease;
}

.gallery-row .gl-slide:hover img {
  transform: scale(1.13);
}

.gallery2 {
  text-align: center;
}

#galeria {
  max-width: 100vw;
  width: 100vw;
}

.gl-slide2 img {
  max-width: 80%;
  width: 100%;
  border: 1px solid black;
}

/* Rodapé */
footer {
  background-color: var(--color-secondary);
}

footer .row-one {
  display: grid;
  grid-template-columns: 20% 1fr;
  gap: 1rem;
}

footer .row-one img {
  max-width: 100%;
}

footer .row-one h5 {
  color: var(--color-white);
  font-size: 2rem;
}

footer .row-one .col-2 p.phone i,
footer .row-one .col-2 p.mail {
  padding-right: 0.5rem;
}

footer .row-one .col-2 p {
  color: var(--color-white);
  font-size: 2.3rem;
}

footer .row-one .col-2 .inf {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: auto;
}

@media(max-width:430px) {
  .service .service-row {
    grid-template-columns: 1fr;
  }
}


    /* .maisInfo{
      padding: 5rem;
    }

    .maisInfo img{
      width: 30%
    } */
