:root {
    --primary-color: #1a1a1a;      /* Preto suave para fundo */
    --accent-color: #d8c3aa;       /* Bege/creme mais claro */
    --highlight-color: #a68e6d;    /* Marrom mais claro */
    --text-color: #ffffff;         /* Branco para textos */
    --white-space: #f0f0f0;        /* Cinza mais claro */
    --dark-overlay: rgba(0, 0, 0, 0.7); /* Overlay mais suave */
}

/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: var(--primary-color);
    padding-top: 70px;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(109deg, 
        rgba(10,12,16,0.3) 0%, 
        rgba(10,12,16,0.4) 50%, 
        rgba(10,12,16,0.5) 100%
    );
}

.video-background video {
    min-width: 100%;
    min-height: 100vh;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.mascara {
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    background: linear-gradient(109deg, 
        rgba(10,12,16,0.05) 15%, 
        rgba(10,12,16,0.4) 50%, 
        rgba(10,12,16,0.7) 85%
    );
}

/* Header Styles - Ajustes Base */
.header {
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 70px;
    border-bottom: 1px solid rgba(216, 195, 170, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 15px;
}

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

.logo {
    font-size: 1.3rem;
    color: var(--accent-color);
}

.logo-img {
    width: 45px;
    height: auto;
}

/* Menu toggle para mobile */
.menu-toggle {
    display: block;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--accent-color);
    z-index: 1001;
}

/* Nav links para mobile */
@media (max-width: 768px) {
    body {
        padding-top: 60px; /* Ajusta o padding do body para o header menor */
    }

    .header {
        height: 60px;
    }

    .nav {
        height: 60px;
        padding: 0 15px;
        position: relative;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 60px);
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 20px;
        z-index: 999;
        transition: all 0.3s ease-in-out;
        transform: translateX(100%);
        display: flex !important;
        opacity: 1;
        visibility: visible;
    }

    .nav-links.active {
        right: 0;
        transform: translateX(0);
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
    }

    .menu-toggle {
        position: fixed;
        top: 10px;
        right: 15px;
        width: 40px;
        height: 40px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 1002;
        background-color: rgba(26, 26, 26, 0.95);
        border-radius: 50%;
        border: 1px solid rgba(216, 195, 170, 0.2);
    }

    .menu-toggle i {
        color: var(--accent-color);
        font-size: 1.8rem;
        transition: all 0.3s ease;
    }

    .logo-container {
        position: fixed;
        top: 10px;
        left: 15px;
        z-index: 1002;
        background-color: rgba(26, 26, 26, 0.95);
        padding: 8px 12px;
        border-radius: 8px;
        border: 1px solid rgba(216, 195, 170, 0.2);
    }

    .logo-img {
        width: 40px;
        height: auto;
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 360px) {
    body {
        padding-top: 50px;
    }

    .header {
        height: 50px;
    }

    .nav {
        height: 50px;
    }

    .nav-links {
        top: 50px;
        width: 85%;
        height: calc(100vh - 50px);
    }

    .menu-toggle {
        top: 8px;
        right: 10px;
        width: 35px;
        height: 35px;
    }

    .menu-toggle i {
        font-size: 1.5rem;
    }

    .logo-container {
        top: 8px;
        left: 10px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo-img {
        width: 35px;
    }
}

/* Ajustes para o menu mobile */
@media (max-width: 768px) {
    .nav-links .nav-link,
    .nav-links .prayer-nav-btn {
        padding: 15px;
        width: 100%;
        color: var(--text-color);
        text-decoration: none;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(216, 195, 170, 0.1);
        display: flex;
        align-items: center;
        gap: 10px;
        background: none;
        border: none;
        cursor: pointer;
        font-family: 'Roboto', sans-serif;
        text-align: left;
    }

    .nav-links .prayer-nav-btn {
        color: var(--text-color); /* Garante a mesma cor dos outros links */
        font-weight: normal; /* Remove qualquer diferença de peso */
        margin: 0; /* Remove margens extras */
        width: 100%; /* Garante largura total */
        justify-content: flex-start; /* Alinha à esquerda como os outros itens */
    }

    .nav-links .prayer-nav-btn i {
        font-size: 1.1rem; /* Mesmo tamanho dos outros ícones */
        margin-right: 10px; /* Espaçamento consistente */
        color: var(--text-color); /* Mesma cor dos outros ícones */
    }

    .nav-links .nav-link:hover,
    .nav-links .prayer-nav-btn:hover {
        background-color: rgba(216, 195, 170, 0.1); /* Efeito hover consistente */
    }
}

/* Estilos para desktop */
@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }

    .nav-links {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .nav-link, 
    .prayer-nav-btn {
        color: var(--text-color);
        text-decoration: none;
        padding: 8px 15px;
        border-radius: 20px;
        transition: all 0.3s ease;
    }

    .nav-link:hover,
    .prayer-nav-btn:hover {
        background-color: rgba(216, 195, 170, 0.1);
    }
}

/* Ajustes para telas maiores */
@media (min-width: 769px) {
    .header {
        height: 70px;
        padding: 0;
    }

    .nav {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 30px;
    }

    .menu-toggle {
        display: none;
    }

    .nav-links {
        display: flex;
        position: static;
        width: auto;
        height: auto;
        flex-direction: row;
        background: none;
        padding: 0;
        gap: 20px;
        transform: none;
        overflow: visible;
    }

    .nav-link,
    .prayer-nav-btn {
        border: none;
        padding: 8px 15px;
        font-size: 1rem;
    }

    .nav-overlay {
        display: none !important;
    }

    .logo {
        font-size: 1.8rem;
    }

    .logo-img {
        width: 45px;
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 360px) {
    .header {
        height: 50px;
    }

    .nav-links {
        top: 50px;
        height: calc(100vh - 50px);
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo-img {
        width: 35px;
    }

    .menu-toggle {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }

    .nav-link,
    .prayer-nav-btn {
        padding: 12px;
        font-size: 1rem;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(109deg, 
        rgba(26, 26, 26, 0.9) 15%, 
        rgba(139, 115, 85, 0.8) 50%, 
        rgba(199, 178, 153, 0.7) 85%
    );
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: var(--highlight-color);
    color: var(--white-space);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 280px;
}

.cta-button i {
    color: #ff0000;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.cta-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(96, 125, 139, 0.4);
}

/* About Section */
#about {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color)) !important;
    padding: 4rem 0;
}

.about-content {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    flex-wrap: wrap;
}

.about-card {
    background-color: transparent;
    width: 300px;
    height: 400px;
    perspective: 1000px;
    cursor: pointer;
}

.about-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.about-card:hover .about-card-inner {
    transform: rotateY(180deg);
}

.about-card-front, .about-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.about-card-front {
    background-color: var(--primary-color);
    border: 2px solid var(--accent-color);
}

.about-card-back {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: rotateY(180deg);
}

.about-card-front i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.about-card-front h3 {
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.card-hint {
    color: var(--text-color);
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 1rem;
}

.about-card-back h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.about-card-back p {
    color: var(--primary-color);
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsividade */
@media (max-width: 768px) {
    .about-card {
        width: 280px;
        height: 380px;
    }

    .about-card-front h3,
    .about-card-back h3 {
        font-size: 1.5rem;
    }

    .about-card-front i {
        font-size: 2.5rem;
    }
}

.about-section {
    background: linear-gradient(135deg, var(--primary-color), rgba(166, 142, 109, 0.9));
    padding: 4rem 2rem;
    margin: 0;
    width: 100%;
}

.about-section h3 {
    text-align: center;
    color: var(--accent-color);
    margin: 2rem 0;
    font-size: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.about-section p {
    color: var(--text-color);
    font-size: 1.1rem;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.value-card {
    background-color: rgba(26, 26, 26, 0.7);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #d8c3aa;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.value-card:hover {
    background-color: #d8c3aa;
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.value-card i {
    color: #d8c3aa;
    font-size: 2rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.value-card:hover i {
    transform: scale(1.1);
    color: var(--primary-color);
}

.value-card h4 {
    color: #d8c3aa;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.value-card:hover h4 {
    color: var(--primary-color);
}

.value-card p {
    color: var(--white-space);
    font-size: 0.9rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.value-card:hover p {
    color: var(--primary-color);
}

/* Ajuste do título da seção */
#about .section-title {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 2rem;
}

/* Ajuste específico para mobile */
@media (max-width: 768px) {
    #about {
        padding: 3rem 0;
    }
    
    .about-section h3 {
        font-size: 1.5rem;
    }
    
    .value-card {
        padding: 1.2rem;
    }
    
    .value-card i {
        font-size: 1.8rem;
    }
}

/* Services Section */
.services {
    padding: 4rem 2rem;
    background-color: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--primary-color);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    top: 0;
    border: 1px solid var(--accent-color);
    color: var(--text-color);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 10px 20px rgba(74, 0, 128, 0.2);
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.service-card:hover .service-icon i {
    color: white;
    transform: scale(1.1);
}

.service-icon i {
    transition: all 0.3s ease;
}

.service-card h3 {
    transition: color 0.3s ease;
}

.service-card p {
    transition: color 0.3s ease;
}

.service-card:hover h3,
.service-card:hover p {
    color: white;
}

.immersions {
    padding: 50px 20px;
    background-color: #f9f9f9; /* Cor de fundo para destaque */
    text-align: center;
}

.immersions .section-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #1a1a1a;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.2);
}

.immersion-list {
    display: flex;
    justify-content: center;
    gap: 20px; /* Espaçamento entre os itens */
    flex-wrap: wrap; /* Permite quebrar a linha em telas menores */
}

.immersion-item {
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-size: 1.5rem;
    padding: 15px 30px;
    border-radius: 10px; /* Borda arredondada */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra para profundidade */
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.immersion-item:hover {
    transform: scale(1.1); /* Aumenta levemente no hover */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.immersion-info {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: center;
    font-style: italic;
}

/* Adicionar um ícone de clique */
.immersion-item {
    position: relative;
    padding-right: 40px; /* Espaço para o ícone */
}

.immersion-item::after {
    content: '\f0a6'; /* Ícone de mão apontando */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

.immersion-item:hover::after {
    transform: translateY(-50%) translateX(5px);
}

/* Events Section */
.events {
    padding: 4rem 2rem;
    background-color: #f8f8f8;
}

.events-container {
    max-width: 1200px;
    margin: 0 auto;
}

.event-card {
    background-color: var(--primary-color);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
    color: var(--text-color);
}

.event-card:hover {
    transform: translateX(10px);
}

.event-date {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin-right: 2rem;
    min-width: 100px;
}

.event-date .day {
    font-size: 1.8rem;
    font-weight: bold;
}

.event-date .month {
    font-size: 1rem;
    text-transform: uppercase;
}

.event-info {
    flex-grow: 1;
}

.event-info h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.event-info p {
    color: #666;
    font-size: 0.9rem;
}

.event-location {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}

.event-location i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

.videos {
    padding: 4rem 2rem;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.video-card {
    background-color: var(--primary-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--accent-color);
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(216, 195, 170, 0.3);
    background-color: var(--accent-color);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.video-info h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.video-info p {
    color: var(--white-space);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.video-card:hover .video-info h3 {
    color: var(--primary-color);
}

.video-card:hover .video-info p {
    color: var(--primary-color);
}

.footer {
    background-color: var(--primary-color);
    color: var(--white-space);
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid var(--accent-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.footer .address {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--white-space);
}

.footer .address i {
    margin-right: 10px;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.footer .address:hover i {
    transform: scale(1.1);
}

.social-links {
    display: flex;
    gap: 2rem;
    margin: 1rem 0;
}

.social-links a {
    color: white;
    font-size: 1.8rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
    color: var(--highlight-color);
    transform: translateY(-5px);
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Ajuste responsivo para o footer */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 1rem;
    }

    .footer-info h3 {
        font-size: 1.8rem;
    }

    .footer .address {
        font-size: 1rem;
    }

    .social-links {
        gap: 1.5rem;
    }

    .social-links a {
        font-size: 1.5rem;
    }
}

/* Responsive Design */
@media (max-width: 600px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }

    .event-card {
        flex-direction: column;
        text-align: center;
    }
    
    .event-date {
        margin: 0 0 1rem 0;
    }
}

.about-content {
    animation: fadeIn 1s ease-in-out;
}

.about-church-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Estilos para o Popup */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1001;
    backdrop-filter: blur(5px);
}

.popup-content {
    position: relative;
    background-color: white;
    max-width: 600px;
    width: 90%;
    margin: 20px auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: popupFadeIn 0.3s ease-out;
    top: 50%;
    transform: translateY(-50%);
}

.close-popup {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    color: var(--accent-color);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-popup:hover {
    color: var(--highlight-color);
    background-color: rgba(216, 195, 170, 0.1);
    transform: rotate(90deg);
}

.popup-header {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
}

.popup-header h2 {
    color: var(--accent-color);
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.popup-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.popup-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    background-color: #f0f0f0; /* Cor de fundo enquanto a imagem carrega */
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.popup-image img[src=""] {
    opacity: 0;
}

.popup-info p {
    margin: 15px 0;
    color: #333;
    line-height: 1.8;
    font-size: 18px;
    font-weight: 500;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translateY(-45%);
    }
    to {
        opacity: 1;
        transform: translateY(-50%);
    }
}

/* Ajuste responsivo */
@media (max-width: 480px) {
    .popup-content {
        width: 95%;
        margin: 10px;
    }
    
    .popup-header h2 {
        font-size: 28px;
    }
    
    .popup-info p {
        font-size: 16px;
    }
    
    #popupLeaders {
        font-size: 18px;
    }
}

/* Destaque especial para os líderes */
#popupLeaders {
    font-weight: 700;
    font-size: 20px;
    color: var(--text-color);
    margin-bottom: 20px;
}

/* Ajuste para o endereço */
#popupAddress {
    font-weight: 500;
    color: #444;
}

/* Ajustes nos cards de valores */
.about-values h3 {
    color: var(--accent-color);
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.value-card {
    background-color: rgba(26, 26, 26, 0.7);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #d8c3aa;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.value-card:hover {
    background-color: #d8c3aa;
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.value-card i {
    color: #d8c3aa;
    font-size: 2rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.value-card:hover i {
    transform: scale(1.1);
    color: var(--primary-color);
}

.value-card h4 {
    color: #d8c3aa;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.value-card:hover h4 {
    color: var(--primary-color);
}

.value-card p {
    color: var(--white-space);
    font-size: 0.9rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.value-card:hover p {
    color: var(--primary-color);
}

/* Galeria de Fotos */
.gallery {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--highlight-color) 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    border: 1px solid var(--accent-color);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7); /* Fundo semi-transparente */
    color: white;
    padding: 10px;
    text-align: center;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(199, 178, 153, 0.2);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

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

.gallery-info {
    color: var(--accent-color);
}

.gallery-info h4 {
    margin: 0;
    font-size: 1.2em; /* Tamanho do texto do título */
}

.gallery-info p {
    margin: 0;
    font-size: 0.9em; /* Tamanho do texto da descrição */
}

/* Lightbox styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-overlay);
    z-index: 1002;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    backdrop-filter: blur(5px);
}

.lightbox-image {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 5px;
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 30px rgba(199, 178, 153, 0.2);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--accent-color);
    font-size: 30px;
    cursor: pointer;
    z-index: 1003;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--highlight-color);
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: var(--accent-color);
    padding: 1rem;
    background: rgba(26, 26, 26, 0.8);
}

/* Estilos para os filtros da galeria */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    background: var(--primary-color);
    color: var(--accent-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    border: 1px solid var(--accent-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.filter-btn:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(199, 178, 153, 0.3);
}

.filter-btn.active {
    background: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--highlight-color);
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.4);
}

/* Ajuste para animação das imagens ao filtrar */
.gallery-item {
    transition: all 0.5s ease;
}

.gallery-item.hidden {
    display: none;
}

/* Responsivo para os filtros */
@media (max-width: 768px) {
    .gallery-filters {
        padding: 0 1rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

/* Estilos para o modal da galeria */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1100;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 10px;
    color: var(--accent-color);
    font-size: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--highlight-color);
    background-color: rgba(216, 195, 170, 0.1);
    transform: rotate(90deg);
}

.modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.modal-item {
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.modal-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.modal-item:hover img {
    transform: scale(1.05);
}

/* Ajustes para a galeria principal */
.gallery-item.main-item {
    cursor: pointer;
}

.gallery-item.main-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Responsivo */
@media (max-width: 768px) {
    .modal-content {
        padding: 15px;
        width: 95%;
    }
    
    .modal-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
}

/* Departamento Infantil */
.kids-department {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
}

.kids-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.kids-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.gallery-subtitle {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: white;
}

.kids-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.kids-gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.kids-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.kids-gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7); /* Fundo semi-transparente */
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.kids-gallery-item:hover {
    transform: translateY(-5px);
}

.kids-gallery-item:hover .kids-gallery-overlay {
    transform: translateY(0);
}

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

.kids-gallery-info {
    color: white;
    text-align: center;
}

.kids-gallery-info h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.kids-gallery-info p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Responsivo */
@media (max-width: 768px) {
    .kids-gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
        padding: 0 1rem;
    }

    .kids-description {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .kids-gallery-item {
        aspect-ratio: 3/2;
    }
}

/* Título do Departamento Infantil - estilo anterior */
.kids-department .section-title {
    position: relative;
    text-align: center;
    width: 100%;
    margin-bottom: 2rem;
    font-size: 2.8rem;
    color: var(--accent-color);
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

/* Ajuste responsivo */
@media (max-width: 768px) {
    .kids-department .section-title {
        font-size: 2rem;
    }
}

.kids-title {
    margin-bottom: 2rem;
    text-align: center;
    perspective: 1000px;
}

.kids-letter {
    display: inline-block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-color);
    text-shadow: 2px 2px 0 var(--primary-color);
    animation: jumpAndRotate 2s infinite;
    transform-origin: bottom;
}

.kids-letter.space {
    margin: 0 10px;
}

.kids-letter:nth-child(even) {
    color: var(--highlight-color);
    animation-delay: 0.1s;
}

.kids-letter:nth-child(3n) {
    color: var(--text-color);
    animation-delay: 0.2s;
}

@keyframes jumpAndRotate {
    0%, 100% {
        transform: translateY(0) rotate(0);
    }
    25% {
        transform: translateY(-15px) rotate(5deg);
    }
    75% {
        transform: translateY(-5px) rotate(-5deg);
    }
}

/* Efeito hover nas letras */
.kids-letter:hover {
    animation: bounce 0.5s;
    cursor: pointer;
    transform-origin: center;
}

@keyframes bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
}

.prayer-nav-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.prayer-nav-btn i {
    font-size: 1.1rem;
    animation: pulseIcon 2s infinite;
}

.prayer-nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.prayer-nav-btn:hover i {
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .prayer-nav-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 0.8rem;
    }
}

/* Adicione estes estilos para o modal */
.prayer-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.prayer-modal-content {
    position: relative;
    background-color: var(--primary-color);
    margin: 10% auto;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    animation: modalSlideIn 0.3s ease;
    color: var(--text-color);
}

.prayer-modal-close {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 1.8rem;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.prayer-modal-close:hover {
    color: #333;
}

.prayer-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.prayer-form input,
.prayer-form textarea {
    padding: 1rem;
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: var(--primary-color);
    color: var(--text-color);
}

.prayer-form input:focus,
.prayer-form textarea:focus {
    border-color: #6a0dad;
    outline: none;
}

.prayer-submit-button {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.prayer-submit-button:hover {
    background-color: var(--highlight-color);
    color: var(--text-color);
    transform: scale(1.02);
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Ajuste responsivo para o modal */
@media (max-width: 768px) {
    .prayer-modal-content {
        margin: 20% auto;
        padding: 1.5rem;
    }
}

/* Estilos para o leitor de PDF */
.pdf-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.pdf-container iframe,
.pdf-container embed {
    border: 1px solid #ccc;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.pdf-header {
    background: var(--accent-color);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pdf-title {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 500;
}

.pdf-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.pdf-button {
    background: var(--primary-color);
    color: var(--accent-color);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pdf-button:hover {
    background: var(--highlight-color);
    color: var(--text-color);
}

.pdf-page-info {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.pdf-viewer {
    width: 100%;
    height: 500px;
    border: none;
}

/* Responsivo */
@media (max-width: 768px) {
    .pdf-container {
        margin: 1rem auto;
    }
    
    .pdf-viewer {
        height: 400px;
    }
    
    .pdf-controls {
        gap: 0.5rem;
    }
    
    .pdf-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

/* Ajustes no container do PDF para a seção about */
.about-section .pdf-container {
    width: 100%;
    max-width: 800px; /* Aumentado para ficar proporcional */
    margin: 2rem auto;
    background: var(--primary-color);
    border: 1px solid var(--accent-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.about-section .pdf-header {
    background: var(--accent-color);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.about-section .pdf-title {
    color: var(--primary-color);
    font-size: 1.2rem; /* Aumentado */
    font-weight: 500;
}

.about-section .pdf-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.about-section .pdf-button {
    background: var(--primary-color);
    color: var(--accent-color);
    border: none;
    padding: 0.5rem 1.2rem; /* Aumentado */
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem; /* Aumentado */
}

.about-section .pdf-viewer {
    width: 100%;
    height: 600px; /* Aumentado para melhor visualização */
    border: none;
    background: var(--primary-color);
}

/* Responsivo */
@media (max-width: 768px) {
    .about-section .pdf-container {
        margin: 1.5rem 0;
        max-width: 100%; /* Ocupa toda a largura em telas menores */
    }
    
    .about-section .pdf-viewer {
        height: 400px; /* Altura ajustada para mobile */
    }
}

/* Ajuste para telas muito grandes */
@media (min-width: 1200px) {
    .about-section .pdf-container {
        max-width: 1000px; /* Ainda maior para telas grandes */
    }
    
    .about-section .pdf-viewer {
        height: 700px; /* Maior altura para telas grandes */
    }
}

/* Ajuste para o botão do conceito */
.concept-btn {
    background-color: #d8c3aa; /* Mais claro */
    color: #1a1a1a;
}

.concept-btn:hover {
    background-color: #a68e6d; /* Mais claro */
}

/* Ajuste para os cards de valores */
.value-card {
    background-color: rgba(26, 26, 26, 0.7); /* Mais transparente */
    border: 1px solid #d8c3aa;
}

.value-card:hover {
    background-color: #d8c3aa;
}

.value-card i {
    color: #d8c3aa;
}

.value-card h4 {
    color: #d8c3aa;
}

/* Ajuste para o popup */
.concept-popup h3 {
    color: #d8c3aa;
}

.concept-close {
    color: #d8c3aa;
}

.concept-close:hover {
    color: #a68e6d;
}

.about-concept {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.concept-info {
    background-color: rgba(216, 195, 170, 0.1);
    padding: 1rem 2rem;
    border-radius: 10px;
    border: 2px solid var(--accent-color);
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
    animation: glow 2s infinite alternate;
}

.concept-info i {
    font-size: 1.8rem;
    color: var(--accent-color);
    animation: pulse 2s infinite;
}

.concept-info p {
    color: var(--text-color);
    font-size: 1.1rem;
    margin: 0;
    font-weight: 500;
}

@keyframes glow {
    from {
        box-shadow: 0 0 5px rgba(216, 195, 170, 0.2);
    }
    to {
        box-shadow: 0 0 15px rgba(216, 195, 170, 0.4);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.concept-btn {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.concept-btn:hover {
    background-color: var(--highlight-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.concept-btn i {
    font-size: 1.3rem;
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .concept-info {
        padding: 0.8rem 1.5rem;
        flex-direction: column;
        text-align: center;
    }

    .concept-info p {
        font-size: 1rem;
    }

    .concept-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* Estilo geral para section-title */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

/* Estilo específico para o título da seção de vídeos */
.videos .section-title {
    color: #d8c3aa;
}

/* Estilo específico para os títulos das seçes de Cultos e Imersões */
.services .section-title,
.immersions .section-title {
    color: #1a1a1a;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.2);
}

/* Mantém a cor original para outros section-title */
#about .section-title,
.gallery .section-title,
.kids-department .section-title,
.events .section-title {
    color: var(--accent-color);
}

/* Estilos para o menu mobile */
@media (max-width: 768px) {
    .nav-links {
        display: flex; /* Mantém sempre como flex */
        position: fixed;
        top: 60px; /* Alinha com o header */
        right: -100%;
        width: 80%;
        height: calc(100vh - 60px);
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 20px;
        z-index: 999;
        transition: all 0.3s ease-in-out;
        transform: translateX(100%);
        display: flex !important;
        opacity: 1;
        visibility: visible;
    }

    .nav-links.active {
        right: 0;
        transform: translateX(0);
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
    }

    .menu-toggle {
        position: fixed;
        top: 10px;
        right: 15px;
        width: 40px;
        height: 40px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 1002;
        background-color: rgba(26, 26, 26, 0.95);
        border-radius: 50%;
        border: 1px solid rgba(216, 195, 170, 0.2);
    }

    .menu-toggle i {
        color: var(--accent-color);
        font-size: 1.8rem;
        transition: all 0.3s ease;
    }

    .logo-container {
        position: fixed;
        top: 10px;
        left: 15px;
        z-index: 1002;
        background-color: rgba(26, 26, 26, 0.95);
        padding: 8px 12px;
        border-radius: 8px;
        border: 1px solid rgba(216, 195, 170, 0.2);
    }

    .logo-img {
        width: 40px;
        height: auto;
    }
}

/* Ajuste para telas muito pequenas */
@media (max-width: 360px) {
    .nav-links {
        width: 85%;
        top: 50px; /* Ajusta para header menor */
        height: calc(100vh - 50px);
    }

    .nav-overlay {
        top: 50px;
    }
}

/* Estilos do header para mobile */
@media (max-width: 768px) {
    .header {
        height: 60px;
        background: rgba(26, 26, 26, 0.95);
        backdrop-filter: blur(10px);
    }

    .nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 15px;
        height: 100%;
    }

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

    .logo {
        font-size: 1.3rem;
    }

    .logo-img {
        width: 45px;
        height: auto;
    }

    .menu-toggle {
        width: 40px;
        height: 40px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: var(--accent-color);
        font-size: 1.8rem;
        transition: all 0.3s ease;
    }

    .nav-links {
        position: fixed;
        top: 60px; /* Altura do header */
        right: -100%; /* Começa fora da tela */
        width: 80%;
        height: calc(100vh - 60px);
        background: var(--primary-color);
        flex-direction: column;
        padding: 20px;
        transition: right 0.3s ease;
        z-index: 999;
        display: flex; /* Mantém o display flex */
        opacity: 0; /* Começa invisível */
        visibility: hidden; /* Esconde completamente */
    }

    .nav-links.active {
        right: 0;
        opacity: 1;
        visibility: visible;
    }

    .nav-links .nav-link,
    .nav-links .prayer-nav-btn {
        padding: 15px;
        width: 100%;
        display: flex;
        align-items: center;
        gap: 10px;
        color: var(--text-color);
        text-decoration: none;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(216, 195, 170, 0.1);
        background: none;
        border: none;
        cursor: pointer;
        font-family: 'Roboto', sans-serif;
        text-align: left;
    }

    .nav-links .prayer-nav-btn {
        color: var(--text-color); /* Garante a mesma cor dos outros links */
        font-weight: normal; /* Remove qualquer diferença de peso */
        margin: 0; /* Remove margens extras */
        width: 100%; /* Garante largura total */
        justify-content: flex-start; /* Alinha à esquerda como os outros itens */
    }

    .nav-links .prayer-nav-btn i {
        font-size: 1.1rem; /* Mesmo tamanho dos outros ícones */
        margin-right: 10px; /* Espaçamento consistente */
        color: var(--text-color); /* Mesma cor dos outros ícones */
    }

    .nav-links .nav-link:hover,
    .nav-links .prayer-nav-btn:hover {
        background-color: rgba(216, 195, 170, 0.1); /* Efeito hover consistente */
    }

    .nav-overlay {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: rgba(0, 0, 0, 0.7);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* Ajuste para telas muito pequenas */
@media (max-width: 360px) {
    .header {
        height: 60px;
    }

    .logo {
        font-size: 1.3rem;
    }

    .logo-img {
        width: 45px;
    }

    .menu-toggle {
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }

    .nav-links {
        top: 60px;
        height: calc(100vh - 60px);
    }

    .nav-overlay {
        top: 60px;
        height: calc(100vh - 60px);
    }
}

/* Estilos para a galeria de imersões */
.immersion-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.main-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
}

.thumbnail {
    flex: 0 0 100px;
    height: 70px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.thumbnail.active {
    opacity: 1;
    box-shadow: 0 0 0 2px var(--accent-color);
}

.thumbnail:hover {
    opacity: 1;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .main-image {
        height: 300px;
    }

    .thumbnail {
        flex: 0 0 80px;
        height: 60px;
    }
}

/* Estilização da barra de rolagem */
.thumbnails::-webkit-scrollbar {
    height: 6px;
}

.thumbnails::-webkit-scrollbar-track {
    background: transparent;
}

.thumbnails::-webkit-scrollbar-thumb {
    background-color: var(--accent-color);
    border-radius: 3px;
}

/* Estilos do popup de imersões */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    overflow-y: auto;
}

.popup-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    margin: 20px auto;
    background: var(--primary-color);
    border-radius: 10px;
    padding: 20px;
    color: var(--text-color);
}

.close-popup {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 30px;
    color: var(--accent-color);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-popup:hover {
    background-color: rgba(216, 195, 170, 0.1);
    transform: rotate(90deg);
}

.popup-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--accent-color);
}

.popup-header h2 {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 10px;
}

.immersion-address {
    color: var(--text-color);
    font-size: 1.1rem;
    opacity: 0.8;
}

.immersion-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
}

.thumbnail {
    flex: 0 0 100px;
    height: 70px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.thumbnail.active {
    opacity: 1;
    box-shadow: 0 0 0 2px var(--accent-color);
}

.thumbnail:hover {
    opacity: 1;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .popup-content {
        width: 95%;
        margin: 10px auto;
    }

    .popup-header h2 {
        font-size: 1.5rem;
    }

    .main-image {
        height: 300px;
    }

    .thumbnail {
        flex: 0 0 80px;
        height: 60px;
    }
}

/* Adicionar estilos para o container do mapa */
.map-container {
    width: 100%;
    height: 300px;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Ajustar o layout do popup para acomodar o mapa */
.popup-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .map-container {
        height: 250px;
    }
}

.text-center {
    text-align: center;
}

.about-text h3 {
    text-align: center;
}

.about-content .about-text h3 {
    text-align: center !important;
}

.event-title {
    color: #1a1a1a; /* Altere para a cor desejada */
    font-size: 2em; /* Ajuste o tamanho conforme necessário */
    text-align: center; /* Centraliza o texto */
    margin: 20px 0; /* Adiciona margem acima e abaixo */
}