* {
    margin: 0;
    padding: 0;
  
}

body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    height: 100vh;

    background: 
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url("img/templo.jpeg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* NAVBAR */
.navbar {
    background-color: #381043; /* vino litúrgico */
    color: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px 40px;
    
}

.logo {
    font-size: 20px;
    font-weight: bold;
    color: #facc15; /* dorado */
}

/* MENU */
.menu {
    list-style: none;
    display: flex;
    gap: 25px;
}

.menu li {
    position: relative;
}

.menu li a {
    text-decoration: none;
    color: white;
    padding: 8px 10px;
    display: block;
    transition: 0.3s ease;
}

.menu li a:hover {
    color: #facc15;
}

/* SUBMENU */
.submenu {
    display: block;
    position: absolute;
    top: 120%;
    left: 0;
    background-color: #4a1444;
    list-style: none;
    min-width: 220px;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.submenu li a {
    padding: 10px 15px;
}

.dropdown:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* HAMBURGER */
.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .menu {
        position: absolute;
        top: 70px;
        right: 0;
         background-color: #4a1444;
        flex-direction: column;
        width: 250px;
        padding: 20px;
        display: none;
        border-radius: 0 0 10px 10px;
       
    }

    .menu.active {
        display: flex;
      
    }

    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: #2b162e;
        margin-top: 5px;
        border-radius: 6px;
    }

    .hamburger {
        display: block;
        justify-content: space-around;
        
    }
}

