:root {
	--bg: #f7f7fb;
	--card: #fafafa;
	--text: #111827;
	--muted: #6b7280;
	--border: #e5e7eb;
	--brand: #005548;
	--radius: 14px;
	--shadow: 0 10px 24px rgba(0, 0, 0, .06);
}
/* ===== Contenedor de tarjetas ===== */
.seccion_img_alojamiento{
	background-image: url("../../../view/iglesia/img/techo_iglesia.jpg");
   background-position: center;
   background-repeat: no-repeat;
   background-size: cover;
	 background-attachment: fixed;
   position: relative;
	 margin: 0;
	 padding: 1rem;
   width: 100%;
   height: 80vh;
   display: flex;                /* Centra el contenido */
   justify-content: center;
   align-items: center;
   text-align: center;
   box-sizing: border-box;

	 /* --- Efecto de difuminado solo en la parte superior --- */
}
.seccion_img_alojamiento::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* sombra negra 45% */
  border-radius: inherit;
}
/* Texto */
.seccion_img_alojamiento h1 {
  position: relative; /* para estar encima del overlay */
  color: #fafafa;
  line-height: 1.2;
	font-weight: 500;
  text-shadow: 0 4px 10px rgba(0,0,0,1);
  max-width: 800px; /* evita que sea muy ancho */
  margin: 0;
  padding:  1rem;
}
.section_iglesia_gallery{
  padding: 3rem;
  margin: 3rem 0;
  display: grid;
  justify-content: center;
  align-items: center;
  place-items: center;
}
.section_iglesia_gallery h1{
  font-size: clamp(22px, 2vw, 50px);
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 2rem;
}

.categories_iglesia_gallery ul{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
  padding: 0;
}
.categories_iglesia_gallery ul li{
  cursor: pointer;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  background: var(--bg);
  transition: all 0.3s ease;
}
.categories_iglesia_gallery ul li.active{
  background: var(--brand);
  color: #fff;
}

.iglesia_gallery_container{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.iglesia_card{
  position: relative;
  width: 280px;
  height: 200px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.3s ease;
}
.iglesia_card:hover{
  transform: scale(1.05);
}
.iglesia_card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.overlay_iglesia_card{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}
.iglesia_card:hover .overlay_iglesia_card{
  opacity: 1;
}

.iglesia_info{
  text-align: center;
  color: #fff;
  padding: 1rem;
}
.iglesia_info h3{
  font-size: 1.4rem;
  margin-bottom: .5rem;
}
.iglesia_type{
  font-weight: bold;
  color: #ffdf40;
  margin-bottom: .5rem;
}
.iglesia_desc{
  font-size: 0.9rem;
  line-height: 1.3;
}
