/* Estilos gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Garante que padding e border não aumentem o tamanho total */
    font-family: 'Roboto', sans-serif;
}

:root {
    /* Variáveis de cores e efeitos para reutilização */
    --primary-color: #000000;
    --secondary-color: #1a1a1a;
    --accent-color: #333333;
    --text-color: #2c2c2c;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient: linear-gradient(135deg, #000000, #1a1a1a);
}

body {
    background-color: var(--light-bg); /* Fundo claro */
    color: var(--text-color);          /* Cor padrão do texto */
    line-height: 1.6;                  /* Altura da linha */
    overflow-x: hidden;                /* Evita rolagem horizontal */
}

/* Header */
header {
    background: rgba(0, 0, 0, 0.95);  /* Fundo semi-transparente */
    backdrop-filter: blur(10px);     /* Efeito de desfoque no fundo */
    color: white;
    padding: 1.2rem 5%;              /* Espaçamento interno */
    position: fixed;                 /* Fixa no topo da página */
    display: flex;
    width: 100%;
    top: 0;
    z-index: 1000;                   /* Fica acima de outros elementos */
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;       /* Suaviza transições */
}

header h1 {
    font-size: 2.4rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    display: inline-block;
    font-weight: 700;
}


.home {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

/* Botão estilizado */
.btn {
    width: 150px;
    height: 50px;
    border-radius: 5px;
    border: none;
    transition: all 0.5s ease-in-out;
    font-size: 20px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: 600;
    display: flex;
    align-items: center;
    background: var(--primary-color);
    color: var(--white);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.btn .icon {
    position: absolute;
    height: 40px;
    width: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s;
}

.btn .text {
    transform: translateX(55px);
    transition: all 0.5s;
}

.btn:hover .icon {
    width: 175px;
}

.btn:hover .text {
    transition: all 0.5s;
    opacity: 0;
}

.btn:focus {
    outline: none;
}

.btn:active .icon {
    transform: scale(0.85);
}

.btn svg rect {
    fill: var(--white);
    transition: all 0.3s ease;
}

.btn:hover svg rect {
    fill: var(--light-bg);
}

/* Menu de navegação em overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(4, 15, 22, 0.97); /* Cor escura com opacidade */
    display: none;                         /* Oculto por padrão */
    justify-content: center;
    transition: opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;                  /* Impede cliques quando oculto */
    align-items: center;
    z-index: 9999;                         /* Acima de quase tudo */
}

.menu-overlay.show {
    display: flex;                        /* Exibe o menu */
    opacity: 1;
    pointer-events: all;
}

.overlay-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.overlay-nav a {
    color: #00aaff;
    font-size: 24px;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.overlay-nav a:hover {
    color: #ffffff;
}

/* Seção Início - com imagem de fundo */
.inicio {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('img/igreja.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 1rem;
    position: relative;
}

.inicio h1 {
    font-size: 4.5rem;
    margin-bottom: 2rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s ease;
    font-weight: 700;
    line-height: 1.2;
}

.inicio p {
    font-size: 2rem;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.2s;
    opacity: 0;
    animation-fill-mode: forwards; /* Faz a animação permanecer ao final */
    font-weight: 300;
}

.inicio button {
    padding: 1.5rem 3rem;
    font-size: 1.3rem;
    background: var(--white);
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    animation: fadeInUp 1s ease 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.inicio button:hover {
    background: var(--light-bg);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Seção Informações */
.informacoes {
    padding: 10rem 5%;
    background-color: var(--white);
    position: relative;
}

.informacoes h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 5rem;
    font-size: 3rem;
    position: relative;
    padding-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.info-card {
    background-color: var(--light-bg);
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.info-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.info-card:hover::before {
    transform: scaleX(1);
}

/* Seção Horários */
.horarios {
    background: var(--gradient);
    color: var(--white);
    padding: 10rem 5%;
    position: relative;
    overflow: hidden;
}

.horarios h2 {
    text-align: center;
    margin-bottom: 5rem;
    font-size: 3rem;
    position: relative;
    padding-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.horarios-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.horarios-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.15);
}

/* Galeria */
.galeria {
    padding: 10rem 5%;
    background-color: var(--white);
    position: relative;
}

.galeria h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 5rem;
    font-size: 3rem;
    position: relative;
    padding-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    padding: 0 5%;
}

.galeria-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    aspect-ratio: 4/3;
}

.galeria-item:hover {
    transform: translateY(-15px) scale(1.02);
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.galeria-item:hover img {
    transform: scale(1.1);
}

/* Localização */
.localizacao {
    padding: 10rem 5%;
    background-color: var(--light-bg);
    position: relative;
}

.localizacao h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 5rem;
    font-size: 3rem;
    position: relative;
    padding-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mapa-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8rem 5% 3rem;
    position: relative;
    overflow: hidden;
}

footer h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 3rem;
    color: var(--white);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 0;
}

.footer-column a:hover {
    color: var(--light-bg);
    transform: translateX(10px);
}
.footer-bottom {
    text-align: center;
    margin-top: 4rem;
    font-size: 0.9rem;
    color: var(--white);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    position: relative;
    z-index: 1;
}
.footer-bottom a {
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
}

ul {
    list-style: none;
}

.example-2 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.example-2 .icon-content {
    margin: 0 10px;
    position: relative;
}

.example-2 .icon-content .tooltip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    padding: 6px 10px;
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    font-size: 14px;
    transition: all 0.3s ease;
}

.example-2 .icon-content:hover .tooltip {
    opacity: 1;
    visibility: visible;
    top: -50px;
}

.example-2 .icon-content a {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #4d4d4d;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
}

.example-2 .icon-content a:hover {
    box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 12%);
}

