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

body{
    background-color: #000000;
    color: #ffffff;
}

.scroll-top {
  z-index: 1000;
  position: fixed;
  bottom: 30px;
  right: 20px;
  width: 100px;
  height: 100px;
  background-color: transparent; /* Cor de fundo */
  color: #fff; /* Cor do texto */
  border: 2.5px solid #fff;
  border-radius: 50%;
  font-size: 56px;
  cursor: pointer;
  display: none; /* Inicialmente escondido */
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.scroll-top:hover {
  background-color: #FFD700; /* Cor ao passar o mouse */
}

.scroll-top.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.scroll-top.hide {
  opacity: 0;
  transform: translateY(10px);
}

footer a{
  text-decoration: none;
  color: #ffffff;
  transition: 0.3s;
}

footer a:hover{
  text-decoration: underline;
  transition: 0.3s;
}

.nav-link {
  font-weight: bold;
  font-size: 32px;
  color: #FFD700;
  text-decoration: none;
}

.nav-link:hover{
  color: #FFD700;
}

/* Estilo do botão do menu hambúrguer */
.navbar-toggler {
  display: none; /* Esconde o botão em telas grandes */
  background-color: transparent;
  border: 2px solid #FFD700;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
}

.navbar-toggler-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 215, 0, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
}

.videos-projetos .col video{
  width: 100%;
}

video{
  pointer-events: none;
}

header a{
  font-weight: bold;
  font-size: 32px;
  color: #FFD700;
  text-decoration: none;
}

header{
  display: flex;
  background: linear-gradient(to bottom, #000000, #333333, #000000);
  height: 259px;
  justify-content: space-between;
}

nav ul li{
  display: inline;
}

ul{
  list-style: none;
  gap: 43px;
  margin-right: 50px;
}

ul li{
  margin-top: 15%;
}

.imagem-principal {
  position: relative; /* Necessário para posicionar o pseudo-elemento */
  width: 100%;
  padding: 200px 0px 200px 0px;
  margin-bottom: 200px;
}

.imagem-principal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/imagem-principal-fundo.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(50%); /* Diminui o brilho da imagem */
  z-index: -1;
}

#inicio{
  padding-top: 100px;
}

.cards-inicio{
  margin-left: 5%;
}

.imagem-principal h3{
  margin: 70px 0px 70px 0px;
}

.imagem-principal button{
  margin: 80px 0px 50px 0px;
}

.sobre{
  margin-bottom: 200px;
}

.inicio{
  margin-bottom: 200px;
}

.sobre .lukinha{
  width: 70%;
  border-radius: 20px;
}

.sobre img {
  margin-top: 200px;
  width: 50%;
}

.sobre .texto-sobre{
  padding-top: 25%;
}

.sobre .clientes{
  margin: 200px 0px 200px 0px;
}

.eletromix{
  border-radius: 50%;
}

.div-pessoni img{
  width: 50%;
}

.servicos{
  margin-bottom: 200px;
}

.servicos p{
  margin: 20px 0px 100px 0px;
}

.servicos .card-img-top{
  height: 290.36px;
  object-fit: contain;
}

.servicos .card-black{
  margin-bottom: 100px;
}

button:hover{
  background-color: #FFD700;
  color: #000000;
  border: #FFD700;
  transition: 0.3s;
}

.img-projetos{
  transition: 0.2s;
}

.img-projetos:hover{
  transform: scale(1.2); /* Aumenta a imagem em 20% */
  object-fit: cover; /* Mantém o enquadramento correto */
  transition: transform 0.3s ease-in-out;
}

.informacoes img{
  transition: 0.2s;
}

.informacoes img:hover{
  transform: scale(1.2); /* Aumenta a imagem em 20% */
  object-fit: cover; /* Mantém o enquadramento correto */
  transition: transform 0.3s ease-in-out;
}

.menu{
  position: relative;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  padding-bottom: 4px;
}

.menu::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #FFD700;
  transition: width 0.3s ease-in-out;
}

