
/* Estilos Gerais */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
    overflow-x: hidden; /* Evita o scroll lateral */
}

* {
    max-width: 100vw; /* Evita que elementos excedam a largura da viewport */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Títulos e Parágrafos */
h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
    margin-bottom: 15px;
    line-height: 1.3;
    color: #2c3e50;
}

h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-top: 30px;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-top: 20px;
}

h3 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 10px;
    color: #34495e;
}

p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 20px 0;
}

/* Ajuste de parágrafos em telas menores */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.7rem;
    }
    h3 {
        font-size: 1.5rem;
    }
    p {
        font-size: 1rem;
    }
}
/* Estilos da NavBar */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #2c2c2c; /* Bom contraste com o branco */
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    background-color: #333; /* Mantém o tema escuro profissional */
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    transition: max-height 0.5s ease-in-out;
}

/* Estilização do botão de login */
.login-btn {
    background-color: #333; /* Verde suave */
    color: white;
    border: none;
    padding: 8px 15px; /* Reduzir o padding para harmonizar */
    font-size: 14px; /* Ajuste do tamanho da fonte */
    border-radius: 3px; /* Bordas levemente arredondadas */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-weight: bold;
    margin-left: 15px; /* Espaçamento do restante do menu */
    line-height: 1.5; /* Melhor alinhamento vertical */
}

.login-btn:hover {
    background-color: #45a049; /* Cor de hover */
    transform: scale(1.03); /* Leve aumento no hover */
}

/* Ajustar o menu para garantir que os itens estejam bem alinhados */
.navbar ul li {
    padding: 10px 15px;
    line-height: 1.5; /* Alinhar com o botão */
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: #555;
    border-radius: 5px;
}

.logo {
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 28px;
    color: #c6ccd2;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.logo:hover {
    color: #9da0a2;
    transform: scale(1.05);
}

/* Menu Hamburguer */
.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-icon .bar {
    width: 25px;
    height: 2px;
    background-color: white;
    margin: 5px 0;
    transition: 0.4s;
}

.menu-icon.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-icon.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-icon.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: #333;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }

    nav ul.active {
        max-height: 500px;
        opacity: 1;
        transition: max-height 0.6s ease, opacity 0.5s ease;
    }

    .menu-icon {
        display: flex;
    }

    .logo {
        font-size: 20px;
        margin: 0 20px;
    }

    nav ul li {
        text-align: center;
        width: 100%;
        padding: 15px 0;
    }
}

/* Estilos da Imagem */
.img_about {
    width: 100%;
    max-width: 700px;
    height: auto;
    margin: 20px auto;
    display: block;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.img_about:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .img_about {
        max-width: 90%;
    }
}

/* Estilos dos Cards */
.about_boxs {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 40px 0;
}

.about_box {
    flex: 1;
    margin: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.about_box:hover {
    transform: scale(1.05);
}

.about_box h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #34495e;
}

.about_box p {
    font-size: 1rem;
    color: #555;
}

/* Responsividade dos Cards */
@media (max-width: 768px) {
    .about_box {
        flex: 1 1 100%;
        margin: 20px 0;
    }
}

/* Estilo da Caixa de Valores */
.about2_box {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 40px auto;
}

.about2_box:hover {
    transform: scale(1.02);
}

.about2_box h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

/* Lista de Valores */
.valores-lista {
    list-style: none;
    padding: 0;
    text-align: center;
}

.valores-lista li {
    font-size: 1rem;
    font-weight: 500;
    color: #555;
    background-color: #f9f9f9;
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
    transition: background-color 0.2s ease;
}

.valores-lista li:hover {
    background-color: #e6e6e6;
}

/* Responsividade da Caixa de Valores */
@media (max-width: 768px) {
    .about2_box {
        padding: 15px;
        max-width: 90%;
    }

    .about2_box h3 {
        font-size: 1.6rem;
    }

    .valores-lista li {
        font-size: 0.9rem;
    }
}

/* Estilos básicos para o footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 10px;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-content {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.footer-follow {
    font-weight: bold;
    font-size: 1.2em;
    color: #eee;
}

.social-link {
    color: #fff;
    font-size: 1.5em;
    transition: color 0.3s;
}

.social-link:hover {
    color: #6a0dad; /* Cor roxa para hover */
}

.footer-copyright {
    font-size: 0.9em;
    color: #bbb;
}

.author-link {
    color: #a971ff;
    text-decoration: none;
}

.author-link:hover {
    text-decoration: underline;
}

