/*-----------------------------------------------------------
* Template Name    : Kings Services
* Author           : King Service
* Created          : March 2025
* File Description : painel css file of the template
*------------------------------------------------------------
*/

/***********************
    1.CORPO
    2.CORES
    3.NAVBAR

************************/


/* ===================== */
/* CORPO */
/* ===================== */
* {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--cor-branca);
}

/* =============================================== */
/* CORES*/
/* ================================================ */
:root {
    --cor-principal: #40a43b;
    --cor-texto: #4A585C;
    --cor-sombra: #e2e2e2;
    --cor-branca: #ffffff;
    --cor-texto-principal: #252525;
    --cor-bacground-page: #e4e4e4;
    --cor-branca-permanet: #fff;
    --cor-footer: #4A585C;
    --cor-branco-permanente: #ffff;
}

.darkmode {
  --cor-principal: #40a43b;
  --cor-texto: #ffffff;
  --cor-sombra: #292929;
  --cor-branca: #323232;
  --cor-texto-principal: #ffffff;
  --cor-bacground-page: #4e4e4e;
  --cor-branca-permanet: #fff;
}

/* ============
sub-nav
================= */
.sub-nav{
    position: fixed;
    height: 50px;
    width: 100%;
    background-color: #0000006e;
    backdrop-filter: blur(7px);
    z-index: 100;
    margin-top: 70px;
}

.contactos {
  display: flex
;
  gap: 50px;
  padding: 25px 0px 0px 0px;
  margin: 0 auto;
  max-width: 656px;
  align-items: center;
  justify-content: space-between;
}

.contactos ul{
  display: flex;
  flex-direction: row;
  gap: 50px;
  align-items: center;
  /* margin-left: 20%; */
  color: #fff;
}

.contactos ul li a{
  color: #fff;
}

.nav-links1 {
  list-style: none;
  display: flex;
}

.nav-links1 li {
  margin: 0 10px;
}

.nav-links1 a {
  text-decoration: none;
  color: var(--cor-texto);
  font-size: 16px;
  transition: 0.3s;
}

/* ======================
NAVBAR
======================= */
header {
    position: fixed;
    left: 0;
    width: 100%;

    z-index: 1000;
    transition: .5s;
    border-bottom: 1px solid var(--cor-sombra);
    background-color: var(--cor-branca);

  }

  .barra {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 1100px;
    margin: auto;
    padding: 10px 0px;
    transition: background-color 0.5s ease;
    z-index: 1000;
  }

  .barra i{
    font-size: 30px;
    color: var(--cor-texto);
    cursor: pointer;
    transition: .5s;
  }

  .barra i:hover{
color: var(--cor-principal);
transform: scale(1.05);
  }
  .navbar a {
    color: inherit;
    text-decoration: none;
    font-size: 20px;
    margin-right: 0px;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
  }

  .nav-links li {
    margin: 0 10px;
  }

  .nav-links a {
    text-decoration: none;
    color: var(--cor-texto);
    font-size: 16px;
    transition: 0.3s;
  }

  .nav-links a:hover,
  .nav-links a.active {
    color: var(--cor-principal);
    font-size: 16px;
  }
  
  /* Ícone do menu (hambúrguer) */
  .menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
  }
  .menu-icon i {
font-size: 35px;
color: var(--cor-texto);

  }

  .menu-icon a i:hover{
    color: var(--cor-principal);
  }

  .lingua,
  #language-switcher {
    background: transparent;
    padding: 10px 30px 10px 30px;
    font-size: 14px;
    border: 1px solid var(--cor-texto);
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10px;
    color: var(--cor-texto);
    font-weight: bold;
    transition: color 0.5s, border-color 0.5s;
  }
  .lingua img{
    width: 20px;
  }
  
.nav-links li .servico,
.nav-links li #servicos {
    background: transparent;
    width: 78px;
    margin-top: -5px;
    padding: 5px;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    color: var(--cor-texto);
    transition: color 0.5s, border-color 0.5s;
  }

  .navbar.scrolled .lingua,
  .navbar.scrolled #language-switcher {
    color: rgb(66, 66, 66);
    border-color: rgb(66, 66, 66);
  }
  
  .logo img {
    height: 40px;
    width: auto;
    transition: opacity 0.3s ease;
    color: var(--cor-texto-principal);
    transition: .5s;
  }

  .logo img:hover{
    transform: scale(1.05);
  }

  .logo img.fade {
    opacity: 0;
  }

/* Dark-Light Mode */
  #theme-switch{
    width: 50px;
    height: 50px;
    padding: 0;
    display: flex;
    background: transparent;
    border: none;
    justify-content: center;
    align-items: center;
    transition: .5s;
    cursor: pointer;
  }

  #theme-switch i:hover{
    color: var(--cor-principal);
    transform: scale(1.05);
  }

#theme-switch i:last-child{
display: none;
  }

.darkmode #theme-switch i:first-child{
    display: none;
  }

  #theme-switch i{
    font-size: 25px;
