/* Estilos Generales */
body {
    font-family: 'Poppins', sans-serif;
}

/* Barra Superior */
.top-bar {
    background: #0092CB;
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar .social-icons a {
    color: white;
    margin-right: 12px;
    text-decoration: none;
    font-size: 16px;
}

.top-bar .top-links a {
    color: white;
    margin-left: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar .top-links a:hover {
    color: #0092CB;
}

/* Navbar Principal */
.navbar {
    border-bottom: 2px solid #f1f1f1;
    padding: 15px 0;
}

.search-bar {
    flex-grow: 1;
    max-width: 500px;
    margin: 0 auto;
}

.search-bar input {
    border-radius: 25px 0 0 25px;
    border: 1px solid #ccc;
    padding: 8px 15px;
}

.search-bar button {
    border-radius: 0 25px 25px 0;
    padding: 8px 15px;
}

/* Botones de Ingreso y Cotización */
.btn-outline-primary {
    border-radius: 20px;
    padding: 8px 15px;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
}

.btn-outline-primary:hover {
    background-color: #4881be;
    color: white;
}

.btn-dark {
    border-radius: 20px;
    padding: 8px 15px;
    font-weight: bold;
}

/* Menú de Categorías */
.category-menu {
    background: #222;
    padding: 12px 0;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.category-menu .nav-link {
    color: white;
    margin: 0 15px;
    font-weight: bold;
    position: relative;
    transition: all 0.3s ease;
}

.category-menu .nav-link:hover {
    color: #0092CB;
}

.category-menu .nav-link::after {
    content: "";
    display: block;
    width: 0%;
    height: 3px;
    background: #0092CB;
    transition: width 0.3s ease-in-out;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
}

.category-menu .nav-link:hover::after {
    width: 100%;
}

.flex-slider{	
    background:#222227;
    padding: 70px 0 165px 0;
    }
    .opportunity{
    background:#28282e;
    margin:0px 20px;
    padding:80px 0;
    position:relative;
    }
    #flexiselDemo1 {
        display: none;
    }
    .nbs-flexisel-container {
        position: relative;
        max-width: 100%;
    }
    .nbs-flexisel-ul {
        position: relative;
        width: 9999px;
        margin: 0px;
        padding: 0px;
        list-style-type: none;
        text-align: center;
    }
    .nbs-flexisel-inner {
        overflow: hidden;
        margin: 0px auto;
    }
    .nbs-flexisel-item {
        float: left;
        margin: 0;
        padding: 0px;
        position: relative;
        line-height: 0px;
    }
    .nbs-flexisel-item > img {
        cursor: pointer;
        position: relative;
    }

    .marcas-container {
        overflow: hidden;
        white-space: nowrap;
        width: 100%;
        padding: 20px 0;
        background: #f8f9fa;
    }
    
    .marcas-slider {
        display: flex;
        gap: 20px;
        animation: scroll 10s linear infinite;
    }
    
    .marcas-slider img {
        height: 130px;
        width: auto;
    }
    
    @keyframes scroll {
        from { transform: translateX(0); }
        to { transform: translateX(-50%); }
    }
    


    .carousel-item {
        position: relative;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 400px;
        max-height: 600px;
        overflow: hidden;
    }
    
    .carousel-image {
        width: 100%;
        height: 55vh; /* Puedes cambiar a 40vh, 35vh, etc. para hacerlo más pequeño */
        object-fit: cover; /* Mantiene el encuadre sin distorsión */
        object-position: center top; /* Ajusta la posición de la imagen */
        transition: transform 1s ease-in-out;
    }
    
    
    /* Animación de zoom-in al cambiar de imagen */
    .carousel-item.active .carousel-image {
        animation: zoom-in 3s ease-in-out;
    }
    
    @keyframes zoom-in {
        from {
            transform: scale(1);
        }
        to {
            transform: scale(1.05);
        }
    }
    
    /* Animación de aparición del texto */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Contenedor de texto centrado */
    .carousel-caption.custom-caption {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: rgba(0, 0, 0, 0.6); /* Fondo oscuro semitransparente */
        padding: 20px 30px;
        border-radius: 15px;
        color: white;
        text-align: center;
        max-width: 60%;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        animation: fadeInUp 1.5s ease-in-out;
    }
    
    /* Títulos llamativos */
    .carousel-caption h2 {
        font-size: 2.5rem;
        font-weight: bold;
        text-transform: uppercase;
        margin-bottom: 10px;
    }
    
    /* Subtítulos */
    .carousel-caption p {
        font-size: 1.3rem;
        margin-top: 10px;
    }
    
    /* Asegura una buena visualización en dispositivos pequeños */
    @media (max-width: 768px) {
        .carousel-caption.custom-caption {
            max-width: 80%;
            padding: 15px;
        }
    
        .carousel-caption h2 {
            font-size: 1.8rem;
        }
    
        .carousel-caption p {
            font-size: 1rem;
        }
    }
    
    


    .categorias-container {
        background: url('images/almacen.jpg') no-repeat center center;
        background-size: cover;
        padding:0px;
        text-align: center;
        color: white;
    }
    





/* Aplicar Montserrat a toda la página */
body {
    font-family: 'Montserrat', sans-serif !important;
}

/* Contenedor principal de categorías */
.categorias {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* Estilos de cada categoría */
.categoria {
    background: white;
    padding: 10px;
    border-radius: 20px;
    text-align: center;
    width: 320px; /* Tamaño uniforme */
    height: 200px; /* Ajuste de altura */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 30px; /* Espaciado entre filas */
    font-family: 'Montserrat', sans-serif;
}

.categoria:hover {
    transform: scale(1.05);
}

/* Imágenes dentro de las categorías */
.categoria img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Mantiene la imagen sin distorsión */
    display: block;
    border-radius: 15px;
}

/* Efecto de superposición */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

/* Texto de la categoría */
.categoria-titulo {
    font-size: 14px;
    font-style: italic;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
}

/* Nombre de la categoría */
.categoria-nombre {
    font-size: 18px;
    font-weight: bold;
    color: #0092CB;
    font-family: 'Montserrat', sans-serif;
}

    
    
    
    



    

    footer {
        background: #ffffff;
        color: #000000;
        padding: 40px 20px;
        font-family: 'Montserrat', sans-serif !important;
    }
    
    .footer-container {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        max-width: 1200px;
        margin: auto;
    }
    
    .footer-section {
        font-family: 'Montserrat', sans-serif !important;
        width: 22%;
        min-width: 250px;
    }
    
    .footer-section h3 {
        color: #0092CB;
        margin-bottom: 15px;
        font-size: 18px;
        text-transform: uppercase;
        font-weight: 700;
    }
    
    .footer-section ul {
        list-style: none;
        padding: 0;
    }
    
    .footer-section ul li {
        margin: 8px 0;
    }
    
    .footer-section a {
        text-decoration: none;
        color: #000000;
        transition: all 0.3s ease;
        font-weight: 400;
    }
    
    .footer-section a:hover {
        color: #0092CB;
        text-decoration: underline;
    }






    
    .download-link {
        display: inline-block;
        background: #0092CB;
        color: #ffffff;
        padding: 8px 12px;
        border-radius: 5px;
        font-weight: bold;
        margin-top: 10px;
    }
    
    .download-link:hover {
        background: #000000;
        color: #fff;
    }
    
    .social-links {
        display: flex;
        flex-direction: column;
    }
            
    .social-links a {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 8px;
        font-size: 16px;
    }
    
    .social-links i {
        font-size: 20px;
        color: #0092CB;
    }
    
    .footer-bottom {
        text-align: center;
        padding-top: 20px;
        font-size: 14px;
        background: #222;
        margin-top: 20px;
        padding: 15px;
        width: 100%;
    }
    