/* GENERAL */
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-color: black; /* Color de respaldo */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: Arial, sans-serif;
}

/* CONTENEDOR DE FONDO */
.background {
  background-image: url('./Assets/fondo.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden; /* evita ver imágenes anteriores si son más chicas */
}

/* CAPA OSCURA */
.overlay {
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* empieza desde arriba */
  min-height: 100vh;
  padding-top: 80px; /* mueve todo más arriba */
  padding-left: 2rem;
  padding-right: 2rem;
  text-align: center;
}

/* LOGO */
.logo {
  width: 600px;
  max-width: 90vw;
  margin-bottom: 1.5rem;
}

/* CAJA DE ENLACES */
.links-box {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  width: 100%;
  max-width: 400px;
}

/* ENLACES INDIVIDUALES */
.link {
  display: block;
  margin: 1rem 0;
  padding: 1rem;
  text-align: center;
  text-decoration: none;
  color: white;
  border-radius: 10px;
  font-weight: bold;
  transition: all 0.3s ease;
}

/* EFECTO HOVER */
.link:hover {
  filter: brightness(1.2);
  transform: scale(1.05);
}

/* COLORES POR RED SOCIAL */
.link.instagram {
  background-color: #E1306C;
}

.link.whatsapp {
  background-color: #25D366;
}

.link.email {
  background-color: #444;
}

.link.facebook {
  background-color: #1877F2;
}

/* ICONOS */
.link i {
  margin-right: 10px;
  font-size: 1.2rem;
  vertical-align: middle;
}