color: var(--cor-texto);
transition: .2s;
  }

  .darkmode #theme-switch i:last-child{
    display: block;
  }

  /* select mode */
  .menu-content {
    display: none;
    position: fixed;
    top: 120px;
    left: 0;
    width: 100%;
    height: 500px;
    background: white;
    padding: 20px;
    border-top: 2px solid #ffffff;
    /* align-items: center; */
    /* height: 300px; */
    transition: .8s;
    z-index: 1000;
    animation: .5s scale-up-ver-top;
}

@keyframes scale-up-ver-top {
    0% {
      -webkit-transform: scaleY(0.4);
              transform: scaleY(0.4);
      -webkit-transform-origin: 100% 0%;
              transform-origin: 100% 0%;
    }
    100% {
      -webkit-transform: scaleY(1);
              transform: scaleY(1);
      -webkit-transform-origin: 100% 0%;
              transform-origin: 100% 0%;
    }
  }
.menu-content.active {
    display: block;
}





/* select mode */
.bottao{
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  align-items: center;
  margin-top: 10px;
}

.bottao a{
  width: 90%;
  text-decoration: none;
  align-items: center;
  text-align: center;
  padding: 5px 50px 5px 50px;
  background-color: var(--cor-branca);
  border: 1px solid var(--cor-footer);
  color: var(--cor-texto);
  transition: .5s;
  font-size: 12px;
}

.bottao a:hover{
transform: scale(1.05);
  color: var(--cor-principal);
  border: 1px solid var(--cor-principal);
}



/* lingua */
.language-selector {
  position: relative;
  display: inline-block;
  user-select: none;
}
.selected-language {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 0px;
  background: var(--cor-branca);
}
.selected-language img {
  width: 20px;
  height: 15px;
  margin-right: 5px;
}
.selected-language .arrow {
  font-size: 14px;
  color: var(--cor-texto);
}
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #ccc;
  border-radius: 0px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 100;
  width: 100px;
}
.dropdown-header {
  text-align: right;
  padding: 5px;
  border-bottom: 1px solid #ccc;
}
.dropdown-header span {
  cursor: pointer;
  font-weight: bold;
}
.dropdown div {
  display: flex;
  align-items: center;
  padding: 5px;
  cursor: pointer;
}
.dropdown div:hover {
  background: #f0f0f0;
}
.dropdown img {
  width: 20px;
  height: 15px;
  margin-right: 5px;
}
.dropdown span {
  font-size: 14px;
  color: #333;
}

/* ======================
CARD-SELECT-MODE
========================= */
.conteudo-linhas-de-transmicao {
  position: relative;
  display: flex;
  max-width: 900px;
  /* margin: 0 auto; */
  margin-top: 0px;
  margin-bottom: 50px;
  margin-left: 50px;
  gap: 20px;
  z-index: 100;
}

.botoes {
  display: flex;
  flex-direction: column;
  gap: 5px;
align-items: center;
          overflow-y: auto;
          max-height: 450px;
          object-fit: cover;
          width: 500px;

}

.botoes button {
  font-size: 20px;
  text-align: center;
  height: 80px;
  width: 300px;
  padding: 30px 30px 50px 30px;
  font-weight: bold;
  color: var(--cor-texto);
  border: none;
  border-bottom: 1px solid var(--cor-texto);
  background-color: var(--cor-branca);

  transition: .6s;
  cursor: pointer;
}

.botoes button:hover{
  color: var(--cor-principal);
  /* background-color: var(--cor-principal); */
  border-bottom: 1px solid var(--cor-principal);
  transform: scale(1.1);
}

.botoes::-webkit-scrollbar {
  width: 5px;
}
.botoes::-webkit-scrollbar-thumb {
  background: gray;
  border-radius: 5px;
}

.conteudos-detalhados {
  width: 700px;
  align-items: center;
  padding: 20px;
  position: relative;
}

.titulo {
  display: none;
  width: 500px;
  height: 420px;
  align-items: center;
  margin-left: 35px;
  margin-top: -20px;
  padding: 20px;
  color: white;
  font-weight: bold;
}

