/* --- CSS base corregido --- */
    body {
      margin-top: 140px;
      font-family: Arial, sans-serif;
      margin: 0;
      padding: 0;
       padding-top: 100px;
    }

    header {
      background-color: #004080;
      color: white;
      padding: 20px;
      text-align: center;
    }

   /* Barra superior */
    .top-bar {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      height: 40px;
      background-color: #ffffff;
      border-bottom: 1px solid #ccc;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 5px 20px;
      font-size: 14px;
      transition: top 0.3s ease;
      z-index: 1100;
    }

    .top-bar .left,
    .top-bar .right {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .top-bar a {
      text-decoration: none;
      color: #333;
      font-weight: 500;
    }

    .top-bar img {
      height: 16px;
    }

    /* MenÃº */
    nav {
      position: fixed;
      left: 0;
      right: 0;
      background-color: #f0f0f0;
      padding: 15px 0;
      box-shadow: 0 2px 5px rgb(247, 247, 247);
      z-index: 1200;
      display: flex;
      justify-content: center;
      transition: all 0.3s ease;
    }

    nav.scrolled {
      background-color: #fff;
      box-shadow: 0 4px 8px rgb(83, 36, 36);
    }

    .nav-content {
      display: flex;
      align-items: center;
      gap: 40px;
      max-width: 1200px;
      width: 100%;
      justify-content: center;
      margin: 0 auto;
      flex-wrap: wrap;
    }

    .logo {
      height: 60px;
    }

    .menu {
      list-style: none;
      display: flex;
      gap: 20px;
      margin: 0;
      padding: 0;
      justify-content: center;
      flex-wrap: wrap;
    }

    .menu li {
      position: relative;
    }

    .menu li a {
      text-decoration: none;
      color: #000000;
      font-weight: bold;
      padding: 6px 10px;
      transition: background-color 0.3s;
    }

    .menu li a:hover {
      background-color: #ddd;
      border-radius: 5px;
    }

/* Carrusel */
    #carouselExampleControls {
      height: 800px;
      overflow: hidden;
      margin-top: 0px;
    }

    .carousel-item img {
      max-width: 100%;
      height: 800px;
      object-fit: contain;
    }


/* --- SecciÃ³n destacada Cementerio --- */

/* Reset bÃ¡sico */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #fcfdfc;
  color: #941919;
}

/* LÃ­nea divisoria */
.si {
  border: none;
  height: 1px;
  background-color: #0122db;
  margin: 20px 0;
}

/* Contenedor principal */
.section-paloma {
  display: flex;
  width: 100%;
  height: 50vh;
  overflow: hidden;
}

/* ðŸ‘‰ InversiÃ³n de orden para secciones especÃ­ficas */
.section-paloma.invertido {
  flex-direction: row-reverse;
}

/* Imagen */
.image-paloma {
  width: 50%;
  background-size: cover;
  background-position: center;
}

/* Imagen personalizada para cada secciÃ³n */
.img-paraiso {
  background-image: url('Imagenes/Campo.webp');
}

.img-silencio {
  background-image: url('Imagenes/sepelio.webp');
}

.img-esperanza {
  background-image: url('Imagenes/ESPERANZA.jpg');
}

/* Texto */
.text-paloma {
  flex: 1;
  padding: 40px;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;     /* ðŸ‘ˆ Centra horizontalmente */
  text-align: center;      /* ðŸ‘ˆ Centra el texto */
}


.text-paloma h1 {
  color: #084697;
  font-size: 2rem;
  margin-bottom: 10px;
}

.text-paloma p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #000000;
}

.text-paloma p strong {
  font-weight: 600;
}

/* BotÃ³n */
.button {
  padding: 10px 20px;
  background-color: #004080;
  color: #ececec;
  border: none;
  cursor: pointer;
  font-weight: bold;
  border-radius: 4px;
  width: fit-content;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #1cd63b;
}

/* âœ… AdaptaciÃ³n para celulares */
@media (max-width: 768px) {
  .section-paloma,
  .section-paloma.invertido {
    flex-direction: column;
    height: auto;
  }

  .image-paloma {
    width: 100%;
    height: 200px;
  }

  .text-paloma {
    padding: 20px;
  }

  .text-paloma h1 {
    font-size: 1.5rem;
  }

  .text-paloma p {
    font-size: 0.95rem;
  }

  .button {
    font-size: 0.95rem;
  }
}



/* */
.somos-futuro {
  background-color:  #004080;
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.somos-futuro .contenido {
  max-width: 900px;
  margin: 0 auto;
}

.somos-futuro h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.somos-futuro hr {
  width: 60px;
  height: 2px;
  background-color: white;
  border: none;
  margin: 20px auto;
}

.somos-futuro p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.somos-futuro strong {
  font-weight: bold;
}

.boton-claro {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ffffff;
  color: #002b5c;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.boton-claro:hover {
  background-color: #e5e5e5;
}
  


/* Estilos para submenÃº */
    .dropdown {
      position: relative;
    }

    .submenu {
      position: absolute;
      top: 100%;
      left: 0;
      background-color: #f0f0f0;
      list-style: none;
      padding: 10px;
      margin: 0;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      display: none;
      z-index: 1300;
    }

    .dropdown:hover .submenu {
      display: block;
    }

    .submenu li a {
      display: block;
      padding: 8px 10px;
      color: #333;
      text-decoration: none;
    }

    .submenu li a:hover {
      background-color: #ddd;
      border-radius: 5px;
    }

    /* Responsividad */
    @media (max-width: 768px) {
      .logo {
        height: 40px;
      }
      .menu {
        gap: 10px;
      }
      body {
        margin-top: 70px; /* Ajustado para el logo mÃ¡s pequeÃ±o */
      }
    }

/* --- FOTOTER ---*/
footer {
  background-color: #004080;
  color: white;
  text-align: center;
  padding: 10px;
}
.logos-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.logos-container img {
  height: 90px;         /* Aumenta el alto */
  max-width: 225px;     /* Aumenta el ancho mÃ¡ximo */
  object-fit: contain;
  padding: 5px;         /* Espaciado interno */
}


.logos-container span {
  font-weight: bold;
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  font-size: 14px;
  align-items: center;
}

.footer-bottom img {
  vertical-align: middle;
  height: 16px;
  margin-right: 8px;
}

.footer-bottom a {
  color: #fffacd;
  text-decoration: none;
}

.si{
  background-color:#113abe;
  margin: 0px;
}

/**/
  .whatsapp-button {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    background-color: #25D366;
    color: white;
    padding: 0.5rem; /* TamaÃ±o mÃ¡s pequeÃ±o */
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    z-index: 1000;
}
.whatsapp-button:hover {
    background-color: #20b358;
}
.whatsapp-button img {
    width: 20px; /* Ajusta segÃºn el Ã­cono */
    height: 20px;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}


/* AnimaciÃ³n de zoom */
/* Hacer la X más grande, blanca y visible siempre */
.modal-header .close {
  font-size: 2rem;         /* Más grande */
  opacity: 1;              /* Totalmente visible */
  color: white !important; /* Forzar color blanco */
  z-index: 1051;           /* Encima de todo */
}

/* Mantener fija la barra con la X arriba */
.modal-header {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  background: rgba(0,0,0,0.4); /* Fondo semitransparente */
  z-index: 1051;
}


