/* # codigo variado */

@import url("https://fonts.googleapis.com/css2?family=Public+Sans&display=swap");

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Public Sans", sans-serif;
}

p {
    line-height: 1.5rem;
}

span {
    color: #256ed3;
    display: block;
    margin-top: 1rem;
}

header {
    background: hsla(135.44deg 78.16% 34.12%);
    background: linear-gradient(90deg, hsla(135.44deg 78.16% 34.12%) 0%, hsla(28.57deg 100% 50.59%) 100%);
    background: -moz-linear-gradient(90deg, hsla(135.44deg 78.16% 34.12%) 0%, hsla(28.57deg 100% 50.59%) 100%);
    background: -webkit-linear-gradient(90deg, hsla(135.44deg 78.16% 34.12%) 0%, hsla(28.57deg 100% 50.59%) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#F3F520", endColorstr="#1E8449", GradientType=1 );
}

header img {
    margin-top: 1rem;
    width: 8rem;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

header a {
    text-decoration: none;
}

header h1 {
    color: #ffffff;
}

/* Proximamente */
/* .footer-grass::before {
    content: '';
    display: block;
    width: 100%;
    height: 50px;
    background: url('../public/images/cesped (1).webp') repeat-x;
    background-size: auto 100%;
} */

footer {
    background: #139b36;
}

/* # fin codigo variado */

/* # main */

.main {
    grid-area: main;
    background-color: #f5f5f5;
    padding: 0.2rem;
}

.main .group-1 p {
    padding-top: 0.5rem;
}

.main h1 {
    border-bottom: solid 1rem #cfe5d6;
    font-family: cursive, sans-serif, serif;
    text-align: center;
    background: linear-gradient(90deg, hsla(145, 63%, 32%, 1), #9acd32, hsla(145, 63%, 32%, 1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 1rem;
}

#colaboradores {
    display: flex;
    flex-direction: column;
}

#con-desarrollador {
    background-color: #3CB371;
}

#con-cruz {
    background-color: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    padding: 2rem;
}

#con-cooperadora {
    background-color: #31adc5;
    width: 100%;
}

/* Estilos para la Cruz - Versión tradicional */
.cruz-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.cruz {
    position: relative;
    width: 120px;
    height: 180px;
}

.cruz::before,
.cruz::after {
    content: '';
    position: absolute;
    background-color: #FFD700;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Línea vertical de la cruz */
.cruz::before {
    width: 24px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

/* Línea horizontal de la cruz - POSICIONADA MÁS ARRIBA (1/3 desde arriba) */
.cruz::after {
    width: 90px; /* Más ancho que la versión anterior */
    height: 24px;
    top: 33%; /* 1/3 desde arriba, no 50% */
    left: 50%;
    transform: translateX(-50%);
}

/* Detalle superior (INRI - opcional, más estilizado) */
.cruz .detalle-superior {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 10px;
    background-color: #b22222; /* Rojo más oscuro */
    border-radius: 3px 3px 0 0;
    font-size: 0; /* Para que no muestre texto si lo hubiera */
}

/* Efecto de relieve mejorado */
.cruz {
    filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.15));
}

/* Pequeña base en la parte inferior (opcional) */
.cruz .base {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 8px;
    background-color: #8b4513; /* Color madera */
    border-radius: 0 0 4px 4px;
}

.container {
    padding: 1rem;
    display: flex;
    min-height: 200px;
}

.div-img {
    flex: 0 0 auto;
}

.div-texto {
    align-items: center;
    margin-top: 1rem;
}

.main img {
    max-width: 5rem;
    margin-right: 10px;
    border-radius: 1rem;
    position: relative;
    top: 13%;
}

/* # fin main */

/* # NUEVOS ESTILOS PARA SECCIONES BÍBLICAS */

.testimonio {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    border-left: 5px solid #139b36;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.testimonio h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-family: "Public Sans", sans-serif;
}

.testimonio p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonio strong {
    color: #139b36;
}

.testimonio em {
    font-style: italic;
    color: #666;
}

blockquote {
    font-style: italic;
    color: #555;
    border-left: 3px solid #256ed3;
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-size: 1.1rem;
    line-height: 1.6;
    font-family: "Public Sans", sans-serif;
}

cite {
    display: block;
    text-align: right;
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    font-style: normal;
}

