/* Reset general */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
}

#map {
  height: 100vh;
  width: 100%;
  /* position: relative;
  padding-top: 70px; */
}


/* Navbar ajustes generales */
.navbar-flotante .container-fluid {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Evita nowrap general para que el contenido pueda envolver */
.navbar-flotante,
.navbar-nav,
.navbar-brand {
  white-space: normal !important;
}

/* Móvil pequeño y mediano */
@media (max-width: 768px) {
  .navbar-nav {
    flex-wrap: wrap; /* Permite que los elementos bajen de línea */
  }
  .navbar-nav .nav-item {
    flex: 1 1 auto; /* Se adaptan a espacio disponible */
    min-width: 120px; /* Mínimo ancho para cada item */
    margin-bottom: 0.25rem;
  }

  .navbar-brand {
    flex-shrink: 1; /* Permite que el logo reduzca tamaño */
    font-size: 1rem; /* Tamaño un poco más pequeño */
  }

  .navbar-brand img {
    width: 28px;
    height: 28px;
  }

  .navbar-toggler {
    margin-left: auto; /* Posición correcta sin empujar */
  }

  /* Reduce tamaño de botones y texto en nav */
  .navbar-nav .btn-sm {
    font-size: 12px;
    padding: 4px 8px;
  }
}

/* MapaCluster*/ 

.custom-cluster {
  border-radius: 50%;
  color: white;
  text-align: center;
  font-weight: bold;
  line-height: 42px;
  width: 42px;
  height: 42px;
  border: 2px solid white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  background: linear-gradient(145deg, #4facfe, #00f2fe); /* default: azul cielo */
  transition: transform 0.2s ease, background 0.3s ease;
  font-family: 'Segoe UI', sans-serif;
}

.custom-cluster.medium {
  width: 52px;
  height: 52px;
  line-height: 52px;
  background: linear-gradient(145deg, #43e97b, #38f9d7); /* verde-menta */
}

.custom-cluster.large {
  width: 62px;
  height: 62px;
  line-height: 62px;
  background: linear-gradient(145deg, #f7971e, #ffd200); /* naranja-amarillo */
}

.custom-cluster:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}



/* Móviles muy pequeños */
@media (max-width: 480px) {
  /* Oculta el texto del logo para ganar espacio */
  .navbar-brand span.texto-completo {
    display: none;
  }

  .navbar-brand img {
    width: 24px;
    height: 24px;
  }

  .navbar-nav {
    justify-content: center; /* Centra el menú */
  }

  
}
