:root{
    --color-secondary: #DF181F;
    --color-text:#e7e7e7;
    --bg-fondo:#252525;
    --text: "Quicksand", sans-serif;
    --color-border:#DF181F;
}
@font-face {
    font-family: 'japanese_3017regular';
    src: url('../fonts/japanese_3017-webfont.woff2') format('woff2'),
         url('../fonts/japanese_3017-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
body {
   background-color: #252525; 
   font-family: "Quicksand", sans-serif;
   min-height: 100vh; 

}

/* Pseudo-elemento para aplicar la textura y la opacidad */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('../img/bg.png');
    background-repeat: repeat;
    background-size: 250px 250px;
    opacity: 0.25;
    z-index: -1; 
}
.home h2, h1{
    font-family: 'japanese_3017regular';
    font-size: 64px;
    color: var(--color-text);
    text-transform: uppercase;
}
h2{
    font-family: "Quicksand", sans-serif;
    font-weight: 500;
    font-size: 48px;
    color: var(--color-text);
    text-transform: uppercase;
}
h3{
    font-family: "Quicksand", sans-serif;
    font-weight: 500;
    font-size: 36px;
    color: var(--color-text);
}
h4{
    font-family: "Quicksand", sans-serif;
    font-size: 20px;
    color: var(--color-text);
    font-weight: 600;
}
.bg-s{
    background-color: var(--bg-fondo);
    height: 70px;
}
.nav-link.active{
    color:var(--color-secondary)!important;
    text-decoration: none;
    border: none;
}
.nav-link{
    color: #fff;
    font-size: 20px;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 700;
    text-transform: uppercase;    
    line-height: 14px;
}
.nav-link:hover, .nav-link:focus{
    color: var(--color-secondary);
}
/* a.nav-link{

    margin-left: 1em;    
}
 */
.tx1{
    font-size: 20px;
    color: var(--color-text);
}
.tdp{
    font-size: 16px;
    color: var(--color-text);
}
b{
    font-weight: 700;
}
 a.link{
    color: var(--color-text);
    text-decoration: none;
    border-bottom: 1px solid var(--color-secondary);
    font-weight: 600;
}
a:hover{
    color: #808080;
}
 
.productos a.link{
    font-size: 20px;
}
.productos a.link:hover{
    color: #808080;
    border-bottom: 1px solid var(--color-secondary);
}
/* ======================================= */
/* 1. Estilos del Contenedor Principal (Flexbox y Capa) */
/* ======================================= */
.imagen-con-capa {
    /* Esencial para que el posicionamiento absoluto funcione */
    position: relative; 
    
    /* Configuración de Flexbox para centrar a los elementos internos */
    display: flex;
    justify-content: center; /* Centrado horizontal */
    align-items: center;     /* Centrado vertical */
    
    /* Opcional: Define el tamaño del bloque si la imagen no lo hace */
    width: 100%; 
    height: auto; 
    overflow: hidden; /* Oculta cualquier cosa que se salga */
    border-radius: 16px;
    border: 1px solid var(--color-border);
}

/* ======================================= */
/* 2. Estilos de la Imagen de Fondo */
/* ======================================= */
.imagen-con-capa .imgv {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

/* ======================================= */
/* 3. Creación y Estilos de la Capa de Color */
/* ======================================= */
.imagen-con-capa::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* Z-index 1: Estará sobre la imagen de fondo (z-index por defecto es 0) */
    z-index: 1; 
    
    /* Color de la capa (Negro con 40% de transparencia) */
    background-color: rgba(37, 37, 37, 0.7); 
    border-radius: 16px;
}

/* ======================================= */
/* 4. Estilos del Icono de Play Centrado */
/* ======================================= */
.imagen-con-capa .icono-centrado {
    /* Z-index 2: Estará sobre la capa de color (z-index 1) */
    z-index: 2; 
    
    /* Posicionamiento: Permite que Flexbox lo centre */
    position: absolute; 
    
    /* Opcional: define un tamaño si el icono es demasiado grande/pequeño */

    transition: width 1s, height 1s, transform 1s;
    border: none;
}
.imagen-con-capa .icono-centrado:hover{
    transform: scale(1.3);
    filter: grayscale(1);
}


.platillos {
  background: linear-gradient(rgba(37,37,37, 0.8), rgba(37,37,37, .8)), url('../img/bg-platillos.webp');
  background-size: cover; 
  background-position: center;
}

.hero-section {
    /* Contenedor padre: Contexto de posicionamiento */
    position: relative;
    width: 100%;
    height: 266px; /* Altura de ejemplo para el contenedor */
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 6px;
}

/* 1. Imagen (Capa 1: más baja) */
.hero-section img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1; 
}