.texto-destacado {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.texto-destacado h2 {
    color: #856404;
    margin-bottom: 1rem;
    font-family: "Public Sans", sans-serif;
}

.texto-destacado p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.texto-destacado strong {
    color: #139b36;
}

.versiculo {
    font-weight: bold;
    color: #256ed3;
    margin-top: 1.5rem;
    padding: 0.8rem 1rem;
    background-color: #e8f4fc;
    border-radius: 5px;
    display: inline-block;
    font-family: "Public Sans", sans-serif;
    line-height: 1.5;
}

.versiculo em {
    font-style: italic;
    color: #666;
}

.texto-destacado ol {
    margin: 1rem 0 1rem 2rem;
}

.texto-destacado li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* # fin nuevos estilos */

/* # grid */

.grid-container {
    display: grid;
    grid-template:
        "header" 220px
        "main" auto
        "footer" 150px
    ;
}

/* ! responsive = tablets */
@media screen and (min-width: 481px) {
    .main {
        padding: 2rem;
    }

    .header .group-2 h1, .main h1 {
        font-size: 2.5rem;
    }

    .testimonio {
        padding: 2.2rem;
    }
    
    .texto-destacado {
        padding: 1.8rem;
    }
    
    .testimonio h3 {
        font-size: 2rem;
    }
    
    .texto-destacado h2 {
        font-size: 1.9rem;
    }

    .cruz {
        width: 140px;
        height: 210px;
    }
    
    .cruz::before {
        width: 28px;
    }
    
    .cruz::after {
        width: 105px;
        height: 28px;
        top: 33%;
    }
    
    .cruz .detalle-superior {
        width: 46px;
        height: 12px;
        top: -6px;
    }
    
    .cruz .base {
        width: 58px;
        height: 10px;
        bottom: -10px;
    }
}

/* ! responsive = pantallas chicas */
@media screen and (min-width: 769px) {
    .header .group-2 h1, .main h1 {
        font-size: 2.7rem;
    }

    .testimonio {
        padding: 2.5rem;
        margin: 3rem 0;
    }
    
    .texto-destacado {
        padding: 2rem;
        margin: 2.5rem 0;
    }
    
    .testimonio h3 {
        font-size: 2rem;
    }
    
    .texto-destacado h2 {
        font-size: 1.9rem;
    }

    header img {
        width: 8rem;
    }
    
    #colaboradores {
        flex-direction: row;
    }

    #con-cruz {
        width: 33.33%;
        min-height: 250px;
    }
    
    #con-desarrollador,
    #con-cooperadora {
        width: 33.33%;
    }

    .div-texto {
        max-width: 80%;
        margin-right: 1rem;
    }

    .texto-destacado ol {
        margin-left: 2.5rem;
    }

    .cruz {
        width: 160px;
        height: 240px;
    }
    
    .cruz::before {
        width: 32px;
    }
    
    .cruz::after {
        width: 120px;
        height: 32px;
        top: 33%;
    }
    
    .cruz .detalle-superior {
        width: 52px;
        height: 14px;
        top: -7px;
    }
    
    .cruz .base {
        width: 66px;
        height: 12px;
        bottom: -12px;
    }
}

/* ! responsive = laptops */
@media screen and (min-width: 861px) {
    .header .group-2 h1, .main h1 {
        font-size: 2.8rem;
    }

    .main p, header a {
        font-size: 1rem;
        line-height: 2rem;
    }

    .testimonio h3 {
        font-size: 2.1rem;
    }
    
    .texto-destacado h2 {
        font-size: 2rem;
    }
    
    blockquote {
        font-size: 1.2rem;
    }

    header img {
        width: 8.5rem;
        margin-top: 1rem;
    }

    .cruz {
        width: 180px;
        height: 270px;
    }
    
    .cruz::before {
        width: 36px;
    }
    
    .cruz::after {
        width: 135px;
        height: 36px;
        top: 33%;
    }
    
    .cruz .detalle-superior {
        width: 58px;
        height: 16px;
        top: -8px;
    }
    
    .cruz .base {
        width: 74px;
        height: 14px;
        bottom: -14px;
    }
}

/* ! responsive = pantallas grandes */
@media screen and (min-width: 1024px) {
    .grid-container {
        display: grid;
        grid-template:
            "header" 350px
            "main" auto
            "footer" 150px
        ;
    }

    .header .group-2 h1, .main h1 {
        font-size: 2.9rem;
    }

    .main p, header a {
        font-size: 1.1rem;
        line-height: 2rem;
    }

    .testimonio {
        padding: 3rem;
    }
    
    .texto-destacado {
        padding: 2.5rem;
    }
    
    .testimonio h3 {
        font-size: 2.1rem;
    }
    
    .texto-destacado h2 {
        font-size: 2rem;
    }

    header img {
        width: 12rem;
        margin-top: 2rem;
    }

    #con-cruz {
        min-height: 280px;
    }

    .cruz {
        width: 200px;
        height: 300px;
    }
    
    .cruz::before {
        width: 40px;
    }
    
    .cruz::after {
        width: 150px;
        height: 40px;
        top: 33%;
    }
    
    .cruz .detalle-superior {
        width: 64px;
        height: 18px;
        top: -9px;
    }
    
    .cruz .base {
        width: 82px;
        height: 16px;
        bottom: -16px;
    }
}

