/* ---------------------------
   CONFIGURACIÓN BASE
---------------------------- */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
  font-family: 'Quicksand', Arial, sans-serif;
}

/* ---------------------------
   FONDO
---------------------------- */
.fondo-hoja, .fondo-tierra {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: left center;
  pointer-events: none;
}

.fondo-hoja {
  background-image: url("imagenes/hoja.png");
  z-index: 0;
}

.tierra {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 300%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* ---------------------------
   CARRUSEL
---------------------------- */
.carrusel {
  display: flex;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  height: 100vh;
  width: 100vw;
  position: relative;
  z-index: 2;
}

.carrusel > div {
  flex: 0 0 100%;
  height: 100vh;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.6);
  padding: 5vh 5vw;
  box-sizing: border-box;
}

/* ---------------------------
   SLIDE 1
---------------------------- */
.slide1 {
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  width: 100%;
  padding: 0 2vw;
}

.texto-intro {
  margin-top: 75vh; /* ----solia ser 40vh---- */
  font-size: clamp(22px, 3vh, 80px); /* ----solia ser clamp(22px, 3vh, 80px)---- */
}

.texto-intro2 {
  margin-top: 15vh;
  font-size: clamp(22px, 3vh, 80px);
}

/* imagen de la marca */
.slide1 .marca {
  position: absolute;
  top: 5vh; 
  left: 50%;
  transform: translateX(-50%);
  height: 50vh; 
  width: auto;  
  z-index: 5;
  pointer-events: none;
}


/* ---------------------------
   SLIDE 2
---------------------------- */
.slide2 {
  position: relative; 
  justify-content: flex-start; 
  align-items: center;
}
.texto-slide2 {
  position: absolute;
  top: 75vh; 
  left: 50%; 
  transform: translateX(-50%);
  font-size: clamp(22px, 7vw, 80px); 
  text-align: center;
  width: 90%;
  max-width: 800px;
}

.brote {
  position: absolute;
  top: 50vh; 
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  height: clamp(300px, 30vh, 900px); 
  z-index: 1.5;
  pointer-events: none;
}

/* Circulos */
.circulo {
  position: absolute;
  width: clamp(100px, 25vw, 900px);
  height: auto;
  cursor: grab;
  transition: transform 0.2s;
}

.explicacion-color {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-fondo, #222);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  z-index: 100; 
  box-shadow: inset 0 0 250px 150px rgba(0, 0, 0, 0.9); 
  transition: opacity 0.6s ease;
}
.tierra-explicacion {
  position: absolute;
  bottom: -20vh;
  left: 50%;
  transform: translateX(-50%) translateY(-20vh);
  width: 300%;     
  height: 100%;   
  z-index: 0;
  pointer-events: none;
}



/* brote/plantita en la pantalla de explicacion de cada rol */
.plantita-explicacion {
  position: absolute;
  bottom: 20vh; 
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  height: clamp(300px, 30vh, 900px);
  z-index: 1;
}


#tituloColor,
#textoColor,
#volver {
  position: relative;
  z-index: 2;
}


.explicacion-color h2 {
 font-size: clamp(22px, 12vw, 100px); 
  max-width: 1200px;
  top: -15vh;
}

.texto-color{
   font-size: clamp(22px, 7vw, 80px); 
  max-width: 1800px;
  top: -17vh;
}

.explicacion-color button {
  margin-top: 20px;
  font-size: 1rem;
  border: none;
  background-color: rgba(255,255,255,0.2);
  color: white;                                                                                  
  border-radius: 50px;
padding: 12px 30px; /* para que mantenga proporción */

  cursor: pointer;
  font-family: 'Quicksand', sans-serif;
}

.explicacion-color button:hover {
  background-color: rgba(255,255,255,0.4);
}

.explicacion-color button {
  margin-top: 100px;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
}
/* ---------------------------
   SLIDE 3
---------------------------- */
.slide3 {
  position: relative; 
  justify-content: flex-start;
  align-items: flex-start;
  
  
}

.slide3-titulo {
  position: absolute;
  top: 0vh; 
  left: 50%; 
  transform: translateX(-50%);
  font-size: clamp(22px, 9vh, 250px);
}

.slide3-subtitulo {
  position: absolute;
  top: 17vh;
  left: 50%;
  transform: translateX(-50%);
  width: 90%; 
  max-width: 1200px; 
  font-size: clamp(22px, 2.5vh, 250px);
  text-align: center; 
}


.slide3-texto {
  position: absolute;
  top: 35vh;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  font-size: clamp(22px, 3vh, 250px);
  max-width: 1200px;
  
}

.slide3-texto2 {
  position: absolute;
  top: 77vh;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  font-size: clamp(22px, 2.5vh, 100px);
}

.slide1,
.slide2,
.slide3 {
  
  z-index: 5; 
}

/* ---------------------------
   PUNTITOS DE LOS SLIDES
---------------------------- */
.indicadores {
  position: absolute;
  bottom: 5vh;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2vw;
  z-index: 5;
}

.dot {
  width: 4vw;
  height: 4vw;
  max-width: 25px;
  max-height: 25px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: background 0.3s;
}

.dot.active {
  background: white;
}

/* ---------------------------
   TEXTO RESALTADp
---------------------------- */
.resaltado {
  color: #87CEEB
;
  font-weight: bold;
}

.negrita {
  font-weight: bold;
}


#volver {
  position: absolute;
  bottom: 10vh;
  left: 50%;
  transform: translateX(-50%);
  background-color: #C81155;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-size: clamp(22px, 2.5vh, 100px);
}

