 @font-face {
    font-family: poppins;
    src: url(Poppins-ExtraLight.ttf);
}
@font-face {
  font-family: poppinsThin;
  src: url(Poppins-Thin.ttf);
}
@font-face {
    font-family: montserrat;
    src: url(Montserrat-VariableFont_wght.ttf);
}

@font-face {
    font-family: NotoSans;
    src: url(NotoSansGunjalaGondi-Medium.ttf);
}

@font-face {
  font-family: lexend;
  src: url(LexendExa-Thin.ttf);
}

@font-face {
  font-family: roboto;
  src: url(RobotoMono-Thin.ttf);
}
@font-face {
  font-family: raleway;
  src: url(Raleway-Thin.ttf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body{
    background-image: url(empresa-metalurgica.jpg);
    background-attachment: fixed;
    background-size: cover;
  }


  header {
    background-color: white;
    display: flex;
    justify-content: center; 
    align-items: center;      
    padding: 10px 0;          
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  
  nav {
    display: flex;
    gap: 3.5cm;                
    font-family: 'Poppins', sans-serif;
  }
  
  nav a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-size: 20px;
    position: relative;
    transition: color 0.3s;
    transition: background-color 0.3s, transform 0.3s;
  }
  
  nav a:hover {
    color: #093d75;
    transform: scale(1.05);
  }
 

  .hero {
  
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
    position: relative;
  }

  .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 0;
  }

  .hero-content {
    position: relative;
    z-index: 1;
    font-family: montserrat;
  }

  .hero h1 {
    font-size: 2.8cm;
    margin-bottom: 20px;
    color: #ffffff;
  }
  
  .hero p {
    font-size: 27px;
    margin-bottom: 3cm;
    color: #e1ddd9;
  }

  .botao {
  display: inline-block;
  padding: 25px 40px;
  background-color: #093d75;
  color: #ffffff;
  text-decoration: none;
  font-family: montserrat;
  font-size: 18px;
  letter-spacing: 2px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  transition: background-color 0.3s, transform 0.3s;
    
  }
  
  .botao:hover {
    background-color: #0a2f58;
    color: rgb(255, 255, 255);
    transform: scale(1.05);
  }

  /* .geral*/

.geral {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center; 
  padding: 50px;
  background-color: #141414;
  height: auto;
  gap: 40px;
}
.colunas {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start; 
  width: 100%;

}

/* Conteudo Sobre */
.conteudoSobre {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start !important;
  align-items: center;
  padding: 40px !important;
  border-right: 3px solid #141414;
  margin-left: 20px;
  margin-right: 70px;
}

.conteudoSobre h1 {
  margin-bottom: 20px;
  font-family: montserrat, sans-serif;
  letter-spacing: 4px;
  font-size: 1cm;
  margin-bottom: 70px;
  color: #ffffff;
 
}


.conteudoSobre img {
  width: 125%;
  height: auto;
  object-fit: cover;
}

.txtDeco {
  margin-bottom: 40px;
  font-family: lexend;
  letter-spacing: 4px;
  font-size: 1.2cm !important;
  color: #f0ecec;
  text-align: left; 
  line-height: 1.1; 
}

.txtDeco .linha-baixo {
  display: inline-block;
  margin-left: 150px; 
}

/* Conteudo Lado */
.conteudoLado {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 40px;
  margin-right: 40px;
  margin-top: -40px;
}

.conteudoLado img {
  width: 115%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 50% / 10%; /* igual ao da esquerda */
  object-fit: cover;
}

.conteudoLado p {
  
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  max-width: 80%;
  border-radius: 10px;
  text-align: justify;
  font-family: poppins;
}

/* Botão final */
.botaoFinal {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: -30px; 
}

.botaoLink {
  display: inline-block;
  padding: 15px 40px;
  background-color: #093d75;
  color: #ffffff;
  text-decoration: none;
  font-family: montserrat;
  font-size: 18px;
  letter-spacing: 2px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  transition: background-color 0.3s, transform 0.3s;
}

.botaoLink:hover {
  background-color: #0a2f58;
  transform: scale(1.05);
  color: rgb(255, 255, 255);
}


  hr{
    color: 4px solid black;
  }
  


.scrollreveal {
  visibility: hidden;
}


@media (max-width: 1024px) {
    /* Ajustes gerais para telas de tablet e menores */
    .hero h1 {
        font-size: 2cm; /* Reduzir tamanho do título principal */
    }

    .hero p {
        font-size: 22px; /* Reduzir tamanho do parágrafo principal */
        margin-bottom: 2cm;
    }

    .botao {
        padding: 20px 30px; /* Ajustar padding do botão */
        font-size: 16px;
    }

    .geral {
        padding: 30px; /* Reduzir padding da seção geral */
    }

    .colunas {
        flex-direction: column; /* Colocar as colunas em pilha */
        align-items: center; /* Centralizar itens */
    }

    .conteudoSobre, .conteudoLado {
        flex: none; /* Remover flex-grow */
        width: 90%; /* Definir largura para preencher a tela */
        margin-left: 0;
        margin-right: 0;
        padding: 20px;
        border-right: none; /* Remover borda em telas menores */
    }

    .conteudoSobre h1 {
        font-size: 0.8cm;
        margin-bottom: 40px;
    }

    .conteudoSobre img {
        width: 100%; /* Ajustar largura da imagem para preencher a coluna */
    }

    .txtDeco {
        font-size: 1cm !important;
        text-align: center; /* Centralizar texto */
    }

    .txtDeco .linha-baixo {
        margin-left: 0; /* Remover margin-left */
        display: block; /* Garante que "linha-baixo" fique em sua própria linha */
    }

    .conteudoLado img {
        width: 90%; /* Ajustar largura da imagem */
        margin-top: 30px; /* Adicionar espaço entre as seções */
    }

    .conteudoLado p {
        max-width: 95%;
        font-size: 16px; /* Aumentar um pouco a fonte para leitura */
    }

    .botaoFinal {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    /* Ajustes específicos para telas de celular maiores (landscape) */
    nav {
        gap: 15px; /* Reduzir o espaçamento entre os links */
    }

    nav a {
        font-size: 18px; /* Ajustar tamanho da fonte dos links */
    }

    .hero h1 {
        font-size: 1.5cm;
    }

    .hero p {
        font-size: 20px;
        margin-bottom: 1.5cm;
    }

    .botao {
        padding: 18px 25px;
        font-size: 15px;
    }

    .geral {
        padding: 20px;
        gap: 30px;
    }

    .conteudoSobre, .conteudoLado {
        padding: 15px;
        width: 95%; /* Ocupar mais espaço em telas menores */
    }

    .conteudoSobre h1 {
        font-size: 0.7cm;
        margin-bottom: 30px;
    }

    .txtDeco {
        font-size: 0.8cm !important;
    }

    .conteudoLado p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    /* Ajustes para celulares menores (portrait) */
    header {
        padding: 8px 0;
    }

    nav {
        gap: 10px; /* Pequeno gap para links */
        padding: 0 5px;
    }

    nav a {
        font-size: 15px;
        padding: 5px; /* Adiciona um pequeno padding para facilitar o clique */
    }

    .hero h1 {
        font-size: 1cm; /* Reduzir ainda mais o título */
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 18px;
        margin-bottom: 1cm;
    }

    .botao {
        padding: 15px 20px;
        font-size: 14px;
        letter-spacing: 1px;
    }

    .geral {
        padding: 15px;
        gap: 20px;
    }

    .conteudoSobre h1 {
        font-size: 0.6cm;
        margin-bottom: 20px;
    }

    .txtDeco {
        font-size: 0.7cm !important;
    }

    .conteudoLado p {
        font-size: 14px;
    }

    .botaoLink {
        padding: 12px 30px;
        font-size: 16px;
        letter-spacing: 1px;
    }
}

  