/* ! responsive = pantallas grandes tv */
@media screen and (min-width: 1329px) {
    .header .group-2 h1, .main h1 {
        font-size: 3.4rem;
    }

    .main p, header a {
        font-size: 1.4rem;
        line-height: 2.5rem;
    }

    .testimonio h3 {
        font-size: 2.3rem;
    }
    
    .texto-destacado h2 {
        font-size: 2.2rem;
    }
    
    .testimonio p,
    .texto-destacado p,
    blockquote {
        font-size: 1.2rem;
        line-height: 1.8;
    }

    .texto-destacado li {
        font-size: 1.2rem;
        line-height: 1.8;
    }

    #con-cruz {
        min-height: 320px;
    }

    .cruz {
        width: 220px;
        height: 330px;
    }
    
    .cruz::before {
        width: 44px;
    }
    
    .cruz::after {
        width: 165px;
        height: 44px;
        top: 33%;
    }
    
    .cruz .detalle-superior {
        width: 70px;
        height: 20px;
        top: -10px;
    }
    
    .cruz .base {
        width: 90px;
        height: 18px;
        bottom: -18px;
    }
}

/* ! responsive = pantallas grandes tv */
@media screen and (min-width: 1900px) {
    .header .group-2 h1, .main h1 {
        font-size: 4.5rem;
    }

    .main p, header a {
        font-size: 2.5rem;
        line-height: 3.4rem;
    }

    .testimonio h3 {
        font-size: 2.8rem;
    }
    
    .texto-destacado h2 {
        font-size: 2.6rem;
    }
    
    .testimonio p,
    .texto-destacado p,
    blockquote {
        font-size: 1.6rem;
        line-height: 2;
    }
    
    .versiculo {
        font-size: 1.4rem;
        padding: 1rem 1.2rem;
    }
    
    cite {
        font-size: 1.2rem;
    }

    .texto-destacado li {
        font-size: 1.6rem;
        line-height: 2;
    }

    #con-cruz {
        min-height: 400px;
    }

    .cruz {
        width: 260px;
        height: 390px;
    }
    
    .cruz::before {
        width: 52px;
        border-radius: 6px;
    }
    
    .cruz::after {
        width: 195px;
        height: 52px;
        border-radius: 6px;
        top: 33%;
    }
    
    .cruz .detalle-superior {
        width: 82px;
        height: 24px;
        top: -12px;
        border-radius: 4px 4px 0 0;
    }
    
    .cruz .base {
        width: 106px;
        height: 22px;
        bottom: -22px;
        border-radius: 0 0 6px 6px;
    }
}

/* ! responsive = pantallas grandes tv */
@media screen and (min-width: 2560px) {
    .grid-container {
        display: grid;
        grid-template:
            "header" 380px
            "main" auto
            "footer" 380px
        ;
    }

    .header .group-2 h1, .main h1 {
        font-size: 7rem;
    }

    .main p, header a {
        font-size: 3rem;
        line-height: 5rem;
    }

    .testimonio {
        padding: 4rem;
        margin: 4rem 0;
    }
    
    .texto-destacado {
        padding: 3rem;
        margin: 3rem 0;
    }
    
    .testimonio h3 {
        font-size: 3.5rem;
    }
    
    .texto-destacado h2 {
        font-size: 3.2rem;
    }
    
    .testimonio p,
    .texto-destacado p,
    blockquote {
        font-size: 2.2rem;
        line-height: 2.2;
    }
    
    .versiculo {
        font-size: 1.8rem;
        padding: 1.2rem 1.5rem;
        margin-top: 2rem;
    }
    
    cite {
        font-size: 1.6rem;
    }

    .texto-destacado li {
        font-size: 2.2rem;
        line-height: 2.2;
    }

    #con-cruz {
        min-height: 500px;
    }

    .cruz {
        width: 320px;
        height: 480px;
        filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.25));
    }
    
    .cruz::before {
        width: 64px;
        border-radius: 8px;
    }
    
    .cruz::after {
        width: 240px;
        height: 64px;
        border-radius: 8px;
        top: 33%;
    }
    
    .cruz .detalle-superior {
        width: 100px;
        height: 30px;
        top: -15px;
        border-radius: 6px 6px 0 0;
    }
    
    .cruz .base {
        width: 130px;
        height: 28px;
        bottom: -28px;
        border-radius: 0 0 8px 8px;
    }
}