/* Responsividade para dispositivos móveis */
@media (max-width: 600px) {
    footer {
        font-size: 12px;
        padding: 15px 5px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 5px;
    }
}

/* Informações de Contato no Footer */
.contact-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}


.container_service {
    display: flex;
    justify-content: center; /* Centraliza os cards horizontalmente */
    flex-wrap: wrap; /* Permite que os cards quebrem linha em telas menores */
    gap: 20px; /* Espaçamento entre os cards */
    margin: 40px auto; /* Centraliza o contêiner na página */
    max-width: 1200px; /* Limita a largura máxima do contêiner */
    padding: 0 20px; /* Adiciona padding para evitar que toquem as bordas */
}

/* Estilos de cada card */
.service_card {
    flex: 1 1 280px; /* Os cards ocupam pelo menos 280px de largura */
    max-width: 350px; /* Define uma largura máxima para cada card */
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-radius 0.3s ease;
}

/* Imagem do card */
.service_card img {
    max-width: 100%; /* Garante que a imagem não ultrapasse o card */
    height: auto; /* Mantém a proporção da imagem */
    border-radius: 10px; /* Borda arredondada na imagem */
}

/* Efeito hover nos cards */
.service_card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Botão Saiba Mais */
.service-button {
    padding: 12px 28px;
    background: transparent;
    color: #007BFF;
    border: 2px solid #007BFF;
    border-radius: 30px;
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    margin-top: 10px; /* Adiciona espaço acima do botão */
}

.service-button:hover {
    background-color: #007BFF;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.4);
    transform: translateY(-3px);
}

/* Responsividade - Ajustes em telas menores */
@media (max-width: 768px) {
    .service_card {
        flex: 1 1 100%; /* Os cards ocupam 100% da largura em telas menores */
        max-width: 100%; /* Remove a largura máxima para telas pequenas */
    }
}

/* Container de Produtos */
.product-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.product-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 200px;
    text-align: center;
    cursor: pointer;
    padding: 10px;
}

.product-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    border-radius: 8px;
    height: auto;
    object-fit: cover;
}

.product-title {
    font-size: 1.2em;
    color: #333;
    margin-top: 10px;
}

.custom-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
}

.custom-modal-content {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
}

.custom-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

#modal-product-image {
    width: 100%;
    max-width: 200px;
    border-radius: 8px;
    margin-bottom: 15px;
}

#modal-product-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    font-weight: bold;
}

.custom-acessorios-title {
    font-weight: bold;
    font-size: 1.1em;
    color: #666;
    margin-bottom: 10px;
}

#modal-product-description {
    text-align: left;
    line-height: 1.6;
    color: #333;
}

.custom-greeting-text {
    margin-top: 20px;
    font-size: 1em;
    color: #555;
}

.custom-request-quote {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.custom-request-quote:hover {
    background-color: #0056b3;
}

/* Responsividade */
@media (max-width: 600px) {
    .product-modal-content {
        width: 90%;
        margin-top: 30%;
    }

    .modal-product-name {
        font-size: 20px;
    }r

    .modal-product-description {
        font-size: 14px;
    }

    .modal-product-img {
        max-height: 200px;
    }
        .custom-quote-btn {
        font-size: 14px;
    }
}


/*Marcas Pages*/

  /* Container de marcas com grid */
  .brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

/* Cartão de marca */
.brand-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Efeito de hover nos cartões */
.brand-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Imagem da marca */
.brand-item img {
    max-width: 100%;
    height: auto;
    max-height: 100px; /* Limita a altura para que as imagens fiquem uniformes */
}

.request-quote {
    position: fixed;
    bottom: 20px; /* Distância da parte inferior da tela */
    right: 20px; /* Distância da lateral direita */
    background-color: #FF5722;
    color: white;
    font-weight: bold;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000; /* Certifica-se de que ele esteja no topo */
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.request-quote:hover {
    background-color: #E64A19;
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 380px) {
    .request-quote {
        font-size: 14px; /* Tamanho menor do texto */
        padding: 10px 20px; /* Padding reduzido */
        bottom: 15px; /* Menor distância da borda inferior */
        right: 15px; /* Menor distância da lateral direita */
    }
}

/* Responsividade para melhorar visual em telas menores */
@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .footer-item {
        font-size: 12px; /* Texto menor em telas menores */
    }

    .footer-icon {
        width: 18px;
        height: 18px; /* Ícones ainda menores em telas pequenas */
    }
}