.titulo h2{
  color: var(--cor-texto);
  margin-bottom: 20px;
  font-size: 25px;
  text-align: center;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card {
  width: 100%;
  height: 300px;
  /* background-color: rgb(255, 0, 0); */
  color: black;
  text-align: center;
  display: none; 
  justify-content: center;
  align-items: center;
  transition: .5s;
}

.tabs{
width: 100%;
padding: 20px 0px 20px 0px;
background-color: var(--cor-bacground-page);
}

.titulo.active {
  display: block;
}



.card img{
  width: 300px;
  height: 300px;
  object-fit: cover;
  transition: .5s;
}
.card p{
  color: var(--cor-texto);
  font-size: 13px;
  height: 110px;
  transition: .5s;
}
.setas {
  position: absolute;
  display: flex;
  justify-content: space-between;
  width: 565px;
  bottom: 240px;
  cursor: pointer;
  margin-left: 0px;
}

.setas button {
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.setas i {
  color: var(--cor-texto);
  font-size: 40px;
  transition: .5s;
}

.setas i:hover {
  color: #6dff54;
  transform: scale(1.1);
}

.produtos {
text-align: center;
color: var(--cor-texto);
margin-top: 50px;
}

.btn{
border: none;
padding: 10px 30px 10px 30px;
margin-left: 30px;
font-size: 20px;
font-weight: bold;
color: var(--cor-branca);
background-color: var(--cor-texto);
cursor: pointer;
transition: .6s;
}
.btn:hover {
color: var(--cor-branca);
background-color: var(--cor-principal);  
transform: scale(1.1);
}

.conteudos-detalhados {
width: 700px;
align-items: center;
padding: 20px;
position: relative;
}


/* ====================== */
/* FOOTER */
/* ====================== */
.foot {
    width: 100%;
    background-color: var(--cor-footer);
    color: var(--cor-branca-permanet);
    padding: 45px 0px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    text-align: left;
    align-items: center;
    gap: 125px;
  }
  
  .footer-section {
    max-width: 300px;
  }
  .footer-section img{
    width: 150px;
    margin-bottom: 5px;
  }
  .footer-section h3 {
    margin-bottom: 10px;
    font-size: 18px;
  }
  .footer-section p, .footer-section a {
    font-size: 14px;
    color: var();
    text-decoration: none;
    line-height: 1.5;
  }
  .footer-section a:hover {
    text-decoration: underline;
  }
  .footer-bottom {
    position: relative;
    text-align: center;
    align-items: center;
    margin-top: 0px;
    border-top: 1px solid var(--cor-branca-permanet);
    background-color: var(--cor-footer);
    padding-top: 20px;
    font-size: 14px;
    /* margin-bottom: -10px; */
    padding-bottom: 30px;
  }
  .footer-bottom p{
    font-size: 14px;
    color: var(--cor-branca-permanet);
  }
  .footer-section a{
  color: var(--cor-branca-permanet);
  font-size: 14px;
  }
  
  .footer-bottom p a{
    color: var(--cor-branca-permanet);
    font-weight: bold;
    font-size: 12px;
  
  }
  
  .footer-section button{
    padding: 10px 10px 10px 10px;
    color: var(--cor-branca-permanet);
    background-color: var(--cor-principal);
    border: none;
    border-radius: 10px;
    margin-top: 50px;
    cursor: pointer;
    transition: .5s;
  }
  .footer-section button:hover{
    transform: scale(1.02);
  background-color: var(--cor-branca-permanet);
  color: var(--cor-footer);
  }







/* ====================== */
/* RESPONSIVIDADE */
/* ====================== */
@media (max-width: 720px) {
  .foot {
    gap: 15px;
    align-items: center;
    display: flex
;
    flex-direction: column;
}
    .footer-section h3{
      margin-top: 40px;
    }
        .nav-links {
            display: none;
            flex-direction: column;
            background: white;
            position: absolute;
            top: 60px;
            right: 0;
            width: 100%;
            
            text-align: center;
            box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
            transition: 0.3s ease-in-out;
        }
    
        
    
    
        .nav-links.active {
            display: flex;
        }
    
        .nav-links li {
            margin: 15px 0;
        }
    
        .menu-icon {
            display: block;
        }
        
        .banner-text {
          position: absolute;
          top: 45%;
        }


      .banner-text {
      left: 50%;
      text-align: center;
      margin-top: 60px;
      }


      .banner-text p {
        font-size: 14px;
        margin-top: -30px;
        
    }
      text p {
        font-size: 12px;
      }
  
      .banner-text h1 {
        font-size: 40px;
      }
      .profile-section {
        display: flex ;
        flex-direction: column;
      }
      .profile-image {
        width: 300px;
        height: 300px;
      }
      .secao-inferior {
  flex-direction: column;
      }
  
      .bloco {
        width: 100%;
      }
  
      .barra {
        gap: 10px;
        justify-content: start;
        align-items: center;
        width: 320px;
        margin: 0 auto;
        justify-content: space-around;
    }

    

    .logo img {
      height: 100%;
      width: 140px;
      
      justify-content: start;
    }

    











    .sub-nav{
      position: fixed;
      height: 50px;
      width: 100%;
      background-color: #0000006e;
      backdrop-filter: blur(7px);
      z-index: 100;
      margin-top: 70px;
  }
  
  .contactos{
      display: flex;
      gap: 20px;
      padding: 25px 0px 0px 0px;
      margin: 0 auto;
      max-width: 400px;
      align-items: center;
      justify-content: space-between;
      margin-top: 0px;
  }
  
  .contactos ul{

    gap: 20px;


  }
  
  .contactos ul li a{
    color: #fff;
  }
  
  .nav-links1 {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0 auto;
  }
  
  .nav-links1 li {
    margin: 0 10px;
  }
  
  .nav-links1 a {
    text-decoration: none;
    color: var(--cor-texto);
    font-size: 16px;
    transition: 0.3s;
  }
      }