@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  text-decoration: none;
  list-style: none;
}

html {
  scroll-behavior: smooth;
}

strong {
  text-transform: uppercase;
}

[id] {
  scroll-margin-top: 80px;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  background: #1a1a1a;
}
::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: #d40808;
  border-radius: 10px;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  background-color: #333;
  color: #f4f4f4;
  display: flex;
  justify-content: space-between;
  text-decoration: none;
  padding: 5px 20px;
  z-index: 1000;
  opacity: 0.9;
  backdrop-filter: blur(10px);
}

header ul li {
  padding-top: 25px;
  display: inline-block;
  margin-right: 20px;
}

header a {
  text-decoration: none;
  color: #f4f4f4;
  
}

.header-link::after {
  content: "";
  margin-top: 5px;
  display: block;
  width: 0;
  height: 2px;
  background: #d40808;
  transition: width 0.3s ease;
}
.header-link:hover::after {
  width: 100%;
}

.logo img {
  width: 100px;
  height: 100px;
  margin-top: -15px;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.3);
  transition: transform 0.3s ease;
}

.btn-login {
  background-color: #d40808;
  color: #f4f4f4;
  padding: 10px 20px;
  border-radius: 5px;
  border: 1px solid #f4f4f4;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border: hidden
}
.btn-login:hover {
  background-color: #000000;
}

.home {
  color: #f4f4f4;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: left;
  position: relative;
  
}

.home img {
  position: absolute;
  height: 100%;
  object-fit: cover;

  top: 0;
  z-index: -1;
  width: 100%;
}
.home-content {
  margin-top: 200px;
  margin-left: 50px;
}

