/* Lightbox Gallery Styles - Based on Nobuko working implementation */

/* Lightbox Container */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2001;
    padding-top: 80px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
}

/* Lightbox Image */
.lightbox-content {
    margin: auto;
    display: block;
    width: 85%;
    max-width: 800px;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
}

/* Lightbox Caption Container */
.lightbox-caption {
    margin: 20px auto;
    display: block;
    width: 85%;
    max-width: 800px;
    text-align: center;
    padding: 20px;
    min-height: 100px;
}

/* Dish Name in Caption */
.lightbox-dish-name {
    color: #ffd700; /* Gold color for El Paso branding */
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Dish Description in Caption */
.lightbox-dish-description {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Animation */
.lightbox-content, .lightbox-caption {
    animation-name: zoom;
    animation-duration: 0.4s;
}

@keyframes zoom {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Close Button */
.close-lightbox {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #f1f1f1;
    font-size: 45px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2002;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: #ffd700;
    text-decoration: none;
    cursor: pointer;
}

/* Navigation Arrows */
.lightbox .prev,
.lightbox .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 20px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 28px;
    transition: 0.4s ease;
    border-radius: 0 5px 5px 0;
    user-select: none;
    -webkit-user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
    text-decoration: none;
}

.lightbox .next {
    right: 0;
    border-radius: 5px 0 0 5px;
}

.lightbox .prev {
    left: 0;
}

.lightbox .prev:hover,
.lightbox .next:hover {
    background-color: rgba(211, 47, 47, 0.8); /* El Paso red */
    color: #ffd700; /* Gold */
}

/* Responsive Design */
@media (max-width: 768px) {
    .lightbox {
        padding-top: 50px;
    }
    
    .lightbox-content {
        width: 95%;
        max-height: 60vh;
    }
    
    .lightbox-caption {
        width: 95%;
        padding: 15px;
    }
    
    .lightbox-dish-name {
        font-size: 22px;
    }
    
    .lightbox-dish-description {
        font-size: 16px;
    }
    
    .close-lightbox {
        top: 10px;
        right: 20px;
        font-size: 35px;
    }
    
    .lightbox .prev,
    .lightbox .next {
        padding: 15px;
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .lightbox-dish-name {
        font-size: 20px;
    }
    
    .lightbox-dish-description {
        font-size: 14px;
    }
    
    .lightbox .prev,
    .lightbox .next {
        padding: 10px;
        font-size: 18px;
    }
}
