/* css/styles.css */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

header {
    background-color: #AB784E;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo img {
    height: 100px; /* Tamanho do logo */

}
nav {
    display: flex;
    align-items: center;
}

.main-header {
    background-color:#AB784E; /* Use a cor que deseja */
    padding: 15px 0;
    position: relative;
    z-index: 1000;
    width: 100%;
    /* Outros estilos do header */
}

.main-menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    background: #AB784E;
}

.main-menu li {
    position: relative;
}

.main-menu > li {
    padding: 10px 20px;
}

.main-menu a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
}

/* Estiliza os submenus para ficarem escondidos inicialmente */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    background: #AB784E;
    padding: 0;
    margin: 0;
    min-width: 200px;
}

/* Mostra o submenu quando o mouse passa sobre um item */
.main-menu li:hover > .submenu {
    display: block;
}

/* Estiliza os itens do submenu */
.submenu li {
    width: 100%;
}

.submenu a {
    padding: 10px;
    color: white;
    display: block;
    text-decoration: none;
}

.submenu a:hover {
    background: #555;
}

.hero {
    background-image: url('../images/raraa_img_1.jpg'); /* Verifique se o caminho está correto */
    background-size: cover; /* Cobre toda a área */
    background-position: center; /* Centraliza a imagem */
    margin-bottom: 40px; /* Ajusta a distância conforme necessário */
    color: white;
    padding: 250px 20px; /* Ajuste do padding conforme necessário */
    text-align: center;
}

.hero h1 {
    margin: 0;
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Sombra para melhor legibilidade */
}


.items {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.card {
    text-align: center;
    max-width: 300px;
}

.card img {
    width: 200px;  /* Largura fixa */
    height: 200px; /* Altura fixa */
    object-fit: cover; /* Mantém proporções e corta excessos */
    border-radius: 50%; /* Mantém o formato circular */
}
.card a {
    display: inline-block;
    padding: 10px 15px;
    background-color: #333; /* Substituir pela cor exata da barra de menu */
    color: #fff; /* Substituir pela cor exata dos itens do menu */
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.card a:hover {
    background-color: #555; /* Cor ligeiramente mais clara para hover */
}
/* Estilos para a seção "Sobre Nós" */
.container {
    max-width: 900px;
    margin: 20px auto;
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-text {
    flex: 1;
}

.about-text h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.about-video {
    flex: 1;
    text-align: center;
}

.about-video video {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Layout responsivo */
@media (min-width: 768px) {
    .about-content {
        flex-direction: row;
    }
}
.subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

.work-group {
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}

.work-group h3 {
    font-size: 1.2rem;
    color: #333;
    cursor: pointer;
    display: flex;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.work-group h3:hover {
    color: #007bff; /* Mudança de cor ao passar o mouse */
}
.work-group h3 .arrow {
    margin-left: 10px;
    font-size: 0.8rem;
    color: #AB784E;
    transition: transform 0.3s ease;
}
.work-group p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-top: 10px;
    display: none; /* Oculta o texto inicialmente */
    transition: opacity 0.3s ease, max-height 0.3s ease;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
}
.work-group p b {
    color: #333;
}
.work-group p.show {
    display: block; /* Exibe o texto */
    opacity: 1;
    max-height: 1000px; /* Valor alto para permitir a expansão */
}
/* Estilos para o carrossel */
.about-carousel {
    flex: 1;
    margin-left: 20px;
    max-width: 500px; /* Largura máxima do carrossel */
    width: 100%;
}

.carousel {
    width: 100%;
    height: 500px; /* Altura fixa do carrossel */
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que a imagem cubra o espaço sem distorcer */
    border-radius: 10px;
}

/* Estilos para os pontos de navegação do carrossel */
.slick-dots {
    bottom: 10px;
}

.slick-dots li button:before {
    color: #fff;
}

.slick-dots li.slick-active button:before {
    color: #007bff;
}

.help-text {
    font-size: 0.9rem;
    color: #777;
    margin-top: 5px;
}
/* Estilos específicos para motivos.php */
.pesquisa-container {
    max-width: 900px;
    margin: 20px auto;
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.pesquisa-form-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pesquisa-form-container label {
    font-weight: bold;
    color: #333;
    margin-bottom: -8px;
}

/* Estilo reduzido para o select */
.pesquisa-form-container select {
    padding: 8px 12px;
    font-size: 0.9rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pesquisa-form-container select:hover {
    border-color: #AB784E;
}

.pesquisa-form-container select:focus {
    outline: none;
    border-color: #AB784E;
    box-shadow: 0 0 0 2px rgba(171, 120, 78, 0.2);
}

/* Melhorias para os cards de motivos */
.motivos-container {
    max-width: 900px;
    margin: 20px auto;
}

.motivo-card {
    display: flex; /* Alinha os elementos na mesma linha */
    align-items: center; /* Alinha verticalmente */
    justify-content: space-between; /* Separa o texto e a imagem */
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 15px;
    margin-bottom: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}


.motivo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.motivo-text {
    flex: 1; /* Ocupa o espaço disponível */
}


.motivo-image {
    flex-shrink: 0; /* Evita que a imagem diminua demais */
    margin-left: 20px; /* Dá um espaçamento entre o texto e a imagem */
}

.motivo-image img {
    max-width: 150px;
    max-height: 150px;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.motivo-image img:hover {
    transform: scale(1.5);
    z-index: 10;
}

.no-results {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    max-width: 900px;
    margin: 20px auto;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Responsividade */
@media (max-width: 768px) {
    .pesquisa-container, .motivos-container {
        padding: 15px;
        margin: 10px;
    }
    
    .motivo-card {
        flex-direction: column;
    }
    
    .motivo-image {
        margin-top: 10px;
        text-align: center;
    }
}

 /* Estilos para a tabela */
    .table-container {
        overflow-x: auto;
        margin: 20px 0;
    }
    
    .styled-table {
        width: 100%;
        border-collapse: collapse;
        margin: 25px 0;
        font-size: 0.9em;
        font-family: Arial, sans-serif;
        min-width: 400px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
        border-radius: 8px;
        overflow: hidden;
    }
    
    .styled-table thead tr {
        background-color: #2c3e50;
        color: #ffffff;
        text-align: left;
    }
    
    .styled-table th,
    .styled-table td {
        padding: 12px 15px;
        text-align: center;
    }
    
    .styled-table tbody tr {
        border-bottom: 1px solid #dddddd;
    }
    
    .styled-table tbody tr:nth-of-type(even) {
        background-color: #f3f3f3;
    }
    
    .styled-table tbody tr:last-of-type {
        border-bottom: 2px solid #2c3e50;
    }
    
    .styled-table tbody tr.highlight-row {
        background-color: #f9f1da;
        font-weight: bold;
    }
    
    .styled-table tbody tr:hover {
        background-color: #f1f1f1;
    }
    
    /* Melhorias para números grandes */
    .styled-table td {
        font-family: Arial, sans-serif;
    }

.flex-container2 {
    display: flex;
    justify-content: space-between; /* Espaça os elementos dentro do contêiner */
    align-items: flex-start; /* Alinha os itens ao topo*/
}

