:root {
    --bg-color: #121212;       
    --text-color: #fff;     
    --link-color: #f46d00;     
    
    --header-bg-fixed: #ffffff;     
    --header-text-fixed: #333333;   
    --header-border-fixed: #e0e0e0; 

    transition: all 0.3s ease;
}

body.light {
    --bg-color: #fff;     
    --text-color: #121212;    
    --link-color: #f46d00;   
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    transition: background-color 0.3s, color 0.3s;
}

main {
    max-width: 800px;
    margin: 20px auto;
    padding: 0 20px;
}


/* ---------------------------------- */
/* 4. ESTILIZAÇÃO FIXA DO HEADER (MANTÉM O TEMA CLARO) */
/* ---------------------------------- */
.header-style1, .navbar-default {
    background-color: var(--header-bg-fixed) !important;
}

.navbar-default.border-bottom {
    border-color: var(--header-border-fixed) !important;
}

/* Garante que o texto do menu seja ESCURO para o fundo fixo */
.menu_area nav ul li a {
    color: var(--header-text-fixed) !important; 
}

.theme-toggle {
    background: transparent;
    color: #121212; 
    border: none;
    box-shadow: none; 
    margin-top: -50px;
    margin-right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}
.theme-toggle i:hover {
    color: #f46d00;
}