/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-y: hidden;
  min-height: 100vh;
}

body, html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  height: 100%;
}


/* Navbar */
nav {
  background-color: white;
  padding: 0.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  padding: 0;
}

nav ul li {
  position: relative;
  margin-left: 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 6px 30px;
  background: linear-gradient(to bottom, #a9445e, #7c2d40);
  border: 2px solid #5a1e30;
  border-radius: 30px;
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.6),
              0 4px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

nav ul li a:hover {
  background: linear-gradient(to bottom, #7c2d40, #5a1e30);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.6),
              0 6px 10px rgba(0, 0, 0, 0.4);
}

/* Submenu */
nav ul li ul.submenu-opciones {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  list-style: none;
  padding: 5PX 0;
  min-width: 160px;
  z-index: 999;
}

nav ul li ul.submenu-opciones li {
  margin: 4px 0;
}

nav ul li ul.submenu-opciones li a {
  color: #fff;
  padding: 5px 18px;
  font-size: 0.85rem;
  background: linear-gradient(to bottom, #a9445e, #7c2d40);
  display: block;
  text-align: center;
  font-weight: bold;
  border-radius: 20px;
  margin: 4px 0;
  text-decoration: none;
  border: 2px solid #5a1e30;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4),
              0 3px 5px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

nav ul li ul.submenu-opciones li a:hover {
  background: linear-gradient(to bottom, #7c2d40, #5a1e30);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.6),
              0 6px 10px rgba(0, 0, 0, 0.4);
}

/* Mostrar submenu al pasar el mouse */
nav ul li.submenu:hover ul.submenu-opciones {
  display: block;
}

/* Hero Section */
.hero {
  position: relative;
  height: calc(100vh - 80px); /* Ajusta esto si tu nav mide otra cosa */
  margin-top: 80px; /* para que empiece debajo del nav fijo */
  background-image: url("img/Lolitas-negocio.png");
  overflow: hidden;
  margin: 0;
  padding: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Texto dentro de HERO */
.hero-texto {
  position: absolute;
  bottom: 10%;
  width: 100%;
  text-align: center;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  padding: 1rem;
}

.hero-texto h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-texto p {
  font-size: 1.5rem;
}

/* Animación secciones */
section:not(.hero) {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Logo */
.logo-container img.logo {
  width: 150px;
}

/* Sección productos */
.seccion-productos {
  display: none;
  margin-top: 120px;
  padding: 60px 20px;
  text-align: center;
}

.titulo-seccion {
  font-size: 2.5rem;
  color: #8b0027;
  margin-bottom: 40px;
}

.contenedor-productos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.volver-inicio {
  margin-top: 60px;
}

.boton-volver {
  display: inline-block;
  padding: 10px 30px;
  background: linear-gradient(to bottom, #a9445e, #7c2d40);
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #5a1e30;
  transition: all 0.3s ease, transform 0.3s ease;
}

.boton-volver:hover {
  background: linear-gradient(to bottom, #7c2d40, #5a1e30);
  transform: translateY(-2px);
}

.titulo-bienvenida {
  opacity: 0;
  transform: translateY(-20px);
  animation: aparecer 1.5s ease-out forwards;
  animation-delay: 0.3s;
  text-align: center;
  font-size: 2.5rem;
  color: white;
  margin-top: 2rem;
}

@keyframes aparecer {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablets */
@media (max-width: 768px) {
  .titulo-bienvenida {
    font-size: 2rem;
    margin-top: 1.5rem;
    padding: 0 1rem;
  }
}

/* Celulares */
@media (max-width: 480px) {
  .titulo-bienvenida {
    font-size: 1.6rem;
    margin-top: 1.2rem;
    padding: 0 1rem;
    line-height: 1.4;
  }
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100px; /* ANTES seguro estaba en más de 140px */
  background-color: white;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}



