/*
Theme Name: Ecojato Theme
Theme URI: https://ecojato.com.br/
Author: The best digital XYZ
Author URI: https://thebestdigital.xyz
Description: Tema personalizado e moderno para a Ecojato, especializada em hidrojateamento industrial.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ecojato
Tags: custom, responsive, industrial, services, clean
*/

/* Variáveis de Cores da Ecojato */
:root {
    --ecojato-green: #71b748;      /* ou #00a86b, se preferir mais vibrante */
    --ecojato-dark-green: #1a4d2e;
    --ecojato-light-gray: #f4f4f4;
    --ecojato-medium-gray: #cccccc;
    --ecojato-dark-gray: #333333;
    --ecojato-white: #ffffff;
    --ecojato-black: #000000;

    /* Atualize também as cores Bootstrap */
    --bs-primary: var(--ecojato-dark-green);  /* antes era azul */
    --bs-secondary: var(--ecojato-green);
    --bs-success: var(--ecojato-green);
    --bs-info: #0dcaf0;
    --bs-warning: #ffc107;
    --bs-danger: #dc3545;
    --bs-light: var(--ecojato-light-gray);
    --bs-dark: var(--ecojato-dark-gray);
}

i.icon{color:var(--ecojato-green) !important;}

/* Estilos Globais */
body {
    font-family: 'Roboto', sans-serif;
    color: var(--ecojato-dark-gray);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--ecojato-dark-green);
    margin-top: 0;
    margin-bottom: 0.5em;
    line-height: 1.2;
}

a {
    color: var(--ecojato-dark-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover,
a:focus {
    color: var(--ecojato-green);
    text-decoration: underline;
}

i .fa, i .fas{color:var(--ecojato-green)!important;}

.btn{text-decoration: none !important;}

/* Sobrescrevendo botões Bootstrap para usar nossas cores */
.btn-primary {
    background-color: var(--ecojato-dark-green) !important;
    border-color: var(--ecojato-dark-green) !important;
    color: var(--ecojato-white) !important;
	text-decoration: none;
}

.btn-primary:hover {
    background-color: var(--ecojato-green) !important;
    border-color: var(--ecojato-green) !important;
}

.btn-secondary {
    background-color: var(--ecojato-green) !important;
    border-color: var(--ecojato-green) !important;
    color: var(--ecojato-white) !important;
	text-decoration: none;
}

.btn-secondary:hover {
    background-color: var(--ecojato-dark-green) !important;
    border-color: var(--ecojato-dark-green) !important;
}

/* Estilos para o Header */
/* Estilos para o Header (apenas desktop) */
.site-header {
    background-color: var(--ecojato-white);
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1020;
}
.site-branding img {
    height: 45px;
    width: auto;
}
/* Menu desktop (não interfere no mobile) */
@media (min-width: 992px) {
    .navbar-nav .nav-link {
        color: var(--ecojato-dark-gray) !important;
        font-weight: 600;
        text-transform: uppercase;
        margin-left: 20px;
        position: relative;
		text-decoration: none;
    }
    .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -5px;
        width: 0;
        height: 2px;
        background-color: var(--ecojato-green);
        transition: width 0.3s;
    }
    .navbar-nav .nav-link:hover::after,
    .navbar-nav .nav-link.active::after {
        width: 100%;
    }
    .navbar-nav .nav-link:hover {
        color: var(--ecojato-dark-green) !important;
    }
}

/* Estilos para o Footer */
.site-footer {
    background-color: var(--ecojato-dark-green);
    color: var(--ecojato-white);
    padding: 40px 0 20px;
    font-size: 14px;
}

.site-footer a {
    color: var(--ecojato-green);
    font-weight: bold;
}

.footer-widget-area h3 {
    color: var(--ecojato-white);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-widget-area ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-widget-area ul li {
    margin-bottom: 10px;
}

.footer-widget-area ul li a {
    color: var(--ecojato-white);
    transition: color 0.3s ease;
}

.footer-widget-area ul li a:hover {
    color: var(--ecojato-green);
    text-decoration: none;
}

.site-info {
    width: 100%;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 20px;
}

/* =========================================== */
/* SEÇÃO HERO COM GRADIENTE E PARALLAX         */
/* =========================================== */
.hero-section {
    background-attachment: fixed;
    background-size: cover;
    background-position: center 30%;
    transition: background-position 0.1s ease-out;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 77, 46, 0.85), rgba(113, 183, 72, 0.7));
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: fadeUp 1s ease-out;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--ecojato-white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero-section .tagline {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--ecojato-white);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.hero-section .btn {
    transition: all 0.3s ease;
    backdrop-filter: blur(0px);
}

.hero-section .btn:hover {
    backdrop-filter: blur(4px);
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-outline-light {
    border: 2px solid var(--ecojato-white);
    background: transparent;
    color: var(--ecojato-white);
}
.btn-outline-light:hover {
    background: var(--ecojato-white);
    color: var(--ecojato-dark-green);
}

/* Desabilitar parallax em mobile */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
        min-height: 70vh;
    }
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section .tagline {
        font-size: 1rem;
    }
}

