/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: Tema filho do Astra para APV Financeiro
Author: Seu Nome
Author URI: https://apvfinanceiro.com.br
Template: astra
Version: 1.0.0
*/

/* Importe o CSS do tema pai */
@import url('../astra/style.css');

/* Adicione aqui o CSS do seu cabeçalho e rodapé */
/* Cabeçalho */
#apv-custom-header {
    background-color: #231F20;
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #A59F8D;
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: #A59F8D;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Ajuste para o conteúdo principal */
body {
    padding-top: 90px; /* Ajuste conforme a altura do seu cabeçalho */
}

/* Esconder elementos que podem estar causando sobreposição */
.site-title, 
.site-description,
.ast-site-identity,
.ast-logo-title-inline .site-logo-img {
    display: none !important;
}

/* Rodapé */
#apv-custom-footer {
    background-color: #1a1718;
    color: #FFFFFF;
    padding: 4rem 0 2rem;
    font-size: 0.9rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #A59F8D;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #A59F8D;
}

.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: #D6D6D7;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: #A59F8D;
    padding-left: 5px;
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #D6D6D7;
}

/* Menu mobile */
.mobile-menu-toggle {
    display: none;
    color: #FFFFFF;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Responsividade */
@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    /* Ajuste o padding-top para dispositivos móveis */
    body {
        padding-top: 70px;
    }
}

/* Ajustes para a barra de admin do WordPress */
.admin-bar #apv-custom-header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar #apv-custom-header {
        top: 46px;
    }
}

@media (max-width: 600px) {
    .admin-bar #apv-custom-header {
        position: absolute;
    }
}