﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



html, body {
    font-family: 'Poppins', sans-serif;
    height: 100%;
    background-color: #000000;
    overflow-x: hidden;
}


/* ===== HERO ===== */
/* ===== HERO ===== */
/* ===== HERO ===== */


.hero-slide {
    position: relative;
    width: 100vw;
    height: 93.5vh;
    overflow: hidden;
    filter: grayscale(20%);

}

.hero-slide-item {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 100%;
    opacity: 0;
    transition: all 1s ease-in-out;
    z-index: 0;
}

    .hero-slide-item.active {
        left: 0;
        opacity: 1;
        z-index: 1;
    }

    .hero-slide-item.prev {
        left: -100%;
        opacity: 0;
        z-index: 0;
    }

    .hero-slide-item img {
        /*  width: 100%;
        height: 100%;*/
        width: 100vw;
        height: 93.5vh;
        object-fit: cover;
    }


  /*  .hero-slide,
    .hero-slide-item img {
        height: calc(100vh - 60px);  Resta la altura del menú 
        background-size: cover;
    }
*/


.hero-slide-buttons {
    position: absolute;
    left: 50%;
    top: 80%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    z-index: 2;
}

.hero-slide-button {
    font-family: 'Work Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1rem;
    font-weight: bold;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 2px solid;
    cursor: pointer;
    height: 40px;
}

.hero-slide-buttons a:first-child {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

    .hero-slide-buttons a:first-child:hover {
        background-color: #000000;
        color: #ffffff;
        transform: scale(1.1);
    }

.hero-slide-buttons a:last-child {
    background-color: #000000;
    color: #ffffff;
    border: 2px solid white;
}

    .hero-slide-buttons a:last-child:hover {
        background-color: #ffffff;
        color: #000000;
        transform: scale(1.1);
    }

.hero-slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 800px;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}



    .hero-slide-content h1 {
        font-family: 'Playfair Display', serif;
        font-weight: 700;
        font-size: 6rem;
        margin-bottom: 1rem;
        color: black; /* Texto negro */
        text-shadow: -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white, 1px 1px 0 white; /* Contorno blanco */
    }

    .hero-slide-content p {
        font-size: 1.7rem;
        margin-bottom: 2rem;
        color: black; /* Texto negro */
    }

    /* Imagen en lado TITULO zoom */
    .hero-slide-content h1 {
        width: 100%;
        transition: transform 0.3s ease;
    }

        .hero-slide-content h1:hover {
            transform: scale(1.3);
        }



.hero2-slide2-content2-imagen2 {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    font-family: 'Playfair Display', serif;
    /*  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);*/
    text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black; /* Contorno negro */


    padding: 0 15px; /* Añadido para dar espacio interno en móviles */
    width: 100%; /* Asegura el uso completo del ancho */
    box-sizing: border-box;
}

    .hero2-slide2-content2-imagen2 h1 {
        font-size: 6rem;
        text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black;
    }

    .hero2-slide2-content2-imagen2 p {
        font-size: 1.7rem;
    }


    /* Imagen en lado TITULO zoom */
    .hero2-slide2-content2-imagen2 h1 {
        width: 100%;
        transition: transform 0.3s ease;
    }

        .hero2-slide2-content2-imagen2 h1:hover {
            transform: scale(1.3);
        }


.btnhero {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    background-color: #ffffff;
    color: #000000;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

    .btnhero:hover {
        background-color: #000000;
        color: #ffffff;
        transform: scale(1.05);
    }

.hero-slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 800px;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px; /* espacio entre elementos */
}

.social-icons {
    display: flex !important;
    justify-content: center !important;
    gap: 15px !important;
    margin-bottom: 0 !important; /* ya hay gap en hero-slide-content */
    animation: floatIcons 6s ease-in-out infinite !important;
}

    .social-icons img {
        width: 40px;
        height: 40px;
        transition: transform 0.3s ease;
    }

        .social-icons img:hover {
            transform: scale(1.2);
        }



 /*Opcional: para que los botones estén centrados también*/ 
.hero-slide-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}





@keyframes floatIcons {
    0%, 100% {
        transform: translateX(0px);
    }

    50% {
        transform: translateX(10px);
    }
}

@media (max-width: 600px) {
    .hero-slide-content h1 {
        font-size: 3rem;
    }

    .hero-slide-content p {
        font-size: 1rem;
    }

    .hero-slide-buttons {
        flex-direction: column;
        gap: 10px;
        top: 75%;
    }

    .hero-slide-button {
        font-size: 0.9rem;
        padding: 0.8rem 2rem;
        height: auto;
    }

    .btnhero {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }

    .social-icons {
        gap: 12px;
        margin-top: 1rem;
    }

        .social-icons img {
            width: 30px;
            height: 30px;
        }
}

