/* ====== BODY ====== */
body {
  font-family: sans-serif;
  margin: 0;
  color: #333;
  background: url('background BLUEBERRY LOGIC.png') no-repeat center center fixed;
  background-size: cover;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.85);
  z-index: -1;
}

/* ====== TOP BAR LOGO ====== */
.site-header .top-bar {
  background-color: white;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: relative;
  z-index: 2;
}

.site-header .top-bar .logo {
  height: 60px;
  width: auto;
}

/* ====== HERO ====== */
.site-header .hero {
  position: relative;
  overflow: hidden;
  background-color: #2d213f;
  text-align: center;
  padding: 60px 20px 140px 20px; /* más padding abajo para la onda */
}

.site-header .hero .waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px; /* controla la altura de la onda solo en el borde inferior */
  z-index: 0;
  overflow: hidden;
}

.site-header .hero .hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  color: #e5e5f0;
}

.site-header .hero .hero-content p {
  font-size: 24px;
  margin: 0;
  color: #e5e5f0;
}

@media (max-width: 700px) {
  .site-header .top-bar .logo {
    height: 50px;
  }

  .site-header .hero {
    padding: 40px 15px 140px 15px;  /* mismo espacio para la onda abajo */
  }

  .site-header .hero .waves {
    height: 100px; /* ajusta altura en móvil */
  }

  .site-header .hero .hero-content p {
    font-size: 20px;
  }
}

/* ====== SECTION GENERAL ====== */
section {
  text-align: center;
  padding: 60px 20px;
}

section h2 {
  font-size: 32px;
  color: #552146;
  margin-bottom: 20px;
}

section p {
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* ====== NEGOCIOS ====== */
.negocios {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.negocio {
  display: flex;
  flex-direction: column;
  max-width: 300px;
  text-decoration: none;
  color: #552146;
  transition: transform 0.3s ease;
}

.negocio:hover {
  transform: translateY(-5px);
}

/* Imagen arriba */
.negocio .imagen {
  position: relative;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.negocio.logistica .imagen::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('logistica.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.negocio.tecnologia .imagen::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('BBL tech.PNG');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.negocio .imagen::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0);
}

/* Texto fuera del cuadro */
.negocio .info {
  background: none;
  padding: 20px 5px 0 5px;
  text-align: center;
}

.negocio .info h3 {
  margin: 0 0 8px 0;
  font-size: 20px;
  color: #554779;
}

.negocio .info p {
  margin: 0;
  font-size: 16px;
  color: #554779;
  line-height: 1.4;
}

/* ====== FOOTER ====== */
footer.contacto,
footer {
  background-color: #552146;
  color: white;
  text-align: center;
  padding: 20px;
}

footer a {
  color: white;
  text-decoration: none;
}

/* ====== UL LISTAS ====== */
ul {
  text-align: left;
  display: inline-block;
  max-width: 800px;
}

/* ====== REDES SOCIALES ====== */
.redes-sociales {
  margin-top: 20px;
}

.redes-sociales .icono {
  display: inline-block;
  width: 40px;
  height: 40px;
  margin: 0 10px;
  background-size: 60%;
  background-repeat: no-repeat;
  background-position: center;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.redes-sociales .icono:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.icono.instagram {
  background-image: url('https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/instagram.svg');
  background-color: #E1306C;
}

.icono.linkedin {
  background-image: url('https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/linkedin.svg');
  background-color: #0077B5;
}
