/* ========================================================
   1. Estilos Gerais e Layout Base
   ======================================================== */
body {
    font-family: 'Montserrat', 'Open Sans', sans-serif;
    line-height: 1.6;
    background-color: #f8f9fa;
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    margin: 8px 0;
}

/* ========================================================
   2. Navegação e Ícones Sociais
   ======================================================== */
.navbar-nav .nav-item {
    margin: 0 10px;
}

.navbar-nav strong mark {
    background: none;
}

.navbar-nav strong mark a {
    color: inherit;
    text-decoration: none;
}

.nav-social-icons a {
    font-size: 1.8rem;
    transition: color 0.3s ease-in-out, transform 0.2s;
    text-decoration: none;
    margin-right: 10px;
}

.nav-social-icons a:hover {
    transform: scale(1.1);
}

/* ========================================================
   3. Scroll Menu e Carrossel
   ======================================================== */
.scroll_menu {
    max-width: 300px;
    height: 485px;
    overflow-y: auto;
    border-radius: 8px;
    padding: 10px;
    background-color: #ffffff;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

.carousel-text-container {
    background: rgba(0, 0, 0, 0.6);
    padding: 25px;
    border-radius: 12px;
    display: inline-block;
    max-width: 650px;
    margin: auto;
    text-align: center;
}

.titulo-carousel, .subtitulo-carousel, .data-carousel {
    color: #fff;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
}

.fx-btn-pill {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: bold;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    transition: all 0.3s ease-in-out;
}

.fx-btn-pill:hover {
    background-color: #ffffff;
    color: #000000;
}

.carousel-item-bg {
    position: relative;
    width: 100%;
    height: 600px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: transparent;
    border-radius: 10px;
    overflow: hidden;
}

.overlay-gradient {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,rgba(0,0,0,.35),rgba(0,0,0,.15));
    z-index: 1;
}

.carousel-content {
    position: relative;
    z-index: 2;
}

/* ========================================================
   4. Cartões Gerais (Pastores, Diretores, Doações, Igrejas)
   ======================================================== */
.secao4-div-card,
.pastor-card,
.diretor-card,
.doacao-card,
.igreja-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.secao4-div-card:hover,
.pastor-card:hover,
.diretor-card:hover,
.doacao-card:hover,
.igreja-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ========================================================
   5. Imagens e Containers
   ======================================================== */
.geeks {
    max-width: 300px;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.geeks img {
    width: 100%;
    transition: transform 0.3s ease-in-out;
}

.geeks:hover img {
    transform: scale(1.1);
}

.responsivo img {
    max-width: 1080px;
    width: 100%;
    max-height: 500px;
    background-size: contain;
    background-color: #000;
}

.pastor-img-container,
.diretor-img-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #ddd;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
}

.pastor-foto,
.diretor-foto {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-igreja,
.doacao-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.doacao-img {
    height: 350px;
}

/* ========================================================
   6. Botões
   ======================================================== */
.btn-whatsapp,
.btn-site {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
}

.copy-button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
}

.copy-button:hover {
    background-color: #0056b3;
}

.copy-button:active {
    background-color: #004080;
}

.mensagem-copiada {
    color: green;
    margin-top: 10px;
    font-size: 14px;
    display: none;
}

/* ========================================================
   7. Tipografia e Destaques
   ======================================================== */
@font-face {
    font-family: 'Allura';
    src: url('css/Allura-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

.titulo-destaque {
    font-family: 'Allura', cursive;
    font-size: 3rem;
    font-weight: normal;
    text-align: center;
    color: #8b7d6b;
    position: relative;
    display: inline-block;
    padding: 10px 20px;
}

.titulo-destaque::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: #8b7d6b;
    margin: 10px auto;
}

.blockquote {
    font-size: 18px;
    font-style: italic;
    color: #555;
}

.pix-key {
    font-size: 16px;
    color: #555;
    margin-top: 10px;
}

/* ========================================================
   8. Botão Voltar ao Topo
   ======================================================== */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    font-size: 2em;
    color: white;
    background: #007bff;
    border-radius: 50%;
    padding: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.back-to-top:hover {
    background: #0056b3;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* ========================================================
   9. Seções Específicas
   ======================================================== */
.secao-biblia {
    background: #f8f9fa;
    padding: 40px 0;
}

#concilio {
    background-color: #f9f9f9;
    padding: 60px 0;
    margin-bottom: 100px;
}

/* Concilio - títulos, subtítulos, texto */
.logo-concilio {
    max-width: 600px;
    width: 100%;
    height: auto;
}

.titulo-concilio {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
}

.subtitulo-concilio {
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 40px;
}

.texto-concilio {
    font-size: 18px;
    margin-bottom: 20px;
}

.btn-concilio {
    display: inline-block;
    background-color: #fff;
    color: #000;
    font-weight: bold;
    padding: 12px 30px;
    font-size: 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease, transform 0.3s ease;
}

.btn-concilio:hover {
    background-color: #f8f9fa;
    color: #000;
    transform: scale(1.05);
}

/* ========================================================
   10. Igrejas - Cards e Imagens
   ======================================================== */
.igreja-card {
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.igreja-img-container {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
}

.igreja-img-container img {
    width: auto;
    height: 98%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease-in-out;
}

.igreja-img-container img:hover {
    transform: scale(1.05);
}

.card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.card-title {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
}

.card-text {
    font-size: 14px;
    color: #666;
    flex-grow: 1;
}

.igreja-link {
    text-decoration: none;
    color: inherit;
}

.btn-primary {
    width: 100%;
    background: #8b7d6b;
    border-color: #8b7d6b;
}

.btn-primary:hover {
    background: #6f6657;
    border-color: #6f6657;
}

.btn-primary i {
    margin-left: 5px;
}

/* ========================================================
   11. Responsividade
   ======================================================== */
@media (max-width: 1024px) {
    .secao4-div-card,
    .pastor-card,
    .diretor-card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .secao4-div-card,
    .pastor-card,
    .diretor-card {
        width: 100%;
    }

    .carousel-item-bg {
        height: 400px !important;
    }

    .carousel-text-container {
        font-size: 0.9rem;
    }

    .fx-btn-pill {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .btn-concilio {
        padding: 10px 20px;
        font-size: 18px;
    }

    .titulo-concilio {
        font-size: 36px;
    }

    .subtitulo-concilio {
        font-size: 22px;
    }

    .texto-concilio {
        font-size: 16px;
    }

    .logo-concilio {
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .btn-concilio {
        padding: 8px 15px;
        font-size: 16px;
    }

    .titulo-concilio {
        font-size: 28px;
    }

    .subtitulo-concilio {
        font-size: 20px;
    }

    .texto-concilio {
        font-size: 15px;
    }

    .logo-concilio {
        max-width: 250px;
    }
}

/* ========================================================
   12. Animações
   ======================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.show {
    opacity: 1;
    transform: translateY(0);
}