/* 2. Degradado (Capa 2: intermedia) - Usando pseudo-elemento */
.hero-section::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0; /* O width: 100%; */
    
    /* Posicionamiento: Abajo de todo */
    bottom: 0; 
    
    /* Altura del degradado: Ajusta este valor (e.g., 20% o 100px) para que cubra bien el texto. */
    height: 100px; 
    
    /* Definición del degradado: De oscuro a transparente, de abajo hacia arriba */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.0));
    
    z-index: 2; /* Encima de la imagen */
}

/* 3. Contenido/Texto (Capa 3: más alta) */
.content {
    position: absolute;
    left: 0;
    right: 0;
    
    /* Posicionamiento: Abajo de todo, justo sobre el degradado */
    bottom: 0; 
    padding: 20px; /* Espaciado dentro del área del texto */
    text-align: left; /* Alineación del texto dentro de la caja */
    
    z-index: 3; /* Encima de la imagen y el degradado */
}

.content h3 {
    font-size: 2em;
    margin: 0; 
    text-align: center;
}

.btn-p{
    font-size: 20px;
    font-family: "Quicksand", sans-serif;
    background-color: var(--bg-fondo);
    color: var(--color-text);
    border-radius: 6px;
    border: 2px solid var(--color-border);
    text-decoration: none;
    padding: 10px 30px;
    transition: all 0.8s ease-in-out;
    font-weight: 900;
}

.btn-p:hover{
    border: 2px solid var(--bg-fondo);
    color: var(--color-text);
    background-color: var(--color-border);
}

/* Slider productos */
.slick-prev:before, .slick-next:before {
    font-family: 'slick';
    font-size: 40px;
    line-height: 1;
    opacity: 1;
    color: #de1820; 
}
.slick-list{
    left: 10px;
}

.testimonio{
    background: linear-gradient(rgba(37,37,37, 0.8), rgba(37,37,37, .8)), url('../img/bg-rese.webp');
    background-size: cover; 
    background-position: center;
}
#carouselrese button.carousel-control-prev{
    left: -120px;
}
#carouselrese button.carousel-control-next {
    right: -120px;
}
.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23DF181F'><path d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0'/></svg>");
}
.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23DF181F'><path d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708'/></svg>");
}
.carousel-control-next, .carousel-control-prev{
    opacity: 0.8;
}
.bor{
    border: 3px solid var(--color-border)!important;    
    border-radius: 8px;
    height: 316px;
}
.sucursales iframe{
    border-radius: 6px;
    filter: grayscale(100%);    
    padding: 0;
    margin: 0;
    width: 100%;
    height: 310px;
}

footer{
    background: linear-gradient(rgba(37,37,37, 0.8), rgba(37,37,37, .8)), url('../img/bg-footer.webp');
    background-size: cover;
    background-position: center;
}
footer .table{
    --bs-table-bg:transparent;
    --bs-table-color:var(--color-text)
}
footer .fb{
    background-color: var(--bg-fondo);
    padding: 1em 0;
}
hr{
    border-top: 1px solid var(--color-border);
    opacity: 0.5;
    margin: 0;
}
.bg-striped{
    background-color: rgba(0, 0, 0, 0.4);
    padding: 4.5em 0 3em;
}
.promos .mis img{
    border: 2px solid var(--color-border);
    border-radius: 8px;
}

.galeria-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));    
    grid-auto-rows: 150px; 
    gap: 15px;
    padding: 15px;
    grid-auto-flow: dense; 
} 