.example-2 .icon-content a svg {
    position: relative;
    z-index: 1;
    width: 30px;
    height: 30px;
}

.example-2 .icon-content a:hover {
    color: white;
}

.example-2 .icon-content a .filled {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #000;
    transition: all 0.3s ease-in-out;
}

.example-2 .icon-content a:hover .filled {
    height: 100%;
}

.example-2 .icon-content a[data-social="whatsapp"] .filled,
.example-2 .icon-content a[data-social="whatsapp"]~.tooltip {
    background-color: #128c7e;
}

.example-2 .icon-content a[data-social="facebook"] .filled,
.example-2 .icon-content a[data-social="facebook"]~.tooltip {
    background-color: #3b5998;
}

.example-2 .icon-content a[data-social="instagram"] .filled,
.example-2 .icon-content a[data-social="instagram"]~.tooltip {
    background: linear-gradient(45deg,
            #405de6,
            #5b51db,
            #b33ab4,
            #c135b4,
            #e1306c,
            #fd1f1f);
}

.example-2 .icon-content a[data-social="youtube"] .filled,
.example-2 .icon-content a[data-social="youtube"]~.tooltip {
    background-color: #ff0000;
}



/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Botão do WhatsApp */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    padding: 12px 16px;
    border-radius: 30px;
    font-weight: bold;
    font-family: Arial, sans-serif;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    z-index: 9999;
    transition: all 0.3s ease;
}

.whatsapp-button span {
    transition: transform 0.3s ease;
}

.whatsapp-button img,
.whatsapp-button svg {
    transition: transform 0.3s ease;
}

.whatsapp-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    background-color: #128C7E;
}

.whatsapp-button:hover span {
    transform: translateX(5px);
}

.whatsapp-button:hover img,
.whatsapp-button:hover svg {
    transform: rotate(15deg);
}

