/* Universal Bottom Menu Styles */
/* Responsive menu styles */
#bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(75, 63, 58, 0.9);
    padding: 15px 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    box-shadow: 0 -3px 12px rgba(0,0,0,0.25);
    backdrop-filter: blur(5px);
}

.bottom-nav {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: clamp(5px, 2vw, 35px);
    align-items: center;
    width: 100%;
    max-width: 1200px;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    padding: 0 15px;
}

.bottom-nav::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Opera */
}

.menu-link {
    color: #f7f1ed;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: clamp(13px, 0.9vw, 15px);
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    padding: 8px 10px;
    text-transform: uppercase;
    border-bottom: 1px solid transparent;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
}

.menu-link:hover {
    border-bottom: 1px solid #f7f1ed;
    transform: translateY(-3px);
}

/* Room preview styles */
.room-preview {
    position: absolute; /* Position relative to the menu-link */
    bottom: 100%; /* Position above the link */
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    background-color: #4b3f3a;
    border-radius: 6px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.3);
    z-index: 99999; /* Extremely high z-index */
    margin-bottom: 15px;
    overflow: visible; /* Changed to visible for the arrow */
    display: none; /* Start hidden */
}

/* Arrow pointing down */
.room-preview::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0; 
    height: 0; 
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #4b3f3a;
}

/* No CSS hover - using pure JavaScript approach instead */

.preview-image {
    width: 100%;
    height: 130px;
    background-size: cover;
    background-position: center;
    border-radius: 6px 6px 0 0;
}

.preview-info {
    padding: 10px 15px;
    text-align: center;
}

.preview-info h3 {
    margin: 0 0 5px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    font-weight: 600;
    color: #f7f1ed;
}

.preview-info p {
    margin: 0;
    font-size: 12px;
    color: #f7f1ed;
    opacity: 0.8;
}

.preview-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(75, 63, 58, 0.8);
    color: #f7f1ed;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .bottom-nav {
        justify-content: flex-start;
    }
}
