﻿.cuerpo {
    background-color: white;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding:1rem;
}

.fb-page {
    border-style: solid;
    border-width: 4px;
    border-color: #bb4b26;
}

#facebook {
    text-align: center;
}

#home-bienvenidos{
    height:610px !important;
}

#home-Redes {
    height: 610px !important;
}
.fb-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

    .fb-container iframe {
        width: 100% !important;
    }

/* ==== CONTROLES DE LOS CARRUSELES ==== */
.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: opacity 0.1s ease;
    z-index: 2; /* Para estar sobre las imágenes */
    position: absolute;
}

    .carousel-control-prev:hover,
    .carousel-control-next:hover,
    .carousel-control-prev:focus,
    .carousel-control-next:focus {
        opacity: 1;
        background-color: rgba(187, 75, 38, 0.5); /* 0.5 = 50% opacidad */
    }

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1); /* Icono oscuro sobre fondo blanco */
    width: 20px;
    height: 20px;
}


.carousel-item {
    z-index: 1; /* Debajo del menú */
    position: relative;
    border: 3px solid #bb4b26;
}

#hero{
    margin-bottom:2rem;
}

#heroCarousel {
    position: relative;
    z-index: 0 !important; /* << CORRECCIÓN CLAVE */
}

.carrusel-img {
    width: 100%; /* ocupa todo el ancho del carrusel */
    height: 470px; /* alto fijo en desktop */
    object-fit: cover; /* recorta proporcionalmente */
}


.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(187, 75, 38, 0.6); /* rojo con opacidad */
    z-index: 1;
}

/* Contenido centrado encima de la capa */
.overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2; /* para que quede sobre el overlay */
}

#titu,
#titu2,
#titu3 {
    color: white;
    font-size: 45px;
    font-weight: bold;
}

#texto{
    text-align: justify;
    color:white !important;
    font-size:17px;
}

#texto2 {
    text-align: center;
    color: white !important;
    font-size: 17px;
}

.centered-button {
    position: absolute;
    top: 150%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #bb4b26;
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
}

.centered-button2 {
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #bb4b26;
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
}

.centered-button3 {
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #bb4b26;
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
}