/* Media Queries para tornar o site mais responsivo */
/* Media Queries para tornar o site mais responsivo */
@media (max-width: 1024px) {
    header h1 {
        font-size: 2.2rem;  /* Ajustando a fonte do título no header */
    }

    .logo {
        height: 60px;
    }

    .home {
        flex-direction: column;
        text-align: center;
        padding: 10px;  /* Diminui o espaçamento em telas menores */
    }

    .btn {
        width: 80%;  /* Botões mais estreitos em telas menores */
        height: 45px;
        font-size: 18px;
        justify-content: center;
    }

    .inicio h1 {
        font-size: 3.5rem;
    }

    .inicio p {
        font-size: 1.6rem;
    }

    .inicio button {
        width: 80%;
        padding: 1.2rem;
        font-size: 1.2rem;
    }

    .informacoes {
        padding: 5rem 2%;
    }

    .informacoes h2 {
        font-size: 2.4rem;
    }

    .galeria-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));  /* Ajusta a grid para telas menores */
        gap: 2rem;
    }

    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));  /* Ajuste no grid do footer */
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .logo {
        height: 55px;
    }

    .logo-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .home {
        flex-direction: column;
        text-align: center;
    }

    .btn {
        width: 90%;
        height: 45px;
        font-size: 16px;
        justify-content: center;
    }

    .btn .text {
        transform: none;
        margin-left: 50px;
    }

    .inicio h1 {
        font-size: 3rem;
    }

    .inicio p {
        font-size: 1.4rem;
    }

    .inicio button {
        width: 90%;
        padding: 1rem;
        font-size: 1.1rem;
    }

    .informacoes {
        padding: 7rem 2%;
    }

    .informacoes h2 {
        font-size: 2.8rem;
    }

    .galeria-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));  /* Grid ajustado */
    }

    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));  /* Ajuste no grid do footer */
    }
}

@media (max-width: 480px) {
    .inicio h1 {
        font-size: 2.4rem;
    }

    .inicio p {
        font-size: 1.2rem;
    }

    .logo {
        height: 50px;
    }

    header {
        padding: 1rem 2%;
    }

    .btn {
        font-size: 16px;
        height: 40px;
    }

    .inicio button {
        padding: 0.8rem;
        font-size: 1rem;
    }

    .informacoes {
        padding: 4rem 2%;
    }

    .informacoes h2 {
        font-size: 2.2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;  /* Ajuste no footer para telas bem pequenas */
    }

    .whatsapp-button {
        bottom: 15px;  /* Ajusta a posição do botão WhatsApp */
        right: 15px;
        font-size: 12px;
        padding: 10px 12px;
    }
}

.sobre {
    padding: 10rem 5%;
    background: var(--gradient);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.sobre::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(26, 26, 26, 0.9));
    z-index: 1;
}

.sobre h2 {
    text-align: center;
    margin-bottom: 5rem;
    font-size: 3rem;
    position: relative;
    padding-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 2;
}

.sobre h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--white);
    border-radius: 2px;
}

.sobre-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.sobre-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 4rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.sobre-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--white), rgba(255, 255, 255, 0.5));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.sobre-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.sobre-item:hover::before {
    transform: scaleX(1);
}

.sobre p {
    line-height: 1.8;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-align: justify;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
}

.sobre p:last-child {
    margin-bottom: 0;
}

.sobre br {
    margin-bottom: 1rem;
    display: block;
}

/* Media Queries para a seção Sobre */
@media (max-width: 1024px) {
    .sobre {
        padding: 7rem 2%;
    }

    .sobre h2 {
        font-size: 2.4rem;
    }

    .sobre-item {
        padding: 3rem;
    }

    .sobre p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .sobre {
        padding: 5rem 2%;
    }

    .sobre h2 {
        font-size: 2.2rem;
        margin-bottom: 3rem;
    }

    .sobre-item {
        padding: 2.5rem;
    }

    .sobre p {
        font-size: 1rem;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .sobre {
        padding: 4rem 2%;
    }

    .sobre h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .sobre-item {
        padding: 2rem;
    }

    .sobre p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.logo {
    height: 80px;
    width: auto;
    transition: all 0.3s ease;
    padding: 8px;
}

.logo:hover {
    transform: scale(1.08);
}

/* Estilo para quando a logo não carregar */
.logo-container:has(.logo[style*="display: none"]) {
    justify-content: center;
}

.logo-container:has(.logo[style*="display: none"]) h1 {
    font-size: 2.8rem;
    text-align: center;
}

