/*
Theme Name: ExpertFinder Custom
Author: Btech Systems
Description: Tema personalizado para ExpertFinderUSA
Version: 1.0
*/

/* =========================================
   1. ESTILOS GERAIS (Vale para todo o site)
   ========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: Arial, sans-serif; }

body {
    background: #fff3e0; /* Laranja bem claro */
    color: #374151; /* Cinza Escuro */
    line-height: 1.6;
}

a { text-decoration: none; }

/* =========================================
   2. CABEÇALHO (Header)
   ========================================= */
header {
    position: relative;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff3e0;
    z-index: 1000;
}

header img {
    width: 120px;
}

.nav-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-buttons a {
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #018a6b;
    color: #fff3e0;
    text-decoration: none;
    border-radius: 25px;
    transition: 0.3s;
}

.nav-buttons a:hover {
    background-color: #016f5b;
}

/* Dropdown de Idioma (Se for usar depois) */
.language-dropdown select {
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #018a6b;
    color: #fff3e0;
    border: none;
    border-radius: 25px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

/* =========================================
   3. PÁGINA INICIAL (Home)
   ========================================= */
/* Hero da Home (Maior, tela cheia) */
.hero {
    /* O background será carregado via PHP no arquivo, mas deixamos o padrão aqui */
    background-size: cover;
    background-position: center;
    height: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff3e0;
    text-align: center;
    padding: 40px 20px;
}

.hero h1 { font-size: 3rem; margin-bottom: 20px; }
.hero p { font-size: 1.2rem; margin-bottom: 20px; text-align: justify; text-align-last: center; }
.hero a { padding: 15px 30px; font-size: 1.2rem; background-color: #018a6b; color: #fff3e0; border-radius: 25px; transition: 0.3s; }
.hero a:hover { background-color: #016f5b; }

/* Grid de Cards da Home */
.section { padding: 40px 20px; text-align: center; }
.section h2 { font-size: 2rem; margin-bottom: 20px; color: #018a6b; }
.section p { font-size: 1.2rem; margin-bottom: 30px; color: #374151; }

.section-grid, .expert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Ajustei para ficar bonito */
    gap: 20px;
}

.section-card, .expert-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
    display: flex;
    flex-direction: column;
}

.expert-card h3 { font-size: 1.5rem; margin-bottom: 10px; color: #018a6b; }
.expert-card p { font-size: 1rem; color: #374151; margin-bottom: 15px; }
.expert-card a {
    margin-top: auto; /* Empurra o botão para baixo */
    display: inline-block;
    padding: 10px 20px;
    background-color: #018a6b;
    color: white;
    border-radius: 20px;
    text-align: center;
    align-self: flex-start;
}

/* =========================================
   4. PÁGINAS INTERNAS (Detalhes da Empresa)
   ========================================= */
/* Hero das internas (Menor, faixa superior) */
.hero-section {
    background-size: cover;
    background-position: center;
    color: #fff3e0;
    padding: 60px 20px;
    text-align: center;
}
.hero-section h1 { font-size: 2.5rem; margin-bottom: 20px; }
.hero-section p { font-size: 1.2rem; margin-bottom: 20px; }

/* Caixa de texto branca das internas */
.text-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}
.text-box h2 { font-size: 2rem; margin-bottom: 20px; color: #018a6b; }
.text-box p { font-size: 1.2rem; margin-bottom: 20px; color: #374151; }
.text-box ul { margin-left: 20px; margin-bottom: 20px; }
.text-box li { font-size: 1.2rem; margin-bottom: 10px; color: #374151; }

.contact-info { margin-top: 20px; font-size: 1.2rem; color: #374151; }
.contact-info a { color: #018a6b; font-weight: bold; }

.back-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #018a6b;
    color: #fff3e0;
    border-radius: 25px;
    transition: 0.3s;
}

/* =========================================
   5. RODAPÉ (Footer)
   ========================================= */
footer {
    background: #018a6b;
    color: #fff3e0;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    margin-top: auto;
}
footer a { color: #fff3e0; font-weight: bold; }

/* =========================================
   6. RESPONSIVIDADE (Celular)
   ========================================= */
@media (max-width: 768px) {
    header { flex-direction: column; align-items: flex-start; }
    header img { width: 100px; margin-bottom: 10px; }
    .nav-buttons { flex-direction: column; align-items: flex-start; }
    
    .hero h1, .hero-section h1 { font-size: 2rem; }
    .hero p, .hero-section p { font-size: 1rem; }
    
    .text-box h2 { font-size: 1.5rem; }
    .text-box p { font-size: 1rem; }
}