.navbar-brand .logo-img {
    height: 60px;
    margin-right: 20px;
    vertical-align: middle;
}

html {
    scroll-behavior: auto;
}

section {
    min-height: 100vh;
    padding-top: 90px;
    display: flex;
    align-items: center;
}
.section-content {
    width: 100%;
}

/* =============================================
   HERO SECTION CON VIDEO DE FONDO
   ============================================= */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    background-color: #000; /* Fallback si el video no carga */
}

/* El video ocupa todo el fondo */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: 0;
}

/* Capa oscura semitransparente sobre el video */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Ajusta el valor para más/menos oscuridad */
    z-index: 1;
}

/* Estilo para el Navbar Fijo */
.navbar-custom {
    background-color: #212529;
}
.navbar-custom .nav-link, .navbar-custom .navbar-brand {
    color: #ffffff !important;
}
.navbar-custom .nav-link:hover {
    color: #ffc107 !important;
}

/* Estilo de Tarjetas de Producto */
.product-card {
    border: 1px solid #dee2e6;
    transition: transform 0.3s ease-in-out;
    background-color: #ffffff;
    height: 100%;
}
.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Estilo Específico de la Sección Productos */
.nav-pills-custom .nav-link {
    border-radius: 0;
    margin-bottom: 5px;
    color: #212529;
    font-weight: 500;
    text-align: left;
}
.nav-pills-custom .nav-link.active {
    background-color: #ffc107;
    color: #212529;
    border-left: 5px solid #212529;
}

.products-container {
    min-height: 80vh;
}

/* Estilo para las nuevas imágenes de contacto */
.contact-img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

/* Estilo para el botón de WhatsApp Flotante */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
}
.whatsapp-float img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

/* Estilo para hacer que las imágenes de producto sean clickeables */
.product-image {
    cursor: zoom-in;
}

/* Estilo para la imagen ampliada dentro del modal */
#modalImage {
    max-height: 90vh;
    width: auto;
    max-width: 100%;
    background-color: #333;
    padding: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Ajuste del botón de cerrar del modal */
.modal-header .btn-close {
    filter: invert(1) grayscale(1) brightness(2);
    opacity: 0.9;
    font-size: 1.5rem;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1051;
}