/* HERO */
.hero-liturgia {
    height: 50vh;
    background: linear-gradient(rgba(67, 23, 77, 0.7), rgba(0, 0, 0, 0.7)),
                url("img/templo.jpeg");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.hero-liturgia h1 {
    color: white;
    font-size: 40px;
    letter-spacing: 3px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

/* CONTENIDO */
.contenido-liturgia {
    padding: 60px 10%;
    background-color: #f8f5f2db;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* TARJETAS */
.card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 5px 20px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card h2 {
    color: #6b1d1d;
    margin-bottom: 15px;
}

.card p, .card li {
    color: #333;
    line-height: 1.6;
}

/* REDES SOCIALES FOOTER */

.redes-sociales {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.redes-sociales a {
    color: white;
    font-size: 22px;
    transition: 0.3s;
}

.redes-sociales a:hover {
    transform: scale(1.2);
    color: #ffd166; /* color dorado suave */
}
/* HERO CORO */
.hero-coro {
    height: 40vh;
    background: linear-gradient(rgba(107,29,29,0.7), rgba(0,0,0,0.7)),
                url("img/santisimo_cruz2.jpeg");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-coro h1 {
    color: white;
    font-size: 38px;
    letter-spacing: 3px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
    justify-content: center;
    
}

/* CONTENIDO CORO */
.contenido-coro {
    padding: 60px 10%;
    background-color: #f8f5f2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
   
    
}

/* CTA */
.cta-coro {
    background-color: #6b1d1d;
    color: white;
    text-align: center;
    padding: 60px 20px;
    
}

.cta-coro h2 {
    margin-bottom: 20px;
    
}

.btn-coro {
    background-color: #facc15;
    color: #6b1d1d;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-coro:hover {
    background-color: white;
}

.portada{
    background:#1b3c59;
    color:white;
    text-align:center;
    padding:60px 20px;
}

.contenido{
    padding:50px 20px;
    max-width:900px;
    margin:auto;
}

.contenido h2{
    margin-top:30px;
    color:#1b3c59;
}

footer{
    background:#1b3c59;
    color:white;
    text-align:center;
    padding:20px;
    margin-top:40px;
}


/* HERO 1% */
.hero-uno {
    height: 40vh;
    background: linear-gradient(rgba(107,29,29,0.7), rgba(0,0,0,0.7)),
                url("img/back.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-uno h1 {
    color: white;
    font-size: 38px;
    letter-spacing: 3px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

/* CONTENIDO 1% */
.contenido-uno {
    padding: 60px 10%;
    background-color: #f8f5f2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* INSCRIPCIÓN */
.inscripcion-uno {
    background-color: #6b1d1d;
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.inscripcion-uno h2 {
    margin-bottom: 30px;
}

.form-uno {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-uno input {
    padding: 12px;
    border-radius: 6px;
    border: none;
}

.form-uno button {
    background-color: #facc15;
    color: #6b1d1d;
    padding: 12px;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.form-uno button:hover {
    background-color: white;
}

/* HERO JUVENIL */
.hero-juvenil {
    height: 40vh;
    background: linear-gradient(rgba(27,60,89,0.7), rgba(0,0,0,0.7)),
                url("img/pj.jpeg");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-juvenil h1 {
    color: white;
    font-size: 38px;
    letter-spacing: 3px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

/* CONTENIDO */
.contenido-juvenil {
    padding: 60px 10%;
    background-color: #f8f5f2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* HORARIOS */
.horarios-juvenil {
    background-color: #1b3c59;
    color: white;
    text-align: center;
    padding: 50px 20px;
}

/* INSCRIPCIÓN */
.inscripcion-juvenil {
    background-color: #6b1d1d;
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.inscripcion-juvenil h2 {
    margin-bottom: 30px;
}

.form-juvenil {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-juvenil input {
    padding: 12px;
    border-radius: 6px;
    border: none;
}

.form-juvenil button {
    background-color: #facc15;
    color: #6b1d1d;
    padding: 12px;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.form-juvenil button:hover {
    background-color: white;
}

/* HERO AYUDA FRATERNA */
.hero-fraterna {
    height: 40vh;
    background: linear-gradient(rgba(27,60,89,0.7), rgba(0,0,0,0.7)),
                url("img/back.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-fraterna h1 {
    color: white;
    font-size: 38px;
    letter-spacing: 3px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

/* CONTENIDO */
.contenido-fraterna {
    padding: 60px 10%;
    background-color: #f8f5f2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* HORARIOS */
.horarios-fraterna {
    background-color: #1b3c59;
    color: white;
    text-align: center;
    padding: 50px 20px;
}

/* INSCRIPCIÓN */
.inscripcion-fraterna {
    background-color: #6b1d1d;
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.inscripcion-fraterna h2 {
    margin-bottom: 30px;
}

.form-fraterna {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-fraterna input,
.form-fraterna textarea {
    padding: 12px;
    border-radius: 6px;
    border: none;
}

.form-fraterna button {
    background-color: #facc15;
    color: #6b1d1d;
    padding: 12px;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.form-fraterna button:hover {
    background-color: white;
}

/* HERO AYUDA FRATERNA */
.hero-fraterna {
    height: 40vh;
    background: linear-gradient(rgba(27,60,89,0.7), rgba(0,0,0,0.7)),
                url("img/back.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-fraterna h1 {
    color: white;
    font-size: 38px;
    letter-spacing: 3px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

/* CONTENIDO */
.contenido-fraterna {
    padding: 60px 10%;
    background-color: #f8f5f2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* HORARIOS */
.horarios-fraterna {
    background-color: #1b3c59;
    color: white;
    text-align: center;
    padding: 50px 20px;
}

/* INSCRIPCIÓN */
.inscripcion-fraterna {
    background-color: #6b1d1d;
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.inscripcion-fraterna h2 {
    margin-bottom: 30px;
}

.form-fraterna {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-fraterna input,
.form-fraterna textarea {
    padding: 12px;
    border-radius: 6px;
    border: none;
}

.form-fraterna button {
    background-color: #facc15;
    color: #6b1d1d;
    padding: 12px;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.form-fraterna button:hover {
    background-color: white;
}

/* HERO ADULTO MAYOR */
.hero-adulto {
    height: 40vh;
    background: linear-gradient(rgba(75, 114, 89, 0.7), rgba(0,0,0,0.7)),
                url("img/back.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-adulto h1 {
    color: white;
    font-size: 38px;
    letter-spacing: 3px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

/* CONTENIDO */
.contenido-adulto {
    padding: 60px 10%;
    background-color: #f8f5f2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* HORARIOS */
.horarios-adulto {
    background-color: #1b3c59;
    color: white;
    text-align: center;
    padding: 50px 20px;
}

/* INSCRIPCIÓN */
.inscripcion-adulto {
    background-color: #6b1d1d;
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.inscripcion-adulto h2 {
    margin-bottom: 30px;
}

.form-adulto {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-adulto input {
    padding: 12px;
    border-radius: 6px;
    border: none;
}

.form-adulto button {
    background-color: #facc15;
    color: #6b1d1d;
    padding: 12px;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.form-adulto button:hover {
    background-color: white;
}

/* HERO COMUNIÓN */
.hero-comunion {
    height: 40vh;
    background: linear-gradient(rgba(212,175,55,0.7), rgba(0,0,0,0.7)),
                url("img/back.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-comunion h1 {
    color: white;
    font-size: 38px;
    letter-spacing: 3px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

/* CONTENIDO */
.contenido-comunion {
    padding: 60px 10%;
    background-color: #f8f5f2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* HORARIOS */
.horarios-comunion {
    background-color: #1b3c59;
    color: white;
    text-align: center;
    padding: 50px 20px;
}

/* INSCRIPCIÓN */
.inscripcion-comunion {
    background-color: #6b1d1d;
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.inscripcion-comunion h2 {
    margin-bottom: 30px;
}

.form-comunion {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-comunion input {
    padding: 12px;
    border-radius: 6px;
    border: none;
}

.form-comunion button {
    background-color: #facc15;
    color: #6b1d1d;
    padding: 12px;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.form-comunion button:hover {
    background-color: white;
}

/* HERO CONFIRMACIÓN */
.hero-confirmacion {
    height: 40vh;
    background: linear-gradient(rgba(123,31,162,0.7), rgba(0,0,0,0.7)),
                url("img/back.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-confirmacion h1 {
    color: white;
    font-size: 38px;
    letter-spacing: 3px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

/* CONTENIDO */
.contenido-confirmacion {
    padding: 60px 10%;
    background-color: #f8f5f2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* HORARIOS */
.horarios-confirmacion {
    background-color: #1b3c59;
    color: white;
    text-align: center;
    padding: 50px 20px;
}

/* INSCRIPCIÓN */
.inscripcion-confirmacion {
    background-color: #6b1d1d;
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.inscripcion-confirmacion h2 {
    margin-bottom: 20px;
}

.form-confirmacion {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-confirmacion input {
    padding: 12px;
    border-radius: 6px;
    border: none;
}

.form-confirmacion button {
    background-color: #facc15;
    color: #6b1d1d;
    padding: 12px;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.form-confirmacion button:hover {
    background-color: white;
}

/* HERO BAUTISMO */
.hero-bautismo {
    height: 40vh;
    background: linear-gradient(rgba(33,150,243,0.7), rgba(0,0,0,0.7)),
                url("img/back.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-bautismo h1 {
    color: white;
    font-size: 38px;
    letter-spacing: 3px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

/* CONTENIDO */
.contenido-bautismo {
    padding: 60px 10%;
    background-color: #f8f5f2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* HORARIOS */
.horarios-bautismo {
    background-color: #1b3c59;
    color: white;
    text-align: center;
    padding: 50px 20px;
}

/* INSCRIPCIÓN */
.inscripcion-bautismo {
    background-color: #6b1d1d;
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.inscripcion-bautismo h2 {
    margin-bottom: 30px;
}

.form-bautismo {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-bautismo input {
    padding: 12px;
    border-radius: 6px;
    border: none;
}

.form-bautismo button {
    background-color: #facc15;
    color: #6b1d1d;
    padding: 12px;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.form-bautismo button:hover {
    background-color: white;
}

/* HERO HORARIOS */
.hero-horarios {
    height: 40vh;
    background: linear-gradient(rgba(27,60,89,0.7), rgba(0,0,0,0.7)),
                url("img/back.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-horarios h1 {
    color: white;
    font-size: 36px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

/* CONTENIDO HORARIOS */
.contenido-horarios {
    padding: 60px 10%;
    background-color: #f8f5f2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* MISA ESPECIAL */
.misa-especial {
    background-color: #6b1d1d;
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.misa-especial h2 {
    margin-bottom: 20px;
}

.form-misa {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.form-misa input,
.form-misa textarea {
    padding: 12px;
    border-radius: 6px;
    border: none;
}

.form-misa textarea {
    min-height: 100px;
    resize: none;
}

.form-misa button {
    background-color: #facc15;
    color: #6b1d1d;
    padding: 12px;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.form-misa button:hover {
    background-color: white;
}

/* HERO CONTACTO */
.hero-contacto {
    height: 40vh;
    background: linear-gradient(rgba(107,29,29,0.7), rgba(0,0,0,0.7)),
                url("img/back.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-contacto h1 {
    color: white;
    font-size: 36px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

/* INFO CONTACTO */
.info-contacto {
    padding: 60px 10%;
    background-color: #f8f5f2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* MENSAJE */
.mensaje-pastoral {
    background-color: #1b3c59;
    color: white;
    text-align: center;
    padding: 50px 20px;
}

/* FORMULARIO */
.formulario-contacto {
    background-color: #6b1d1d;
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.form-contacto {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.form-contacto input,
.form-contacto textarea {
    padding: 12px;
    border-radius: 6px;
    border: none;
}

.form-contacto textarea {
    min-height: 120px;
    resize: none;
}

.form-contacto button {
    background-color: #facc15;
    color: #6b1d1d;
    padding: 12px;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.form-contacto button:hover {
    background-color: white;
}

/* HERO INDEX */
.hero-index {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(21, 79, 133, 0.327)),
                url("img/santisimo_sangaspar2.jpeg");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-contenido h1 {
    color: white;
    font-size: 50px;
    letter-spacing: 3px;
}

.hero-contenido p {
    color: #facc15;
    font-size: 30px;
    margin: 15px 0;
}

.btn-principal {
    background-color: #740690;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-principal:hover {
    background-color: rgb(210, 5, 59);
}

/* QUIÉNES SOMOS */
.quienes-somos {
    padding: 70px 15%;
    text-align: center;
    background-color: white;
}

.quienes-somos h2 {
    margin-bottom: 20px;
    color: #1b3c59;

}

/* ACCESOS RÁPIDOS */
.accesos-rapidos {
    padding: 60px 10%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
  background-color: #6b1d1d;
   
}

.btn-secundario {
    display: inline-block;
    margin-top: 15px;
    background-color: #6b1d1d;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-secundario:hover {
    background-color: #1b3c59;
}

/* FRASE FINAL */
.frase-final {
    background-color: #947f5b;

    color: white;
    text-align: center;
    padding: 60px 20px;
    font-style: italic;
}
/* BOTÓN FLOTANTE CONTACTO */

.btn-flotante {
    position: fixed;
    bottom: 50px;
    right: 50px;
    background-color: #1ae970;
  
    color: white;
    font-size: 26px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 999;
    transition: all 0.3s ease;
}

.btn-flotante:hover {
      background-color: #e5672c;
    transform: scale(1.1);
}

/* GALERÍA */

.galeria {
    padding: 60px 20px;
    background: #f9f9f9;
    text-align: center;
}

.galeria h2 {
    margin-bottom: 40px;
    font-size: 28px;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.galeria-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.galeria-item:hover {
    transform: translateY(-8px);
}

.galeria-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.galeria-texto {
    padding: 20px;
}

.galeria-texto h3 {
    margin-bottom: 10px;
}

.galeria-texto p {
    font-size: 14px;
    color: #555;
}

.hero-cards {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* RECURSOS LITÚRGICOS */

.recursos-liturgicos {
    padding: 60px 20px;
    background: #f4f6f9;
    text-align: center;
}

.recursos-liturgicos h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.subtitulo {
    color: #555;
    margin-bottom: 40px;
}

.recursos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.recurso-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.recurso-card:hover {
    transform: translateY(-8px);
}

.btn-recurso {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #2c7a3f;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
}

.btn-recurso:hover {
    background: #1f5a2d;
}
/* MATERIAL CORO */

.material-coro {
    padding: 70px 10%;
    background: linear-gradient(rgba(107,29,29,0.9), rgba(27,60,89,0.9));
    text-align: center;
    color: white;
}

.material-coro h2 {
    font-size: 32px;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.subtitulo-coro {
    margin-bottom: 50px;
    color: #facc15;
    font-size: 18px;
}

.cancioneros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.cancionero-card {
    background: white;
    color: #6b1d1d;
    padding: 35px 25px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: 0.3s;
}

.cancionero-card:hover {
    transform: translateY(-10px) scale(1.03);
}

.cancionero-card i {
    font-size: 40px;
    margin-bottom: 15px;
    color: #facc15;
}

.cancionero-card h3 {
    margin-bottom: 20px;
}

.btn-cancionero {
    display: inline-block;
    background-color: #6b1d1d;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-cancionero:hover {
    background-color: #1b3c59;
}

/* SECCIÓN MOTIVACIÓN 1% */

.motivacion-uno {
    padding: 80px 10%;
    background-color: #f5f5f5;
}

.motivacion-contenido {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.motivacion-texto {
    flex: 1;
    min-width: 300px;
}

.motivacion-texto h2 {
    color: #6b1d1d;
    margin-bottom: 20px;
    font-size: 30px;
}

.motivacion-texto p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #333;
}

.motivacion-imagenes {
    flex: 1;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.motivacion-imagenes img {
    width: 250px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: 0.3s;
}

.motivacion-imagenes img:hover {
    transform: scale(1.05);
}

.animar {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.7s ease;
}

.animar.visible {
    opacity: 1;
    transform: translateY(0);
}

/* efecto cascada automático */
.animar.visible {
    transition-delay: calc(var(--i) * 0.1s);
}