@charset "utf-8";
/* CSS Document */

/* Reset básico */
html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: var(--background-color);
  color: var(--primary-color);
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.0;
	display: flex;
      min-height: 100vh;
    flex-direction: column; 
}

/* Variables globales */
:root {
  --primary-color: #fff;
  --secondary-color: #000;
  --highlight-color: #262e91;
  --background-color: #fff;
  --font-family:  "Poppins", sans-serif;
  --font-size-base: 16px;
  --font-size-large: calc(1.5em + 1vw);
  --header-height: 20px;
  --container-padding: 0px;
  --logo-menu-spacing: 20px; /* Espaciado entre logo y menú */
}
html, body {
  margin: 0;
  padding: 0;
}
/* Contenedor principal */

.container {
	flex: 1; 
	display: grid;
	grid-template-rows: auto 1fr; /* Asegura que el footer esté abajo */
	gap: var(--container-padding);
	width: 100%;
	min-height: 100vh; /* Evita que el footer se sobreponga si hay poco contenido */
	flex-shrink: 0; /* Evita que el footer se superponga */
}

/* Header */
.item.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: var(--background-color);
  color: var(--primary-color);
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Logo */
.item.logo {
  flex: 1; /* Toma espacio suficiente para ajustar los elementos */
}

.item.logo img {
  height: 40px;
  width: auto;
  margin-right: var(--logo-menu-spacing); /* Espacio entre logo y menú */
}

.cuerpo {
  	display: grid;
	grid-template-rows: auto auto auto; /* Dos filas automáticas */
  	gap: 0px; /* Espaciado entre los bloques */
 	min-height: 0; /* Evita que el contenido crezca más de lo necesario */
}

 
.bloque_contenido_1 {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bloque_bk {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

._imgGradient {
  width: 100%;
  height: 100%;
}

.poster {
  width: 100%;
  height: 100%;
  background-image: url('../img/nosotros.jpg'); /* Ruta correcta de la imagen */
  background-size: cover;
  background-position:right center;
  background-repeat: no-repeat;
	object-fit: contain;
}

.contenidoBloque_0 {
  position: relative;
  z-index: 1;
  color: white;
  padding: 40px 20px;
/*  background: rgba(0, 0, 0, 0.4);*/
  text-align: center;
}


._metaContainer {
  display: flex;
  flex-direction: column;
  position: absolute; 
 top: 60%; 
  left: 5%; 
  transform: translateY(-50%); 
  margin: 0;
  padding: 20px; 
  width: 60%; 
  box-sizing: border-box; 
}
.titulo_prog{
	margin-bottom:8px;

	font-size: calc(2.0em + 2.0vw);line-height: 1.0em;
	color: #3d1f0e;	font-family: "Montserrat", Helvetica, Arial ; 
	text-shadow: 0.14em 0.14em 0.14em #726e6e;
  	font-weight: 800;
  	text-transform: uppercase;
	
	letter-spacing:.15px
}
.subtitulo_prog{
	margin-top:10px;
	margin-bottom: 10px;
	font-size: calc(0.90em + 0.90vw);
	line-height: 1.5em;
	font-family: 'Lora', Georgia, serif; /* Fuente contrastante y más cálida */
    color: #000000;font-style: italic; 
	 
		
/*
	text-shadow: 0.14em 0.14em 0.14em #000000;*/
  	font-weight: 500;
  	text-align: center;
	
}
.parrafo_prog {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1em;
  line-height: 1.6;
	font-family: 'lato', Helvetica, Arial, Montserrat; 
	text-align: left;
  color: #000000;
	/*background-color: beige;
	   background: linear-gradient(to right, rgba(0, 0, 0, 0.8), transparent);*/
	  background-color: rgba(255, 255, 255, 0.6); /* blanco con 60% de opacidad */
	  padding: 20px;
}

.bloque_contenido_2 {
  background-color: #fff;
  padding: 40px ;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.sub_bloque_1_1 {
  max-width: 700px;
}

.titulo_fe {
  font-size: 2em;
  color: #3d1f0e;	font-family: "Montserrat", Helvetica, Arial ; 
	text-shadow: 0.14em 0.14em 0.14em #726e6e;
  	font-weight: 800;
  margin-bottom: 20px;
}

.sub_titulo_fe {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 30px;
	font-family: 'Lora', Georgia, serif;
	font-style: italic; 
  	font-weight: 400;
}

.detalle_fe h2 {
  margin-top: 20px;
  color: #2a2a2a;
}

.detalle_fe p {
  font-size: 1em;
  color: #444;
  line-height: 1.6;
}


.fe img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.bloque_contenido_3 {
  background-color: #592609;
  padding: 40px ;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.titulo_ps {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 10px;
}

.sub_titulo_ps {
  font-size: 1.1em;
  color: #FFE7BB;
  margin-bottom: 20px;
}

.pastor img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


@media (max-width: 768px) {
	
	._metaContainer {

  padding: 20px; 
  width: 90%; 
  
}
  .bloque_contenido_2,
  .bloque_contenido_3 {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .fe img,
  .pastor img {
    margin: 0 auto;
  }

  .contenidoBloque_0 {
    padding: 30px 15px;
  }

  .titulo_prog {
    font-size: 1.8em;
	  
	color:#F7EBBF;	font-family: "Montserrat", Helvetica, Arial ; 
	text-shadow: 0.14em 0.14em 0.14em #000;
  }

  .subtitulo_prog {
    font-size: 1.2em;
	  text-shadow: 0.14em 0.14em 0.14em #726e6e;
  }

  .parrafo_prog {
    font-size: 0.95em;
	  
  }
}

footer {
  background-color: #1e1e1e;
  color: #fff;
  padding: 40px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-family: Arial, sans-serif;
}

footer a {
  color: #ffffff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.item {
  box-sizing: border-box;
}

._foot1, ._foot2 {
  flex: 1 1 300px;
  margin-bottom: 30px;
}

._pie_bloque {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.p_b ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.p_b li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.5;
}

.p_b li img {
  margin-right: 10px;
}

.centrado {
  display: flex;
  align-items: center;
}

._p_b2 {
  text-align: center;
}

.tit_pie1 {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 15px;
}

.icoredes {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.icoredes img {
  width: 40px;
  height: 40px;
  transition: transform 0.2s ease;
}

.icoredes img:hover {
  transform: scale(1.1);
}

/* Responsive (opcional si lo deseas más compacto en móvil) */
@media (max-width: 600px) {
  ._pie_bloque {
    flex-direction: column;
  }

  .p_b li {
    font-size: 14px;
  }

  .icoredes {
    flex-wrap: wrap;
    gap: 10px;
  }
}
