/* css/style.css */

/* Reset de estilos padrão */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilos gerais do corpo */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}
/* No seu arquivo CSS principal */
main {
    padding-top: 80px; /* Valor igual à altura do header */
}
/* Correção específica para a página servico.html */
.service-section {
    scroll-margin-top: 100px; /* Espaço para o header fixo */
    padding-top: 30px;
}

/* Ajuste para o primeiro elemento após o header */
.service-section:first-of-type {
    padding-top: 100px; /* Compensa a altura do header */
    margin-top: -70px;  /* Traz o conteúdo para a área visível */
}

/* Garantir que as âncoras sejam posicionadas corretamente */
.service-section:target {
    padding-top: 100px;
    margin-top: -70px;
}

/* Se seu header tem uma classe específica, meça sua altura */
.header-container {
    height: 80px; /* ou qualquer valor que você tenha */
}

/* Então use: */
main {
    padding-top: 80px; /* Mesmo valor da altura do header */
}

/* Cabeçalho fixo no topo */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}

/* Container do cabeçalho */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Estilo do logo */
.logo img {
    height: 80px;
    width: 200px;
}

/* Espaço vazio entre logo e menu */
.header-space {
    flex-grow: 1;
}

/* Ícone do menu hamburger */
.menu-icon {
    font-size: 24px;
    cursor: pointer;
    padding: 5px 10px;
}

/* Menu lateral */
.sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 1001;
    padding: 60px 20px 20px;
}

/* Menu lateral aberto */
.sidebar.active {
    right: 0;
}

/* Botão de fechar o menu */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}

/* Lista do menu */
.sidebar ul {
    list-style: none;
}

.sidebar ul li {
    margin-bottom: 15px;
}

.sidebar ul li a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    display: block;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.sidebar ul li a:hover {
    background-color: #f5f5f5;
}

/* Overlay para fechar o menu */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: none;
    z-index: 999;
}

.overlay.active {
    display: block;
}

/* Espaçamento para o conteúdo principal não ficar atrás do cabeçalho fixo */
main {
    margin-top: 70px;
    min-height: calc(100vh - 200px);
}

/* Estilos do carousel */
.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel {
    position: relative;
    width: 100%;
    height: 400px;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.carousel-item {
    min-width: 100%;
    height: 100%;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Controles do carousel */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 24px;
    z-index: 10;
}

.carousel-control.prev {
    left: 10px;
}

.carousel-control.next {
    right: 10px;
}

.carousel-control:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Indicadores do carousel */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
}

.indicator.active {
    background-color: white;
}

/* Seção Quem Somos */
.quem-somos {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: center;
}

.quem-somos h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.quem-somos p {
    text-align: left;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
/*
text-align: left;
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #333;
    line-height: 1.5;
*/

/* Seção de caixas */
.boxes-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.boxes-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    color: #2c3e50;
}

.boxes-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
/* Correção para manter o tamanho original das caixas */
.box-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: calc(33.333% - 20px); /* Mantém a mesma largura das caixas originais */
    margin-bottom: 20px;
}

/* Garante que as caixas dentro dos links mantenham o estilo original */
.box-link .box {
    width: 100%;
    height: 100%;
    margin: 0; /* Remove qualquer margem extra */
}

