/* Estilos personalizados para coincidir con el tema verde */
body {
    font-family: 'Butler Local', sans-serif;
    font-weight: 400;
}
.bg-primary {
    background-color: #345d33 !important; /* Verde principal */
}
.text-primary {
    color: #345d33 !important;
}
.btn-primary {
    background-color: #345d33;
    border-color: #345d33;
}
.btn-primary:hover {
    background-color: #264325;
    border-color: #264325;
}
.bg-light {
    background-color: #e1e5d8 !important;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Butler Local', sans-serif;
    font-weight: 400;
}

h2 span {
    font-family: 'Butler Local', sans-serif !important; 
}
p span {
    font-family: 'Butler Local', sans-serif !important; 
}
.bg-success {
    background-color: #3e643d !important;
}
.text-success {
    color: #3e643d !important;
}
.bg-dark-green {
    background-color: #264325 !important;
}
.bg-light-green {
    background-color: #e1e5d8 !important;
}
.text-light-green {
    color: #e1e5d8 !important;
}
.bg-youtube {
    background-color: #ff0000 !important;
}
.bg-facebook {
    background-color: #3b5998 !important;
}
.bg-instagram-gradient {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d) !important;
}
/* Estilo para la sección "Estamos para ti" */
.bg-for-you {
    background-color: #345d33 !important;
    color: white !important;
}
.bg-for-you h1,
.bg-for-you h2,
.bg-for-you h3,
.bg-for-you h4,
.bg-for-you h5,
.bg-for-you h6,
.bg-for-you p {
    color: white !important;
}
/* Estilo para las tarjetas de visita, conoce, rey jesús */
.card-bg-green {
    background-color: #345d33 !important;
    color: white !important;
}
.card-bg-green h5,
.card-bg-green h6 {
    color: white !important;
}
.instagram-slider {
    -webkit-overflow-scrolling: touch; /* Mejora el scroll en iOS */
}

/* Estilos para el slider táctil */
.instagram-slider-container {
    position: relative;
    touch-action: pan-y;
}

/* Flechas de navegación */
.instagram-slider-container .tns-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 10;
}

.instagram-slider-container .tns-controls button {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(52, 93, 51, 0.9) !important;
    border: none;
    color: white;
    border-radius: 50%;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.instagram-slider-container .tns-controls button:hover {
    opacity: 1;
}

.instagram-slider-container .tns-controls button[data-controls="prev"] {
    left: 10px;
}

.instagram-slider-container .tns-controls button[data-controls="next"] {
    right: 10px;
}

/* Contenedor de los posts */
.instagram-embed-container {
    width: 100%;
    min-height: 500px;
    overflow: hidden;
    touch-action: pan-y;
}

.instagram-embed-container iframe {
    width: 100% !important;
    min-height: 500px !important;
    pointer-events: auto !important;
}

/* Ajustes para móvil */
@media (max-width: 768px) {
    .instagram-slider-container .tns-controls button {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .instagram-embed-container,
    .instagram-embed-container iframe {
        min-height: 450px !important;
    }
}

/* Footer Styles */
.footer-custom {
    background-color: #222222;
    color: #ffffff;
}

.footer-title {
    color: #ffffff !important;
    font-weight: 600;
}

.footer-text {
    color: #e0e0e0 !important;
}

.footer-link {
    color: #ffffff !important;
    transition: color 0.3s ease;
    padding: 0.25rem 0;
    display: inline-block;
}

.footer-link:hover {
    color: #f8f9fa !important;
    text-decoration: none;
}

.footer-social {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: none !important;
    transition: all 0.3s ease;
}

.footer-social:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.footer-copyright {
    color: #ffffff !important;
    opacity: 0.7;
}

/* Ajustes para los íconos de redes sociales */
.text-facebook {
    color: #3b5998 !important;
}

.text-instagram {
    color: #e4405f !important;
}

.text-youtube {
    color: #cd201f !important;
}

/* Asegurar que los enlaces de email mantengan el estilo */
.footer-link[href^="mailto:"] {
    color: #ffffff !important;
}

.footer-link[href^="mailto:"]:hover {
    color: #f8f9fa !important;
    text-decoration: underline;
}