/* Arquivo de Estilos: Magic Content Manager 
Local: /wp-content/plugins/magic-content-manager/styles/mcm-style.css
*/

/* --- BARRA DE FILTROS --- */
.mcm-filter-bar {
    background: #121214; 
    border: 1px solid #c5a059; 
    border-radius: 8px;
    padding: 20px; 
    margin-bottom: 30px; 
    display: flex; 
    flex-wrap: wrap; 
    gap: 15px;
    align-items: center; 
    justify-content: space-between;
}

.mcm-filter-group { 
    flex: 1; 
    min-width: 150px; 
}

.mcm-filter-input, 
.mcm-filter-select {
    width: 100%; 
    padding: 10px; 
    background: #0f0f10; 
    border: 1px solid #333;
    color: #ddd; 
    border-radius: 4px; 
    font-size: 14px;
}

.mcm-filter-btn {
    background: #c5a059; 
    color: #000; 
    font-weight: bold; 
    border: none;
    padding: 10px 25px; 
    border-radius: 4px; 
    cursor: pointer; 
    height: 42px;
    text-transform: uppercase; 
    transition: background 0.3s;
}

.mcm-filter-btn:hover { 
    background: #e0c060; 
}

.mcm-filter-label { 
    display: block; 
    color: #c5a059; 
    font-size: 12px; 
    margin-bottom: 5px; 
    text-transform: uppercase;
}

/* --- GRID E CARDS --- */
.mcm-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 30px; 
    padding: 0; 
    font-family: 'Helvetica', sans-serif; 
}

.mcm-card { 
    background: #121214; 
    border: 1px solid #c5a059; 
    border-radius: 8px; 
    overflow: hidden; 
    display: flex; 
    flex-direction: column; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.6); 
    transition: transform 0.3s, box-shadow 0.3s; 
    position: relative; 
    cursor: pointer; /* Indica que é clicável */
}

.mcm-card:hover { 
    transform: translateY(-5px); 
    border-color: #ffd700; 
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.15);
}

/* --- HEADER DO CARD (FOTO) --- */
.mcm-header { 
    height: 180px; 
    background: linear-gradient(to bottom, #1a1a1d, #121214); 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    position: relative; 
}

.mcm-header::after { 
    content: ''; 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    height: 1px; 
    background: linear-gradient(90deg, transparent, #c5a059, transparent); 
}

.mcm-photo { 
    width: 130px; 
    height: 130px; 
    border-radius: 50%; 
    background-size: cover; 
    background-position: center; 
    border: 2px solid #c5a059; 
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.2); 
    background-color: #000; 
}

/* --- CORPO DO CARD --- */
.mcm-body { 
    padding: 25px 20px; 
    text-align: center; 
    flex-grow: 1; 
    color: #eee; 
}

.mcm-name { 
    margin: 0 0 5px 0; 
    font-size: 1.3rem; 
    color: #f0f0f0; 
}

.mcm-job { 
    display: inline-block; 
    color: #c5a059; 
    font-size: 0.8rem; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    border-bottom: 1px solid #333; 
    padding-bottom: 5px; 
    margin-bottom: 10px; 
}

/* Botão "Ver Mais" no Card */
.mcm-read-more {
    display: block;
    margin-top: 15px;
    font-size: 0.8rem;
    color: #c5a059;
    text-decoration: underline;
    font-style: italic;
}

/* --- FOOTER (BOTÕES) --- */
.mcm-footer { 
    padding: 20px; 
    background: #0d0d0f; 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
    border-top: 1px solid #222; 
}

.mcm-btn { 
    width: 100%; 
    padding: 12px; 
    border-radius: 4px; 
    text-decoration: none !important; 
    text-align: center; 
    font-weight: bold; 
    font-size: 0.85rem; 
    transition: all 0.3s ease;
    background: transparent;
    border: 1px solid #555;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mcm-insta:hover { 
    color: #c5a059 !important; 
    border-color: #c5a059; 
    background: rgba(197, 160, 89, 0.05);
}

.mcm-whats:hover { 
    color: #25D366 !important; 
    border-color: #25D366; 
    background: rgba(37, 211, 102, 0.05);
}

.mcm-no-results {
    background: #121214; 
    padding: 30px; 
    border-radius: 8px; 
    border: 1px dashed #c5a059; 
    text-align: center; 
    color: #ccc;
}

/* =========================================
   ESTILOS DO MODAL (POPUP)
   ========================================= */
.mcm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85); /* Fundo bem escuro */
    backdrop-filter: blur(8px); /* Efeito Embaçado */
    z-index: 99999;
    display: none; /* Escondido por padrão */
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.mcm-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.mcm-modal-content {
    background: #121214;
    border: 2px solid #c5a059; /* Borda Dourada mais grossa */
    border-radius: 12px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 0 50px rgba(197, 160, 89, 0.2);
    animation: mcmSlideUp 0.4s ease forwards;
}

@keyframes mcmSlideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.mcm-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    transition: color 0.3s;
}
.mcm-modal-close:hover { color: #fff; }

/* Layout Interno do Modal */
.mcm-modal-body {
    padding: 40px;
    text-align: center;
    color: #eee;
}

.mcm-modal-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 4px solid #c5a059;
    margin: 0 auto 20px auto;
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.3);
}

.mcm-modal-name {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 5px;
    font-family: serif;
}

.mcm-modal-job {
    color: #c5a059;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: block;
}

.mcm-modal-loc {
    color: #888;
    margin-bottom: 25px;
    font-size: 1rem;
}

.mcm-modal-bio {
    text-align: justify;
    line-height: 1.8;
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 30px;
    padding: 0 10px;
    border-top: 1px solid #333;
    padding-top: 20px;
}