/* Ajuste de responsividade para os links - igual às caixas originais */
@media (max-width: 992px) {
    .box-link {
        width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .box-link {
        width: 100%;
        max-width: 400px;
    }
}














* Estilo para as seções de serviços na página servicos.html */
.service-section {
    margin-bottom: 60px;
    padding: 20px;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.service-section h2 {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
/* Estilo para o container da galeria */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

/* Estilo para cada item da galeria
.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
*/
.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.image-caption {
    text-align: center;
    padding: 10px;
    background-color: #f5f5f5;
    margin: 0;
    font-weight: bold;
}

/* Estilo para a descrição do serviço */
.service-description {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.service-description h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}


.box {
    width: calc(33.333% - 20px);
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 20px;
}

.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.box-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.box-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.box:hover .box-image img {
    transform: scale(1.05);
}

.box-title {
    font-size: 20px;
    font-weight: bold;
    padding: 15px 15px 5px;
    text-align: center;
}

.box p {
    padding: 0 15px 15px;
    text-align: center;
    color: #666;
}
/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    display: block;
    margin: 60px auto;
    max-width: 90%;
    max-height: 80%;
    border-radius: 5px;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-btn:hover {
    color: #bbb;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    padding: 16px;
    user-select: none;
    transition: 0.3s;
}

.nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 3px;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.caption-container {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px;
    color: white;
    position: fixed;
    bottom: 0;
    width: 100%;
}












/* Rodapé */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 30px 20px;
    text-align: center;
}

.footer-menu ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-menu ul li {
    margin: 0 15px 10px;
}

.footer-menu ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-menu ul li a:hover {
    color: #3498db;
}

.contact-info {
    margin-bottom: 15px;
}

.contact-info a {
    color: white;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.copyright {
    font-size: 14px;
    color: #ecf0f1;
}

/* Botão do WhatsApp flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    z-index: 1000;
}

.whatsapp-text {
    background-color: white;
    padding: 10px 15px;
    border-radius: 20px;
    margin-right: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.whatsapp-float:hover .whatsapp-text {
    opacity: 1;
}

.whatsapp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    color: white;
    font-size: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.whatsapp-icon:hover {
    transform: scale(1.1);
}

/* Responsividade */
@media (max-width: 992px) {
    .box {
        width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .carousel {
        height: 300px;
    }
    
    .box {
        width: 100%;
        max-width: 400px;
    }
    
    .sidebar {
        width: 250px;
        right: -250px;
    }
    
    .whatsapp-text {
        display: none;
    }
}

@media (max-width: 576px) {
    .header-container {
        padding: 10px 15px;
    }
    
    .logo img {
        height: 30px;
    }
    
    .carousel {
        height: 200px;
    }
    
    .carousel-control {
        padding: 10px;
        font-size: 18px;
    }
    
    .quem-somos h2, .boxes-section h2 {
        font-size: 26px;
    }
    
    .quem-somos p {
        font-size: 16px;
    }
    
    .footer-menu ul {
        flex-direction: column;
    }
    
    .footer-menu ul li {
        margin: 5px 0;
    }
}
/*Daqui pra baixo*/
/* Estilos para o footer */
footer {
    background-color: #ed6623;
    color: white;
    padding: 40px 20px 20px;
    text-align: center;
    margin-top: auto; /* Importante para fazer o footer ficar na base */
}

.footer-menu ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.footer-menu ul li {
    margin: 0 15px 10px;
}

.footer-menu ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.footer-menu ul li a:hover {
    color: #3498db;
}

.contact-info {
    margin-bottom: 20px;
}

.contact-info a {
    color: white;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.copyright {
    font-size: 14px;
    color: #ecf0f1;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 20px;
}

/* Garantir que o footer fique na base da página */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1; /* Isso faz com que o main ocupe todo o espaço disponível */
}
/* Solução alternativa para problemas com o footer */
body {
    position: relative;
    min-height: 100vh;
    padding-bottom: 320px; /* Ajuste conforme a altura do seu footer */
    box-sizing: border-box;
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: auto; /* Ou altura fixa se necessário */
}
/* Estilos para a página de contato */
.contato-page {
    padding: 100px 20px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.contato-page h1 {
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
}

.contato-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.form-container {
    flex: 1;
    min-width: 300px;
}

.info-container {
    flex: 1;
    min-width: 300px;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
}

.info-container h2 {
    margin-bottom: 25px;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 24px;
    color: #3498db;
    margin-right: 15px;
    margin-top: 5px;
}

.info-item h3 {
    margin-bottom: 5px;
    color: #2c3e50;
}

.info-item p {
    color: #666;
    margin: 0;
}

.info-item a {
    color: #666;
    text-decoration: none;
}

.info-item a:hover {
    color: #3498db;
}

/* Estilos do formulário */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.btn-enviar {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-enviar:hover {
    background-color: #2980b9;
}

/* Mensagem de confirmação */
.form-message {
    padding: 15px;
    margin-top: 20px;
    border-radius: 4px;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsividade */
@media (max-width: 768px) {
    .contato-content {
        flex-direction: column;
    }
    
    .info-container {
        order: -1;
    }
}
.btn-enviar {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    margin-top: 10px;
}

.btn-enviar:hover {
    background-color: #2980b9;
}

.btn-enviar:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
}
* SOLUÇÃO ALTERNATIVA */
body {
    position: relative;
    min-height: 100vh;
}

main {
    padding-bottom: 150px; /* Espaço para o footer */
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: auto;
}