/* ======================== ESTILOS GENERALES ======================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lora', serif;
  color: #222;
  overflow-x: hidden;
}

html {
  scroll-behavior: auto; /* quitamos smooth global */
  -webkit-text-size-adjust: 100%; /* Evita que Safari reduzca o aumente texto automáticamente */
}


/* ======================== ESTRUCTURA DE DIAPOSITIVAS ======================== */
main {
  display: flex;
  flex-direction: column;
}

.diapositiva {
  height: 100vh; /* Cada sección ocupa toda la pantalla */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  position: relative;
}

#ShampooSolido1 {
  height: auto;
  min-height: 73vh;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

/* ======================== CONTENIDO ======================== */
.titulo {
  font-size: 2.5rem;
  opacity: 0;
  transform: translateY(40px);
  transition: all 2s ease;
}

.descripcion {
  font-style: italic;
  margin-top: 1rem;
  opacity: 0;
  transform: translateY(40px);
  transition: all 2s ease;
}

/* ======================== ANIMACIÓN DE ENTRADA ======================== */
.diapositiva.visible .titulo,
.diapositiva.visible .descripcion {
  opacity: 1;
  transform: translateY(0);
}

/* ======================== FLECHA ======================== */
.flecha {
  position: absolute;
  bottom: 20px;
  font-size: 2rem;
  color: #00bfff; /* 💙 color azul celeste */
  animation: moverFlecha 1.5s infinite alternate;
}

@keyframes moverFlecha {
  from { transform: translateY(0); }
  to { transform: translateY(10px); }
}

/* ==================== FLECHA ARRIBA ================== */
.flecha-arriba {
  position: absolute;
  bottom: 20px;
  font-size: 2rem;
  color: #00bfff; /* 💙 color azul celeste */
  animation: moverFlechaArriba 1.5s infinite alternate;
}

@keyframes moverFlechaArriba {
  from { transform: translateY(0); }
  to { transform: translateY(10px); }
}

/* ======================== INDICADORES LATERALES ======================== */
.indicadores {
  position: fixed;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.punto {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #94b551;
  cursor: pointer;
  transition: background 0.3s;
}

.punto.activo {
  background: #86008f;
}

/* ======================== COLORES DE SECCIONES ======================== */

#ShampooSolido1 { background: #F1E8FF; }        /* Malva pastel */



  /* ===== ESTILO RESPONSIVE PARA LA ÚLTIMA DIAPOSITIVA ===== */
@media (max-width: 768px) {
  #info-shampoo {
    min-height: 76vh;  /* más alta en móvil */
  }
}
/* =========================================================
   ADICIÓN MÍNIMA Y SEGURA: CARRUSEL PARA #octagonales
   - Añadir AL FINAL de cera-de-soya.css
   - Asegura que las imágenes llenen el recuadro sin deformarse
   ========================================================= */

/* Contenedor interno: imagen + texto */
.contenido-diapositiva {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.info-shampoo {
  text-align: left;
}

/* Títulos dentro de info-vela */
.info-shampoo h2,
.info-shampoo h3 {
  margin-bottom: 10px;  /* espacio entre títulos y demás contenido */
}

/* Opciones con enlaces */
.info-shampoo .paquetes a {
  display: inline-block;   /* para que se vean como elementos individuales */
  margin-right: 10px;      /* espacio entre enlaces */
  text-decoration: none;   /* quitar subrayado si quieres */
}

/* Viñetas opcionales para h3 */
.info-shampoo h3::before {
  content: "🌸 ";           /* viñeta personalizada */
}

.info-shampoo {
  font-size: 1.2rem;    /* ajusta este valor según lo grande que quieras el título */
  font-weight: bold;  /* opcional: que se vea más destacado */
}

.titulo-general {
  margin-bottom: 30px; /* ajusta el valor según cuánto quieras separarlo */
}

/* ===== Carrusel ===== */
.carrusel {
  position: relative;
  width: 462px;
  height: 260px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

/* Cada slide */
.slide {
  display: none;
  width: 100%;
  height: 100%;
}
.slide.active {
  display: block;
}

/* Imágenes dentro del carrusel */
.carrusel img {
  width: 100%;
  height: 100%;
  object-fit: cover;        /* ✅ Llenar el cuadro sin deformar */
  object-position: center;  /* ✅ Centrada al recortar */
  display: block;
  background-color: #fff;   /* ✅ Fondo por si hay transparencias */
}

/* Flechas de control */
.carrusel .prev,
.carrusel .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(255,255,255,0.9);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 36px;
  text-align: center;
  cursor: pointer;
  display: none; /* el JS las muestra si hay más de 1 slide */
}
.carrusel .prev { left: 8px; }
.carrusel .next { right: 8px; }

/* Información textual (lado derecho) */
.info-shampoo {
  flex: 1;
  min-width: 260px;
  max-width: 620px;
}

/* Enlaces de paquetes */
.paquetes a {
  text-decoration: none;
  font-weight: 600;
  margin: 0 6px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .contenido-diapositiva {
    flex-direction: column;
    text-align: center;
    gap: 18px;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .titulo-general {
    display: none;
  }

 .info-shampoo {
    font-size: 0.8rem; /* tamaño más pequeño en celular */
  }

  .info-shampoo h3 {
    font-size: 0.8rem; /* si quieres que aún estén más parejos */
  }

  .carrusel {
    width: 360px;
    height: 203px;
    margin-top: 100px; /* ajusta el valor: 20px, 30px, etc. */
  }

  .info-shampoo {
    max-width: 92%;
  }
}
/* Ajuste específico para la primera imagen panorámica */
.slide:first-child img {
  object-fit: cover;
  object-position: center top; /* mueve el recorte hacia arriba */
}
