:root {
    --primary-color: #1810c3;
    --secondary-color: #dc0616;
    --light-color: #f8f9fa;
    --dark-color: #2c3e50;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background-color: #f8f9fa;
    padding-top: 80px;
    color: #333;
}
/* Navegación mejorada y responsiva */
.navbar-custom {
    padding: 15px 0;
    background: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar-scroll {
    padding: 10px 0;
    background: rgba(24, 16, 195, 0.98);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.logo-container {
    display: flex;
    align-items: center;
    height: 60px;
}

.logo-img {
    height: 100%;
    width: auto;
    max-width: 200px;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.navbar-nav {
    gap: 15px;
}

.nav-link {
    text-decoration: none;
    color: white !important;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: white !important;
    transform: scale(1.1);
}

.nav-link:hover::after {
    width: 100%;
}

.navbar-toggler {
    border: none;
    color: white;
    font-size: 1.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Estilos para el menú hamburguesa en móviles */
@media (max-width: 991px) {
    .navbar-nav {
        background: var(--primary-color);
        padding: 20px;
        border-radius: 5px;
        margin-top: 10px;
    }
    
    .nav-link {
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    /* Hamburguesa blanca sin borde */
.navbar-toggler {
    border: none !important;
    border-radius: 0 !important; 
    padding: 6px 8px !important;
    outline: none !important;
}

/* Líneas internas en blanco */
.navbar-toggler-icon {
    filter: invert(1) brightness(200%) !important;
}

}



        .btn-volver-nav {
            display: inline-flex;
            align-items: center;
            padding: 10px 20px;
            background-color:white;
            color: #3498db;
            text-decoration: none;
            border-radius: 30px;
            transition: all 0.3s ease;
            font-weight: 500;
            margin-left: 20px;
            border: 2px solid #3498db;
            box-shadow: #3498db;
            white-space: nowrap;
        }

        .btn-volver-nav:hover {
            background: #3498db;
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
        }

        @media (max-width: 992px) {
            .btn-volver-nav {
                display: none;
            }
            
            .navbar-custom {
                justify-content: space-between;
            }
            
            .nav-links {
                margin-left: 20px;
                flex-grow: 1;
            }
        }

        /* Estilos optimizados para bloques de producto */
        .producto-bloque {
            display: flex;
            flex-wrap: wrap;
            background-color: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
            margin: 60px 0;
            transition: transform 0.3s ease;
        }

        .producto-bloque:hover {
            transform: translateY(-5px);
        }

        .imagen-contenedor {
            flex: 1;
            min-width: 300px;
            max-height: 400px;
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }

        .imagen-contenedor img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            transition: transform 0.5s ease;
        }

        .imagen-contenedor img:hover {
            transform: scale(1.05);
        }

        .detalle-contenedor {
            flex: 1;
            min-width: 300px;
            padding: 30px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .detalle-titulo {
            color: #2c3e50;
            font-size: 2rem;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 3px solid #3498db;
        }

        .detalle-descripcion {
            color: #34495e;
            line-height: 1.8;
            margin-bottom: 25px;
            font-size: 1.1rem;
        }

        .detalle-meta {
            display: flex;
            gap: 15px;
            margin-bottom: 25px;
            flex-wrap: wrap;
        }

        .meta-item {
            background: #f8f9fa;
            padding: 8px 15px;
            border-radius: 20px;
            font-size: 0.9rem;
            color: #2c3e50;
            font-weight: 500;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        }

        .boton {
            display: inline-block;
            background: rgba(24, 16, 195, 0.98);
            color: white;
            padding: 12px 25px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            border: 2px solid #3498db;
            align-self: flex-start;
        }

        .boton:hover {
            background: transparent;
            color: #3498db;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
        }

        /* Alternar imagen a la derecha */
        .imagen-derecha .imagen-contenedor {
            order: 2;
        }

        .imagen-derecha .detalle-contenedor {
            order: 1;
        }

        @media (max-width: 768px) {
            .producto-bloque {
                flex-direction: column;
            }
            
            .imagen-contenedor {
                max-height: 300px;
            }
            
            .detalle-titulo {
                font-size: 1.6rem;
            }
            
            .imagen-derecha .imagen-contenedor,
            .imagen-derecha .detalle-contenedor {
                order: initial;
            }
        }

        /* Carrusel de marcas */
        .marcas-section {
            background-color: #f8f9fa;
            padding: 40px 0;
        }
        
        .titulo-marcas {
            color: #1810c3;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 30px;
            position: relative;
            text-align: center;
        }
        
        .titulo-marcas::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(to right, #1810c3, #0d8af2);
            border-radius: 2px;
        }
        
        .marcas-container {
            position: relative;
            height: 150px;
            overflow: hidden;
            border-radius: 10px;
            background-color: white;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            margin-bottom: 20px;
        }
        
        .marcas-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: space-around;
            align-items: center;
            opacity: 0;
            transition: opacity 0.8s ease;
        }
        
        .marcas-slide.active {
            opacity: 1;
            z-index: 1;
        }
        
        .marca-img {
            max-height: 80px;
            max-width: 120px;
            object-fit: contain;
            transition: all 0.3s ease;
        }
        
        .marca-img:hover {
            filter: grayscale(0%);
            opacity: 1;
            transform: scale(1.50);
        }
        
        .puntos-navegacion {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 20px;
        }
        
        .punto {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: #ccc;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .punto.active {
            background-color: #1810c3;
            transform: scale(1.2);
        }
        
        .marcas-controls {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 20px;
        }
        
        .marcas-btn {
            background-color: #1810c3;
            color: white;
            border: none;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        }
        
        .marcas-btn:hover {
            background-color: #0d8af2;
            transform: translateY(-3px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
        }
        
        .marcas-info {
            text-align: center;
            margin-top: 15px;
            color: #666;
            font-size: 14px;
        }
        
        @media (max-width: 768px) {
            .marcas-slide {
                flex-wrap: wrap;
                justify-content: center;
            }
            
            .marca-img {
                max-height: 50px;
                max-width: 80px;
                margin: 5px;
            }
            
            .marcas-container {
                height: 200px;
            }
        }

        /* Botón Volver */
        .btn-volver {
            display: inline-block;
            justify-content: flex-start;
            background: rgba(24, 16, 195, 0.98);
            color: white;
            padding: 12px 25px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            border: 2px solid #3498db;
            align-self: flex-start;
        }

        .btn-volver:hover {
            background: transparent;
            color: #3498db;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
        }

        .text-start {
            clear: both;
            text-align: left !important;
            margin-top: 30px;
            margin-bottom: 20px;
        }

        @media (max-width: 768px) {
            .btn-volver {
                padding: 10px 20px;
                font-size: 14px;
            }
            
            .text-start {
                padding-left: 15px;
            }
        }



                /* Botón de WhatsApp flotante */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.whatsapp-btn a:hover {
    transform: translateY(-3px);
}

/* Animación de latido */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 0.6s ease-in-out;
}

/* Estado inicial del botón */
.whatsapp-btn {
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Footer mejorado */
.footer {
    background: linear-gradient(to right, #0c0970, #1810c3);
    color: white;
    padding: 60px 0 0;
}

.footer h5 {
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

.footer p, .footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer a:hover {
    color: white;
    text-decoration: none;
    padding-left: 5px;
}

.footer ul {
    padding-left: 0;
    list-style: none;
}

.footer ul li {
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #0d8af2;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Ajustes responsivos para footer */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 0;
    }
    
    .footer .col-lg-4 {
        margin-bottom: 30px;
    }
}