/* Navbar personalizado */
.navbar {
    background-color: #000 !important; /* Negro sólido */
    padding: 15px 0;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Sombra ligera */
}

/* Estilo del logo */
.navbar-brand {
    font-size: 1.5rem;
    color: white !important;
    transition: color 0.3s ease-in-out;
}

.navbar-brand:hover {
    color: #0071e3 !important; /* Azul Apple */
}

/* Efecto subrayado dinámico */
.navbar-nav .nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: white !important;
    padding: 10px 15px;
    position: relative;
    transition: color 0.3s ease-in-out;
}

/* Subrayado en hover */
.navbar-nav .nav-link:hover::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background-color: #0071e3;
    transition: background-color 0.3s ease-in-out;
}

/* Página activa con subrayado */
.navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background-color: #0071e3;
}

/* Efecto al pasar el mouse */
.navbar-nav .nav-link:hover {
    color: #0071e3 !important;
}

/* Página activa */
.navbar-nav .nav-link.active {
    color: #0071e3 !important;
    font-weight: bold;
    border-bottom: 2px solid #0071e3;
}

/* Navbar fijo en la parte superior */
.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Estilos generales */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #1c1c1e;
    color: #e5e5e7;
}

/* Carrusel */
.carousel-container {
    position: relative;
    width: 100%;
    height: 500px;
}

.carousel-item {
    height: 500px;
}
.carousel-item img {
    height: 100%;
    object-fit: cover;
    opacity: 0.6; /* Ajusta la opacidad de las imágenes (0 = transparente, 1 = normal) */
    transition: opacity 0.5s ease-in-out;

}

/* Texto fijo sobre el carrusel */
.carousel-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    color: white;
}

.carousel-text h1 {
    font-size: 4rem;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
}

.carousel-text p {
    font-size: 1.5rem;
    font-weight: 300;
    font-family: 'Poppins', sans-serif;
}

.carousel-logo {
    max-width: 650px; /* Ajusta el tamaño según necesites */
    width: 100%;
    height: auto;
    margin-bottom: 15px; /* Espacio entre el logo y el texto */
}


/* Estilos de productos */
.productos {
    background-color: #f8f9fa;
    padding: 60px 20px;
}
/* Asegurar que el título sea visible */
#productos h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #212529; /* Negro oscuro */
    text-align: center;
    margin-bottom: 30px;
}
.producto-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    text-align: center;
    min-height: 360px; /* Ajusta la altura mínima */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
/* Efecto hover en la tarjeta */
.producto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}
/* Imagen del producto con tamaño fijo */
.producto-img {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    width: 100%;
    height: 200px; /* Ajusta el alto de todas las imágenes */
    display: flex;
    align-items: center;
    justify-content: center;
}

.producto-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Evita recortes y mantiene la proporción */
}

/* Vista rápida */
.vista-rapida {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 1rem;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

/* Mostrar vista rápida al pasar el mouse */
.producto-img:hover .vista-rapida {
    opacity: 1;
}

/* Estilos del título */
.producto-titulo {
    font-size: 1.1rem;
    font-weight: bold;
    color: #212529;
    margin-top: 10px;
}

/* Precio del producto */
.producto-precio {
    font-size: 1rem;
    color: #6c757d;
}
.img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #eaeaea;
    padding: 20px;
    border-radius: 15px;
    height: 250px;
}

.img-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
/* Sección de contacto */
.contacto {
    background-color: #f8f9fa; /* Fondo gris claro */
    padding: 80px 20px;
}

/* Título de contacto */
.contacto h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #212529; /* Negro oscuro */
    margin-bottom: 20px;
}

/* Texto descriptivo */
.contacto p {
    font-size: 1.1rem;
    color: #6c757d; /* Texto gris */
    margin-bottom: 30px;
}

/* Inputs personalizados */
.input-custom {
    border-radius: 8px;
    border: 1px solid #ced4da;
    padding: 12px;
    font-size: 1rem;
    transition: border-color 0.3s ease-in-out;
}

/* Efecto al enfocar los inputs */
.input-custom:focus {
    border-color: #0071e3; /* Azul Apple */
    box-shadow: 0 0 5px rgba(0, 113, 227, 0.3);
}

