/* style.css */

/* Garante que o conteúdo inicie abaixo do navbar fixo */
body {
    padding-top: 56px; /* Altura padrão navbar fixed-top Bootstrap */
}

/* Para o rodapé fixo (se usado) */
footer.fixed-bottom {
    background-color: #f8f9fa;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
    padding: 10px 0;
}

/* Espaçamento padrão para títulos */
h2 {
    margin-bottom: 1.5rem;
}

/* Personalização dos botões */
.btn-success {
    background-color: #007b33;
    border-color: #007b33;
}

.btn-success:hover {
    background-color: #005f27;
    border-color: #005f27;
}

/* Alertas margens */
.alert {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Imagens da galeria */
.img-fluid {
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.img-fluid:hover {
    transform: scale(1.05);
    cursor: pointer;
}

/* Layout responsivo para formulário */
form .row > div {
    margin-bottom: 1rem;
}

/* Outros ajustes visuais */
.container {
    max-width: 960px;
}
.uppercase {
    text-transform: uppercase;
}
#overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(255,255,255,0.7);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
    color: #000;
    transition: opacity 0.4s ease;
}
#overlay.fade-in { opacity: 1; }
#overlay.fade-out { opacity: 0; pointer-events: none; }



/* ======================================================
                   LAYOUT DO BLOG
====================================================== */
/* Categories list */
.categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-bottom: 2rem;
}
.categories-list a {
    padding: 0.4rem 0.8rem;
    background: var(--primary);
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.95rem;
}
.categories-list a.active {
    background: #004b1e;
}

/* Post cards */
.post-card {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    overflow: hidden;
}
.post-card .post-header {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.post-card .post-header a {
    font-size: 1.3rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}
.post-card .post-meta {
    font-size: 0.9rem;
    color: #777;
}
.post-card .post-excerpt {
    padding: 1rem;
    color: #333;
    line-height: 1.5;
}
.post-card .read-more {
    display: block;
    text-align: right;
    padding: 0.5rem 1rem 1rem;
}
.post-card .read-more a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

