/* =============================
   ESTILOS BIENESTAR COMUNITARIO
   ============================= */

body {
    background:
        linear-gradient(rgba(107,24,27,0.93), rgba(107,24,27,0.93)),
        url('../img/Fotos_banco/22.png') center center/cover no-repeat;
    min-height: 100vh;
}

/* Aquí puedes agregar más estilos personalizados para la página de Bienestar Comunitario si lo necesitas */

.bienestar-titulo {
    text-align: center;
    color: #fff;
    background: none;
    font-size: 3em;
    font-weight: bold;
    letter-spacing: 2px;
    margin: 32px 0 0 0;
    padding: 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.711); /* Sombra suave y elegante */
}

.bienestar-banner {
    width: 100%;
    max-width: 1100px;
    margin: 30px auto 0 auto;
    /* border: 3px solid var(--dorado); */
    border-radius: 18px;
    overflow: hidden;
}

.bienestar-banner img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center 20%;
}

.bienestar-card-container {
    max-width: 1100px;
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 40px;
}

.bienestar-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
    border: 2px solid var(--vinotinto);
    display: flex;
    flex-wrap: wrap;
    padding: 38px 32px 32px 32px;
    gap: 32px;
    align-items: flex-start;
}

.bienestar-info {
    flex: 2 1 340px;
    min-width: 270px;
}

.bienestar-subtitulo {
    color: var(--vinotinto);
    font-size: 1.15em;
    font-weight: bold;
    margin-bottom: 10px;
}

.bienestar-info ul {
    color: #333;
    margin-bottom: 18px;
    padding-left: 18px;
}

.bienestar-info p {
    color: #333;
    margin-bottom: 18px;
}

.bienestar-lateral {
    flex: 1 1 260px;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bienestar-foto {
    width: 100%;
    max-width: 320px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    margin-bottom: 8px;
}

.bienestar-pie {
    font-size: 0.95em;
    color: #888;
    margin-bottom: 18px;
}

.bienestar-botones {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    align-items: center;
}

.bienestar-botones .btn-participate {
    width: 100%;
    max-width: 260px;
    font-size: 1.1em;
    background: #AA0C0E;
    color: #fff;
    border-radius: 12px;
    padding: 16px 0;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 0;
}

.sac-food-icons {
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin: 24px 0;
    flex-wrap: wrap;
    gap: 15px;
}

.sac-food-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-basis: 80px;
}

.sac-food-item img {
    width: 50px;
    height: 50px;
    margin-bottom: 8px;
    object-fit: contain;
}

.sac-food-item span {
    font-size: 0.9em;
    color: #555;
}

@media (max-width: 900px) {
    .bienestar-card {
        flex-direction: column;
        padding: 24px 10px 18px 10px;
        gap: 18px;
    }
    .bienestar-lateral {
        max-width: 100%;
    }
}

.bienestar-header {
    text-align: center;
    color: #fff;
    font-size: 2.7em;
    font-weight: bold;
    letter-spacing: 2px;
    margin: 90px 0 18px 0;
    padding: 0;
    background: none;
}

/* CARRUSEL DE FOTOS */
.bienestar-carousel {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.bienestar-carousel-inner {
    display: flex;
    width: 400%; /* 4 fotos = 400% */
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.bienestar-carousel-slide {
    flex: 0 0 25%; /* Cada slide ocupa 25% del ancho total */
    width: 25%;
    height: 100%;
    position: relative;
}

.bienestar-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Controles del carrusel */
.bienestar-carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(107, 24, 27, 0.8);
    color: var(--beige);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2em;
    z-index: 3;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bienestar-carousel-control:hover {
    background-color: var(--vinotinto);
    transform: translateY(-50%) scale(1.1);
}

.bienestar-carousel-control.prev {
    left: 10px;
}

.bienestar-carousel-control.next {
    right: 10px;
}

/* Indicadores del carrusel */
.bienestar-carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.bienestar-carousel-indicator {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.bienestar-carousel-indicator.active {
    background-color: var(--dorado);
    border-color: var(--dorado);
    transform: scale(1.2);
}

.bienestar-carousel-indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Media queries para responsividad */
@media (max-width: 768px) {
    .bienestar-carousel {
        height: 250px;
    }
    
    .bienestar-carousel-control {
        width: 35px;
        height: 35px;
        font-size: 1em;
    }
    
    .bienestar-carousel-indicator {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .bienestar-carousel {
        height: 200px;
    }
    
    .bienestar-carousel-control {
        width: 30px;
        height: 30px;
        font-size: 0.9em;
    }
} 