/* =========================================== */
/* SEÇÃO SOBRE + ESTATÍSTICAS                  */
/* =========================================== */
.about-summary-section,
.featured-services-section,
.clients-carousel-section,
.cta-section,
.page-hero-section,
.contact-form-section,
.policy-content-section,
.careers-content-section {
    padding: 80px 0;
}

.about-summary-section img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Estatísticas animadas */
.stats-section {
    background-color: var(--ecojato-light-gray);
    padding: 60px 0;
}
.stat-number {
    color: var(--ecojato-dark-green);
    font-weight: 800;
    font-size: 3rem;
    margin: 0.5rem 0;
}
.stat-item i {
    color: var(--ecojato-green);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* =========================================== */
/* CARDS DE SERVIÇOS (INTERATIVOS)            */
/* =========================================== */
.service-item {
    background-color: var(--ecojato-white);
    border: 1px solid var(--ecojato-light-gray);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.2);
}
.service-item i {
    transition: transform 0.2s ease, color 0.2s;
    color: var(--ecojato-dark-green);
}
.service-item:hover i {
    transform: scale(1.1);
    color: var(--ecojato-green);
}
.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.service-item a {
    text-decoration: none;
}

/* =========================================== */
/* CARROSSEL DE CLIENTES                       */
/* =========================================== */
.clients-carousel-section {
    background-color: var(--ecojato-light-gray);
	padding-bottom: 80px !important;
}
/* Fallback para caso o Slick não carregue - exibe logos em grid */
.clients-carousel {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.clients-carousel .client-logo-item {
    flex: 0 0 auto;
    width: 180px;
	cursor: pointer;
}
.client-logo-item img {
    max-width: 150px;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
    display: inline-block;
	
}
.client-logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* =========================================== */
/* CTA COM GRADIENTE E PULSAÇÃO                */
/* =========================================== */
.cta-section {
    background: linear-gradient(135deg, var(--ecojato-dark-green), var(--ecojato-green));
    color: var(--ecojato-white);
    text-align: center;
}
.cta-section h2 {
    color: var(--ecojato-white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 30px;
}
.pulse-btn {
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255,255,255,0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255,255,255,0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255,255,255,0);
    }
}

/* =========================================== */
/* EFEITO FADE-UP (ANIMAÇÃO AO SCROLL)         */
/* =========================================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================== */
/* PÁGINAS INTERNAS (HERO PADRÃO)             */
/* =========================================== */
.page-hero-section {
    background-size: cover;
    background-position: center 30%;
    transition: background-position 0.05s linear; /* Para suavizar o movimento */
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}
.page-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 77, 46, 0.85), rgba(113, 183, 72, 0.7));
    z-index: 1;
}
.page-hero-section .container {
    position: relative;
    z-index: 2;
}
.page-hero-section h1 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--ecojato-white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}
.page-hero-section .lead {
    font-size: 1.25rem;
    color: var(--ecojato-white);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

/* =========================================== */
/* CONTATO, SOBRE, SERVIÇOS (JÁ EXISTENTES)   */
/* =========================================== */
.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 15px;
}
.contact-info i {
    margin-right: 10px;
    font-size: 1.3rem;
}
.social-icon {
    color: var(--ecojato-dark-green);
    margin-right: 15px;
    transition: color 0.3s ease;
}
.social-icon:hover {
    color: var(--ecojato-green);
}
.map-section iframe {
    border: 0;
    width: 100%;
    height: 450px;
}

.mission-vision-values .card {
    border: none;
    background-color: var(--ecojato-white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mission-vision-values .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.mission-vision-values .card i {
    color: var(--ecojato-dark-green);
    margin-bottom: 15px;
}
.mission-vision-values .card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.mission-vision-values .card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}
.mission-vision-values .card ul li {
    margin-bottom: 5px;
    position: relative;
    padding-left: 20px;
}
.mission-vision-values .card ul li::before {
    content: "\F26A";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    color: var(--ecojato-green);
}

.expertise-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1.1rem;
}
.expertise-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
    text-align: left;
    display: inline-block;
    margin-right: 20px;
}
.expertise-list li i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--ecojato-green);
    font-size: 1.2rem;
}

