/* styles.css */
:root { 
  --fondo: #333333;
  --contraste-fondo: #262626;
  --rosa-principal: #EF5085; 
  --rosa-oscuro: #A64062;
  --cian-brillo: #70DDD8;
  --azul-boton: #0A315B;
  --blanco: #ffffff; 
}

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

body { 
  font-family: 'Segoe UI', Tahoma, sans-serif; 
  background: var(--fondo); 
  color: var(--blanco); 
  line-height: 1.6;
}

/* Header Global */
header { 
  background: var(--contraste-fondo); 
  height: 80px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  border-bottom: 1px solid var(--rosa-oscuro); 
  position: relative;
}

.logo img { 
  width: 60px; 
  height: 60px; 
  border-radius: 50%; 
  object-fit: cover; 
  border: 2px solid var(--rosa-principal);
  box-shadow: 0 0 10px rgba(239, 80, 133, 0.4);
}

.back-link { 
  color: var(--rosa-principal); 
  text-decoration: none; 
  font-weight: bold; 
  position: absolute; 
  left: 20px; 
  transition: 0.3s; 
}

.back-link:hover { color: var(--cian-brillo); }

/* Contenedor Principal */
main, .container { 
  padding: 40px 20px; 
  max-width: 1000px; 
  margin: 0 auto; 
}

/* Tarjetas de Navegación Globales */
.nav-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
  gap: 25px; 
  margin-top: 30px; 
}

.nav-card {
  background: var(--contraste-fondo); 
  border: 2px solid var(--azul-boton); 
  border-radius: 12px;
  padding: 40px 20px; 
  text-align: center; 
  text-decoration: none; 
  color: white; 
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.nav-card:hover { 
  transform: translateY(-8px); 
  border-color: var(--rosa-principal);
  box-shadow: 0 8px 25px rgba(112, 221, 216, 0.3); /* Brillo cian */
}

.nav-card i { 
  font-size: 3.5rem; 
  margin-bottom: 15px; 
  display: block; 
  color: var(--rosa-principal); 
}

.nav-card h3 { 
  font-size: 1.4rem; 
  color: var(--blanco); 
}

.nav-card p {
  font-size: 0.95rem;
  color: #aaa;
  margin-top: 10px;
}

/* Estilos para el botón de Beacons */
.beacons-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--contraste-fondo);
  color: var(--blanco);
  text-decoration: none;
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1rem;
  border: 2px solid var(--cian-brillo);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s;
  width: fit-content;
}

.beacons-btn img {
  width: 24px;
  height: 24px;
  border-radius: 50%; /* Hace que la imagen sea circular */
  object-fit: cover;
}

.beacons-btn:hover {
  background: rgba(112, 221, 216, 0.1);
  box-shadow: 0 0 15px rgba(112, 221, 216, 0.4);
  transform: translateY(-3px);
}
