@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');

* {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
}

body {
    background-color: rgb(100, 100, 100);
}

header {
    background-color: #83adca;
    color: #fff;
    /* padding: 15px 0; */
    /* position: sticky; */
    top: 0;
    width: 100%;
    height: 60px;
    z-index: 1000;
    transition: background-color 0.3s ease;
    box-shadow: 0px 8px 10px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap;
}

header .logo img{
    width: 60px;
}

.container nav a {
    margin: 20px;
    color: #fff;
    text-decoration: none;
    font-size: 25px;
}

h1 {
    text-align: center;
    margin-top: 1rem;
    text-transform: uppercase;
    color: #fff;
}

.imagens-main {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    /* margin: 4rem 0; */
}

.imagens-main img {
    width: 30%;
    object-fit: contain;
    display: block;
}

/*CARDS*/
#machine {
    display: flex;
    align-items: stretch;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    margin-top: 1rem;
    gap: 20px;
}

.info {
    background: #333;
    padding: 20px;
    border-radius: 10px;
    max-width: 300px;
}

.info h2 {
    font-size: 1rem;
    color: #fff;
    font-weight: bold;
}

.info img {
    width: 250px;
}

.info p {
    color: #fff;
    font-size: 12px;
}

#mach1 {
    color: #fff;
    margin-top: 5rem;
    text-align: center;
}

#mach1 H3 {
    font-weight: bold;
}

.maq {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
    gap: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.maq img {
    width: 300px;
    height: auto;
    flex-shrink: 0;
}

.maq p {
    flex: 1;
    font-size: 16px;
    line-height: 1.4;
    color: #fff;
    text-align: left;
}

.maq p a {
    text-decoration: underline;
    color: #fff;
    font-weight: bold;
}

#main-footer {
    background-color: #2f2f2f;
    color: #fff;
    padding: 1rem 2rem;
    text-align: center;
    font-size: 14px;
    margin-top: 3rem;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
}

.footer-content p {
    margin: 0.5rem;
}

.social-links a {
    color: #fff;
    margin: 0 0.8rem;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #7da6ce;
}

.social-links i {
    font-size: 15px;
    margin-right: 8px;
}

h2 {
    text-align: center;
    margin-top: 0.7rem;
    text-transform: uppercase;
    color: #fff;
}

#sobre p {
  max-width: 800px;
  margin: 1rem auto;
  text-align: center;
  line-height: 1.6;
  color: #fff;
  font-size: 0.8rem;
  padding: 0 1rem;
}

p {
    text-align: center;
    margin-top: 0.7rem;
    color: #fff;
}

/*CONTATOS*/
#contact .content {
    display: flex;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
    margin: 40px 0;
    justify-content: center;
    align-items: center;
}

#contact .content a {
    background: #2e2f34;
    height: 120px;
    width: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1.2em;
    color: #fff;
    transition: 0.5s;
}

#contact .content a:hover {
    background: #7da6ce;
}

#contact .content a ion-icon {
    color: #7da6ce;
    font-size: 1.5em;
    margin-right: 10px;
    transition: 0.5s;
}

#contact .content a:hover,
#contact .content a:hover ion-icon {
    color: #222;
}

.servicos {
  color: #fff;
  text-align: center;
  margin: 2rem auto;
  max-width: 1200px;
  padding: 0 1rem;
}

.servico {
  margin-top: 3rem;
}

.produtos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 2rem;
}

.produto {
  background: #333;
  border-radius: 15px;
  padding: 20px;
  width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.produto img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.produto h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #7da6ce;
}

.produto p {
  font-size: 0.9rem;
  line-height: 1.5;
}

.produto:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

/*NAVBAR MOBILE*/

@media (max-width: 1024px) {
    #machine {
    flex-direction: column;
    align-items: center;
}
  #contact .content {
    flex-direction: column;
    align-items: center;
  }

  #contact .content a {
    width: 50%;
    height: auto;
    padding: 15px;
    margin-bottom: 15px;
    font-size: 1em;
  }

  #contact .content a ion-icon {
    margin-right: 8px;
    font-size: 1.3em;
  }
}

@media (max-width: 900px) {
  .produtos {
    flex-direction: column;
    align-items: center;
  }

  .produto {
    width: 90%;
  }
}

@media (max-width: 768px) {
  #contact .content {
    flex-direction: column;
    align-items: center;
  }

  #contact .content a {
    width: 80%;
    height: auto;
    padding: 15px;
    margin-bottom: 15px;
    font-size: 1em;
  }

  #contact .content a ion-icon {
    margin-right: 8px;
    font-size: 1.3em;
  }
}


@media (max-width: 600px) {

    .container nav a {
        margin: 0.5rem;
        font-size: 1rem;
    }

    .imagens-main {
        flex-direction: column;
        /* muda o layout para coluna */
        gap: 20px;
        /* espaço entre as imagens */
    }

    .imagens-main img {
        width: 80%;
        /* imagens maiores e centralizadas */
        max-width: 300px;
        /* limite de tamanho */
    }

    #mach1 .maq {
        flex-direction: column;
        text-align: center;
    }

    #mach1 .maq img {
        width: 100%;
        max-width: 150px;
    }

    #mach1 .maq p {
        max-width: 90%;
        margin: 0 auto;
        font-size: 12px;
    }

    .maq p a {
        text-decoration: underline;
        color: #fff;
        font-weight: bold;
    }

    #contact .content {
        flex-direction: column;
        align-items: center;
    }

    #contact .content a {
        width: 80%;
        height: auto;
        padding: 15px;
        margin-bottom: 15px;
        font-size: 1em;
    }

    #contact .content a ion-icon {
        margin-right: 8px;
        font-size: 1.3em;
    }

}