.sidebar-services {
    background-color: var(--ecojato-light-gray);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.sidebar-services h3 {
    color: var(--ecojato-dark-green);
    margin-bottom: 20px;
}
.sidebar-services ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}
.sidebar-services ul li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    position: relative;
    padding-left: 25px;
}
.sidebar-services ul li::before {
    content: "\F26A";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    color: var(--ecojato-green);
}

.safety-gear-section {
    background-color: var(--ecojato-light-gray);
}
.safety-gear-section img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.position-listing {
    border: 1px solid var(--ecojato-medium-gray);
    border-radius: 8px;
}
.position-listing h3 {
    color: var(--ecojato-dark-green);
    font-size: 1.4rem;
}

/* =========================================== */
/* RESPONSIVIDADE                              */
/* =========================================== */
@media (max-width: 991.98px) {
    .site-header .container {
        flex-direction: column;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section .tagline {
        font-size: 1.2rem;
    }
    .about-summary-section .col-md-6,
    .safety-gear-section .col-md-6 {
        margin-bottom: 30px;
    }
    .about-summary-section .col-md-6:last-child,
    .safety-gear-section .col-md-6:last-child {
        margin-bottom: 0;
    }
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .footer-widget-area {
        flex-basis: 100%;
        text-align: center;
        padding: 0 0 30px 0;
    }
    .footer-widget-area:last-child {
        padding-bottom: 0;
    }
    .footer-widget-area ul {
        text-align: center;
    }
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section .tagline {
        font-size: 1rem;
    }
    .page-hero-section h1 {
        font-size: 2.2rem;
    }
    .page-hero-section .lead {
        font-size: 1rem;
    }
    .expertise-list li {
        display: block;
        margin-right: 0;
        text-align: left;
    }
    .cta-section h2 {
        font-size: 1.8rem;
    }
    .cta-section p {
        font-size: 1rem;
    }
    .stat-number {
        font-size: 1.8rem;
    }
}

/* ===================================================
   PÁGINA CENTRO DE TREINAMENTO
=================================================== */

/* Hero */
.trainning-hero-section {
    background-size: cover;
    background-position: center 40%;
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
}
.trainning-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 77, 46, 0.85), rgba(0, 0, 0, 0.6));
    z-index: 1;
}
.trainning-hero-section .container {
    position: relative;
    z-index: 2;
}

/* Carrossel */
#trainningCarousel .carousel-item img {
    height: 500px;
    object-fit: cover;
}
@media (max-width: 768px) {
    #trainningCarousel .carousel-item img {
        height: 300px;
    }
}
#trainningCarousel .carousel-control-prev-icon,
#trainningCarousel .carousel-control-next-icon {
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    padding: 20px;
    background-size: 60% 60%;
}
#trainningCarousel .carousel-indicators button {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid white;
}
#trainningCarousel .carousel-indicators .active {
    background-color: var(--ecojato-green);
    border-color: var(--ecojato-green);
}

/* Cards diferenciais */
.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}
.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08) !important;
}
.hover-card .card-icon i {
    font-size: 3rem;
}

/* Estatísticas */
.trainning-numbers .stat-item .stat-number {
    font-weight: 800;
}

/* Galeria */
.trainning-gallery .gallery-item {
    overflow: hidden;
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
}
.trainning-gallery .gallery-item:hover {
    transform: scale(1.02);
    z-index: 1;
}
.trainning-gallery .gallery-item img {
    transition: transform 0.3s ease;
}
.trainning-gallery .gallery-item:hover img {
    transform: scale(1.05);
}

/* Responsivo */
@media (max-width: 576px) {
    .trainning-hero-section {
        min-height: 40vh;
    }
    .trainning-hero-section h1 {
        font-size: 2rem;
    }
}

/* ===================================================
   LIGHTBOX – GALERIA DE TREINAMENTO
=================================================== */
#lightboxModal .modal-content {
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
}
#lightboxModal .btn-close {
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.8));
}
#lightboxModal .btn-light {
    transition: all 0.3s ease;
    border: none;
}
#lightboxModal .btn-light:hover {
    transform: scale(1.1);
    background-color: var(--ecojato-green);
    color: white;
}
#lightboxCounter {
    font-size: 0.9rem;
    opacity: 0.8;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}