html{
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Montserrat;
}

header {
    background-color: #f0ede6;

    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    flex-wrap: wrap;
    position: relative;

}

.icone {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icone img {
    width: 265px;
    height: auto;
}

nav {
    display: flex;
    gap: 15px;
}

nav a{
    color: #a75615;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

nav a:hover{
    color: #7c3e0f;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #a75615;
    font-size: 30px;
    cursor: pointer;
}

.banner {
    width: 100%;
    overflow: hidden;
}

.banner img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

.animar{
    opacity:0;
    transform:translateY(20px);
    transition:
        opacity .45s ease,
        transform .45s ease;
}

.animar.mostrar{
    opacity: 1;
    transform: translateY(0);
}

.palavra-paroco{
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 60px 10%;
}

.foto-paroco img{
    width: 250px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.palavra{
    flex: 1;
}

.palavra h2{
    color: #a75615;
    text-align: left;
}

.palavra p{
    line-height: 1.8;
    text-align: justify;
}
.apresentacao{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 50px;
    background-color: #f0ede6;
}

.galeria-paroquia {
    display: grid;
    grid-template-columns: repeat(2, 80px);
    gap: 10px;
    align-content: start;
}

.miniatura {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    opacity: 0.7;
    transition: 0.3s;
}

.miniatura:hover{
    opacity: 1;
}

.miniatura.ativa{
    border: 3px solid #a75615;
    opacity: 1;
}

.imagem-principal img{
    width: 350px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}
.imagem-principal img{
    transition: opacity .25s ease, transform .25s ease;
}

.sobre-texto{
    max-width: 500px;
}

.historia {
    padding: 60px 10%;
    text-align: center;
}

.historia h2{
    color: #a75615;
    margin-bottom: 20px;
}

.historia p{
    max-width: 800px;
    margin: 0 auto;

    line-height: 1.8;
    text-align: justify;
}

.cards{
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 40px 20px;
    flex-wrap: wrap;
}

h2 {
    color: #a75615;
    margin-bottom: 20px;
    text-align: center;
}

.capela{
    width: 300px;
    padding: 25px;
    border-radius: 20px;
    background: #f0ede6;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    text-align: center;
    transition: 0.3s;
}

.capela:hover{
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.capela h3{
    color: #a75615;
}

.capela p {
    color: #555;
}

.capela a{
    color: #a75615;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.capela a:hover{
    color: #7c3e0f;
    text-decoration: underline;
}

.trezena{
    align-items: center;
    text-align: center;
}

.botao-documento{
    display:inline-block;

    margin-top:15px;

    padding:12px 20px;

    background:#a75615;

    color:white;

    text-decoration:none;

    border-radius:8px;

    transition:0.3s;
}

.botao-documento:hover{
    opacity:0.9;
}

footer{
    background: #f0ede6;
    padding: 20px 40px;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
}

.brasão-paroquial{
    justify-self: start;
}

.brasão-paroquial img {
    width: 110px;
    height: auto;
}

.info-footer{
    text-align: center;
    color: #a75615;
    line-height: 1.5;
}

#redes-sociais{
    display: flex;
    justify-self: end;
    gap: 20px;
}

#redes-sociais i{
    font-size:28px;
    color:#a75615;

    transition:0.3s;

}

#redes-sociais i:hover{
    transform:scale(1.15);
}
@media (max-width: 768px) {

    .animar{
        opacity: 1;
        transform: none;
        transition: none;
    }

    .menu-toggle {
        display: block;
        color: #a75615;
        background: none;
        border: none;
        width: 45px;
        height: 45px;
        border-radius: 10px;
        font-size: 30px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        cursor: pointer;
    }

    nav{
        display:none;

        position:absolute;

        top:100%;
        right:20px;

        width:220px;

        background:white;

        border-radius:12px;

        box-shadow:0 5px 15px rgba(0,0,0,0.2);

        padding:15px;

        z-index:1000;
    }

    nav{
        opacity: 0;
        transform: translateY(-10px);
        transition: 0.3s;
    }

    nav.active{
        display:flex;
        flex-direction:column;
        opacity: 1;
        transform: translateY(0);
    }

    nav a{
        padding:12px;
        border-radius:8px;

        text-decoration:none;

        color:#a75615;

        transition:0.3s;
    }

    nav a:hover{
        background: #f5f5f5;
    }

    .icone img {
        width: 180px;
        height: auto;
    }

    .banner img {
        width: 100%;
        height: auto;
        display: block;
    }

    .palavra-paroco{
    flex-direction: column;
    text-align: center;
    }

    .foto-paroco img{
    width: 180px;
    }

    .palavra h2{
    text-align: center;
    }

    .apresentacao{
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
    }

    .galeria-paroquia{
        display: grid;
        grid-template-columns: repeat(5, 60px);
        gap: 8px;
    }

    .miniatura{
        width: 60px;
        height: 60px;
    }

    .imagem-principal img{
        width: 100%;
        max-width: 220px;
        height: auto;
    }

    .sobre-texto{
        width: 90%;
        text-align: center;
    }

    footer{
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    
    .brasão-paroquial{
    justify-self: center;
    }

    #redes-sociais{
        justify-self: center;
    }

}

