/*MENU*/
/* Estilos existentes */
nav {
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #333; /* Cor de fundo do menu */
    display: flex;
    justify-content: center; /* Centraliza o menu principal em telas maiores */
    align-items: center; /* Alinha verticalmente os itens da nav */
    position: relative; /* Para posicionar o menu toggle */
}

ul.menu_leo {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: transparent; /* Remove o fundo duplicado */
    display: flex;
    justify-content: center;
}

ul.menu_leo li {
    float: none;
}

ul.menu_leo li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    transition: background-color 0.3s ease; /* Adiciona uma transição suave no hover */
}

ul.menu_leo li a:hover {
    background-color: #111;
}

/* Estilos para o menu mobile */
.menu-toggle {
    display: none; /* Oculta o ícone em telas maiores */
    position: absolute;
    top: 15px;
    left: 20px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
}

.bar {
    width: 100%;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease-in-out;
}

/* Estilos para o menu mobile aberto */
.menu_leo.active {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: absolute;
    top: 60px; /* Altura da navbar */
    left: 0;
    background-color: #333;
    z-index: 10; /* Garante que o menu fique acima do conteúdo */
}

.menu_leo.active li {
    width: 100%;
    height: 60px;
}

.menu_leo.active li a {
    text-align: center;
    padding: 15px;
    border-bottom: 1px solid #444;
}

.menu_leo.active li:last-child a {
    border-bottom: none;
}

/* Animação do ícone de menu para "X" */
.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Media query para telas menores (mobile) */
@media (max-width: 768px) {
    nav {
        justify-content: space-between; /* Espaça o ícone e o menu (que estará oculto) */
        padding: 30px 0;
    }

    ul.menu_leo {
        display: none; /* Oculta o menu principal em telas menores inicialmente */
        flex-direction: column;
        position: absolute;
        top: 60px; /* Altura da navbar */
        left: 0;
        width: 100%;
        background-color: #333;
        z-index: 10;
    }

    ul.menu_leo li {
        width: 100%;
    }

    ul.menu_leo li a {
        text-align: center;
        padding: 15px;
        border-bottom: 1px solid #444;
    }

    ul.menu_leo li:last-child a {
        border-bottom: none;
    }

    .menu-toggle {
        display: flex; /* Exibe o ícone em telas menores */
    }
}
/*FIM MENU*/

/*INICIO SLIDER*/
* {box-sizing: border-box;}
body {
    font-family: Verdana, sans-serif;
    margin: 0 !important;
    padding: 0 !important;
}
.mySlides {display: none;}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
.dot {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active {
    background-color: #717171;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
    .text {font-size: 11px}
}
/*FIM SLIDER*/

/* Create three equal columns that floats next to each other */
.row_tres{
    background-color: #1e1e1e;
}

.column_image {
    float: left;
    width: 33.33%;
    padding: 10px;
    background-color: #1e1e1e !important;
    color:#ddd;
}

/* Clear floats after the columns */
.row_tres:after {
    content: "";
    display: table;
    clear: both;
}

/*formulário*/

/* Estilos gerais do formulário */
form[name="contactform"] {
    background-color: #f7f7f7;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    width: 90%; /* Ajuste a largura conforme necessário */
    max-width: 700px; /* Largura máxima para telas maiores */
    margin: 20px auto; /* Centralizar o formulário na página */
}

h1 {
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.tableform {
    width: 100% !important;
    height: auto !important;
}

.tableform tr {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column; /* Organizar label e input verticalmente */
}

.tableform td {
    padding: 0 !important;
    display: block;
}

.tableform label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-weight: bold;
}

.tableform input[type="text"],
.tableform textarea {
    width: calc(100% - 12px); /* Ajustar a largura para considerar o padding */
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    margin-bottom: 10px;
    box-sizing: border-box; /* Garantir que padding e border não aumentem a largura total */
    height: 45px; /* Aumenta a altura dos campos de texto */
}

.tableform textarea {
    height: 120px; /* Aumenta a altura da textarea */
    resize: vertical; /* Permite redimensionar verticalmente */
}

.tableform input[type="submit"] {
    background-color: #007bff;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
    width: fit-content; /* Ajustar largura ao conteúdo */
    margin: 15px auto 0; /* Centralizar o botão */
    display: block;
}

.tableform input[type="submit"]:hover {
    background-color: #0056b3;
}

/* Remover as bordas da tabela (opcional, para um visual mais limpo) */
.tableform, .tableform td {
    border: none !important;
}

/*formulário fim*/

/*rodapé*/
footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9em;
    border-top: 1px solid #444;
}

.footer-content {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    display: flex;
    gap: 20px;
}

.footer-links li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: #fff;
}

.social-icons {
    margin-top: 15px;
}

.social-icons a {
    display: inline-block;
    margin: 0 10px;
}

