/*
Theme Name: RIJA Construtora - SPA
Theme URI: 
Author: Dev Bonne
Author URI: 
Description: Tema WordPress responsivo de página única (SPA) para a RIJA Construtora.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rija-construtora
*/

/* Reset básico e estilos iniciais */
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    color: #333;
    scroll-behavior: smooth; /* Para a navegação suave */
}

/* Estilos para garantir 100% de responsividade */
img {
    max-width: 100%;
    height: auto;
}
/* Estilos para o botão flutuante do WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%; /* Alterado para 50% para garantir círculo */
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    text-decoration: none; /* Remover sublinhado do link */
}

.whatsapp-float:hover {
    background-color: #128c7e;
}

/* Placeholder para o ícone do WhatsApp. No tema real, o usuário usaria Font Awesome ou um SVG. */
.whatsapp-float::before {
    /* Usando um ícone SVG do WhatsApp para um visual mais moderno e limpo */
    content: '';
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 448 512"><path d="M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7 .9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z" /></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60%; /* Ajusta o tamanho do ícone dentro do botão */
    width: 100%;
    height: 100%;
    line-height: 60px; /* Centraliza verticalmente o conteúdo (se fosse texto) */
    font-weight: bold;
    font-size: 18px;
    color: white;
}

/* Estilos da Navegação */
.main-nav {
    background-color: #2c3e50; /* Cor escura para o navbar */
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo a {
    color: #ecf0f1;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
}

.nav-links a {
    color: #ecf0f1;
    text-decoration: none;
    margin-left: 25px;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #f91111;
}

/* Responsividade do Navbar */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Esconder links no mobile, o usuário precisará de um menu hamburger */
    }
    .nav-container {
        justify-content: center;
    }
    .logo a {
        font-size: 20px;
    }
}

/* Estilos para as seções da SPA */
section {
    padding: 80px 20px;
    min-height: 50vh; 
    scroll-margin-top: 70px; /* Ajuste para a navegação fixa */
}

#quem-somos {
}

#obras {
    background-color: #ffffff;
}

#missao-valores {
    background-color: #e9e9e9;
}

#contato {
    background-color: #2c3e50;
    color: white;
}



/* Estilos do Formulário de Contato */
.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    /* color: #333; */
    border-radius: 8px;
}

.contact-form-container label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

.contact-form-container input[type="text"],
.contact-form-container input[type="email"],
.contact-form-container textarea,
.contact-form-container select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.contact-form-container textarea {
    resize: vertical;
    min-height: 100px;
}

.form-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

.form-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.form-buttons .btn-limpar {
    background-color: #e74c3c;
    color: white;
}

.form-buttons .btn-limpar:hover {
    background-color: #c0392b;
}

.form-buttons .btn-enviar {
    background-color: #2ecc71;
    color: white;
}

.form-buttons .btn-enviar:hover {
    background-color: #27ae60;
}

/* Responsividade Geral */
@media (max-width: 600px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
    .whatsapp-float::before {
        /* Ajusta o tamanho do ícone SVG para mobile */
        background-size: 50%; 
    }
    section {
        padding: 40px 15px;
    }
}


/*  Estilos do Carrossel (mantidos e ajustados para o novo CSS) */
.slide {
  display: none;
  transition: opacity 1s ease-in-out;
}
.fade {
  animation: fade 1.5s;
}
@keyframes fade {
  from { opacity: 0.4; }
  to { opacity: 1; }
}


#slider {
    overflow: hidden; 
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out; 
    width: fit-content; 
}

/* Item individual do slide (agora um 'slide-item') */
.slide-item {
    padding: 0 15px; 
    box-sizing: border-box; 
}

.slide-item:first-child {
    padding-left: 0;
}

.slide-item:last-child {
    padding-right: 0;
}

.slides-container {
    margin: 0 -20px;
}

/* Estilo para a imagem dentro do slide-item */
.slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px; 
}

/* Ajuste para os botões de navegação */
.prev, .next {
    z-index: 10; /* Garante que os botões fiquem acima das imagens */
    transition: background-color 0.3s;
    display: none;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.7);
}
