
/* Principal */
/* ------------------------------------------------------------------------------------------------- */
body {
    font-family: 'Lato', sans-serif;
    padding-top: 90px;
    margin: 0;
}

@media (max-width: 991.98px) {
    body {
        padding-top: 70px;
    }
}
      
/* Barra de Navegación */
/* ------------------------------------------------------------------------------------------------- */
.navbar {
    background-color: #000 !important;
    padding: 25px 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    z-index: 1030;    
    border-bottom: 5px solid #DE3E30;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.navbar-brand img{
    height: 64px;

}

.navbar-nav {
    gap: 0;
    align-items: center;
}

.nav-item {
    position: relative;
    padding: 0 15px;
}

/* Separador vertical */
.nav-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.3);
}

.nav-link {
    position: relative;
    color: #DE3E30 !important;
    padding: 8px 0 !important;
    font-size: 1.1rem;
}

/* Efecto de subrayado - ahora en amarillo oro */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #f1f1f1;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Navbar en scroll */
.navbar.scrolled {
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* Ajuste para móvil */
@media (max-width: 991.98px) {
    .nav-item::after {
        display: none !important;
    }
    .nav-item {
        padding: 5px 0;
    }
    .navbar-brand img{
	    height: 48px;
	
	}
    
}

/* Portada */
/* ------------------------------------------------------------------------------------------------- */
.hero-carousel {
    height: 100vh;
    min-height: 600px;
    margin-top: -90px;
    position: relative;
}

.carousel-inner, 
.carousel-item {
    height: 100%;
    width: 100%;
}

.carousel-item {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

/* Overlay */
.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Contenido del carrusel */
.carousel-caption {
    position: absolute;
    bottom: 30%;
    left: 0;
    right: 0;
    z-index: 2;
    text-align: center;
    padding: 20px;
}

.carousel-caption h1 {
    font-size: 4rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
}

.carousel-caption .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Botones del carrusel - ahora en amarillo oro */
.carousel-caption .btn-danger {
    background-color: #DE3E30;
    border-color: #DE3E30;
    color: #000;
}

.carousel-caption .btn-outline-light {
    border-color: #fff;
    color: #fff;
}

.carousel-caption .btn-outline-light:hover {
    background-color: #fff;
    color: #000;
}

.carousel-caption .btn {
    padding: 12px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

/* Indicadores personalizados - ahora en amarillo oro */
.carousel-indicators {
    z-index: 3;
    bottom: 20px;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 8px;
    border: none;
    background-color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background-color: #DE3E30;
    transform: scale(1.2);
}

/* Controles del carrusel */
.carousel-control-prev,
.carousel-control-next {
    z-index: 3;
    width: 5%;
}

/* Título de sección - ahora en amarillo oro */
.section-title {
    border-bottom: 2px solid #DE3E30;
    display: inline-block;
    padding-bottom: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-caption {
        bottom: 20%;
    }
    
    .carousel-caption h1 {
        font-size: 2.5rem;
    }
    
    .carousel-caption .lead {
        font-size: 1.2rem;
    }
    
    .hero-carousel {
        min-height: 500px;
    }
    
    .carousel-caption .btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

/* Sección Hero antigua */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.template.net/278151/Industrial-Aesthetic-Header-edit-online.jpg');
    background-size: cover;
    padding: 100px 0 150px;
    color: white;
    text-align: center;
    margin-top: 0px;
    display: none;
}

.hero-section h1 {
    letter-spacing: 2px;
}

/* Carta Online */
/* ------------------------------------------------------------------------------------------------- */
#carta {
    position: relative;
}

/* Eliminar el padding lateral del contenedor padre */
#carta > .container {
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
    
}

/* Contenedor del menú - ahora full-width */
.menu-carta-container {
    position: sticky;
    top: 95px;
    background-color: #fff;
    z-index: 1020;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 10px 0;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}
@media (max-width: 991.98px) {
    .menu-carta-container {
        top: 85px;
    }
}

.menu-carta-wrapper {
    --show-left-gradient: 0;
    --show-right-gradient: 1;
}

.menu-carta-wrapper::before {
    opacity: var(--show-left-gradient);
    transition: opacity 0.3s ease;
}

.menu-carta-wrapper::after {
    opacity: var(--show-right-gradient);
    transition: opacity 0.3s ease;
}

.menu-carta-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 40px; /* Espacio para las flechas */
}