.menu:hover::after {
  width: 100%;
}

.projetos .col{
  margin: 20px;
}

footer{
  background: linear-gradient(to bottom, #000000, #333333, #000000);
  height: 100%;
  width: 100%;
}

.div-pessoni .antonio{
  margin-top: 10%;
  width: 66%;
  object-fit: contain;
}

footer .informacoes{
  display: flex;
  flex-direction: column;
  width: 100%;
}

header nav ul{
  display: flex;
}

.coment{
  color: #FFD700;
  font-family: montserrat;
  font-weight: bold;
}

.comentario-img .comentario-img1 {
  margin: 30px;
}

.col-md-4{
  margin-bottom: 100px;
}

header img, footer img{
  width: 287.78px;
  height: 259px;
}

p{
  font-size: 24px;
}

.comentarios{
  margin-bottom: 200px;
}

.comentarios p{
  margin-bottom: 100px;
}

.coment{
  font-size: 36px;
}

.contato{
  margin-bottom: 200px;
}

.card-img-container {
  position: relative;
  overflow: hidden;
}

.card-img-container img {
  width: 100%;
  height: auto;
  display: block;
}

.card-img-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
  pointer-events: none; /* Permite interações na imagem */
}

.img-projetos{
  width: 453px;
  height: 302px;
  object-fit: cover;
}

video{
  margin-bottom: 30px;
}

.card-black .card-img-container::after{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
  pointer-events: none; /* Para não afetar os cliques */
}

.servicos img{
  border-radius: 20px 20px 0px 0px;
}

.card-body h5{
  font-family: montserrat;
  font-weight: bold;
  font-size: 32px;
  color: #FFD700;
}

.card-body p{
  font-size: 20px;
}

h1{
  font-family: montserrat;
  font-weight: bold;
  font-size: 64px;
  color: #FFD700;
}

button{
  font-size: 24px;
  width: 400px;
  height: 60px;
  background-color: #000000;
  color: #ffffff;
  border: solid #ffffff 5px;
  border-radius: 50px;
}

.card-servicos{
  margin-left: 6%;
}

.card-inicio{
  margin-left: 10%;
}

.contato h1{
  margin-bottom: 100px;
}

.contato p{
  margin-bottom: 100px;
}

footer div img{
  width: 50px;
  height: 50px;
}

footer .col img{
  margin-top: 15%;
}

footer .row{
  height: 10%;
}