.boton-instagram {
  display: inline-block;
  margin-top: 28rem;
  padding: 1rem 2.5rem;
  background-color: #C81155; /* rosa fuerte */
  color: white;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 4vh, 100px);
  border: none;
  border-radius: 2rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(255, 105, 180, 0.3);
}

.boton-instagram:hover {
  background-color: #ff85c1;
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(255, 105, 180, 0.4);
}


#versionCelu, #versionPC {
    display: none;
    height: 100vh;
    width: 100vw;
  }
#versionPC {
  display: none; /* se muestra solo si width > height */
  height: 100vh;
  width: 100vw;
  position: relative;
  overflow: hidden;
}

/* Fondo base */
#fondoPC {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Tierra por encima del fondo */
#tierraPC {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 4;
}
#troncoIzq, #troncoDer {
  position: absolute;
  bottom: 0;
  height: 150vh;       /* altura completa de la pantalla */
  width: auto;         /* ancho proporcional a la altura */
  max-width: 30vw;     /* antes era 20vw, ahora más ancho */
  object-fit: contain;
  z-index: 3;
}

#troncoIzq {
  left: 0;
  transform: scaleX(-1); /* espejo */
}

#troncoDer {
  right: 0;
}

/* Marca en la esquina superior izquierda */
#marcaPC {
  position: absolute;
  top: 18vh;
  left: 12.5vh;
  transform: translateX(-50%);
  height: 30vh;
  width: auto;
  z-index: 5;
  pointer-events: none;
}
#plantitaPC {
  position: absolute;
  top: 67.5%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 45vh; /* podés ajustar el tamaño según se vea */
  width: auto;
  object-fit: contain;
  z-index: 4;
  pointer-events: none;
}

.circuloPC {
  transition: transform 0.2s;
  cursor: grab;
}
.circuloPC:hover {
  transform: scale(1.1);
}
.seccionOculta {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 20;
  transition: background-color 0.6s ease;
}

#seccionRojo { background-color: #DF253E; }
#seccionNaranja { background-color: #FBBF5E; }
#seccionBlanco { background-color: #FFFFFF; }
#seccionVerde { background-color: #95C11F; }
#seccionCeleste { background-color: #009ABA; }
#seccionVioleta { background-color: #6F42EA; }

#textoRaiz {
  position: absolute;
  top: 50%; /* ajustá según convenga */
  left: 14vh;
  transform: translateX(-50%);
   font-size: clamp(22px, 3vh, 100px);
  font-family: 'Quicksand', sans-serif;
  color: white;
  text-align: center;
  z-index: 5;
  pointer-events: none;
}
#textoPlantita {
  position: absolute;
  top: 80%; /* ajustá según convenga */
  left: 50%;
  transform: translateX(-50%);
   font-size: clamp(22px, 4vh, 100px);
  font-family: 'Quicksand', sans-serif;
  color: white;
  text-align: center;
  z-index: 5;
  pointer-events: none;
}
#titulo-Bioterra {
  position: absolute;
  top: 10%; /* ajustá según convenga */
  right: 5%;
  
   font-size: clamp(22px, 6vh, 100px);
  font-family: 'Quicksand', sans-serif;
  color: white;
  text-align: center;
  z-index: 5;
  pointer-events: none;
}
#texto1 {
  position: absolute;
  top: 25%; /* ajustá según convenga */
  right: 5%;
  
   font-size: clamp(22px, 2vh, 70px);
  font-family: 'Quicksand', sans-serif;
  color: white;
  text-align: center;
  z-index: 5;
  pointer-events: none;
}
#boton-instagram {
  position: absolute; /* 🔹 necesario para que top/left funcionen */
  top: 55%; /* ajustá según convenga */
  right: -5%;
  transform: translateX(-50%);
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: #C81155; /* rosa fuerte */
  color: white;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 3vh, 100px);
  border: none;
  border-radius: 3rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(255, 105, 180, 0.3);
  z-index: 5;
}

#boton-instagram:hover {
  background-color: #ff85c1;
  transform: translateX(-50%) scale(1.05); /* mantiene la posición al escalar */
  box-shadow: 0 6px 14px rgba(255, 105, 180, 0.4);
}

.seccionColor {
  position: absolute;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 10;
}

.fondoPC {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.tierraPC {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 4;
}

.troncoIzq {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
  z-index: 3;
}

.troncoDer {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  object-fit: cover;
  z-index: 3;
}

.plantitaPC {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 15%;
  z-index: 4;
}
.boton-volver2 {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: #C81155;
  color: white;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 2.8vh, 90px);
  border: none;
  border-radius: 3rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(255, 105, 180, 0.3);
  z-index: 20;
}

.boton-volver2:hover {
  background-color: #ff85c1;
  transform: translateX(-50%) scale(1.05);
  box-shadow: 0 6px 14px rgba(255, 105, 180, 0.4);
}
.titulo-secciones {
  position: absolute;
  top: 15%; /* ajustá según convenga */
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(22px, 4vh, 170px);
  font-family: 'Quicksand', sans-serif;
  color: white;
  text-align: center;
  z-index: 5;
  pointer-events: none;
}

.texto-secciones {
  position: absolute;
  top: 25%; /* ajustá según convenga */
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(22px, 2vh, 70px);
  font-family: 'Quicksand', sans-serif;
  color: white;
  text-align: center;
  z-index: 5;
  pointer-events: none;
}