.item-galeria {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden; 
    border-radius: 4px;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.item-galeria img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 1s ease; 
}

.item-galeria:hover img {
    transform: scale(1.2); 
    cursor: pointer;
}

.item-galeria:nth-child(5n + 1) {
    grid-column: span 2;
    grid-row: span 2;
}

.item-galeria:nth-child(4n + 3) {
    grid-row: span 2;
}

.item-galeria:nth-child(3n + 2) {
    grid-column: span 2;
}

/* sliders */

.hero-slider a {
  text-decoration: none;
  transition: all 0.2s ease;
}

.hero-slider h2 {
  line-height: 1.1;
  margin: 0;
  font-family: 'japanese_3017regular';
  letter-spacing: 10px;
}

/* Container */
.container-hero {
  width: 1320px;
  padding: 0 15px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.container-hero p{
  font-family: "Quicksand", sans-serif;
}
/* Hero Slider */
.hero-slider {
  width: 100%;
  height: 95vh;
  display: flex;
  position: relative;
  z-index: 0;
}

.hero-slider .swiper-container {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.hero-slider .swiper-slide {
  overflow: hidden;
  color: #fff;
}

.slide-inner {
  width: 100%;
  height: 100%;
  position: absolute;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
}

/* Slide Overlay */
.slide-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(26, 26, 46, 0.8), rgba(26, 26, 46, 0.5));
  z-index: 1;
}

/* Slide Text */
.hero-style {
  transition: all 0.4s ease;
}

.hero-style .slide-title,
.hero-style .slide-text,
.hero-style .slide-btns {
  max-width: 690px;
}

.hero-style .slide-title h2 {
  font-size: 90px;
  font-weight: 600;
  color: #DF181F;
  margin-bottom: 40px;
  text-transform: capitalize;
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.6);
}

.hero-style .slide-text p {
  font-size: 32px;
  font-weight: 900;
  opacity: 0.85;
  margin-bottom: 40px;
  color: #f0f0f0;
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.6);
}

/* Buttons */
.theme-btn,
.theme-btn-s2 {
  background-color: #DF181F;
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  padding: 10px 32px;
  border: none;
  border-radius: 4px;
  text-transform: uppercase;
  display: inline-block;
  transition: all 0.3s ease;
}

.theme-btn:hover,
.theme-btn-s2:hover {
  background-color: #d4574e;
  color: #ffffff;
}

.slide-btns a:first-child {
  margin-right: 10px;
}

/* Swiper Pagination */
.hero-slider .swiper-pagination {
  text-align: left;
}

.hero-slider .swiper-container-horizontal > .swiper-pagination-bullets {
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 1200px;
  padding: 0 15px;
  margin: 0 auto;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #ffffff;
  opacity: 0.4;
  transition: opacity 0.2s ease;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}

.swiper-button-prev, .swiper-container-rtl .swiper-button-next{
  background-image:none;
    transition: opacity 0.6s ease;

}
.swiper-button-next, .swiper-container-rtl .swiper-button-prev{
  background-image:none;
    transition: opacity 0.6s ease;

}

.swiper-button-prev:hover,.swiper-button-next:hover{
  opacity: 0.5;
}
/* sliders */


@media (max-width: 575.98px) { 
    .contenido{
        padding: 30px;
        grid-template-columns: repeat(1, 1fr);
    }
    .box:nth-child(1){
        grid-column-start: span 1;
    }
    .box:nth-child(4){
        grid-column-start: span 1;
    }
    .box:nth-child(8){
        grid-column-start: span 1;
    }
    .box:nth-child(10){
        grid-column-start: span 1;
    }
    .hero-style .slide-text p {
    font-size: 26px;
    line-height: 30px;
    padding: 0 26px;
    }
    .hero-style .slide-title h2 {
    font-size: 36px;
    letter-spacing: 1px;
    }
    .home h2, h1{
        font-size: 48px;
    }
    #carouselrese button.carousel-control-prev{
    left: -40px;
    }
    #carouselrese button.carousel-control-next {
        right: -40px;
    }
}


