/* Art and Dinner Hover Popup Styles */
.art-dinner-popup {
    position: relative;
    display: inline-block;
}

.art-dinner-popup .popup-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(50, 50, 52, 0.95);
    color: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
    white-space: nowrap;
    z-index: 1000;
    margin-top: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.art-dinner-popup .popup-content::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(50, 50, 52, 0.95);
}

.art-dinner-popup:hover .popup-content {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.art-dinner-popup .popup-content .event-date {
    font-weight: 600;
    color: #3EB75E;
    display: block;
    margin-bottom: 5px;
}

.art-dinner-popup .popup-content .event-description {
    font-size: 13px;
    opacity: 0.9;
}

/* Mobile menu specific styles */
.rts-fs-menu .art-dinner-popup {
    position: relative;
}

.rts-fs-menu .art-dinner-popup .popup-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 300px;
    white-space: normal;
    text-align: center;
    z-index: 10000;
    background: rgba(14, 14, 14, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.rts-fs-menu .art-dinner-popup .popup-content::before {
    display: none;
}

.rts-fs-menu .art-dinner-popup:hover .popup-content {
    visibility: visible !important;
    opacity: 1 !important;
    transform: translate(-50%, -50%) !important;
}

/* Mobile responsive */
@media only screen and (max-width: 767px) {
    .art-dinner-popup .popup-content {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 300px;
        white-space: normal;
        text-align: center;
        z-index: 10000;
    }
    
    .art-dinner-popup .popup-content::before {
        display: none;
    }
}

/* Animation for the popup */
@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.art-dinner-popup:hover .popup-content {
    animation: popupFadeIn 0.3s ease-out;
}