
a {
    text-decoration: none !important;
    color: #000;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

.section-header {
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
    margin-bottom: 30px;
}

.title-section {
    display: flex;
    justify-content: space-between;
}

.section-header .title-section h2 {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.view-all-link {
    font-weight: 600;
    color: #000;
}

/* CABEÇALHO (mantido do anterior) */
.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 5%;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.2rem;
    font-weight: bold;
    color: white; /* Cor da navegação sobre a imagem */
}

.desktop-nav ul {
    display: flex;
}

.desktop-nav li {
    margin-left: 30px;
}

.desktop-nav a {
    color: white;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* SEÇÃO DE EVENTOS/BLOG POSTS (GRID) (mantido do anterior) */
.events-grid-section {
    /* padding: 60px 5%; */
    /* max-width: 1400px; */
    margin: 0 auto;
}

.event-cards{
    padding: 60px 5%;    
}

.event-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.event-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}
/* Placeholder para simular imagens distintas */
.card-image-1 { background-color: #f0f0f0; }
.card-image-2 { background-color: #e0e0e0; }
.card-image-3 { background-color: #d0d0d0; }
.card-image-4 { background-color: #c0c0c0; }
.card-image-5 { background-color: #b0b0b0; } /* Novo card */


.card-info {
    padding: 15px;
}

.card-info small {
    display: block;
    color: #999;
    font-size: 0.75rem;
    margin-bottom: 5px;
}

.card-info h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* SEÇÃO DE CITAÇÃO ESCRITURAL (mantido do anterior) */
.scripture-section {
    padding: 80px 5%;
    background-color: #f8f8f8;
    text-align: center;
}

.quote {
    font-size: 1.8rem;
    font-style: italic;
    max-width: 900px;
    margin: 0 auto 20px auto;
    line-height: 1.4;
}

.reference {
    font-weight: 600;
    font-size: 0.9rem;
    color: #555;
}

.btn-quote-link {
    display: block;
    margin-top: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #999;
}

/* --- CARROSSEL - Estilo Netflix --- */
.carousel-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto 60px auto;
    padding: 0 40px; /* Espaço para os botões */
}

.carousel-track {
    display: flex;
    overflow-x: hidden; /* Oculta a barra de rolagem */
    scroll-behavior: smooth; /* Rolagem suave */
    gap: 20px;
    -webkit-overflow-scrolling: touch; /* Melhora a rolagem em iOS */
    padding-bottom: 10px; /* Espaço caso haja um scroll invisível */
}

/* Ocultar scrollbar para Chrome, Safari e Opera */
.carousel-track::-webkit-scrollbar {
    display: none;
}
/* Ocultar scrollbar para IE, Edge e Firefox */
.carousel-track {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}


.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    padding: 15px 10px;
    cursor: pointer;
    z-index: 50;
    font-size: 1.5rem;
    border-radius: 4px;
    transition: background 0.3s;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-btn.prev-btn {
    left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.carousel-btn.next-btn {
    right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* Cards dentro do carrossel de eventos da cidade */
.carousel-card {
    min-width: 400px;
    height: 300px;
    background-color: #ccc;
    flex-shrink: 0;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.card-1 { background-color: #aaa; }
.card-2 { background-color: #f0f0f0; }
.card-3 { background-color: #bbb; }
.card-4 { background-color: #ddd; } /* Novo */
.card-5 { background-color: #eee; } /* Novo */


.aloha-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--primary-color);
    content: '';
    display: block; /* Garante que a imagem se centre */
    position: absolute; /* Para centralizar com mais controle */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.aloha-text {
    position: absolute;
    bottom: 20px;
    font-weight: bold;
    color: #333;
    font-size: 1.5rem;
}

/* Cards dentro do carrossel de ministérios */
.ministry-card {
    min-width: 350px;
    height: 400px;
    background-color: #999;
    flex-shrink: 0;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.ministry-card p {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
/* Placeholders para imagens de ministérios */
.card-img-1 { background-image: url('ministry-kidcity.jpg'); background-color: #6a1b9a;}
.card-img-2 { background-image: url('ministry-students.jpg'); background-color: #00796b;}
.card-img-3 { background-image: url('ministry-youngadults.jpg'); background-color: #d84315;}
.card-img-4 { background-image: url('ministry-worship.jpg'); background-color: #1976d2;}
.card-img-5 { background-image: url('ministry-volunteer.jpg'); background-color: #fdd835;} /* Novo */


/* SEÇÃO DE VALORES (BACKGROUND ESCURO) (mantido do anterior) */
.values-section {
    background-color: var(--primary-color); /* Fallback */
    padding: 80px 5%;
    position: relative;
    color: white;
    text-align: center;
}

.values-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Overlay escuro */
    z-index: 1;
}

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

.small-text {
    font-size: 0.9rem;
    margin-bottom: 40px;
    opacity: 0.8;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.value-item .material-icons {
    font-size: 40px;
    margin-bottom: 10px;
}

.value-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.hero-carousel-container {
    position: relative;
    width: 100%;
    height: 720px;
    overflow: hidden;
    margin-top: 100px;
}

/* track */
.hero-carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    gap: 0;
    transition: transform 0.5s ease-in-out;
}

/* slide */
.hero-carousel-slide {
    width: 100%;          /* necessário */
    height: 100%;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* overlay */
.hero-carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}


.hero-carousel-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 2;
}

.hero-prev-btn,
.hero-next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,0.4);
    border: none;
    color: white;
    padding: 10px;
    cursor: pointer;
}

.hero-prev-btn { left: 15px; }
.hero-next-btn { right: 15px; }

.hero-carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    cursor: pointer;
}

.hero-dot.active-dot {
    background: #fff;
}

.map{
    width: 100%;
    height: 450px;
}

.map iframe{
    width: 100%;
    height: 100%;
    border: 0;
}

/* RESPONSIVIDADE (mantido do anterior, com ajuste para o carrossel) */
@media (max-width: 992px) {
    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .quote {
        font-size: 1.4rem;
    }

    /* Carrossel responsivo */
    .carousel-container {
        padding: 0 10px; /* Reduz o padding para botões menores */
    }

    .carousel-btn {
        padding: 10px 5px;
        font-size: 1.2rem;
    }

    .carousel-card, .ministry-card {
        min-width: 80%; /* Cards um pouco maiores em mobile */
        height: 250px;
    }
}