/* Degradados */
.menu-carta-wrapper::before,
.menu-carta-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    z-index: 5;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.menu-carta-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.menu-carta-wrapper::after {
    right: 0;
    background: linear-gradient(270deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

/* Responsive */
@media (max-width: 991.98px) {
    .menu-carta-wrapper {
        width: calc(100% - 20px);
        padding: 0;
    }
    
    .scroll-button {
        opacity: 1; /* Siempre visibles en móvil */
    }
}

/* El menú en sí - ahora con más espacio para scroll */
.menu-carta {
    display: flex;
    gap: 10px;
    padding: 0 10px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: max-content; /* Cambio clave */
    margin: 0 auto; /* Centrado horizontal */
    max-width: 100%;
    overflow-x: auto;
}

.menu-carta::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.menu-carta-item {
    flex: 0 0 auto;
    padding: 8px 20px;
    font-size: 0.8em;
    background-color: #f8f9fa;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 0;
}

.menu-carta-item.active {
    background-color: #DE3E30;
    color: white;
    border-color: #DE3E30;
}

/* Botones de navegación */
.scroll-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: white;
    border: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-carta-wrapper:hover .scroll-button {
    opacity: 1;
}

.scroll-button.left {
    left: 0;
}

.scroll-button.right {
    right: 0;
}

.scroll-button.hidden {
    display: none;
}



/* Contenido de categorías */
.categoria-contenido {
    display: none;
    animation: fadeIn 0.5s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative; /* Para el pseudo-elemento overlay */
    padding: 0px; /* Más padding vertical para destacar el contenido */
    color: white; /* Color base para el texto */
    /*border-radius: 8px; /* Bordes redondeados */
    overflow: hidden; /* Para contener el pseudo-elemento */
    margin-bottom: 30px; /* Separación entre categorías */
}

/* Overlay para mejorar legibilidad sobre la imagen */
.categoria-contenido::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.0); /* Fondo semitransparente */
    z-index: 0;
}

/* Contenido de la categoría (debe estar por encima del overlay) */
.categoria-contenido > * {
    position: relative;
    z-index: 1;
}

/* Estilo para los títulos */
.categoria-contenido h3 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    padding: 0 15px;
}

/* Estilo para el texto de contenido */
.categoria-contenido p {
    color: white;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 1.2rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    padding: 0 15px;
}

