@import url('https://fonts.googleapis.com/css2?family=Mogra&family=Titan+One&display=swap');

html{
    height: auto;
    min-height: 100%;
}
 body{ 
  background-color: #203d64;
    overflow-x: hidden;
}

header.titulo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.titulo img {
  width: 240px;
}

header.menu{
    background-color: #0b2545;
    padding: 10px;
    
}
.menu nav{
  display: flex;
  gap: 30px;
  justify-content: flex-start;
  padding: 20px;
  border-bottom: 2px solid #eee;
}

.nav-link{
  text-decoration: none;
  color: blueviolet;
  font-weight: bold;
  padding-bottom: 15px;
  border-bottom: 3px solid transparent;
  transition: border-color 0.3s;
}
 .nav-link.active{
  border-bottom-color: #ffc72c;
 }
 
.contenido-seccion {
    display: none; 
}

.contenido-seccion.activa {
    display: block;
}
.caja-menu{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 25px;
    padding: 20px;
}
.producto-card {
    background: #3C8EFA;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.producto-card:hover {
    transform: translateY(-5px); 
}

.producto-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.img-contenedor {
    width: 100%;
    height: 200px;
    background: #0f172a;
    backdrop-filter: blur(8px);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-contenedor img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.img-contenedor-doble {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #0f172a;
}

.img-contenedor-doble img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-contenedor-doble img:first-child {
    clip-path: polygon(0 0, 100% 0, 0 100%);
    z-index: 1;
}

.img-contenedor-doble img:last-child {
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    z-index: 1;
}

.img-contenedor-doble::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(to top right, transparent calc(50% - 1.5px), #ffffff calc(50% - 1.5px), #ffffff calc(50% + 1.5px), transparent calc(50% + 1.5px));*/
    z-index: 2;
    pointer-events: none;
}

.producto-info {
    display: block;
    visibility: visible;
    padding: 15px;
}

.precio {
    font-size: 1.2rem;
    font-weight: bold;
    color: #e63946; 
    display: block;
    margin: 10px 0;
}

.opciones-precio {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    width: 100%;
}

.opciones-precio .btn-pedir {
    flex: 1;
    padding: 8px 4px;
    font-size: 0.85rem;
    text-align: center;
}

.btn-pedir {
    background-color: #25d366;
    color: white;
    border: none;
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}
    
  
.caja-menu.encebollados{
  background-color: #41affa;
  width: 200px;
  height: 150px;
  display: flex;
  flex-direction: column; 
  align-items: center;   
  justify-content: flex-start; 
  padding-top: 10px;
  transform: translateY(-3px); 
}

.filtros-menu {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filtro-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    background: #f0f0f0;
    cursor: pointer;
    transition: 0.3s;
}

.filtro-btn.active, .filtro-btn:hover {
    background: #e63946;
    color: white;
}

.modal-visor {
    display: none;
    position: fixed;
    z-index: 999999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.modal-visor img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.producto-card img {
    cursor: pointer;
}