/*
Theme Name: G4 Electric Theme
Theme URI: https://g4electric.ind.br
Author: Daniel Mello - Diretor de Operações
Author URI: https://g4electric.ind.br
Description: Tema G4 Electric.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: g4electric-theme
*/

:root {
    --primary-blue: #000066;
    --primary-orange: #FF6600;
    --secondary-white: #FFFFFF;
    --secondary-light-gray: #EEEEEE;
    --secondary-medium-gray: #959595;
}

/* Estilos gerais */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
}

/* Barra Superior */
.header-top {
    background: var(--primary-blue);
    width: 100%;
    padding: 10px 0;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* E-mail */
.contact-info {
    font-weight: bold;
    color: var(--secondary-white);
}

.contact-info-left {
    flex: 1; /* Isso garante que a parte do email ocupe o lado esquerdo */
}

/* Redes Sociais */
.social-icons a {
    margin-left: auto;
    color: var(--primary-orange);
    font-size: 18px;
    text-decoration: none;
}

.social-icons-right a {
    margin-left: 10px; /* Espaçamento entre os ícones */
}

.header-top a {
    color: var(--secondary-white);
    text-decoration: none;
    margin: 0 10px;
    font-size: 14px;
}

.header-top a:hover {
    color: #FFC107; /* Dourado */
}

/* Logotipo */
.logo img {
    max-width: 350px;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .logo img {
        max-width: 100px; /* Reduz o tamanho em telas menores */
    }
}

/* Menu principal para desktop */
.menu-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-blue);
    padding: 10px 0;
}

.menu-bar a {
    color: var(--secondary-white);
    text-decoration: none;
    font-weight: bold;
    margin: 0 15px;
    font-size: 1rem;
}

.menu-bar a:hover {
    background-color: var(--primary-orange);
    color: var(--secondary-white);
    border-radius: 5px;
}

/* Estilo do menu hambúrguer em telas pequenas */
.menu-container {
    position: relative;
}

.menu {
    display: none; /* Menu oculto por padrão */
}
/* Quando a classe "active" for adicionada à .menu, o menu será exibido */
.menu.active {
    display: block; /* Exibe o menu */
}

.menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu li {
    margin: 10px 0;
}

/* Menu Hamburguer */
.menu-toggle {
    display: none; /* Oculta o hamburguer por padrão (desktop) */
    flex-direction: column;
    cursor: pointer;
    margin-left: auto;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: #000;
}

/* Quando a classe "active" é adicionada à .menu-container, o menu é exibido */
.menu-container.active .menu {
    display: block; /* Exibe o menu quando a classe "active" for adicionada */
}

/* Exibe o hambúrguer apenas em telas pequenas (mobile) */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex; /* Exibe o hamburguer no mobile */
    }

    .menu-bar {
        display: none; /* Oculta o menu tradicional no mobile */
    }

    .menu-container.active .menu-bar {
        display: none; /* Quando "active", o menu tradicional também não será exibido */
    }

    /* Exibe o menu hamburguer no mobile */
    .menu-container.active .menu {
        display: block; /* Exibe o menu hamburguer quando a classe "active" for adicionada */
    }
}

/* Botão de chamada para orçamento */
.cta-button-wrapper {
    margin-left: auto;
}

.cta-button {
    background-color: var(--primary-orange);
    color: var(--secondary-white);
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #cc5200;
}

#form-orcamento {
    background-color: var(--secondary-light-gray);
    padding: 2rem;
    border-radius: 5px;
    max-width: 600px;
    margin: 2rem auto;
}

#form-orcamento h2 {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

#form-orcamento label {
    display: block;
    margin-top: 1rem;
    font-weight: bold;
    color: var(--primary-blue);
}

#form-orcamento input, #form-orcamento textarea {
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.5rem;
    border: 1px solid var(--secondary-medium-gray);
    border-radius: 5px;
}

#form-orcamento button {
    display: block;
    width: 100%;
    margin-top: 1rem;
    background-color: var(--primary-orange);
    color: var(--secondary-white);
    border: none;
    padding: 0.75rem;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#form-orcamento button:hover {
    background-color: #cc5200;
}

/* Estilo geral do cabeçalho */
header {
    background-color: #FFF;
    color: var(--secondary-white);
    padding: 0 2rem;
}

/* Primeira linha: Logo e botão */
.top-bar {
    justify-content: space-between;
    align-items: center;
    background-color: var(--secondary-white);
    color: var(--primary-blue);
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--secondary-light-gray);
}

/* Barra Principal */
.top-bar {
    background: #ffffff;
    width: 100%;
    padding: 15px 0;
    border-bottom: 2px solid #eeeeee;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-width: 300px;
    height: auto;
}

/* Menu */
.menu-bar {
    background: var(--primary-blue);
    text-align: center;
    padding: 10px 0;
}

.menu-bar a {
    color: var(--secondary-white);
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
}

.menu-bar a:hover {
    color: var(--primary-orange);
}
.menu-container {
    width: 100%;
    background-color: #000066; /* Azul Profundo da identidade visual */
    padding: 10px 0;
}

.menu-container ul {
    list-style: none;
    display: flex; /* Torna o menu horizontal */
    justify-content: center; /* Centraliza os itens */
    padding: 0;
    margin: 0;
}

.menu-container ul li {
    margin: 0 15px;
}

.menu-container ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 16px;
    padding: 10px 15px;
    transition: color 0.3s;
}

.menu-container ul li a:hover {
    color: #FF6600; /* Laranja vibrante da identidade visual */
}

/* Banner */
.banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    display: flex;
}

/* Slide */
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
	margin-top:20px;
}

/* Texto do Slide */
.slide-text {
    position: absolute;
    bottom: 200px;
    left: 20px;
    font-size: 30px;
    color: white;
    background: #ff660084;
    padding: 10px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide.active .slide-text {
    opacity: 1;
}

/* Botões de navegação */
.banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.banner-nav button {
    pointer-events: auto;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.banner-nav button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
.g4-services-widget, .g4-segments-widget {
    list-style: none;
    padding: 0;
    margin: 0;
}

.g4-services-widget li, .g4-segments-widget li {
    background: #FF6600; /* Cor Laranja da Identidade */
    color: white;
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
}

.g4-services-widget li:hover, .g4-segments-widget li:hover {
    background: #000066; /* Azul Profundo */
    transition: 0.3s;
}