.home-content h1 {
  font-size: 50px;
  color: #f4f4f4;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

.home-content p {
  font-size: 20px;
  color: #f4f4f4;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.home-content a {
  background-color: #d40808;
  color: #f4f4f4;
  padding: 10px 100px;
  border-radius: 5px;
  font-size: 18px;
  transition: background-color 0.3s ease;
}

.home-content a:hover {
  background-color: #000000;
}

.sobre {
  background-color: #333;
  display: block;
  width: 100%;
  justify-content: center;
  align-items: center;
  color: #f4f4f4;
  padding-bottom: 200px;
}

.title {
  text-align: center;
  padding-top: 30px;
  font-size: 40px;
  color: #f4f4f4;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.title2 {
  text-align: center;
  padding-top: 30px;
  margin-bottom: 30px;
  font-size: 40px;
  color: #000000;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.title3 {
  text-align: center;
  margin-bottom: 15px;
  font-size: 40px;
  color: #f4f4f4;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.sobre-content {
  display: flex;
  text-align: justify;
  padding: 20px;
  color: #f4f4f4;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  max-width: 1100px;
  flex-wrap: wrap;
  border-radius: 10px;

  padding: 50px 0;
  gap: 20px;
}
.sobre-content img {
  width: 500px;
  height: 400px;
  margin-right: 10px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.sobre-content p {
  padding: 10px;
  font-size: 20px;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
.sobre-content p strong {
  font-weight: bold;
  color: #f06262;
}

.servico-caixa {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.servico-card:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.servico-card {
  background-color: #333;
  color: #f4f4f4;
  border-radius: 10px;
  height: 300px;
  width: 300px;
  padding: 20px;
  box-shadow: 5px 4px 8px rgba(0, 0, 0, 1);
  transition: transform 0.3s ease;
}

.servico-caixa-texto {
  text-align: center;
}

i {
  font-size: 50px;
  margin-bottom: 10px;
}

.info-servico {
  font-size: 24px;
  margin-bottom: 10px;
  color: #f06262;
  text-transform: uppercase;
  font-weight: bold;
}

.paragrafo-servico {
  font-size: 16px;
  color: #f4f4f4;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.contato-container {
  background-color: #333; /* cor escura do container */
  color: #f4f4f4;
  max-width: 1800px;
  margin: 0px auto;
  margin-top: 50px;
  padding: 40px;
  border-radius: 30px 30px 0 0; /* bordas só em cima */
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.contato-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px; 
  color: #f4f4f4;
  margin: 0 auto;
}

.contato-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: #f4f4f4;
  margin: 0 auto;
  max-width: 600px;
  background-color: #444; /* cor de fundo do formulário */
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin-top: 20px;
  padding: 30px;
}

.contato-form label {
  font-size: 18px;
  margin-bottom: 10px;
}

.contato-form input,
.contato-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: none;
  border-radius: 5px;
  background-color: #555; /* cor de fundo dos campos */
  color: #f4f4f4; /* cor do texto */
}

.contato-form input:focus,
.contato-form textarea:focus {
  outline: none;
  border: 2px solid #d40808; /* cor do contorno ao focar */
}

.contato-form button {
  background-color: #d40808; /* cor do botão */
  color: #f4f4f4; /* cor do texto do botão */
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 18px;
  transition: background-color 0.3s ease;
}
.contato-form button:focus {
  outline: none;
  box-shadow: 0 0 5px rgba(212, 8, 8, 0.5); /* sombra ao focar */
}
.contato-form button:hover {
  background-color: #000000; /* cor do botão ao passar o mouse */
}
.contato-form input::placeholder,
.contato-form textarea::placeholder {
  color: #f4f4f4; /* cor do texto do placeholder */
  opacity: 0.5; /* opacidade do placeholder */
}

footer {
  background-color: #333;
  color: #f4f4f4;
  text-align: center;
  padding: 20px;
  position: relative;
  bottom: 0;
  width: 100%;
  margin-top: 30px;
    text-shadow: 0 -2px 5px rgba(0, 0, 0, 1);
}

footer p {
  margin: 0;
  font-size: 14px;
}
footer a {
  color: #d40808;
  text-decoration: none;
}

.redes-sociais {
  display: flex;
  flex-direction: column;
  position: fixed;
  bottom: 50px;
  right: 20px;
  z-index: 1000;
}

.sm {
  transition: 0.2s ;
  background-color: #d40808;
  color: #f4f4f4;
  padding: 10px 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-bottom: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  
}

.sm:hover {
  scale: 1.3;
}

.redes-sociais i {
  font-size: 30px;
  color: #f4f4f4;
  transition: transform 0.3s ease;
  transition: 0.2s;
}





/* Esconder Elementos */

.home-content h1, .home-content p, .home-a, .title, .sobre-content p, .sobre-content img, .title2, .title3, .servico-card1, .servico-card2, .servico-card3, .servico-card4, .servico-card5, .servico-card6, .servico-card7, .servico-card8, .servico-card9, .contato-texto1, .contato-texto2, .contato-texto3, .contato-form, .form-nome, .form-email, .form-msg, .form-telefone, button {
  visibility: hidden;
}

/* Media Queries */

/* Mobile pequeno (até 480px) */
@media (max-width: 480px) {
  .home-content h1 {
    font-size: 30px;
  }

  .home-content p {
    font-size: 16px;
  }

  .logo img {
    width: 70px;
    height: 70px;
  }

  .servico-card {
    width: 90%;
    height: auto;
  }

  .sobre-content {
    flex-direction: column;
    padding: 20px;
  }

  .sobre-content img {
    width: 100%;
    height: auto;
  }

  .contato-form {
    width: 100%;
    padding: 20px;
  }
}

/* Celular maior ou tablet (481px a 768px) */
@media (max-width: 768px) {
  header {
    height: 60px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  header ul li {
    font-size: 8px;
    padding: 0;
  }

   .logo img {
    margin-top: 6px;
    width: 50px;
    height: 50px;
  }

  .btn-login {
    padding: 5px 5px;
    font-size: 10px;
  }

  [id] {
  scroll-margin-top: 60px;
}
 
  .home-content {
    margin-top: 150px;
    margin-left: 20px;
  }

  .home-content h1 {
    font-size: 36px;
  }

  .servico-caixa {
    grid-template-columns: 1fr;
  }

  .servico-card {
    width: 90%;
    margin: 0 auto;
  }

  .sobre-content {
    flex-direction: column;
    align-items: center;
  }

  .sobre-content img {
    width: 100%;
    height: auto;
    margin-right: 0;
  }
}

/* Tablet maior ou notebooks pequenos (769px a 1024px) */
@media (max-width: 1024px) {
  .servico-caixa {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .servico-card {
    height: auto;
  }

  .home-content h1 {
    font-size: 40px;
  }

  .home-content p {
    font-size: 18px;
  }
}

/* Telas muito grandes (acima de 1400px) */
@media (min-width: 1400px) {
  .home-content h1 {
    font-size: 60px;
  }

  .home-content p {
    font-size: 24px;
  }

  .servico-card {
    height: 350px;
  }
}