/* Estilos específicos para index.html */

/* Ajuste al contenedor principal para que no se superponga */
.contenedor-index {
    position: relative;
    z-index: 1;
    padding-bottom: 20px;
	text-align: center;	
}

/* Texto introductorio */
.intro-text {
    font-size: var(--font-size-lg);
    margin: 10px auto;
    color: var(--color-texto);
    max-width: 700px;
    text-align: center;
}

/* subtítulos */
.index-sub-titulos {
color: var(--color-azul);
font-size: var(--font-size-xl);
}

.index-text {
font-size: 0.9rem;
}


/* Imagen del logo */
img[alt="Logo de SolidariMap"] {
    max-width: 80%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
/* Imagen del Nombre */
img_p[alt="SolidariMap"] {
    width: auto;
    max-height: 20px;
    border-radius: 0px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* ---------- Carrusel ---------- */

.carrusel {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 60vh;
    margin: 0 auto;
    margin-top: 0px;
    border-radius: 0px;
    overflow: hidden;
    z-index: 0;
}

.carrusel-imagenes {
    position: relative;
    width: 100%;
    height: 100%;
}

.carrusel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carrusel-img.activa {
    opacity: 1;
    z-index: 1;
}

.carrusel-contenido {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    font-family: var(--fuente-base);
    color: white;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
    padding: 1rem;
    width: 90%;
}

/* Logo superpuesto dentro del carrusel */
.logo-superpuesta {
    max-width: 180px;
    width: 60vw;
    height: auto;
    margin-bottom: 1rem;
}

/* Logo Palabras superpuesto dentro del carrusel */
.logo_p-superpuesta {
    width: auto;
    height-max: 20px;
    margin-bottom: 1rem;
}

/* Slogan */
.slogan {
    font-size: 1.4rem;
	font-family: var(--fuente-base);
    font-weight: bold;
    margin: 0;
}

/* Puntos del carrusel */
.carrusel-puntos {
    position: absolute;
    bottom: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 3;
    gap: 8px;
}

.carrusel-puntos span {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.carrusel-puntos span.activo {
    background: white;
}




/* PRUEBA */

/*
.hero {
  background: url('fondo-solidaridad.jpg') no-repeat center center/cover;
  height: 90vh;
  color: white;
  position: relative;
  display: flex;
  align-items: center;
}
.overlay {
  background-color: rgba(0,0,0,0.5);
  padding: 2rem;
  max-width: 700px;
  margin-left: 5%;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}
.hero-buttons .btn {
  margin-right: 1rem;
}

section {
  padding: 4rem 5%;
}
*/
.como-funciona,
.testimonios {
  margin-top: 20px;
  text-align: center;
  margin-bottom: 2rem;
  /*max-width:768px;
  display: inline-table;*/
}

.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.step {
  flex: 1 1 250px;
  padding: 1rem;
  text-align: center;
}

.testimonios .historias {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2rem;
}
.historia {
  background-color: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  max-width: 400px;
}

.acciones {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background-color: #fff;
  padding: 4rem 5%;
}
.accion {
  flex: 1 1 45%;
  margin-bottom: 2rem;
}
.accion h3 {
  margin-bottom: 1rem;
}


/* Responsive */
@media screen and (max-width: 500px) {
    h1 {
        font-size: 28px;
    }

    .intro-text {
        font-size: 0.9rem;
        padding: 0 10px;
    }

     .index-text {
          font-size: 0.8rem;
    }

    .slogan {
        font-size: 1rem;
    }

    .logo-superpuesta {
        max-width: 100px;
    }
}

@media (min-width: 768px) {
    .slogan {
        font-size: 1.2rem;
    }
}



@media (max-width: 768px) {
  .steps, .historias, .acciones {

	  flex: 1 1 auto;
    align-items: center;
  }
}

*/