
body {
  font-family: 'Open Sans', sans-serif; 
  background-image: url('../imagenes/background.webp'); 
  background-size: cover; 
  background-position: center;
  color: #ffffff; 
  margin: 0; 
  padding: 0;
  overflow-x: hidden; 
}

/* ===================================================
   Capa superpuesta semitransparente sobre el fondo
   =================================================== */
body::before {
  overflow-x: hidden;
  content: ''; 
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.212); 
  z-index: -1; 
}

/* ===============================
   Menú de navegación superior
================================ */
.navbar {
  position: fixed;
  top: 5rem;
  left: 0;
  width: 100%;
  background-color: #000;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 1000;
  transition: top 0.3s ease;
  height: 3.5rem;
}

.navbar a {
  color: white;
  margin-right: 1.25rem;
  text-decoration: none;
  font-size: 0.8125rem;
}

.navbar a:hover {
  color: #ed3e13;
}

.navbar.scrolled {
  top: 0 !important;
}
/* ===============================
   Logo flotante
================================ */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: fixed;
  top: 1.25rem;
  left: 0;
  z-index: 1001;
  transition: top 0.6s ease;

}

.logo-img {
  width: 7.3rem;
  height: auto;
  transition: all 0.3s ease;

}

.logo-img.scrolled {
  width: 5rem;
  /* transform: scale(0.8); */
}

/* para el imagen de style texto */
.logo-texto {
  margin-top: -2.5rem; 
}
.logo-texto.oculto {
  display: none;
}

/* para el texto "Muebles"*/
.logo-muebles {
  color: black;
  font-weight: 600;
  margin-top: -1.5rem;
  font-size: 2rem;
  user-select: none;
  /* transition: opacity 0.3s ease; */
  opacity: 1; 
}

.logo-muebles.scrolled {
  opacity: 0;
  pointer-events: none; 
}

/* ===============================
   Header general de la página
   =============================== */
header {
  padding-top: 8rem;
  padding-bottom: 1rem; 
}

/* ===============================
   Contenedor principal con fondo translúcido
   =============================== */
.contenido-transparente {
  padding-top: 5rem; 
  background-color: rgba(255, 255, 255, 0.801); 
  backdrop-filter: blur(3px); 
  color: #222; 
  border-radius: 12px; 
  padding: 2rem; 
  margin: 2rem auto; 
  max-width: 1200px; 
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3); 
  overflow-x: hidden;
}

/* ===============================
   Botón flotante de WhatsApp
================================ */
.whatsapp-button {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  background-color: #25d366;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  color: white;
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 0.25rem 0.375rem rgba(0, 0, 0, 0.2);
  z-index: 999;
}

.whatsapp-button:hover {
  background-color: #128c7e;
}
/* ===============================
   Botón deslizante (Scroll to Top)
   =============================== */
.scroll-to-top {
  position: fixed; 
  bottom: 1.25rem; 
  left: 1.25rem; 
  right: auto; 
  width: 3rem; 
  height: 3rem; 
  background-color: #000; 
  color: white; 
  font-size: 1.5rem;
  border-radius: 50%; 
  display: flex; 
  align-items: center;
  justify-content: center;
  text-decoration: none; 
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease, transform 0.8s ease;
  z-index: 999; 
}

/* Estado visible del botón */
.scroll-to-top.show {
  opacity: 1; 
  pointer-events: auto;
  transform: scale(1); 
}

/* Efecto hover del botón */
.scroll-to-top:hover {
  background-color: #ed3e13; 
}

/* ===============================
   Mini chat de WhatsApp flotante
   =============================== */
.mini-chat {
  position: fixed;
  bottom: 6rem; 
  right: 1.25rem; 
  background-color: #25d366; 
  color: white; 
  padding: 0.75rem 1rem;
  border-radius: 12px; 
  font-size: 0.9rem; 
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  max-width: 260px;
  width: auto;
  line-height: 1.4; 
  white-space: normal; 
  pointer-events: auto; 
  opacity: 0; 
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease; 
  visibility: hidden; 
}

/* ===============================
   Triángulo inferior del chat (burbuja)
   =============================== */
.mini-chat::after {
  content: ""; 
  position: absolute;
  bottom: -10px; 
  right: 20px;
  width: 0;
  height: 0;
  border-width: 10px 10px 0 10px; 
  border-style: solid;
  border-color: #25d366 transparent transparent transparent; 
}

/* ===============================
   Animación de aparición del mini chat
   =============================== */
.mini-chat.show {
  opacity: 1;
  transform: translateY(0);
  visibility: visible; 
}

/* ===============================
   Animación de desaparición del mini chat
   =============================== */
.mini-chat.hide {
  opacity: 0;
  transform: translateY(20px); 
  visibility: hidden; 
}

/* ========================= */
/* Responsivos */
/* ========================= */
@media screen and (max-width: 960px) {
  .logo-img {
    margin-top: 1.9rem;
    width: 5.4rem;
  }

  .logo-texto {
    margin-top: -1.2rem;
    margin-left: -3.5rem;
    transform: scale(0.5);
  }

  .logo-muebles {
    margin-left: -3.4rem;
    margin-top: -0.7rem;
    font-size: 1rem;
  }
}

@media screen and (max-width: 768px) {
.logo-img {
    margin-top: 2.3rem;
    width: 4.5rem;
  }
.logo-img.scrolled{
  width: 4.5rem;
  margin-top: 0rem;
}
/* Del Png Style */
.logo-texto{
  margin-top: -0.7rem;
  margin-left: -3.5rem;
  transform: scale(0.5);
  
}
/* del texto "Muebles" */
.logo-muebles {
    margin-left: -3.4rem;
    margin-top: -0.2rem;
    font-size: 1rem
  }

/* menu */
.navbar {
  position: fixed;
  top: 5rem;
  right: 0; 
  height: 3rem;
  width: auto; 
  background-color: #000;
  padding: 1rem;
  display: flex;
  flex-direction: column; 
  align-items: flex-end; 
  z-index: 1000;
  transition: top 0.3s ease;
}
.navbar a {
  color: white;
  margin: 0.5rem 0;
  text-decoration: none;
  font-size: 0.8125rem;
}

.navbar a:hover {
  color: #ed3e13;
}
  .footer {
    font-size: 0.75rem; 
    padding-bottom: 5rem; 
  }
} 