/* Versión móvil */
@media (max-width: 991.98px) {
    .categoria-contenido {
        padding: 40px 8px;
        margin-bottom: 20px;
        border-radius: 0; /* En móvil puede ocupar todo el ancho */
    }
    
    .categoria-contenido h3 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .categoria-contenido p {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    /* Ajuste para el overlay en móvil */
    .categoria-contenido::before {
        background: rgba(0, 0, 0, 0.0); /* Más oscuro para mejor legibilidad */
    }
}

.categoria-contenido.active {
    display: block;
}

/* Contenedor de categoría */
.categoria-contenido {
    position: relative;
    /*border-radius: 12px;*/
    overflow: hidden;
    margin-bottom: 30px;
    /*box-shadow: 0 10px 30px rgba(0,0,0,0.1);*/
}

/* Cabecera de categoría con imagen de fondo */
.categoria-header {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0px;
}

/* Overlay para mejor legibilidad */
.categoria-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

/* Contenido de la cabecera (encima del overlay) */
.categoria-header-content {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 800px;
    margin-top: 50px;
}

.categoria-header h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.categoria-header p {
    font-size: 1.2rem;
    margin-bottom: 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Contenedor de productos */
.categoria-productos {
    background-color: white;
    padding: 30px;
}

/* Tarjeta de producto */
/* Producto - Estilo Tarjeta */
.categoria-producto {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    height: 100%;
}

.categoria-producto:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Imagen del producto */
.producto-imagen-container {
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.producto-imagen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.categoria-producto:hover .producto-imagen {
    transform: scale(1.05);
}

/* Título superpuesto */
.producto-titulo-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(255,255,255,1), transparent);
    padding: 10px 10px 5px;
    background-color: #fff;
}

.producto-titulo {
    color: #303030;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

/* Precios - Parte inferior */
.producto-precios {
    padding: 15px;
    background: white;
}

.precio-destacado {
    font-size: 1.2rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 5px;
    border-radius: 15px;
    background-color: #DE3E30;
}

.precio-lista {
    list-style: none;
    padding: 0;
    margin: 0;
}

.precio-lista li {
    display: flex;
    justify-content: space-between;
    padding: 3px 0;
    border-bottom: 1px dashed #eee;
    font-size: 0.9rem;
}

.precio-lista li:last-child {
    border-bottom: none;
}

.precio-cantidad {
    color: #777;
}

.precio-valor {
    font-weight: 600;
    color: #333;
}

/* Responsive */
@media (max-width: 991.98px) {
    .producto-imagen-container {
        height: 250px;
    }
    
    .producto-titulo {
        font-size: 1.1rem;
    }
}

/* Galería de Fotos */
/* ------------------------------------------------------------------------------------------------- */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.gallery-item img {
    transition: transform 0.3s ease;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-caption {
    text-align: center;
    color: #fff;
}

.gallery-caption i {
    color: #bfcb35;
    margin-bottom: 10px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Estilos para el lightbox */
.lb-data .lb-caption {
    font-size: 16px;
    line-height: 1.4;
}

.lb-nav a.lb-prev, 
.lb-nav a.lb-next {
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-item img {
        height: 200px;
    }
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Estilos para el lightbox */
.lb-data .lb-caption {
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
}

.lb-nav a.lb-prev, 
.lb-nav a.lb-next {
    opacity: 0.9;
    filter: invert(1); /* Flechas blancas */
}

/* Eventos */
/* ------------------------------------------------------------------------------------------------- */  
.evento-card {
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.evento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.evento-imagen-container {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.evento-imagen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.evento-card:hover .evento-imagen {
    transform: scale(1.05);
}

.evento-fechas {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(175, 63, 56, 0.9), transparent);
    padding: 15px;
    text-align: center;
}

.evento-fecha {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.evento-info {
    padding: 20px;
    background: #1a1a1a;
}

.evento-titulo {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.evento-subtitulo {
    color: #bbb;
    font-size: 1rem;
    margin-bottom: 0;
}

/* Detalle de Evento */
.evento-contenido {
	text-align:center; margin-bottom:20px;
}
.evento-detalles {
	text-align:center; 
	margin-bottom:20px;
	box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}
.evento-detalle-imagen {
    max-width:100%; 
    max-height:100%; 
    border-radius:8px; 
    margin-top:30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}
.evento-detalle-titulo {
    color:#DE3E30; 
    margin-top:65px;	
    margin-bottom:65px;
    /*text-shadow: 1px 1px 3px rgba(0,0,0,0.5);*/
}
.evento-detalle-subtitulo {
    color:#DE3E30; 
    margin-bottom:15px;
}
.evento-detalle-description {
    color:#555; 
    text-align:center;
}

/* Responsive */
@media (max-width: 991.98px) {
    .evento-imagen-container {
        height: 350px;
    }
}

@media (max-width: 767.98px) {
    .evento-imagen-container {
        height: 300px;
    }
    
    .evento-titulo {
        font-size: 1.3rem;
    }
}

/* General */
/* ------------------------------------------------------------------------------------------------- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Efectos de aparición */
section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Excluir el hero/carrusel si no quieres que tenga animación */
#inicio {
    opacity: 1;
    transform: none;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding-top: 60px;
    position: relative;
}

.footer_top {
    padding-bottom: 40px;
}

.footer_widget {
    margin-bottom: 30px;
}

.footer_logo img {
	height: 180px;
    max-height: 180px;
    margin-bottom: 20px;
}

.footer_logo img:hover {
    opacity: 0.8;
}

.footer_widget p {
    color: #bbb;
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer_title {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
}

.footer_title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: #DE3E30;
}

.links {
    list-style: none;
    padding: 0;
}

.links li {
    margin-bottom: 12px;
}

.links a {
    color: #bbb;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.links a:hover {
    color: #DE3E30;
    transform: translateX(5px);
}

/* Mapa */
iframe {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 1px solid #333;
}

/* Redes sociales */
.socail_links {
    margin-top: 25px;
}

.socail_links ul {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 0;
    list-style: none;
}

.socail_links a {
    color: #fff;
    background: #333;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.socail_links a:hover {
    background: #DE3E30;
    transform: translateY(-3px);
}

/* Copyright */
.footer_border {
    border-top: 1px solid #333;
    margin: 20px 0;
}

.copy-right_text {
    padding: 20px 0;
    background-color: #111;
}

.copy_right {
    color: #999;
    margin: 0;
    font-size: 0.9rem;
}

.copy_right a {
    color: #DE3E30;
    text-decoration: none;
    transition: all 0.3s ease;
}

.copy_right a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 991.98px) {
    .footer {
        padding-top: 40px;
    }
    
    .footer_widget {
        text-align: center;
    }
    
    .footer_logo img {
        max-height: 60px;
    }
    
    iframe {
        height: 250px;
    }
}

@media (max-width: 767.98px) {
    .footer_title::after {
        left: 0;
        transform: none;
    }
    
    .footer_widget {
        margin-bottom: 40px;
    }
}