/* 🔽 Ajustes especiales para móviles (menos de 768px de ancho) */
@media (max-width: 768px) {
    .hero2-slide2-content2-imagen2 {
        top: 45%; /* Baja un poco el texto en móviles */
        padding: 0 20px;
    }

        .hero2-slide2-content2-imagen2 h1 {
            font-size: 2.3rem; /* Más pequeño para caber en pantalla */
            line-height: 1.2;
            word-wrap: break-word; /* Permite dividir el texto en varias líneas si es largo */
        }

        .hero2-slide2-content2-imagen2 p {
            font-size: 1.2rem;
        }
}



/* .........testimonio ..... */
/* .........testimonio ..... */
/* .........testimonio ..... */


.testimonios-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background: #fff;
    padding: 2rem 1rem; /* menos padding lateral */
    gap: 2rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto; /* centra la sección horizontalmente */
}

.contenido {
    flex: 1;
    /*    min-width: 280px;*/
    flex: 1;
    min-width: 280px;
    /*padding-left: 5rem;*/ /* Añade espacio desde el borde izquierdo */
}

    .contenido h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .contenido p {
        font-size: 1rem;
        color: #555;
    }

.versiculo {
    font-size: 1rem;
    font-style: italic;
    color: #444;
    margin-bottom: 1rem;
}

    .versiculo span {
        display: block;
        font-size: 0.9rem;
        color: #777;
        margin-top: 0.3rem;
    }


.carrusel {
    flex: 1;
    min-width: 300px;
    overflow: hidden;
    position: relative;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 1rem;
}

    .slide img {
        width: 100px;
        height: 100px;
        object-fit: cover;
        border-radius: 50%;
        margin-bottom: 1rem;
    }

    .slide p {
        font-style: italic;
        color: #333;
    }

    .slide h4 {
        margin: 0.5rem 0 0.2rem;
        font-weight: bold;
    }

    .slide small {
        color: #888;
    }

@media (max-width: 768px) {
    .testimonios-section {
        flex-direction: column;
        text-align: center;
    }

    .contenido, .carrusel {
        width: 100%;
    }
}

.testimonios-wrapper {
    background: #fff;
    padding: 2rem 0;
}


/* proximos eventos */
/* proximos eventos */
/* proximos eventos */


/* SECTION ocupa todo el ancho sin límites */

/* Contenedor principal con posición relativa para los botones */
#carrusel-eventos {
    position: relative; /* Para que los botones se posicionen respecto a este contenedor */
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
    padding: 60px 0;
    margin: 0;
    background: #f9f9f9;
    box-sizing: border-box;
    overflow: hidden; /* evita que los botones se salgan del área visible */
}

/* Cada slide oculto por defecto, flex para ordenar imagen e info */
.evento-slide {
    display: none;
    width: 100vw;
    height: 80vh; /* Altura fija para cada slide */
    padding: 40px 30px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 70px;
    box-sizing: border-box;
    overflow: hidden; /* Evita que contenido se salga */
}

    /* Mostrar slide activo */
    .evento-slide.activo {
        display: flex;
    }

    /* Fondo y color alternado para slides impares y pares */
    .evento-slide:nth-child(odd) {
        background: #ffffff;
        color: #000;
    }

    .evento-slide:nth-child(even) {
        background: #000;
        color: #fff;
    }

        /* Estilos botón leer más para slides pares */
        .evento-slide:nth-child(even) .btn-leer {
            border-color: #fff;
            color: #fff;
        }

            .evento-slide:nth-child(even) .btn-leer:hover {
                background: #fff;
                color: #000;
                border-color: #000;
            }

    /* Orden de imagen e info según si el slide es impar o par */
    .evento-slide:nth-child(odd) .info {
        order: 2;
    }

    .evento-slide:nth-child(odd) .imagen {
        order: 1;
    }

    .evento-slide:nth-child(even) .info {
        order: 1;
    }

    .evento-slide:nth-child(even) .imagen {
        order: 2;
    }

/* Contenedor imagen con restricción de altura y overflow para zoom */
.imagen {
    max-height: 75vh; /* Limita la altura para que la imagen no se salga */
    overflow: hidden;
}

    /* Imagen con tamaño máximo y ajuste proporcional */
    .imagen img {
        width: 100%;
        max-width: 600px;
        max-height: 75vh;
        object-fit: contain; /* Mantiene proporción sin cortar */
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        transition: transform 0.3s ease; /* Suaviza zoom */
    }


/* Contenedor info con ancho máximo */
.info {
    max-width: 600px;
}

    /* Títulos y párrafo dentro de info */
    .info h3 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .info h4 {
        font-size: 3rem;
        margin: 0.2em 0 0.6em;
    }

    .info p {
        font-size: 1.4rem;
        line-height: 1.8;
        text-align: justify;
        margin-bottom: 25px;
    }

