/* Clean dropdown menu implementation for Southdrive Beach Resort
   This overrides all previous dropdown styling */

/* Main dropdown container */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 12px 0;
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
    border-top: 3px solid var(--primary-color);
}

/* Show dropdown on hover */
.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

/* Dropdown list items */
.dropdown-menu li {
    display: block;
    margin: 0;
    position: relative;
}

/* Dropdown menu links */
.dropdown-menu li a {
    display: block;
    padding: 12px 25px;
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.25s ease;
}

/* Hover effect for dropdown links */
.dropdown-menu li a:hover {
    background-color: rgba(0, 0, 0, 0.04);
    color: var(--primary-color);
    padding-left: 30px;
}

/* Mega menu content */
.mega-menu-content {
    position: absolute;
    left: 100%;
    top: 0;
    width: 450px;
    background: #ffffff;
    display: flex;
    opacity: 0;
    visibility: hidden;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 9999;
    border-left: 1px solid #f0f0f0;
}

/* Show mega menu content on hover */
.dropdown-menu li:hover .mega-menu-content {
    opacity: 1;
    visibility: visible;
}

/* Menu image section */
.menu-image {
    width: 40%;
    overflow: hidden;
}

.menu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.dropdown-menu li:hover .menu-image img {
    transform: scale(1.05);
}

/* Menu description section */
.menu-description {
    width: 60%;
    padding: 25px;
    background: #ffffff;
}

.menu-description h4 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.menu-description p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Mobile styles */
@media (max-width: 992px) {
    .mega-menu-content {
        display: none !important;
    }
    
    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        display: none;
        border-top: none;
        padding-left: 15px;
    }
    
    .dropdown-menu li a {
        padding: 10px 15px;
    }
}