.social-icons i {
    font-size: 24px; /* Ajuste o tamanho dos ícones */
    color: #ddd; /* Cor inicial dos ícones */
    transition: color 0.3s ease;
}

.social-icons i:hover {
    color: #fff; /* Cor ao passar o mouse */
}
/*rodapé*/

/* ícone flutuante whatsapp*/

.whatsapp-icon {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    display: block;
    width: 62px;
    height: 62px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.whatsapp-icon:hover {
    transform: scale(1.1);
}

.whatsapp-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*icone whatsapp*/

/*teste*/
#leo{
    color: coral !important;
}

/*teste*/


/*galeria*/
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px;
}

.gallery-item {
    width: 33.33%;
    padding: 10px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item h3 {
    text-align: center;
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

/* modal*/
/* Estilos CSS que serão movidos para style.css */
body { margin: 0; padding: 0; font-family: Arial, sans-serif; background-color: #f2f2f2; }
.gallery { display: flex; flex-wrap: wrap; justify-content: center; margin: 20px; }
.gallery-item { width: 33.33%; padding: 10px; cursor: pointer; } /* Adicionado cursor */
.gallery-item img { width: 100%; height: auto; border-radius: 5px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); transition: transform 0.3s ease-in-out; }
.gallery-item img:hover { transform: scale(1.05); }
.gallery-item h3 { text-align: center; margin-top: 10px; font-size: 18px; font-weight: bold; color: #ddd; }

/* Estilos para o Modal */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

.modal-content {
    position: relative;
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
}

.modal-content img {
    margin: auto;
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 80vh; /* Adjust as needed */
}

.modal-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    transform: translateY(-50%);
}

.modal-navigation button {
    cursor: pointer;
    color: white;
    font-size: 2em;
    border: none;
    background: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.modal-navigation button:hover {
    opacity: 1;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 3em;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/*modal*/

/*galeria fim*/

/* ... efeito background ... */

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(45deg, #2E3192, #1BFFFF, #00BCD4, #009688);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Se você quiser manter uma cor de fundo base caso a animação não carregue */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1a1a1a; /* Cor de fundo escura */
    z-index: -1;
}

/* Ajuste a cor do texto para melhor contraste */
h1, h2, .txt-white {
    color: #bbb; /* Texto branco ou claro */
}
p{
    color:#717171;
}
/* Ajuste a cor do link do menu */
.menu_leo li a {
    color: #fff;
}

.menu-toggle .bar {
    background-color: #fff;
}

.txt_center_fundo_escuro{
    text-align: center !important;
    color:#ddd;
}

.txt_center_fundo_claro{
    text-align: center !important;
    color: #444;
}
/* ... efeito background ... */

/*botao scroll contato*/
/* Estilos para o botão "Fale Conosco" */
/* Estilos para o botão "Fale Conosco" */
a[href="#scrollcontato"] {
    background-color: #007bff; /* Cor de fundo azul */
    color: white; /* Cor do texto branco */
    padding: 15px 30px; /* Espaçamento interno */
    text-decoration: none; /* Remove o sublinhado padrão do link */
    border-radius: 8px; /* Borda arredondada */
    font-size: 1.1em; /* Tamanho da fonte */
    transition: background-color 0.3s ease; /* Transição suave na cor de fundo */
}

a[href="/contato"]:hover {
    background-color: #0056b3; /* Cor de fundo mais escura no hover */
}

/*botao scroll*/

/* Media query para telas menores (mobile) */
@media (max-width: 768px) {
    .column_image,
    .gallery-item {
        width: 100%; /* Colunas ocupam toda a largura em telas menores */
        float: none; /* Remove o float */
    }
}


/*back to top*/

#backToTop {
    display: none; /* Oculta o botão inicialmente */
    position: fixed; /* Fixa o botão na tela */
    bottom: 20px; /* Distância do botão da parte inferior da tela */
    left: 20px; /* Distância do botão da parte esquerda da tela */
    background-color: rgba(0, 0, 0, 0.5); /* Fundo semi-transparente */
    color: white; /* Cor do texto */
    padding: 10px 15px; /* Espaçamento interno */
    border-radius: 5px; /* Borda arredondada */
    text-decoration: none; /* Remove o sublinhado padrão do link */
    transition: opacity 0.3s ease; /* Transição suave na opacidade */
}

#backToTop:hover {
    opacity: 0.7; /* Diminui a opacidade no hover */
}

/*back to top fim*/

/*transição animada slider página*/

.degrade-animado {
    width: 100%;
    height: 10px; /* Ajuste a altura conforme necessário */
    overflow: hidden; /* Garante que o SVG não ultrapasse a div */
}

.degrade-animado img {
    width: 100%;
    height: 10%;
    display: block;
}

/* Ajuste a margem da continuação da página para criar espaço para o degradê */
.content {
    margin-top: 0px; /* Igual à altura do degradê */
}

/*transição animada slider página fim*/