/* Botón leer más */
.btn-leer {
    display: inline-block;
    padding: 14px 36px;
    font-size: 1rem;
    background: transparent;
    border: 2px solid #000;
    border-radius: 25px;
    text-decoration: none;
    transition: 0.3s;
}

    .btn-leer:hover {
        background: #000;
        color: #fff;
    }



.nav-btn {
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid #fff;
    color: #fff;
    width: 50px;
    height: 50px;
    font-size: 22px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
    margin: 10px;
}

    .nav-btn:hover {
        background: #fff; /* fondo blanco */
        color: #000; /* flecha negra */
    }

.botones-navegacion {
    text-align: center;
    margin-top: 20px;
}


#prevBtn {
    left: 20px;
}

#nextBtn {
    right: 20px;
}

/* Adaptación para pantallas móviles */
@media (max-width: 768px) {
    .evento-slide {
        flex-direction: column;
        height: auto;
        padding: 20px 15px;
        gap: 25px;
    }

    .imagen img {
        max-width: 100%;
    }

    .info {
        max-width: 100%;
        text-align: center;
    }

        .info h4 {
            font-size: 2rem;
        }

        .info p {
            font-size: 1.2rem;
        }

    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin: 5px;
    }

    #prevBtn {
        left: 10px;
    }

    #nextBtn {
        right: 10px;
    }

    .botones-navegacion {
        margin-top: 15px;
    }


}















/* ===== TICKER INFO BANNER ===== */
    /* ===== TICKER INFO BANNER ===== */
    /* ===== TICKER INFO BANNER ===== */
    .marquee-container {
    position: absolute;
    bottom: 0;
    width: 100%;
    overflow: hidden;
    background: transparent;
    z-index: 100;
    padding: 5px 0;
}





.marquee {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 70s linear infinite;
    font-size: 1.2 em;
    color: black; 

}


.marquee-item {
    display: inline-block;
    margin-right: 50px;
    background-color: rgba(0, 0, 0, 0.6) !important; /* Fondo negro semitransparente */
    color: white !important; /* Asegura que el texto se vea blanco */
    padding: 4px 8px;
    border-radius: 8px;
}


@keyframes marquee {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.icono-ticker {
    height: 20px;
    vertical-align: middle;
    margin: 0 4px;
  }


@media (max-width: 600px) {
    .marquee {
        font-size: 1em;
    }

    .marquee-item {
        margin-right: 20px;
        background-color: rgba(0, 0, 0, 0.6) !important; /* Aplica también en móviles */
        padding: 4px 6px;
        border-radius: 6px;
    }

    .icono-ticker {
        height: 16px;
    }
}




/* Estilo general para la sección  eres nuevo - misnisterios*/
/* Estilo general para la sección  eres nuevo - misnisterios*/
/* Estilo general para la sección  eres nuevo - misnisterios*/



.seccion-horizontal {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    background: #ffffff;
    padding: 50px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-top: 1.5px !important;
    text-align: center;
    animation: fadeIn 1s ease-out;
    margin-bottom: 10px !important; /* <-- AÑADE ESTO o ajusta el valor */
}

/* Animación de aparición de la sección */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilo para el título */
.titulo {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: bold;
    color: #FFFFFF;
    margin-top: 20px !important;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease-out;
    text-align: center;
    -webkit-text-stroke: 1px #000000;
    text-stroke: 1px #000000;
}

/* Estilo para el contenedor de los items */
.contenedor-items {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

/* Estilo para cada item individual */
.item {
    background-color: #fff;
    width: 30%;
    min-width: 250px;
    max-width: 320px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    animation: fadeInItem 1s ease-out;
    text-align: center;
}

/* Animación de aparición de cada item */
@keyframes fadeInItem {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Efecto hover para los items */
.item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Estilo para las imágenes dentro de los items */
.item img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100px; /* Tamaño fijo o ajústalo según necesites */
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

/* Efecto hover para las imágenes */
.item:hover img {
    transform: scale(1.1);
}

/* Estilo para el texto de los items */
.item p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: #333;
    font-weight: bold;
    margin-top: 15px;
    text-align: center;
}

/* Estilo para los enlaces */
a {
    text-decoration: none;
    color: inherit;
}

/* Estilos responsivos para móviles */
@media screen and (max-width: 768px) {
    .seccion-horizontal {
        padding: 30px 10px;
    }

    .titulo {
        font-size: 2rem; /* opcional: un poco más pequeño en móvil */
        margin-bottom: 20px;
    }

    .contenedor-items {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .item {
        width: 90%;
        padding: 15px;
    }

        .item img {
            max-width: 100px;
            margin: 0 auto 10px auto;
        }

        .item p {
            font-size: 1rem;
        }
}

/* Oculta en pantallas menores a 768px */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* Mostrar solo en móviles */
@media only screen and (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }
}


