/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */
body {
    padding-top: 3rem;
    padding-bottom: 3rem;
    color: #5a5a5a;
}

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */
/* Carousel base class */
.carousel {
    margin: 4rem auto; /* Centra el carrusel horizontalmente */
    display: flex;
    justify-content: center; /* Centra el contenido dentro del carrusel */
    max-width: 1200px; /* Limita el ancho máximo */
}

.carousel-inner{
    display: flex;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    bottom: 3rem;
    z-index: 10;
    color: #fff; /* Texto blanco para mejor visibilidad */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Sombra para destacar texto */
}

/* Declare heights because of positioning of img element */
.carousel-item {
    height: 32rem;
}
.carousel-item img {
    width: 100%;          /* Ocupa todo el ancho del contenedor */
    height: 100%;         /* Mantiene las proporciones de la imagen */
    max-height: 500px;    /* Limita la altura máxima */
    object-fit: cover;    /* Ajusta la imagen para que se recorte y no se deforme */
}

/* Indicadores del Carrusel */
.carousel-indicators button {
    background-color: #333; /* Color oscuro para los indicadores */
}
.carousel-indicators .active {
    background-color: #fff; /* Color blanco para el indicador activo */
}

/* Botones de Navegación */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    box-shadow: black;    /* Cambia el color de los íconos a blanco */
}

/* Texto del Carrusel */
.carousel-caption h1 {
    font-size: 2rem;       /* Ajusta el tamaño del texto del título */
}
.carousel-caption p {
    font-size: 1rem;       /* Ajusta el tamaño del texto del párrafo */
}

/* MARKETING CONTENT
-------------------------------------------------- */
/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
    margin-bottom: 1.5rem;
    text-align: center;
}
.marketing h2 {
    font-weight: 400;
}
.marketing .col-lg-4 p {
    margin-right: .75rem;
    margin-left: .75rem;
}

/* Featurettes
------------------------- */
.featurette-divider {
    margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
    font-weight: 300;
    line-height: 1;
}

/* RESPONSIVE CSS
-------------------------------------------------- */
@media (min-width: 40em) {
    /* Bump up size of carousel content */
    .carousel-caption p {
        margin-bottom: 1.25rem;
        font-size: 1.25rem;
        line-height: 1.4;
    }

    .featurette-heading {
        font-size: 50px;
    }
}

@media (min-width: 62em) {
    .featurette-heading {
        margin-top: 7rem;
    }
}

@media (max-width: 768px) {
    .carousel-item img {
        max-height: 300px; /* Reduce la altura máxima en dispositivos pequeños */
    }

    .carousel-caption h1 {
        font-size: 1.5rem; /* Tamaño del título más pequeño */
    }

    .carousel-caption p {
        font-size: 0.9rem; /* Tamaño del párrafo más pequeño */
    }
    .carousel-item {
        background:black;
        
    }
    .carousel-caption{
        text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.7);
    }
}