#videofull .modal-content {
    background-color: transparent;
    border: none;
}
video {
    border-radius: 20px;
    border: 2px solid #DF181F;
}
.modal-header{
    border-bottom: none;
}
.btn-close{
    --bs-btn-close-bg:none;
}
.modal-body{
    padding: 5px; 
}
#videofull button.btn-close {
    position: absolute;
    right: 0px;
    z-index: 5;
    --bs-btn-close-bg: unset;
}


/* MEnu */

/* Header Styling */
.header {
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.header.scrolled, .modal-content {
    background-color: rgba(0, 0, 0, 0.3);
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.logo {
    text-decoration: none;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease;
}

.header.scrolled .logo {
    color: var(--primary-color);
}

.logo-text {
    display: inline-block;
    transition: transform 0.5s ease;
}

.logo:hover .logo-text {
    transform: translateY(-5px);
}

/* Navigation Menu */
.nav-list {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin-top: revert;
}

.nav-link {
    font-size: 23px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.8);
    font-family: "Roboto Condensed", sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    padding: 10px 5px;
    padding-bottom: 5px;
    transition: color 0.4s ease;

}
.nav-link:hover{
    color: #fff;
}

.header.scrolled .nav-link {
    color: #fff;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 3px;
    background-color: #DF181F;
    transition: width 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.nav-link:hover::after{
    width: 100%;
}

/* Hamburger Menu for Mobile */
.nav-toggle {
    display: none; /* Hide on desktop */
    width: 40px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease;
}

.hamburger {
    display: block;
    width: inherit;
    height: 3px;
    background-color: #fff;
    transition: background-color 0.4s ease, transform 0.4s ease;
}

.header.scrolled .hamburger {
    background-color: var(--color-text);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(5px);
    z-index: 99;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.mobile-menu-overlay.open {
    transform: scale(1);
    opacity: 1;
    visibility: visible;
}

.mobile-nav-list {
    list-style: none;
    text-align: center;
    margin-top: revert;
}

.mobile-nav-item {
    margin-bottom: 1rem;
    animation: fadeInSlideUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}
.mobile-nav-item:nth-child(2) { animation-delay: 0.1s; }
.mobile-nav-item:nth-child(3) { animation-delay: 0.2s; }
.mobile-nav-item:nth-child(4) { animation-delay: 0.3s; }
.mobile-nav-item:nth-child(5) { animation-delay: 0.4s; }

@keyframes fadeInSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav-link {
    font-size: 36px;
    font-weight: 900;
    color: #fff;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
    font-family: "Roboto Condensed", sans-serif;
      text-transform: uppercase;

}

 .mobile-nav-link:hover {
    color: #DF181F;
}
 .active{
    color: #DF181F;
}



.mobile-nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: #DF181F;
    transition: width 0.3s ease;
}

.mobile-nav-link:hover::after {
    width: 80%;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    header .nav {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .hamburger:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }
    .nav-toggle.active .hamburger:nth-child(1) {
        transform: translateY(13.5px) rotate(45deg);
    }
    .nav-toggle.active .hamburger:nth-child(3) {
        transform: translateY(-13.5px) rotate(-45deg);
    }
    .mobile-nav-link::after{
            bottom: -4px;
    }
    .dg{
    display: grid!important;
    text-align: center;
    }
}

#mcontacto.modal{
    --bs-modal-bg: #1c1b1b;
}
#mcontacto .modal-content{
    border: 1px solid var(--color-border);
}
#mcontacto .modal-header .btn-close, #mhidalgo .modal-header .btn-close{
    margin-right: 10px;
    margin-bottom: calc(-.5 * var(--bs-modal-header-padding-y));
    margin-left: auto;
    opacity: 1;
}
.merch img{
    border: 1px solid var(--color-border);
    border-radius: 8px;
}


footer .tx1{
    font-size: 16px;
}
.nav-tabs{
    --bs-nav-tabs-border-color: none;
}

footer .container.pt-5 {
    padding-bottom: 3em;
}