:root {
    --preto: #000000;
    --branco: #fff;
    --cinza-claro: #f8f9fa;
    --cinza-escuro: #343a40;
    --cor-principal: #424242;
    /* Cor principal para botões */
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--preto);
    background-color: var(--branco);
}

/* --- NAVBAR --- */
.navbar {
    background-color: rgba(18, 18, 18, 0.7);
    backdrop-filter: blur(10px);
    transition: background-color 0.3s ease;
    padding: 0.75rem 0;
}

.navbar-logo {
    height: 40px;
    width: auto;
}

.navbar-brand {
    font-weight: 600;
}

.nav-link {
    color: var(--branco);
    font-weight: 500;
}

.nav-link:hover {
    color: #cccccc;
}

.btn-custom-nav {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.btn-primary.btn-custom-nav {
    background-color: var(--cor-principal);
    border-color: var(--cor-principal);
}

.btn-primary.btn-custom-nav:hover {
    background-color: var(--preto);
    border-color: var(--preto);
}


/* --- HERO SECTION --- */
#hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../../app/view/img/back.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-search-container {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.hero-search-input {
    border-radius: 50px;
    padding: 1rem 1.5rem 1rem 3.5rem;
    border: none;
}

.search-icon {
    position: absolute;
    top: 50%;
    left: 1.5rem;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 1.2rem;
}

/* --- SEÇÃO CATEGORIAS --- */
#categories {
    background-color: var(--branco);
}

.section-title {
    font-weight: 700;
}

.category-card {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.category-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 20%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.category-card-title {
    color: var(--branco);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}

/* --- FOOTER --- */
.footer-custom {
    background-color: var(--cinza-claro);
    border-top: 1px solid #dee2e6;
}

/* --- ESTILOS PARA PÁGINA "COMO FUNCIONA" --- */
.page-content {
    padding-top: 70px;
}

.page-header {
    background-color: var(--cinza-claro);
}

.how-it-works .step-card {
    padding: 2rem;
    border-radius: 12px;
    background-color: #fff;
    border: 1px solid #e9ecef;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.how-it-works .step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.our-philosophy .philosophy-list {
    font-size: 1.1rem;
}

.our-philosophy .philosophy-list i {
    font-size: 1.5rem;
}

/* --- ESTILOS PARA PÁGINAS LEGAIS (TERMOS E POLÍTICA) --- */
.legal-page h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.legal-page h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 1.25rem;
}

.legal-page p,
.legal-page li {
    line-height: 1.8;
    color: #555;
}

.legal-page ul {
    list-style-type: disc;
    padding-left: 20px;
}

/* --- AJUSTES NO FOOTER --- */
.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: #6c757d;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--preto);
    text-decoration: underline;
}

/* --- ESTILOS PARA O NOVO DROPDOWN DE USUÁRIO --- */

/* Ajusta o link principal do dropdown */
.navbar .dropdown-toggle::after {
    /* Deixa a setinha do dropdown mais sutil */
    color: var(--branco);
    margin-left: 0.5em;
    /* Adiciona um espaço antes da seta */
}

/* Customiza a aparência do menu suspenso */
.dropdown-menu-dark-custom {
    background-color: rgba(30, 30, 30, 0.75);
    /* Fundo escuro e translúcido */
    backdrop-filter: blur(10px);
    /* O mesmo efeito de vidro da navbar */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    /* Bordas arredondadas */
    margin-top: 0.5rem !important;
    /* Pequeno espaço entre o menu e a navbar */
}

/* Estiliza os links dentro do dropdown */
.dropdown-menu-dark-custom .dropdown-item {
    color: var(--cinza-claro);
    padding: 0.6rem 1.2rem;
    /* Mais espaçamento interno */
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* Efeito hover nos links do dropdown */
.dropdown-menu-dark-custom .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--branco);
}

/* Estiliza a linha divisória */
.dropdown-menu-dark-custom .dropdown-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* Em angelao/public/css/style.css */

.search-results-container {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    text-align: left;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
    padding: 0.75rem 1.5rem;
}

.search-result-item:hover {
    background-color: #f8f9fa;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.search-result-name {
    font-weight: 600;
}

.search-result-location {
    font-size: 0.85rem;
    color: #6c757d;
}

.search-no-results {
    padding: 1rem 1.5rem;
    color: #6c757d;
}