footer.col{
  height: 10%;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeInUp {
  opacity: 0; /* Começa invisível */
}

.fadeInUp.ativo {
  animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.fadeInLeft {
  opacity: 0; /* Começa invisível */
}

.fadeInLeft.ativo {
  animation: fadeInLeft 0.8s ease-out forwards;
}

@keyframes fadeInRight {
  0% {
  opacity: 0;
  -webkit-transform: translate3d(100%, 0, 0);
  transform: translate3d(100%, 0, 0);
  }
  100% {
  opacity: 1;
  -webkit-transform: none;
  transform: none;
  }
  }

.fadeInRight{
  opacity: 0;
}

.fadeInRight.ativo {
  animation: fadeInRight 0.8s ease-out forwards;
}

@keyframes zoomIn {
  0% {
  opacity: 0;
  -webkit-transform: scale3d(.3, .3, .3);
  transform: scale3d(.3, .3, .3);
  }
  100% {
  opacity: 1;
  }
  } 

.zoomIn{
  opacity: 0;
}

.zoomIn.ativo{
  animation: zoomIn 0.8s ease-in forwards;
}

/* Estilo para o menu em telas grandes (desktop) */
@media (min-width: 769px) {
  .navbar-collapse {
    display: flex !important; /* Força a exibição do menu */
    justify-content: flex-end; /* Alinha o menu à direita */
  }

  .navbar-nav {
    flex-direction: row; /* Mantém os itens do menu em linha */
    gap: 20px; /* Espaçamento entre os itens */
  }

  .navbar-toggler {
    display: none; /* Esconde o botão do menu hambúrguer em telas grandes */
  }
}

/* Estilo para o menu em telas pequenas (mobile) */
@media (max-width: 768px) {
  html, body{
    width: 100%;
    overflow-x: hidden; 
    margin: 0;
    padding: 0;
  }

  .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
  }

  #projetos .video-dos-projetos{
    margin: 0px;
    padding: 0px;
    margin-left: 10px;
  }

  header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .sobre .row{
    flex-direction: column;
    display: flex;
  }

  .sobre h1{
    margin-left: -10px;
  }

  .clientes .col p, h3{
    margin-bottom: 100px;
  }

  .card-servicos{
    margin-left: -2px;
  }
  .navbar-toggler {
    display: block; /* Exibe o botão do menu hambúrguer */
    transition: 0.3s;
    width: 200px;
  }

  .fale-conosco{
    margin: -14%;
  }

  button{
    width: 315px;
  }

  .navbar-collapse {
    width: 100%;
    text-align: center;
    justify-content: center;
    background: linear-gradient(to bottom,#333333, #000000);
    padding-right: 30px;
    border-radius: 10px;
    margin-top: 10px;
  }

  .navbar-nav {
    flex-direction: column; /* Empilha os itens do menu */
    gap: 10px;
  }

  .nav-link {
    font-size: 24px; /* Aumenta o tamanho dos links */
    color: #FFD700 !important; /* Cor dos links */
  }

  .nav-link:hover {
    color: #ffffff !important; /* Cor ao passar o mouse */
  }

  body {
    overflow-x: hidden;
    font-size: 16px; /* Ajuste o tamanho da fonte para melhor legibilidade */
  }

  header {
    flex-direction: column; /* Altera a direção do flex para empilhar os elementos */
    height: auto;
    padding: 20px;
  }

  header img {
    width: 150px; /* Reduz o tamanho do logo */
    height: auto;
  }

  footer .rights p{
    font-size: 16px;
  }

  nav ul {
    flex-direction: column; /* Empilha os itens do menu */
    gap: 10px;
    margin-right: 0;
  }

  nav ul li {
    margin-top: 10px;
  }

  .imagem-principal {
    padding: 100px 0px 100px 0px;
    margin-bottom: 100px;
  }

  .imagem-principal h1 {
    font-size: 32px; /* Reduz o tamanho do título */
  }

  .imagem-principal h3 {
    font-size: 18px; /* Reduz o tamanho do subtítulo */
    margin: 30px 0px 30px 0px;
  }

  .imagem-principal button {
    width: 80%; /* Ajusta o tamanho do botão */
    font-size: 18px;
    margin: 40px 0px 25px 0px;
  }

  .inicio, .sobre, .servicos, .projetos, .comentarios, .contato {
    margin-bottom: 100px; /* Reduz a margem inferior */
  }

  .card-black1, .card-black {
    width: 100% !important; /* Ajusta a largura dos cards */
    margin-bottom: 20px;
  }

  .sobre .lukinha {
    width: 100%;
    margin-top: 50px;
  }

  .sobre .texto-sobre {
    padding-top: 10%;
  }

  .servicos .card-img-top {
    height: auto; /* Ajusta a altura das imagens */
  }

  .img-projetos {
    width: 200%; /* Ajusta a largura das imagens dos projetos */
    height: 100%;
    margin-left: -55%;
  }

  video {
    width: 200%; /* Ajusta a largura das imagens dos projetos */
    height: 100%;
    margin-left: -10%;
  }

  footer img {
    width: 100px; /* Reduz o tamanho do logo no footer */
    height: auto;
  }

  footer .informacoes img {
    width: 30px; /* Reduz o tamanho dos ícones de contato */
    height: 30px;
  }

  footer .informacoes p {
    font-size: 14px; /* Reduz o tamanho do texto */
  }

  .scroll-top {
    width: 60px; /* Reduz o tamanho do botão de scroll */
    height: 60px;
    font-size: 36px;
    z-index: 1000;
  }
}