:root {
    --primary-color: #000000;
    --secondary-dark: #006400;
    --secondary-light: #32CD32;
}

body {
    padding-top: 180px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

/* Navbar fija con efecto al hacer scroll */
.navbar {
    background-color: black;
    transition: background-color 0.4s ease;
    padding: 10px 0;
}


.navbar.scrolled {
    background-color: black;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    height: 130px;
    transition: transform 0.3s ease; /* Transición suave */
}

.navbar-brand:hover img {
    transform: scale(1.1); /* Aumenta el tamaño en un 10% */
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s ease;
    color: white !important;
}

.nav-link:hover {
    transform: scale(1.05);
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #32CD32;
    transition: width 0.3s ease;
}

.nav-link:hover:after {
    width: 100%;
}

/* Botón de hamburguesa con color verde */
.navbar-toggler {
    border-color: #32CD32 !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2332CD32' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(50, 205, 50, 0.25) !important;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
}

.footer-title {
    color: var(--secondary-light);
    position: relative;
    margin-bottom: 25px;
    padding-bottom: 10px;
}

.footer-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-dark), var(--secondary-light));
}

.footer-links a {
    display: block;
    color: #ddd;
    margin-bottom: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-light);
    padding-left: 5px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s ease;
}
/*
.social-icons a:hover {
    background-color: var(--secondary-light);
    transform: translateY(-5px);
}
*/
.footer-bottom {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px 0;
    margin-top: 40px;
}

.highlight {
    color: var(--secondary-light);
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary-light));
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 100, 0, 0.3);
    color: white;
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    padding: 10px 28px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--primary-color);
}

.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);
}

/* 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;
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

/* 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;
}

/* Estilos adicionales para enlaces activos en navbar */
.nav-link.active {
    color: var(--secondary-light) !important;
}

.nav-link.active:after {
    width: 100%;
}

/* =========================================== */
/* ESTILOS ESPECÍFICOS PARA LA PÁGINA DE PRODUCTOS */
/* =========================================== */

/* Sección Hero de Productos */
.productos-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a1a1a 100%);
    color: white;
    margin-top: 70px;
    padding-top: 80px;
    padding-bottom: 80px;
}

.productos-hero h1 {
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.productos-hero .lead {
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* Contenedor de productos */
.productos-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 50px;
}

/* Estilos para cada producto */
.producto {
    display: flex;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eaeaea;
}

.producto:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Contenedor de imagen */
.producto-imagen {
    flex: 0 0 45%;
    max-width: 45%;
    position: relative;
    overflow: hidden;
}

.producto-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.producto:hover .producto-imagen img {
    transform: scale(1.03);
}

/* Badges de producto */
.producto-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.producto-badge.destacado {
    background-color: var(--secondary-light);
    color: white;
}

.producto-badge.nuevo {
    background-color: #3498db;
    color: white;
}

/* Contenedor de contenido */
.producto-contenido {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.producto-categoria {
    color: var(--secondary-dark);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.producto-titulo {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.producto-descripcion {
    color: #5d6d7e;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.producto-precio {
    color: var(--secondary-light);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
}

/* Botón de producto */
.producto-boton {
    align-self: flex-start;
    margin-top: auto;
}

/* Sección de contacto */
.contacto-productos {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a1a1a 100%);
    color: white;
}

.contacto-productos h2 {
    color: white;
}

.contacto-productos p {
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Estilos responsivos */
@media (max-width: 992px) {
    .producto-imagen {
        flex: 0 0 40%;
        max-width: 40%;
    }
}

@media (max-width: 768px) {
    .productos-hero {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    .producto {
        flex-direction: column;
    }
    
    .producto-imagen {
        flex: 0 0 100%;
        max-width: 100%;
        height: 250px;
    }
    
    .producto-contenido {
        padding: 25px;
    }
    
    .producto-boton {
        align-self: stretch;
        text-align: center;
    }
    
    .producto-titulo {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .productos-hero h1 {
        font-size: 2rem;
    }
    
    .producto-contenido {
        padding: 20px;
    }
    
    .producto-descripcion {
        font-size: 0.95rem;
    }
}

        /* 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;
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

/* 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;
}