/* Estilo base de las opciones */
.nav-gallery {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
}

.nav-gallery li {
  position: relative;
  cursor: pointer;
  font-weight: bold;
  color: #fff; /* puedes cambiar el color del texto */
}

/* Submenú oculto */
.submenu {
  display: none;
  position: absolute;
  top: 100%; /* aparece justo debajo */
  left: 0;
  background: linear-gradient(180deg, #4a90e2, #0033cc); /* efecto azul como en tu ejemplo */
  padding: 10px 0;
  list-style: none;
  margin: 0;
  border-radius: 10px; /* esquinas redondeadas */
  min-width: 180px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 20;
  text-align: left;
}

/* Mostrar submenú en hover */
.submenu-parent:hover .submenu {
  display: block;
}

/* Estilo de los items dentro del submenú */
.submenu li {
  padding: 10px 20px;
  color: #fff;
  font-weight: normal;
  transition: background 0.3s;
}

.submenu li:hover {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
}

/* Flechita ▼ */
.arrow {
  font-size: 0.7em;
  margin-left: 5px;
}

.lightbox {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(0, 0, 0, 0.9);
            z-index: 10000;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .lightbox.active {
            display: flex;
            opacity: 1;
            align-items: center;
            justify-content: center;
        }

        .lightbox-content {
            position: relative;
            width: calc(100vw - 120px);
            height: calc(100vh - 120px);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .lightbox-image {
            max-width: 100%;
            max-height: 100%;
            width: auto;
            height: auto;
            object-fit: contain;
            border-radius: 10px;
            box-shadow: 0 0 50px rgba(255, 255, 255, 0.1);
        }

        .lightbox-close {
            position: absolute;
            top: 20px;
            right: 30px;
            color: white;
            font-size: 40px;
            cursor: pointer;
            z-index: 10001;
            transition: opacity 0.3s ease;
        }

        .lightbox-close:hover {
            opacity: 0.7;
        }

        .lightbox-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            color: white;
            font-size: 50px;
            cursor: pointer;
            user-select: none;
            transition: opacity 0.3s ease;
            z-index: 10001;
        }

        .lightbox-nav:hover {
            opacity: 0.7;
        }

        .lightbox-prev {
            left: 30px;
        }

        .lightbox-next {
            right: 30px;
        }

        .lightbox-counter {
            position: absolute;
            top: 20px;
            left: 30px;
            color: white;
            font-size: 18px;
            z-index: 10001;
        }

        /* Responsive para el lightbox */
        @media (max-width: 768px) {
            .lightbox-content {
                width: calc(100vw - 60px);
                height: calc(100vh - 100px);
            }
            
            .lightbox-nav {
                font-size: 30px;
            }
            
            .lightbox-prev {
                left: 15px;
            }
            
            .lightbox-next {
                right: 15px;
            }
            
            .lightbox-close {
                right: 15px;
                font-size: 30px;
            }
        }