/* Botón estilizado */
.btn-primary {
    background-color: #0071e3; /* Azul Apple */
    border: none;
    font-size: 1.1rem;
    padding: 12px;
    border-radius: 8px;
    transition: background-color 0.3s ease-in-out;
}

.btn-primary:hover {
    background-color: #005bb5;
}

/* Estilo del Footer */
.footer-custom {
    background-color: #1c1c1e; /* Usa el mismo fondo que el resto de la página */
    color: white;
    padding: 40px 0;
    
}

/* Texto del footer */
.footer-custom h5 {
    color: white;
    margin-bottom: 15px;
}

/* Input y botón del boletín */
.input-footer {
    border-radius: 5px;
    border: 1px solid #ced4da;
    padding: 10px;
    font-size: 1rem;
    width: 70%;
}

.input-footer:focus {
    border-color: #0071e3;
    box-shadow: 0 0 5px rgba(0, 113, 227, 0.3);
}

.footer-custom .btn-primary {
    background-color: #0071e3;
    border: none;
    font-size: 1rem;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
}

.footer-custom .btn-primary:hover {
    background-color: #005bb5;
}

/* Íconos en el footer */
.footer-custom p {
    margin: 5px 0;
    font-size: 1rem;
}

.footer-custom p i {
    color: #0071e3;
    margin-right: 8px;
    font-size: 1.2rem;
}

/* Línea divisoria */
.footer-custom hr {
    border-color: rgba(255, 255, 255, 0.2);

}
html {
    scroll-behavior: smooth;
}
/* Estilos de la sección de beneficios */
.beneficios {
    background-color: #f8f9fa; /* Fondo claro */
    padding: 60px 20px;
}

/* Tarjetas de beneficios */
.beneficio-card {
        background: white;
        padding: 30px;
        border-radius: 12px;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
        min-height: 220px; /* Asegurar la misma altura en todas */
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        text-align: center;
    }

/* Efecto hover */
.beneficio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}
/* Iconos más grandes */
.beneficio-icon {
    font-size: 3.5rem;
    margin-bottom: 10px;
}
/* Texto ajustado */
.beneficio-text {
    font-size: 1.2rem; /* Mismo tamaño de texto */
    font-weight: bold;
    color: #212529;
    max-width: 85%;
    text-align: center;
    min-height: 50px; /* Forzar que el texto tenga el mismo espacio */
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Ajuste de colores */
.text-purple {
    color: #8e44ad; /* Morado */
}

/* Texto y enlaces */
.beneficio-card p {
    font-size: 1.1rem;
    color: #212529;
}

.text-purple {
    color: #8e44ad; /* Color morado para destacar */
    font-weight: bold;
    text-decoration: none;
}

.text-purple:hover {
    text-decoration: underline;
}

/* Ajuste de iconos */
.beneficio-card i {
    display: block;
    margin-bottom: 10px;
}

/* Sección de testimonios */
.testimonios {
    background-color: #1c1c1e; /* Fondo oscuro similar al de la página */
    padding: 80px 20px;
    color: white;
}

/* Tarjetas de testimonio */
.testimonio-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    text-align: center;
    min-height: 230px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border: none;
}

/* Efecto hover */
.testimonio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

/* Estrellas de calificación */
.testimonio-stars {
    color: #FFD700; /* Amarillo dorado */
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Texto del testimonio */
.testimonio-text {
    font-size: 1rem;
    color: #333;
    margin-bottom: 15px;
    font-style: italic;
}

/* Nombre del usuario */
.testimonio-name {
    font-size: 1rem;
    font-weight: bold;
    color: black;
}
/* Estilos para el modal */
.modal-content {
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    color: #333;
}

.modal-header {
    border-bottom: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h5 {
    font-size: 1.5rem;
    font-weight: bold;
}

.modal-body {
    padding: 20px;
}

.modal-body img {
    max-width: 100%;
    max-height: 300px; /* Ajuste del tamaño máximo de la imagen */
    object-fit: contain;
    margin-bottom: 15px;
}

.modal-body p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

/* Ajuste de la imagen para que no se vea demasiado grande */
.modal-body img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}
