/**
 * Services Mega Menu Styles
 * AltaMedical Theme
 */

/* Services Mega Menu Container */
.services-mega-menu-item {
    position: relative;
}

/* Services Menu Trigger */
.services-menu-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

.services-menu-trigger:hover {
    color: #24B4E3;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

.services-menu-trigger .dropdown-arrow {
    transition: transform 0.3s ease;
    width: 12px;
    height: 8px;
}

.services-mega-menu-item:hover .services-menu-trigger .dropdown-arrow {
    transform: rotate(180deg);
}

/* Services Dropdown */
.services-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 770px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 8px;
}

.services-mega-menu-item:hover .services-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Services Dropdown Content */
.services-dropdown-content {
    display: flex;
    padding: 24px;
    gap: 24px;
}

/* Services Menu Column */
.services-menu-column {
    flex: 1;
    min-width: 160px;
}

.services-menu-title {
    font-size: 16px;
    font-weight: 600;
    color: #24B4E3;
    margin: 0 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
}

/* Services Menu List */
.services-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.services-menu-item {
    margin: 0;
    padding: 0;
}

.services-menu-link {
    display: block;
    padding: 8px 0;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.services-menu-link:hover {
    color: #24B4E3;
}

/* Responsive Design */
@media (max-width: 991px) {
    .services-mega-menu-item {
        display: none;
    }
}

/* Mobile Services Menu (якщо потрібно) */
@media (max-width: 767px) {
    .mobile-services-menu {
        padding: 20px 0;
        border-top: 1px solid #e0e0e0;
        margin-top: 20px;
    }
    
    .mobile-services-title {
        font-size: 18px;
        font-weight: 600;
        color: #24B4E3;
        margin-bottom: 16px;
        padding: 0 20px;
    }
    
    .mobile-services-categories {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 0 20px;
    }
    
    .mobile-services-category {
        background: #f8f9fa;
        border-radius: 8px;
        padding: 16px;
    }
    
    .mobile-services-category-title {
        font-size: 16px;
        font-weight: 600;
        color: #333;
        margin: 0 0 12px 0;
    }
    
    .mobile-services-category-list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .mobile-services-category-link {
        color: #666;
        text-decoration: none;
        font-size: 14px;
        padding: 4px 0;
        transition: color 0.3s ease;
    }
    
    .mobile-services-category-link:hover {
        color: #24B4E3;
    }
}

/* Animation for dropdown */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}




/* High contrast mode support */
@media (prefers-contrast: high) {
    .services-dropdown {
        border-width: 2px;
        border-color: #000;
    }
    
    .services-menu-link {
        color: #000;
    }
    
    .services-menu-link:hover {
        background: #000;
        color: #fff;
    }
} 